RTEMS 4.10.2
Annotated Report
Tue Dec 13 17:40:17 2011

0010c488 <_API_extensions_Run_postdriver>:                            
 *                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  10c488:	55                   	push   %ebp                           
  10c489:	89 e5                	mov    %esp,%ebp                      
  10c48b:	53                   	push   %ebx                           
  10c48c:	83 ec 04             	sub    $0x4,%esp                      
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
  10c48f:	8b 1d 58 96 12 00    	mov    0x129658,%ebx                  
  10c495:	81 fb 5c 96 12 00    	cmp    $0x12965c,%ebx                 
  10c49b:	74 10                	je     10c4ad <_API_extensions_Run_postdriver+0x25><== NEVER TAKEN
  10c49d:	8d 76 00             	lea    0x0(%esi),%esi                 
     *  Currently all APIs configure this hook so it is always non-NULL.
     */                                                               
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  10c4a0:	ff 53 08             	call   *0x8(%ebx)                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
  10c4a3:	8b 1b                	mov    (%ebx),%ebx                    
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
  10c4a5:	81 fb 5c 96 12 00    	cmp    $0x12965c,%ebx                 
  10c4ab:	75 f3                	jne    10c4a0 <_API_extensions_Run_postdriver+0x18>
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
  10c4ad:	58                   	pop    %eax                           
  10c4ae:	5b                   	pop    %ebx                           
  10c4af:	c9                   	leave                                 
  10c4b0:	c3                   	ret                                   
                                                                      

0010c4b4 <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
  10c4b4:	55                   	push   %ebp                           
  10c4b5:	89 e5                	mov    %esp,%ebp                      
  10c4b7:	53                   	push   %ebx                           
  10c4b8:	83 ec 04             	sub    $0x4,%esp                      
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
  10c4bb:	8b 1d 58 96 12 00    	mov    0x129658,%ebx                  
  10c4c1:	81 fb 5c 96 12 00    	cmp    $0x12965c,%ebx                 
  10c4c7:	74 1c                	je     10c4e5 <_API_extensions_Run_postswitch+0x31><== NEVER TAKEN
  10c4c9:	8d 76 00             	lea    0x0(%esi),%esi                 
     *  provide this hook.                                            
     */                                                               
#if defined(RTEMS_ITRON_API)                                          
    if ( the_extension->postswitch_hook )                             
#endif                                                                
      (*the_extension->postswitch_hook)( _Thread_Executing );         
  10c4cc:	83 ec 0c             	sub    $0xc,%esp                      
  10c4cf:	ff 35 b8 94 12 00    	pushl  0x1294b8                       
  10c4d5:	ff 53 0c             	call   *0xc(%ebx)                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
  10c4d8:	8b 1b                	mov    (%ebx),%ebx                    
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
  10c4da:	83 c4 10             	add    $0x10,%esp                     
  10c4dd:	81 fb 5c 96 12 00    	cmp    $0x12965c,%ebx                 
  10c4e3:	75 e7                	jne    10c4cc <_API_extensions_Run_postswitch+0x18>
#if defined(RTEMS_ITRON_API)                                          
    if ( the_extension->postswitch_hook )                             
#endif                                                                
      (*the_extension->postswitch_hook)( _Thread_Executing );         
  }                                                                   
}                                                                     
  10c4e5:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c4e8:	c9                   	leave                                 
  10c4e9:	c3                   	ret                                   
                                                                      

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

0010e7ac <_CORE_RWLock_Obtain_for_reading>: Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) {
  10e7ac:	55                   	push   %ebp                           
  10e7ad:	89 e5                	mov    %esp,%ebp                      
  10e7af:	57                   	push   %edi                           
  10e7b0:	56                   	push   %esi                           
  10e7b1:	53                   	push   %ebx                           
  10e7b2:	83 ec 1c             	sub    $0x1c,%esp                     
  10e7b5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10e7b8:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e7bb:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10e7be:	8a 55 10             	mov    0x10(%ebp),%dl                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10e7c1:	8b 35 98 c4 12 00    	mov    0x12c498,%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 );                                              
  10e7c7:	9c                   	pushf                                 
  10e7c8:	fa                   	cli                                   
  10e7c9:	8f 45 e4             	popl   -0x1c(%ebp)                    
    switch ( the_rwlock->current_state ) {                            
  10e7cc:	8b 43 44             	mov    0x44(%ebx),%eax                
  10e7cf:	85 c0                	test   %eax,%eax                      
  10e7d1:	75 1d                	jne    10e7f0 <_CORE_RWLock_Obtain_for_reading+0x44>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
  10e7d3:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
	the_rwlock->number_of_readers += 1;                                  
  10e7da:	ff 43 48             	incl   0x48(%ebx)                     
	_ISR_Enable( level );                                                
  10e7dd:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e7e0:	9d                   	popf                                  
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
  10e7e1:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e7e8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e7eb:	5b                   	pop    %ebx                           
  10e7ec:	5e                   	pop    %esi                           
  10e7ed:	5f                   	pop    %edi                           
  10e7ee:	c9                   	leave                                 
  10e7ef:	c3                   	ret                                   
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    switch ( the_rwlock->current_state ) {                            
  10e7f0:	48                   	dec    %eax                           
  10e7f1:	74 51                	je     10e844 <_CORE_RWLock_Obtain_for_reading+0x98>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
  10e7f3:	84 d2                	test   %dl,%dl                        
  10e7f5:	75 15                	jne    10e80c <_CORE_RWLock_Obtain_for_reading+0x60>
      _ISR_Enable( level );                                           
  10e7f7:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e7fa:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10e7fb:	c7 46 34 02 00 00 00 	movl   $0x2,0x34(%esi)                
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e802:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e805:	5b                   	pop    %ebx                           
  10e806:	5e                   	pop    %esi                           
  10e807:	5f                   	pop    %edi                           
  10e808:	c9                   	leave                                 
  10e809:	c3                   	ret                                   
  10e80a:	66 90                	xchg   %ax,%ax                        
  10e80c:	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;            
  10e813:	89 5e 44             	mov    %ebx,0x44(%esi)                
    executing->Wait.id          = id;                                 
  10e816:	89 7e 20             	mov    %edi,0x20(%esi)                
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
  10e819:	c7 46 30 00 00 00 00 	movl   $0x0,0x30(%esi)                
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10e820:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
    _ISR_Enable( level );                                             
  10e827:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e82a:	9d                   	popf                                  
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10e82b:	c7 45 10 b0 e9 10 00 	movl   $0x10e9b0,0x10(%ebp)           
  10e832:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  10e835:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e838:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e83b:	5b                   	pop    %ebx                           
  10e83c:	5e                   	pop    %esi                           
  10e83d:	5f                   	pop    %edi                           
  10e83e:	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(                               
  10e83f:	e9 7c 19 00 00       	jmp    1101c0 <_Thread_queue_Enqueue_with_handler>
	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 );      
  10e844:	83 ec 0c             	sub    $0xc,%esp                      
  10e847:	53                   	push   %ebx                           
  10e848:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  10e84b:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10e84e:	e8 81 1c 00 00       	call   1104d4 <_Thread_queue_First>   
        if ( !waiter ) {                                              
  10e853:	83 c4 10             	add    $0x10,%esp                     
  10e856:	85 c0                	test   %eax,%eax                      
  10e858:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  10e85b:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  10e85e:	75 93                	jne    10e7f3 <_CORE_RWLock_Obtain_for_reading+0x47><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
  10e860:	ff 43 48             	incl   0x48(%ebx)                     
	  _ISR_Enable( level );                                              
  10e863:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10e866:	9d                   	popf                                  
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
  10e867:	c7 46 34 00 00 00 00 	movl   $0x0,0x34(%esi)                
          return;                                                     
  10e86e:	e9 75 ff ff ff       	jmp    10e7e8 <_CORE_RWLock_Obtain_for_reading+0x3c>
                                                                      

0010e874 <_CORE_RWLock_Obtain_for_writing>: Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) {
  10e874:	55                   	push   %ebp                           
  10e875:	89 e5                	mov    %esp,%ebp                      
  10e877:	57                   	push   %edi                           
  10e878:	56                   	push   %esi                           
  10e879:	53                   	push   %ebx                           
  10e87a:	83 ec 0c             	sub    $0xc,%esp                      
  10e87d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10e880:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10e883:	8b 75 14             	mov    0x14(%ebp),%esi                
  10e886:	8a 5d 10             	mov    0x10(%ebp),%bl                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10e889:	8b 15 98 c4 12 00    	mov    0x12c498,%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 );                                              
  10e88f:	9c                   	pushf                                 
  10e890:	fa                   	cli                                   
  10e891:	59                   	pop    %ecx                           
    switch ( the_rwlock->current_state ) {                            
  10e892:	83 78 44 00          	cmpl   $0x0,0x44(%eax)                
  10e896:	75 18                	jne    10e8b0 <_CORE_RWLock_Obtain_for_writing+0x3c>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;          
  10e898:	c7 40 44 02 00 00 00 	movl   $0x2,0x44(%eax)                
	_ISR_Enable( level );                                                
  10e89f:	51                   	push   %ecx                           
  10e8a0:	9d                   	popf                                  
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
  10e8a1:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e8a8:	83 c4 0c             	add    $0xc,%esp                      
  10e8ab:	5b                   	pop    %ebx                           
  10e8ac:	5e                   	pop    %esi                           
  10e8ad:	5f                   	pop    %edi                           
  10e8ae:	c9                   	leave                                 
  10e8af:	c3                   	ret                                   
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
  10e8b0:	84 db                	test   %bl,%bl                        
  10e8b2:	75 14                	jne    10e8c8 <_CORE_RWLock_Obtain_for_writing+0x54>
      _ISR_Enable( level );                                           
  10e8b4:	51                   	push   %ecx                           
  10e8b5:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10e8b6:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e8bd:	83 c4 0c             	add    $0xc,%esp                      
  10e8c0:	5b                   	pop    %ebx                           
  10e8c1:	5e                   	pop    %esi                           
  10e8c2:	5f                   	pop    %edi                           
  10e8c3:	c9                   	leave                                 
  10e8c4:	c3                   	ret                                   
  10e8c5:	8d 76 00             	lea    0x0(%esi),%esi                 
  10e8c8:	c7 40 30 01 00 00 00 	movl   $0x1,0x30(%eax)                
    /*                                                                
     *  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;            
  10e8cf:	89 42 44             	mov    %eax,0x44(%edx)                
    executing->Wait.id          = id;                                 
  10e8d2:	89 7a 20             	mov    %edi,0x20(%edx)                
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_WRITE;
  10e8d5:	c7 42 30 01 00 00 00 	movl   $0x1,0x30(%edx)                
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10e8dc:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
    _ISR_Enable( level );                                             
  10e8e3:	51                   	push   %ecx                           
  10e8e4:	9d                   	popf                                  
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10e8e5:	c7 45 10 b0 e9 10 00 	movl   $0x10e9b0,0x10(%ebp)           
  10e8ec:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  10e8ef:	89 45 08             	mov    %eax,0x8(%ebp)                 
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
  10e8f2:	83 c4 0c             	add    $0xc,%esp                      
  10e8f5:	5b                   	pop    %ebx                           
  10e8f6:	5e                   	pop    %esi                           
  10e8f7:	5f                   	pop    %edi                           
  10e8f8:	c9                   	leave                                 
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_WRITE;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
  10e8f9:	e9 c2 18 00 00       	jmp    1101c0 <_Thread_queue_Enqueue_with_handler>
                                                                      

0010e900 <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
  10e900:	55                   	push   %ebp                           
  10e901:	89 e5                	mov    %esp,%ebp                      
  10e903:	53                   	push   %ebx                           
  10e904:	83 ec 04             	sub    $0x4,%esp                      
  10e907:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
  10e90a:	8b 0d 98 c4 12 00    	mov    0x12c498,%ecx                  
   *  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 );                                              
  10e910:	9c                   	pushf                                 
  10e911:	fa                   	cli                                   
  10e912:	5a                   	pop    %edx                           
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
  10e913:	8b 43 44             	mov    0x44(%ebx),%eax                
  10e916:	85 c0                	test   %eax,%eax                      
  10e918:	74 7a                	je     10e994 <_CORE_RWLock_Release+0x94>
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
  10e91a:	48                   	dec    %eax                           
  10e91b:	74 63                	je     10e980 <_CORE_RWLock_Release+0x80>
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
  10e91d:	c7 41 34 00 00 00 00 	movl   $0x0,0x34(%ecx)                
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
  10e924:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  _ISR_Enable( level );                                               
  10e92b:	52                   	push   %edx                           
  10e92c:	9d                   	popf                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
  10e92d:	83 ec 0c             	sub    $0xc,%esp                      
  10e930:	53                   	push   %ebx                           
  10e931:	e8 6e 17 00 00       	call   1100a4 <_Thread_queue_Dequeue> 
                                                                      
  if ( next ) {                                                       
  10e936:	83 c4 10             	add    $0x10,%esp                     
  10e939:	85 c0                	test   %eax,%eax                      
  10e93b:	74 39                	je     10e976 <_CORE_RWLock_Release+0x76>
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
  10e93d:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10e941:	74 61                	je     10e9a4 <_CORE_RWLock_Release+0xa4>
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
  10e943:	ff 43 48             	incl   0x48(%ebx)                     
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
  10e946:	c7 43 44 01 00 00 00 	movl   $0x1,0x44(%ebx)                
  10e94d:	eb 17                	jmp    10e966 <_CORE_RWLock_Release+0x66>
  10e94f:	90                   	nop                                   
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
  10e950:	83 78 30 01          	cmpl   $0x1,0x30(%eax)                
  10e954:	74 20                	je     10e976 <_CORE_RWLock_Release+0x76><== NEVER TAKEN
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
  10e956:	ff 43 48             	incl   0x48(%ebx)                     
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
  10e959:	83 ec 08             	sub    $0x8,%esp                      
  10e95c:	50                   	push   %eax                           
  10e95d:	53                   	push   %ebx                           
  10e95e:	e8 65 1a 00 00       	call   1103c8 <_Thread_queue_Extract> 
    }                                                                 
  10e963:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
  10e966:	83 ec 0c             	sub    $0xc,%esp                      
  10e969:	53                   	push   %ebx                           
  10e96a:	e8 65 1b 00 00       	call   1104d4 <_Thread_queue_First>   
      if ( !next ||                                                   
  10e96f:	83 c4 10             	add    $0x10,%esp                     
  10e972:	85 c0                	test   %eax,%eax                      
  10e974:	75 da                	jne    10e950 <_CORE_RWLock_Release+0x50>
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10e976:	31 c0                	xor    %eax,%eax                      
  10e978:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e97b:	c9                   	leave                                 
  10e97c:	c3                   	ret                                   
  10e97d:	8d 76 00             	lea    0x0(%esi),%esi                 
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
	the_rwlock->number_of_readers -= 1;                                  
  10e980:	8b 43 48             	mov    0x48(%ebx),%eax                
  10e983:	48                   	dec    %eax                           
  10e984:	89 43 48             	mov    %eax,0x48(%ebx)                
	if ( the_rwlock->number_of_readers != 0 ) {                          
  10e987:	85 c0                	test   %eax,%eax                      
  10e989:	74 92                	je     10e91d <_CORE_RWLock_Release+0x1d>
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
  10e98b:	52                   	push   %edx                           
  10e98c:	9d                   	popf                                  
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10e98d:	31 c0                	xor    %eax,%eax                      
  10e98f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e992:	c9                   	leave                                 
  10e993:	c3                   	ret                                   
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
  10e994:	52                   	push   %edx                           
  10e995:	9d                   	popf                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
  10e996:	c7 41 34 02 00 00 00 	movl   $0x2,0x34(%ecx)                
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
  10e99d:	31 c0                	xor    %eax,%eax                      
  10e99f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e9a2:	c9                   	leave                                 
  10e9a3:	c3                   	ret                                   
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
                                                                      
  if ( next ) {                                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
  10e9a4:	c7 43 44 02 00 00 00 	movl   $0x2,0x44(%ebx)                
      return CORE_RWLOCK_SUCCESSFUL;                                  
  10e9ab:	eb c9                	jmp    10e976 <_CORE_RWLock_Release+0x76>
                                                                      

0010e9b0 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
  10e9b0:	55                   	push   %ebp                           
  10e9b1:	89 e5                	mov    %esp,%ebp                      
  10e9b3:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10e9b6:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10e9b9:	50                   	push   %eax                           
  10e9ba:	ff 75 08             	pushl  0x8(%ebp)                      
  10e9bd:	e8 ea 12 00 00       	call   10fcac <_Thread_Get>           
  switch ( location ) {                                               
  10e9c2:	83 c4 10             	add    $0x10,%esp                     
  10e9c5:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10e9c8:	85 d2                	test   %edx,%edx                      
  10e9ca:	75 17                	jne    10e9e3 <_CORE_RWLock_Timeout+0x33><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
  10e9cc:	83 ec 0c             	sub    $0xc,%esp                      
  10e9cf:	50                   	push   %eax                           
  10e9d0:	e8 cf 1b 00 00       	call   1105a4 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10e9d5:	a1 d8 c3 12 00       	mov    0x12c3d8,%eax                  
  10e9da:	48                   	dec    %eax                           
  10e9db:	a3 d8 c3 12 00       	mov    %eax,0x12c3d8                  
  10e9e0:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10e9e3:	c9                   	leave                                 
  10e9e4:	c3                   	ret                                   
                                                                      

0011a190 <_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 ) {
  11a190:	55                   	push   %ebp                           
  11a191:	89 e5                	mov    %esp,%ebp                      
  11a193:	57                   	push   %edi                           
  11a194:	56                   	push   %esi                           
  11a195:	53                   	push   %ebx                           
  11a196:	83 ec 1c             	sub    $0x1c,%esp                     
  11a199:	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 ) {             
  11a19c:	8b 45 10             	mov    0x10(%ebp),%eax                
  11a19f:	39 43 4c             	cmp    %eax,0x4c(%ebx)                
  11a1a2:	72 60                	jb     11a204 <_CORE_message_queue_Broadcast+0x74><== 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 ) {         
  11a1a4:	8b 43 48             	mov    0x48(%ebx),%eax                
  11a1a7:	85 c0                	test   %eax,%eax                      
  11a1a9:	75 45                	jne    11a1f0 <_CORE_message_queue_Broadcast+0x60>
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
  11a1ab:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  11a1b2:	eb 18                	jmp    11a1cc <_CORE_message_queue_Broadcast+0x3c>
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
  11a1b4:	ff 45 e4             	incl   -0x1c(%ebp)                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11a1b7:	8b 42 2c             	mov    0x2c(%edx),%eax                
  11a1ba:	89 c7                	mov    %eax,%edi                      
  11a1bc:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11a1bf:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11a1c2:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
  11a1c4:	8b 42 28             	mov    0x28(%edx),%eax                
  11a1c7:	8b 55 10             	mov    0x10(%ebp),%edx                
  11a1ca:	89 10                	mov    %edx,(%eax)                    
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
  11a1cc:	83 ec 0c             	sub    $0xc,%esp                      
  11a1cf:	53                   	push   %ebx                           
  11a1d0:	e8 ef 24 00 00       	call   11c6c4 <_Thread_queue_Dequeue> 
  11a1d5:	89 c2                	mov    %eax,%edx                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
  11a1d7:	83 c4 10             	add    $0x10,%esp                     
  11a1da:	85 c0                	test   %eax,%eax                      
  11a1dc:	75 d6                	jne    11a1b4 <_CORE_message_queue_Broadcast+0x24>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  11a1de:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11a1e1:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  11a1e4:	89 10                	mov    %edx,(%eax)                    
  11a1e6:	31 c0                	xor    %eax,%eax                      
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  11a1e8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11a1eb:	5b                   	pop    %ebx                           
  11a1ec:	5e                   	pop    %esi                           
  11a1ed:	5f                   	pop    %edi                           
  11a1ee:	c9                   	leave                                 
  11a1ef:	c3                   	ret                                   
   *        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 ) {         
    *count = 0;                                                       
  11a1f0:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  11a1f3:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
  11a1f9:	31 c0                	xor    %eax,%eax                      
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  11a1fb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11a1fe:	5b                   	pop    %ebx                           
  11a1ff:	5e                   	pop    %esi                           
  11a200:	5f                   	pop    %edi                           
  11a201:	c9                   	leave                                 
  11a202:	c3                   	ret                                   
  11a203:	90                   	nop                                   
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  11a204:	b8 01 00 00 00       	mov    $0x1,%eax                      <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
  11a209:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  11a20c:	5b                   	pop    %ebx                           <== NOT EXECUTED
  11a20d:	5e                   	pop    %esi                           <== NOT EXECUTED
  11a20e:	5f                   	pop    %edi                           <== NOT EXECUTED
  11a20f:	c9                   	leave                                 <== NOT EXECUTED
  11a210:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

00115300 <_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 ) {
  115300:	55                   	push   %ebp                           
  115301:	89 e5                	mov    %esp,%ebp                      
  115303:	57                   	push   %edi                           
  115304:	56                   	push   %esi                           
  115305:	53                   	push   %ebx                           
  115306:	83 ec 0c             	sub    $0xc,%esp                      
  115309:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11530c:	8b 75 10             	mov    0x10(%ebp),%esi                
  11530f:	8b 45 14             	mov    0x14(%ebp),%eax                
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  115312:	89 73 44             	mov    %esi,0x44(%ebx)                
  the_message_queue->number_of_pending_messages = 0;                  
  115315:	c7 43 48 00 00 00 00 	movl   $0x0,0x48(%ebx)                
  the_message_queue->maximum_message_size       = maximum_message_size;
  11531c:	89 43 4c             	mov    %eax,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;                 
  11531f:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
    the_message_queue->notify_argument = the_argument;                
  115326:	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)) {              
  11532d:	a8 03                	test   $0x3,%al                       
  11532f:	75 1b                	jne    11534c <_CORE_message_queue_Initialize+0x4c>
  115331:	89 c2                	mov    %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 *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
  115333:	8d 7a 14             	lea    0x14(%edx),%edi                
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
  115336:	89 f8                	mov    %edi,%eax                      
  115338:	0f af c6             	imul   %esi,%eax                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  11533b:	39 d0                	cmp    %edx,%eax                      
  11533d:	73 25                	jae    115364 <_CORE_message_queue_Initialize+0x64><== ALWAYS TAKEN
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  11533f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  115341:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115344:	5b                   	pop    %ebx                           
  115345:	5e                   	pop    %esi                           
  115346:	5f                   	pop    %edi                           
  115347:	c9                   	leave                                 
  115348:	c3                   	ret                                   
  115349:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  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)) {              
    allocated_message_size += sizeof(uint32_t);                       
  11534c:	8d 50 04             	lea    0x4(%eax),%edx                 
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  11534f:	83 e2 fc             	and    $0xfffffffc,%edx               
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
  115352:	39 d0                	cmp    %edx,%eax                      
  115354:	77 e9                	ja     11533f <_CORE_message_queue_Initialize+0x3f><== 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));
  115356:	8d 7a 14             	lea    0x14(%edx),%edi                
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
  115359:	89 f8                	mov    %edi,%eax                      
  11535b:	0f af c6             	imul   %esi,%eax                      
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
  11535e:	39 d0                	cmp    %edx,%eax                      
  115360:	72 dd                	jb     11533f <_CORE_message_queue_Initialize+0x3f><== NEVER TAKEN
  115362:	66 90                	xchg   %ax,%ax                        
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
  115364:	83 ec 0c             	sub    $0xc,%esp                      
  115367:	50                   	push   %eax                           
  115368:	e8 03 2a 00 00       	call   117d70 <_Workspace_Allocate>   
  11536d:	89 43 5c             	mov    %eax,0x5c(%ebx)                
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
  115370:	83 c4 10             	add    $0x10,%esp                     
  115373:	85 c0                	test   %eax,%eax                      
  115375:	74 c8                	je     11533f <_CORE_message_queue_Initialize+0x3f>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
  115377:	57                   	push   %edi                           
  115378:	56                   	push   %esi                           
  115379:	50                   	push   %eax                           
  11537a:	8d 43 68             	lea    0x68(%ebx),%eax                
  11537d:	50                   	push   %eax                           
  11537e:	e8 dd 5c 00 00       	call   11b060 <_Chain_Initialize>     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  115383:	8d 43 54             	lea    0x54(%ebx),%eax                
  115386:	89 43 50             	mov    %eax,0x50(%ebx)                
  the_chain->permanent_null = NULL;                                   
  115389:	c7 43 54 00 00 00 00 	movl   $0x0,0x54(%ebx)                
  the_chain->last           = _Chain_Head(the_chain);                 
  115390:	8d 43 50             	lea    0x50(%ebx),%eax                
  115393:	89 43 58             	mov    %eax,0x58(%ebx)                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
  115396:	6a 06                	push   $0x6                           
  115398:	68 80 00 00 00       	push   $0x80                          
  11539d:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1153a0:	83 38 01             	cmpl   $0x1,(%eax)                    
  1153a3:	0f 94 c0             	sete   %al                            
  1153a6:	0f b6 c0             	movzbl %al,%eax                       
  1153a9:	50                   	push   %eax                           
  1153aa:	53                   	push   %ebx                           
  1153ab:	e8 b8 1f 00 00       	call   117368 <_Thread_queue_Initialize>
  1153b0:	b0 01                	mov    $0x1,%al                       
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
  1153b2:	83 c4 20             	add    $0x20,%esp                     
}                                                                     
  1153b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1153b8:	5b                   	pop    %ebx                           
  1153b9:	5e                   	pop    %esi                           
  1153ba:	5f                   	pop    %edi                           
  1153bb:	c9                   	leave                                 
  1153bc:	c3                   	ret                                   
                                                                      

001120cc <_CORE_message_queue_Insert_message>: void _CORE_message_queue_Insert_message( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message, CORE_message_queue_Submit_types submit_type ) {
  1120cc:	55                   	push   %ebp                           
  1120cd:	89 e5                	mov    %esp,%ebp                      
  1120cf:	56                   	push   %esi                           
  1120d0:	53                   	push   %ebx                           
  1120d1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1120d4:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1120d7:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  1120da:	89 4a 08             	mov    %ecx,0x8(%edx)                 
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      else                                                            
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
    _ISR_Enable( level );                                             
  #else                                                               
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
  1120dd:	81 f9 ff ff ff 7f    	cmp    $0x7fffffff,%ecx               
  1120e3:	74 53                	je     112138 <_CORE_message_queue_Insert_message+0x6c>
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
  1120e5:	81 f9 00 00 00 80    	cmp    $0x80000000,%ecx               
  1120eb:	74 6f                	je     11215c <_CORE_message_queue_Insert_message+0x90>
      Chain_Control                     *the_header;                  
      int                                the_priority;                
                                                                      
      the_priority = _CORE_message_queue_Get_message_priority(the_message);
      the_header = &the_message_queue->Pending_messages;              
      the_node = the_header->first;                                   
  1120ed:	8b 58 50             	mov    0x50(%eax),%ebx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  1120f0:	8d 70 54             	lea    0x54(%eax),%esi                
      while ( !_Chain_Is_tail( the_header, the_node ) ) {             
  1120f3:	39 f3                	cmp    %esi,%ebx                      
  1120f5:	74 05                	je     1120fc <_CORE_message_queue_Insert_message+0x30>
                                                                      
        this_message = (CORE_message_queue_Buffer_control *) the_node;
                                                                      
        this_priority = _CORE_message_queue_Get_message_priority(this_message);
                                                                      
        if ( this_priority <= the_priority ) {                        
  1120f7:	3b 4b 08             	cmp    0x8(%ebx),%ecx                 
  1120fa:	7d 2c                	jge    112128 <_CORE_message_queue_Insert_message+0x5c>
          the_node = the_node->next;                                  
          continue;                                                   
        }                                                             
        break;                                                        
      }                                                               
      _ISR_Disable( level );                                          
  1120fc:	9c                   	pushf                                 
  1120fd:	fa                   	cli                                   
  1120fe:	5e                   	pop    %esi                           
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
  1120ff:	ff 40 48             	incl   0x48(%eax)                     
        _Chain_Insert_unprotected( the_node->previous, &the_message->Node );
  112102:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  112105:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  before_node           = after_node->next;                           
  112108:	8b 19                	mov    (%ecx),%ebx                    
  after_node->next      = the_node;                                   
  11210a:	89 11                	mov    %edx,(%ecx)                    
  the_node->next        = before_node;                                
  11210c:	89 1a                	mov    %ebx,(%edx)                    
  before_node->previous = the_node;                                   
  11210e:	89 53 04             	mov    %edx,0x4(%ebx)                 
      _ISR_Enable( level );                                           
  112111:	56                   	push   %esi                           
  112112:	9d                   	popf                                  
    /*                                                                
     *  According to POSIX, does this happen before or after the message
     *  is actually enqueued.  It is logical to think afterwards, because
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
  112113:	8b 50 60             	mov    0x60(%eax),%edx                
  112116:	85 d2                	test   %edx,%edx                      
  112118:	74 3d                	je     112157 <_CORE_message_queue_Insert_message+0x8b>
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
  11211a:	8b 40 64             	mov    0x64(%eax),%eax                
  11211d:	89 45 08             	mov    %eax,0x8(%ebp)                 
  #endif                                                              
}                                                                     
  112120:	5b                   	pop    %ebx                           
  112121:	5e                   	pop    %esi                           
  112122:	c9                   	leave                                 
     *  According to POSIX, does this happen before or after the message
     *  is actually enqueued.  It is logical to think afterwards, because
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
  112123:	ff e2                	jmp    *%edx                          
  112125:	8d 76 00             	lea    0x0(%esi),%esi                 
        this_message = (CORE_message_queue_Buffer_control *) the_node;
                                                                      
        this_priority = _CORE_message_queue_Get_message_priority(this_message);
                                                                      
        if ( this_priority <= the_priority ) {                        
          the_node = the_node->next;                                  
  112128:	8b 1b                	mov    (%ebx),%ebx                    
      int                                the_priority;                
                                                                      
      the_priority = _CORE_message_queue_Get_message_priority(the_message);
      the_header = &the_message_queue->Pending_messages;              
      the_node = the_header->first;                                   
      while ( !_Chain_Is_tail( the_header, the_node ) ) {             
  11212a:	39 f3                	cmp    %esi,%ebx                      
  11212c:	74 ce                	je     1120fc <_CORE_message_queue_Insert_message+0x30>
                                                                      
        this_message = (CORE_message_queue_Buffer_control *) the_node;
                                                                      
        this_priority = _CORE_message_queue_Get_message_priority(this_message);
                                                                      
        if ( this_priority <= the_priority ) {                        
  11212e:	3b 4b 08             	cmp    0x8(%ebx),%ecx                 
  112131:	7c c9                	jl     1120fc <_CORE_message_queue_Insert_message+0x30>
  112133:	eb f3                	jmp    112128 <_CORE_message_queue_Insert_message+0x5c>
  112135:	8d 76 00             	lea    0x0(%esi),%esi                 
      else                                                            
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
    _ISR_Enable( level );                                             
  #else                                                               
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
      _ISR_Disable( level );                                          
  112138:	9c                   	pushf                                 
  112139:	fa                   	cli                                   
  11213a:	5b                   	pop    %ebx                           
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
  11213b:	ff 40 48             	incl   0x48(%eax)                     
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  11213e:	8d 48 54             	lea    0x54(%eax),%ecx                
  112141:	89 0a                	mov    %ecx,(%edx)                    
  old_last_node       = the_chain->last;                              
  112143:	8b 48 58             	mov    0x58(%eax),%ecx                
  the_chain->last     = the_node;                                     
  112146:	89 50 58             	mov    %edx,0x58(%eax)                
  old_last_node->next = the_node;                                     
  112149:	89 11                	mov    %edx,(%ecx)                    
  the_node->previous  = old_last_node;                                
  11214b:	89 4a 04             	mov    %ecx,0x4(%edx)                 
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
  11214e:	53                   	push   %ebx                           
  11214f:	9d                   	popf                                  
    /*                                                                
     *  According to POSIX, does this happen before or after the message
     *  is actually enqueued.  It is logical to think afterwards, because
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
  112150:	8b 50 60             	mov    0x60(%eax),%edx                
  112153:	85 d2                	test   %edx,%edx                      
  112155:	75 c3                	jne    11211a <_CORE_message_queue_Insert_message+0x4e><== NEVER TAKEN
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
  #endif                                                              
}                                                                     
  112157:	5b                   	pop    %ebx                           
  112158:	5e                   	pop    %esi                           
  112159:	c9                   	leave                                 
  11215a:	c3                   	ret                                   
  11215b:	90                   	nop                                   
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
      _ISR_Disable( level );                                          
  11215c:	9c                   	pushf                                 
  11215d:	fa                   	cli                                   
  11215e:	5b                   	pop    %ebx                           
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
  11215f:	ff 40 48             	incl   0x48(%eax)                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
  112162:	8d 48 50             	lea    0x50(%eax),%ecx                
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  112165:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  before_node           = after_node->next;                           
  112168:	8b 48 50             	mov    0x50(%eax),%ecx                
  after_node->next      = the_node;                                   
  11216b:	89 50 50             	mov    %edx,0x50(%eax)                
  the_node->next        = before_node;                                
  11216e:	89 0a                	mov    %ecx,(%edx)                    
  before_node->previous = the_node;                                   
  112170:	89 51 04             	mov    %edx,0x4(%ecx)                 
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
  112173:	53                   	push   %ebx                           
  112174:	9d                   	popf                                  
  112175:	eb 9c                	jmp    112113 <_CORE_message_queue_Insert_message+0x47>
                                                                      

001153c0 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
  1153c0:	55                   	push   %ebp                           
  1153c1:	89 e5                	mov    %esp,%ebp                      
  1153c3:	57                   	push   %edi                           
  1153c4:	56                   	push   %esi                           
  1153c5:	53                   	push   %ebx                           
  1153c6:	83 ec 2c             	sub    $0x2c,%esp                     
  1153c9:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1153cc:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1153cf:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  1153d2:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  1153d5:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  1153d8:	8b 45 14             	mov    0x14(%ebp),%eax                
  1153db:	8b 5d 1c             	mov    0x1c(%ebp),%ebx                
  1153de:	89 5d d8             	mov    %ebx,-0x28(%ebp)               
  1153e1:	0f b6 7d 18          	movzbl 0x18(%ebp),%edi                
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  1153e5:	8b 0d b8 30 13 00    	mov    0x1330b8,%ecx                  
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  1153eb:	c7 41 34 00 00 00 00 	movl   $0x0,0x34(%ecx)                
  _ISR_Disable( level );                                              
  1153f2:	9c                   	pushf                                 
  1153f3:	fa                   	cli                                   
  1153f4:	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));                
  1153f7:	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;                  
  1153fa:	8d 72 54             	lea    0x54(%edx),%esi                
  1153fd:	39 f3                	cmp    %esi,%ebx                      
  1153ff:	74 7b                	je     11547c <_CORE_message_queue_Seize+0xbc>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  115401:	8b 0b                	mov    (%ebx),%ecx                    
  the_chain->first    = new_first;                                    
  115403:	89 4a 50             	mov    %ecx,0x50(%edx)                
  new_first->previous = _Chain_Head(the_chain);                       
  115406:	8d 72 50             	lea    0x50(%edx),%esi                
  115409:	89 71 04             	mov    %esi,0x4(%ecx)                 
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
  11540c:	ff 4a 48             	decl   0x48(%edx)                     
    _ISR_Enable( level );                                             
  11540f:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  115412:	9d                   	popf                                  
                                                                      
    *size_p = the_message->Contents.size;                             
  115413:	8b 4b 0c             	mov    0xc(%ebx),%ecx                 
  115416:	89 08                	mov    %ecx,(%eax)                    
    _Thread_Executing->Wait.count =                                   
  115418:	8b 73 08             	mov    0x8(%ebx),%esi                 
  11541b:	8b 0d b8 30 13 00    	mov    0x1330b8,%ecx                  
  115421:	89 71 24             	mov    %esi,0x24(%ecx)                
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
  115424:	8d 4b 10             	lea    0x10(%ebx),%ecx                
  115427:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11542a:	8b 08                	mov    (%eax),%ecx                    
  11542c:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  11542f:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  115432:	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 );
  115434:	83 ec 0c             	sub    $0xc,%esp                      
  115437:	52                   	push   %edx                           
  115438:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  11543b:	e8 ac 1b 00 00       	call   116fec <_Thread_queue_Dequeue> 
      if ( !the_thread ) {                                            
  115440:	83 c4 10             	add    $0x10,%esp                     
  115443:	85 c0                	test   %eax,%eax                      
  115445:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  115448:	0f 84 86 00 00 00    	je     1154d4 <_CORE_message_queue_Seize+0x114>
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  11544e:	8b 48 24             	mov    0x24(%eax),%ecx                
  115451:	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;  
  115454:	8b 48 30             	mov    0x30(%eax),%ecx                
  115457:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  11545a:	8b 70 2c             	mov    0x2c(%eax),%esi                
  11545d:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  115460:	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(                             
  115462:	8b 43 08             	mov    0x8(%ebx),%eax                 
  115465:	89 45 10             	mov    %eax,0x10(%ebp)                
  115468:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  11546b:	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 );   
}                                                                     
  11546e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115471:	5b                   	pop    %ebx                           
  115472:	5e                   	pop    %esi                           
  115473:	5f                   	pop    %edi                           
  115474:	c9                   	leave                                 
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
  115475:	e9 0e 5d 00 00       	jmp    11b188 <_CORE_message_queue_Insert_message>
  11547a:	66 90                	xchg   %ax,%ax                        
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  11547c:	89 fb                	mov    %edi,%ebx                      
  11547e:	84 db                	test   %bl,%bl                        
  115480:	75 16                	jne    115498 <_CORE_message_queue_Seize+0xd8>
    _ISR_Enable( level );                                             
  115482:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  115485:	9d                   	popf                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
  115486:	c7 41 34 04 00 00 00 	movl   $0x4,0x34(%ecx)                
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
  11548d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  115490:	5b                   	pop    %ebx                           
  115491:	5e                   	pop    %esi                           
  115492:	5f                   	pop    %edi                           
  115493:	c9                   	leave                                 
  115494:	c3                   	ret                                   
  115495:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
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;
  115498:	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;             
  11549f:	89 51 44             	mov    %edx,0x44(%ecx)                
  executing->Wait.id = id;                                            
  1154a2:	8b 5d dc             	mov    -0x24(%ebp),%ebx               
  1154a5:	89 59 20             	mov    %ebx,0x20(%ecx)                
  executing->Wait.return_argument_second.mutable_object = buffer;     
  1154a8:	8b 5d e0             	mov    -0x20(%ebp),%ebx               
  1154ab:	89 59 2c             	mov    %ebx,0x2c(%ecx)                
  executing->Wait.return_argument = size_p;                           
  1154ae:	89 41 28             	mov    %eax,0x28(%ecx)                
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
  1154b1:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1154b4:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
  1154b5:	c7 45 10 18 74 11 00 	movl   $0x117418,0x10(%ebp)           
  1154bc:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  1154bf:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  1154c2:	89 55 08             	mov    %edx,0x8(%ebp)                 
}                                                                     
  1154c5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1154c8:	5b                   	pop    %ebx                           
  1154c9:	5e                   	pop    %esi                           
  1154ca:	5f                   	pop    %edi                           
  1154cb:	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 );   
  1154cc:	e9 37 1c 00 00       	jmp    117108 <_Thread_queue_Enqueue_with_handler>
  1154d1:	8d 76 00             	lea    0x0(%esi),%esi                 
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 );
  1154d4:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  1154d7:	83 c2 68             	add    $0x68,%edx                     
  1154da:	89 55 08             	mov    %edx,0x8(%ebp)                 
}                                                                     
  1154dd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1154e0:	5b                   	pop    %ebx                           
  1154e1:	5e                   	pop    %esi                           
  1154e2:	5f                   	pop    %edi                           
  1154e3:	c9                   	leave                                 
  1154e4:	e9 97 fd ff ff       	jmp    115280 <_Chain_Append>         
                                                                      

0010c634 <_CORE_message_queue_Submit>: #endif CORE_message_queue_Submit_types submit_type, bool wait, Watchdog_Interval timeout ) {
  10c634:	55                   	push   %ebp                           
  10c635:	89 e5                	mov    %esp,%ebp                      
  10c637:	57                   	push   %edi                           
  10c638:	56                   	push   %esi                           
  10c639:	53                   	push   %ebx                           
  10c63a:	83 ec 0c             	sub    $0xc,%esp                      
  10c63d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c640:	0f b6 75 20          	movzbl 0x20(%ebp),%esi                
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  10c644:	8b 45 10             	mov    0x10(%ebp),%eax                
  10c647:	39 43 4c             	cmp    %eax,0x4c(%ebx)                
  10c64a:	0f 82 84 00 00 00    	jb     10c6d4 <_CORE_message_queue_Submit+0xa0>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
  10c650:	8b 7b 48             	mov    0x48(%ebx),%edi                
  10c653:	85 ff                	test   %edi,%edi                      
  10c655:	74 45                	je     10c69c <_CORE_message_queue_Submit+0x68>
RTEMS_INLINE_ROUTINE CORE_message_queue_Buffer_control *              
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
  10c657:	83 ec 0c             	sub    $0xc,%esp                      
  10c65a:	8d 43 68             	lea    0x68(%ebx),%eax                
  10c65d:	50                   	push   %eax                           
  10c65e:	e8 ad ff ff ff       	call   10c610 <_Chain_Get>            
  10c663:	89 c2                	mov    %eax,%edx                      
   *  No one waiting on the message queue at this time, so attempt to 
   *  queue the message up for a future receive.                      
   */                                                                 
  the_message =                                                       
      _CORE_message_queue_Allocate_message_buffer( the_message_queue );
  if ( the_message ) {                                                
  10c665:	83 c4 10             	add    $0x10,%esp                     
  10c668:	85 c0                	test   %eax,%eax                      
  10c66a:	74 78                	je     10c6e4 <_CORE_message_queue_Submit+0xb0>
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  10c66c:	8d 40 10             	lea    0x10(%eax),%eax                
  10c66f:	89 c7                	mov    %eax,%edi                      
  10c671:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10c674:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c677:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
    _CORE_message_queue_Copy_buffer(                                  
      buffer,                                                         
      the_message->Contents.buffer,                                   
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
  10c679:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c67c:	89 4a 0c             	mov    %ecx,0xc(%edx)                 
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
  10c67f:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c682:	89 42 08             	mov    %eax,0x8(%edx)                 
    _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
    _CORE_message_queue_Insert_message(                               
  10c685:	51                   	push   %ecx                           
  10c686:	50                   	push   %eax                           
  10c687:	52                   	push   %edx                           
  10c688:	53                   	push   %ebx                           
  10c689:	e8 3e 5a 00 00       	call   1120cc <_CORE_message_queue_Insert_message>
  10c68e:	31 c0                	xor    %eax,%eax                      
       the_message_queue,                                             
       the_message,                                                   
       submit_type                                                    
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
  10c690:	83 c4 10             	add    $0x10,%esp                     
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c693:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c696:	5b                   	pop    %ebx                           
  10c697:	5e                   	pop    %esi                           
  10c698:	5f                   	pop    %edi                           
  10c699:	c9                   	leave                                 
  10c69a:	c3                   	ret                                   
  10c69b:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
  10c69c:	83 ec 0c             	sub    $0xc,%esp                      
  10c69f:	53                   	push   %ebx                           
  10c6a0:	e8 e3 19 00 00       	call   10e088 <_Thread_queue_Dequeue> 
  10c6a5:	89 c2                	mov    %eax,%edx                      
    if ( the_thread ) {                                               
  10c6a7:	83 c4 10             	add    $0x10,%esp                     
  10c6aa:	85 c0                	test   %eax,%eax                      
  10c6ac:	74 a9                	je     10c657 <_CORE_message_queue_Submit+0x23>
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
  10c6ae:	8b 40 2c             	mov    0x2c(%eax),%eax                
  10c6b1:	89 c7                	mov    %eax,%edi                      
  10c6b3:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10c6b6:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c6b9:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
  10c6bb:	8b 42 28             	mov    0x28(%edx),%eax                
  10c6be:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10c6c1:	89 08                	mov    %ecx,(%eax)                    
      the_thread->Wait.count = (uint32_t) submit_type;                
  10c6c3:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  10c6c6:	89 42 24             	mov    %eax,0x24(%edx)                
  10c6c9:	31 c0                	xor    %eax,%eax                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c6cb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6ce:	5b                   	pop    %ebx                           
  10c6cf:	5e                   	pop    %esi                           
  10c6d0:	5f                   	pop    %edi                           
  10c6d1:	c9                   	leave                                 
  10c6d2:	c3                   	ret                                   
  10c6d3:	90                   	nop                                   
)                                                                     
{                                                                     
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
  10c6d4:	b8 01 00 00 00       	mov    $0x1,%eax                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
  10c6d9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c6dc:	5b                   	pop    %ebx                           
  10c6dd:	5e                   	pop    %esi                           
  10c6de:	5f                   	pop    %edi                           
  10c6df:	c9                   	leave                                 
  10c6e0:	c3                   	ret                                   
  10c6e1:	8d 76 00             	lea    0x0(%esi),%esi                 
    /*                                                                
     *  No message buffers were available so we may need to return an 
     *  overflow error or block the sender until the message is placed
     *  on the queue.                                                 
     */                                                               
    if ( !wait ) {                                                    
  10c6e4:	89 f2                	mov    %esi,%edx                      
  10c6e6:	84 d2                	test   %dl,%dl                        
  10c6e8:	74 12                	je     10c6fc <_CORE_message_queue_Submit+0xc8>
                                                                      
    /*                                                                
     *  Do NOT block on a send if the caller is in an ISR.  It is     
     *  deadly to block in an ISR.                                    
     */                                                               
    if ( _ISR_Is_in_progress() ) {                                    
  10c6ea:	a1 94 94 12 00       	mov    0x129494,%eax                  
  10c6ef:	85 c0                	test   %eax,%eax                      
  10c6f1:	74 11                	je     10c704 <_CORE_message_queue_Submit+0xd0>
  10c6f3:	b8 03 00 00 00       	mov    $0x3,%eax                      
  10c6f8:	eb 99                	jmp    10c693 <_CORE_message_queue_Submit+0x5f>
  10c6fa:	66 90                	xchg   %ax,%ax                        
    /*                                                                
     *  No message buffers were available so we may need to return an 
     *  overflow error or block the sender until the message is placed
     *  on the queue.                                                 
     */                                                               
    if ( !wait ) {                                                    
  10c6fc:	b8 02 00 00 00       	mov    $0x2,%eax                      
  10c701:	eb 90                	jmp    10c693 <_CORE_message_queue_Submit+0x5f>
  10c703:	90                   	nop                                   
     *  Thus the unusual choice to open a new scope and declare       
     *  it as a variable.  Doing this emphasizes how dangerous it     
     *  would be to use this variable prior to here.                  
     */                                                               
    {                                                                 
      Thread_Control  *executing = _Thread_Executing;                 
  10c704:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
      ISR_Level        level;                                         
                                                                      
      _ISR_Disable( level );                                          
  10c709:	9c                   	pushf                                 
  10c70a:	fa                   	cli                                   
  10c70b:	59                   	pop    %ecx                           
                                                                      
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;
  10c70c:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
      _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
      executing->Wait.queue = &the_message_queue->Wait_queue;         
  10c713:	89 58 44             	mov    %ebx,0x44(%eax)                
      executing->Wait.id = id;                                        
  10c716:	8b 55 14             	mov    0x14(%ebp),%edx                
  10c719:	89 50 20             	mov    %edx,0x20(%eax)                
      executing->Wait.return_argument_second.immutable_object = buffer;
  10c71c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10c71f:	89 50 2c             	mov    %edx,0x2c(%eax)                
      executing->Wait.option = (uint32_t) size;                       
  10c722:	8b 55 10             	mov    0x10(%ebp),%edx                
  10c725:	89 50 30             	mov    %edx,0x30(%eax)                
      executing->Wait.count = submit_type;                            
  10c728:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  10c72b:	89 50 24             	mov    %edx,0x24(%eax)                
      _ISR_Enable( level );                                           
  10c72e:	51                   	push   %ecx                           
  10c72f:	9d                   	popf                                  
                                                                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
  10c730:	50                   	push   %eax                           
  10c731:	68 b4 e4 10 00       	push   $0x10e4b4                      
  10c736:	ff 75 24             	pushl  0x24(%ebp)                     
  10c739:	53                   	push   %ebx                           
  10c73a:	e8 65 1a 00 00       	call   10e1a4 <_Thread_queue_Enqueue_with_handler>
  10c73f:	b8 07 00 00 00       	mov    $0x7,%eax                      
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  10c744:	83 c4 10             	add    $0x10,%esp                     
  10c747:	e9 47 ff ff ff       	jmp    10c693 <_CORE_message_queue_Submit+0x5f>
                                                                      

0010c758 <_CORE_mutex_Initialize>: CORE_mutex_Status _CORE_mutex_Initialize( CORE_mutex_Control *the_mutex, CORE_mutex_Attributes *the_mutex_attributes, uint32_t initial_lock ) {
  10c758:	55                   	push   %ebp                           
  10c759:	89 e5                	mov    %esp,%ebp                      
  10c75b:	57                   	push   %edi                           
  10c75c:	56                   	push   %esi                           
  10c75d:	53                   	push   %ebx                           
  10c75e:	83 ec 0c             	sub    $0xc,%esp                      
  10c761:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c764:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c767:	8b 55 10             	mov    0x10(%ebp),%edx                
/* Add this to the RTEMS environment later ?????????                  
  rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||                  
                initial_lock == CORE_MUTEX_UNLOCKED );                
 */                                                                   
                                                                      
  the_mutex->Attributes    = *the_mutex_attributes;                   
  10c76a:	8d 78 40             	lea    0x40(%eax),%edi                
  10c76d:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10c772:	89 de                	mov    %ebx,%esi                      
  10c774:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  the_mutex->lock          = initial_lock;                            
  10c776:	89 50 50             	mov    %edx,0x50(%eax)                
  the_mutex->blocked_count = 0;                                       
  10c779:	c7 40 58 00 00 00 00 	movl   $0x0,0x58(%eax)                
                                                                      
  if ( initial_lock == CORE_MUTEX_LOCKED ) {                          
  10c780:	85 d2                	test   %edx,%edx                      
  10c782:	75 30                	jne    10c7b4 <_CORE_mutex_Initialize+0x5c>
    the_mutex->nest_count = 1;                                        
  10c784:	c7 40 54 01 00 00 00 	movl   $0x1,0x54(%eax)                
    the_mutex->holder     = _Thread_Executing;                        
  10c78b:	8b 15 b8 94 12 00    	mov    0x1294b8,%edx                  
  10c791:	89 50 5c             	mov    %edx,0x5c(%eax)                
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
  10c794:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  10c797:	89 48 60             	mov    %ecx,0x60(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
  10c79a:	8b 48 48             	mov    0x48(%eax),%ecx                
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  10c79d:	83 f9 02             	cmp    $0x2,%ecx                      
  10c7a0:	74 05                	je     10c7a7 <_CORE_mutex_Initialize+0x4f>
  10c7a2:	83 f9 03             	cmp    $0x3,%ecx                      
  10c7a5:	75 22                	jne    10c7c9 <_CORE_mutex_Initialize+0x71>
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
  10c7a7:	8b 4a 14             	mov    0x14(%edx),%ecx                
  10c7aa:	3b 48 4c             	cmp    0x4c(%eax),%ecx                
  10c7ad:	72 41                	jb     10c7f0 <_CORE_mutex_Initialize+0x98>
       _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex,    
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = _Thread_Executing->current_priority;
#endif                                                                
                                                                      
      _Thread_Executing->resource_count++;                            
  10c7af:	ff 42 1c             	incl   0x1c(%edx)                     
  10c7b2:	eb 15                	jmp    10c7c9 <_CORE_mutex_Initialize+0x71>
    }                                                                 
  } else {                                                            
    the_mutex->nest_count = 0;                                        
  10c7b4:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
    the_mutex->holder     = NULL;                                     
  10c7bb:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
    the_mutex->holder_id  = 0;                                        
  10c7c2:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
  10c7c9:	6a 05                	push   $0x5                           
  10c7cb:	68 00 04 00 00       	push   $0x400                         
  10c7d0:	31 d2                	xor    %edx,%edx                      
  10c7d2:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)                 
  10c7d6:	0f 95 c2             	setne  %dl                            
  10c7d9:	52                   	push   %edx                           
  10c7da:	50                   	push   %eax                           
  10c7db:	e8 24 1c 00 00       	call   10e404 <_Thread_queue_Initialize>
  10c7e0:	31 c0                	xor    %eax,%eax                      
      THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY,
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
  10c7e2:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c7e5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c7e8:	5b                   	pop    %ebx                           
  10c7e9:	5e                   	pop    %esi                           
  10c7ea:	5f                   	pop    %edi                           
  10c7eb:	c9                   	leave                                 
  10c7ec:	c3                   	ret                                   
  10c7ed:	8d 76 00             	lea    0x0(%esi),%esi                 
    the_mutex->holder_id  = _Thread_Executing->Object.id;             
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
                                                                      
      if ( _Thread_Executing->current_priority <                      
             the_mutex->Attributes.priority_ceiling )                 
  10c7f0:	b8 06 00 00 00       	mov    $0x6,%eax                      
    STATES_WAITING_FOR_MUTEX,                                         
    CORE_MUTEX_TIMEOUT                                                
  );                                                                  
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c7f5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c7f8:	5b                   	pop    %ebx                           
  10c7f9:	5e                   	pop    %esi                           
  10c7fa:	5f                   	pop    %edi                           
  10c7fb:	c9                   	leave                                 
  10c7fc:	c3                   	ret                                   
                                                                      

0010c850 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
  10c850:	55                   	push   %ebp                           
  10c851:	89 e5                	mov    %esp,%ebp                      
  10c853:	53                   	push   %ebx                           
  10c854:	83 ec 14             	sub    $0x14,%esp                     
  10c857:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c85a:	8a 55 10             	mov    0x10(%ebp),%dl                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10c85d:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10c862:	85 c0                	test   %eax,%eax                      
  10c864:	74 04                	je     10c86a <_CORE_mutex_Seize+0x1a>
  10c866:	84 d2                	test   %dl,%dl                        
  10c868:	75 36                	jne    10c8a0 <_CORE_mutex_Seize+0x50><== ALWAYS TAKEN
  10c86a:	83 ec 08             	sub    $0x8,%esp                      
  10c86d:	8d 45 18             	lea    0x18(%ebp),%eax                
  10c870:	50                   	push   %eax                           
  10c871:	53                   	push   %ebx                           
  10c872:	88 55 f4             	mov    %dl,-0xc(%ebp)                 
  10c875:	e8 fe 58 00 00       	call   112178 <_CORE_mutex_Seize_interrupt_trylock>
  10c87a:	83 c4 10             	add    $0x10,%esp                     
  10c87d:	85 c0                	test   %eax,%eax                      
  10c87f:	8a 55 f4             	mov    -0xc(%ebp),%dl                 
  10c882:	74 14                	je     10c898 <_CORE_mutex_Seize+0x48>
  10c884:	84 d2                	test   %dl,%dl                        
  10c886:	75 30                	jne    10c8b8 <_CORE_mutex_Seize+0x68>
  10c888:	ff 75 18             	pushl  0x18(%ebp)                     
  10c88b:	9d                   	popf                                  
  10c88c:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  10c891:	c7 40 34 01 00 00 00 	movl   $0x1,0x34(%eax)                
}                                                                     
  10c898:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c89b:	c9                   	leave                                 
  10c89c:	c3                   	ret                                   
  10c89d:	8d 76 00             	lea    0x0(%esi),%esi                 
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
  10c8a0:	83 3d c0 95 12 00 01 	cmpl   $0x1,0x1295c0                  
  10c8a7:	76 c1                	jbe    10c86a <_CORE_mutex_Seize+0x1a>
  10c8a9:	53                   	push   %ebx                           
  10c8aa:	6a 13                	push   $0x13                          
  10c8ac:	6a 00                	push   $0x0                           
  10c8ae:	6a 00                	push   $0x0                           
  10c8b0:	e8 fb 05 00 00       	call   10ceb0 <_Internal_error_Occurred>
  10c8b5:	8d 76 00             	lea    0x0(%esi),%esi                 
  10c8b8:	c7 43 30 01 00 00 00 	movl   $0x1,0x30(%ebx)                
  10c8bf:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  10c8c4:	89 58 44             	mov    %ebx,0x44(%eax)                
  10c8c7:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10c8ca:	89 50 20             	mov    %edx,0x20(%eax)                
  10c8cd:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10c8d2:	40                   	inc    %eax                           
  10c8d3:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  10c8d8:	ff 75 18             	pushl  0x18(%ebp)                     
  10c8db:	9d                   	popf                                  
  10c8dc:	83 ec 08             	sub    $0x8,%esp                      
  10c8df:	ff 75 14             	pushl  0x14(%ebp)                     
  10c8e2:	53                   	push   %ebx                           
  10c8e3:	e8 18 ff ff ff       	call   10c800 <_CORE_mutex_Seize_interrupt_blocking>
  10c8e8:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c8eb:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c8ee:	c9                   	leave                                 
  10c8ef:	c3                   	ret                                   
                                                                      

00112178 <_CORE_mutex_Seize_interrupt_trylock>: #if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p ) {
  112178:	55                   	push   %ebp                           
  112179:	89 e5                	mov    %esp,%ebp                      
  11217b:	56                   	push   %esi                           
  11217c:	53                   	push   %ebx                           
  11217d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112180:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  112183:	8b 15 b8 94 12 00    	mov    0x1294b8,%edx                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  112189:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
  112190:	8b 58 50             	mov    0x50(%eax),%ebx                
  112193:	85 db                	test   %ebx,%ebx                      
  112195:	74 31                	je     1121c8 <_CORE_mutex_Seize_interrupt_trylock+0x50>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
  112197:	c7 40 50 00 00 00 00 	movl   $0x0,0x50(%eax)                
    the_mutex->holder     = executing;                                
  11219e:	89 50 5c             	mov    %edx,0x5c(%eax)                
    the_mutex->holder_id  = executing->Object.id;                     
  1121a1:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  1121a4:	89 58 60             	mov    %ebx,0x60(%eax)                
    the_mutex->nest_count = 1;                                        
  1121a7:	c7 40 54 01 00 00 00 	movl   $0x1,0x54(%eax)                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(            
  CORE_mutex_Attributes *the_attribute                                
)                                                                     
{                                                                     
  return the_attribute->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
  1121ae:	8b 58 48             	mov    0x48(%eax),%ebx                
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
    the_mutex->nest_count = 1;                                        
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
  1121b1:	83 fb 02             	cmp    $0x2,%ebx                      
  1121b4:	74 26                	je     1121dc <_CORE_mutex_Seize_interrupt_trylock+0x64>
  1121b6:	83 fb 03             	cmp    $0x3,%ebx                      
  1121b9:	74 35                	je     1121f0 <_CORE_mutex_Seize_interrupt_trylock+0x78>
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
  1121bb:	ff 31                	pushl  (%ecx)                         
  1121bd:	9d                   	popf                                  
  1121be:	31 c0                	xor    %eax,%eax                      
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
  1121c0:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1121c3:	5b                   	pop    %ebx                           
  1121c4:	5e                   	pop    %esi                           
  1121c5:	c9                   	leave                                 
  1121c6:	c3                   	ret                                   
  1121c7:	90                   	nop                                   
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
  1121c8:	3b 50 5c             	cmp    0x5c(%eax),%edx                
  1121cb:	74 17                	je     1121e4 <_CORE_mutex_Seize_interrupt_trylock+0x6c>
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
        _ISR_Enable( *level_p );                                      
  1121cd:	b8 01 00 00 00       	mov    $0x1,%eax                      
  1121d2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1121d5:	5b                   	pop    %ebx                           
  1121d6:	5e                   	pop    %esi                           
  1121d7:	c9                   	leave                                 
  1121d8:	c3                   	ret                                   
  1121d9:	8d 76 00             	lea    0x0(%esi),%esi                 
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  1121dc:	ff 42 1c             	incl   0x1c(%edx)                     
  1121df:	eb da                	jmp    1121bb <_CORE_mutex_Seize_interrupt_trylock+0x43>
  1121e1:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  1121e4:	8b 58 40             	mov    0x40(%eax),%ebx                
  1121e7:	85 db                	test   %ebx,%ebx                      
  1121e9:	75 3d                	jne    112228 <_CORE_mutex_Seize_interrupt_trylock+0xb0>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
  1121eb:	ff 40 54             	incl   0x54(%eax)                     
  1121ee:	eb cb                	jmp    1121bb <_CORE_mutex_Seize_interrupt_trylock+0x43>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
  1121f0:	8b 5a 1c             	mov    0x1c(%edx),%ebx                
  1121f3:	8d 73 01             	lea    0x1(%ebx),%esi                 
  1121f6:	89 72 1c             	mov    %esi,0x1c(%edx)                
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
      current = executing->current_priority;                          
  1121f9:	8b 72 14             	mov    0x14(%edx),%esi                
      if ( current == ceiling ) {                                     
  1121fc:	39 70 4c             	cmp    %esi,0x4c(%eax)                
  1121ff:	74 ba                	je     1121bb <_CORE_mutex_Seize_interrupt_trylock+0x43>
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
  112201:	72 39                	jb     11223c <_CORE_mutex_Seize_interrupt_trylock+0xc4>
        );                                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
  112203:	c7 42 34 06 00 00 00 	movl   $0x6,0x34(%edx)                
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
  11220a:	c7 40 50 01 00 00 00 	movl   $0x1,0x50(%eax)                
        the_mutex->nest_count = 0;     /* undo locking above */       
  112211:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
        executing->resource_count--;   /* undo locking above */       
  112218:	89 5a 1c             	mov    %ebx,0x1c(%edx)                
        _ISR_Enable( *level_p );                                      
  11221b:	ff 31                	pushl  (%ecx)                         
  11221d:	9d                   	popf                                  
  11221e:	31 c0                	xor    %eax,%eax                      
  112220:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112223:	5b                   	pop    %ebx                           
  112224:	5e                   	pop    %esi                           
  112225:	c9                   	leave                                 
  112226:	c3                   	ret                                   
  112227:	90                   	nop                                   
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
  112228:	4b                   	dec    %ebx                           
  112229:	75 a2                	jne    1121cd <_CORE_mutex_Seize_interrupt_trylock+0x55>
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
  11222b:	c7 42 34 02 00 00 00 	movl   $0x2,0x34(%edx)                
        _ISR_Enable( *level_p );                                      
  112232:	ff 31                	pushl  (%ecx)                         
  112234:	9d                   	popf                                  
  112235:	31 c0                	xor    %eax,%eax                      
  112237:	eb 99                	jmp    1121d2 <_CORE_mutex_Seize_interrupt_trylock+0x5a>
  112239:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  11223c:	8b 15 f8 93 12 00    	mov    0x1293f8,%edx                  
  112242:	42                   	inc    %edx                           
  112243:	89 15 f8 93 12 00    	mov    %edx,0x1293f8                  
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
  112249:	ff 31                	pushl  (%ecx)                         
  11224b:	9d                   	popf                                  
        _Thread_Change_priority(                                      
  11224c:	52                   	push   %edx                           
  11224d:	6a 00                	push   $0x0                           
  11224f:	ff 70 4c             	pushl  0x4c(%eax)                     
  112252:	ff 70 5c             	pushl  0x5c(%eax)                     
  112255:	e8 2a b5 ff ff       	call   10d784 <_Thread_Change_priority>
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
  11225a:	e8 0d ba ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  11225f:	31 c0                	xor    %eax,%eax                      
  112261:	83 c4 10             	add    $0x10,%esp                     
  112264:	e9 69 ff ff ff       	jmp    1121d2 <_CORE_mutex_Seize_interrupt_trylock+0x5a>
                                                                      

0010c8f0 <_CORE_mutex_Surrender>: #else Objects_Id id __attribute__((unused)), CORE_mutex_API_mp_support_callout api_mutex_mp_support __attribute__((unused)) #endif ) {
  10c8f0:	55                   	push   %ebp                           
  10c8f1:	89 e5                	mov    %esp,%ebp                      
  10c8f3:	53                   	push   %ebx                           
  10c8f4:	83 ec 04             	sub    $0x4,%esp                      
  10c8f7:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control *the_thread;                                         
  Thread_Control *holder;                                             
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
  Chain_Node *first_node;                                             
#endif                                                                
  holder    = the_mutex->holder;                                      
  10c8fa:	8b 43 5c             	mov    0x5c(%ebx),%eax                
   *  allowed when the mutex in quetion is FIFO or simple Priority    
   *  discipline.  But Priority Ceiling or Priority Inheritance mutexes
   *  must be released by the thread which acquired them.             
   */                                                                 
                                                                      
  if ( the_mutex->Attributes.only_owner_release ) {                   
  10c8fd:	80 7b 44 00          	cmpb   $0x0,0x44(%ebx)                
  10c901:	74 15                	je     10c918 <_CORE_mutex_Surrender+0x28>
    if ( !_Thread_Is_executing( holder ) )                            
  10c903:	3b 05 b8 94 12 00    	cmp    0x1294b8,%eax                  
  10c909:	74 0d                	je     10c918 <_CORE_mutex_Surrender+0x28>
  10c90b:	b8 03 00 00 00       	mov    $0x3,%eax                      
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c910:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c913:	c9                   	leave                                 
  10c914:	c3                   	ret                                   
  10c915:	8d 76 00             	lea    0x0(%esi),%esi                 
      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;                 
  }                                                                   
                                                                      
  /* XXX already unlocked -- not right status */                      
                                                                      
  if ( !the_mutex->nest_count )                                       
  10c918:	8b 53 54             	mov    0x54(%ebx),%edx                
  10c91b:	85 d2                	test   %edx,%edx                      
  10c91d:	74 65                	je     10c984 <_CORE_mutex_Surrender+0x94>
    return CORE_MUTEX_STATUS_SUCCESSFUL;                              
                                                                      
  the_mutex->nest_count--;                                            
  10c91f:	4a                   	dec    %edx                           
  10c920:	89 53 54             	mov    %edx,0x54(%ebx)                
                                                                      
  if ( the_mutex->nest_count != 0 ) {                                 
  10c923:	85 d2                	test   %edx,%edx                      
  10c925:	75 5d                	jne    10c984 <_CORE_mutex_Surrender+0x94>
  10c927:	8b 53 48             	mov    0x48(%ebx),%edx                
                                                                      
  /*                                                                  
   *  Formally release the mutex before possibly transferring it to a 
   *  blocked thread.                                                 
   */                                                                 
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
  10c92a:	83 fa 02             	cmp    $0x2,%edx                      
  10c92d:	0f 84 99 00 00 00    	je     10c9cc <_CORE_mutex_Surrender+0xdc>
  10c933:	83 fa 03             	cmp    $0x3,%edx                      
  10c936:	0f 84 90 00 00 00    	je     10c9cc <_CORE_mutex_Surrender+0xdc>
    }                                                                 
    first_node = _Chain_Get_first_unprotected(&holder->lock_mutex);   
#endif                                                                
    holder->resource_count--;                                         
  }                                                                   
  the_mutex->holder    = NULL;                                        
  10c93c:	c7 43 5c 00 00 00 00 	movl   $0x0,0x5c(%ebx)                
  the_mutex->holder_id = 0;                                           
  10c943:	c7 43 60 00 00 00 00 	movl   $0x0,0x60(%ebx)                
  /*                                                                  
   *  Whether or not someone is waiting for the mutex, an             
   *  inherited priority must be lowered if this is the last          
   *  mutex (i.e. resource) this task has.                            
   */                                                                 
  if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||   
  10c94a:	83 fa 02             	cmp    $0x2,%edx                      
  10c94d:	74 5d                	je     10c9ac <_CORE_mutex_Surrender+0xbc>
  10c94f:	83 fa 03             	cmp    $0x3,%edx                      
  10c952:	74 58                	je     10c9ac <_CORE_mutex_Surrender+0xbc>
                                                                      
  /*                                                                  
   *  Now we check if another thread was waiting for this mutex.  If so,
   *  transfer the mutex to that thread.                              
   */                                                                 
  if ( ( the_thread = _Thread_queue_Dequeue( &the_mutex->Wait_queue ) ) ) {
  10c954:	83 ec 0c             	sub    $0xc,%esp                      
  10c957:	53                   	push   %ebx                           
  10c958:	e8 2b 17 00 00       	call   10e088 <_Thread_queue_Dequeue> 
  10c95d:	83 c4 10             	add    $0x10,%esp                     
  10c960:	85 c0                	test   %eax,%eax                      
  10c962:	74 7c                	je     10c9e0 <_CORE_mutex_Surrender+0xf0>
                                                                      
    } else                                                            
#endif                                                                
    {                                                                 
                                                                      
      the_mutex->holder     = the_thread;                             
  10c964:	89 43 5c             	mov    %eax,0x5c(%ebx)                
      the_mutex->holder_id  = the_thread->Object.id;                  
  10c967:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c96a:	89 53 60             	mov    %edx,0x60(%ebx)                
      the_mutex->nest_count = 1;                                      
  10c96d:	c7 43 54 01 00 00 00 	movl   $0x1,0x54(%ebx)                
                                                                      
      switch ( the_mutex->Attributes.discipline ) {                   
  10c974:	8b 53 48             	mov    0x48(%ebx),%edx                
  10c977:	83 fa 02             	cmp    $0x2,%edx                      
  10c97a:	74 58                	je     10c9d4 <_CORE_mutex_Surrender+0xe4>
  10c97c:	83 fa 03             	cmp    $0x3,%edx                      
  10c97f:	74 0b                	je     10c98c <_CORE_mutex_Surrender+0x9c>
  10c981:	8d 76 00             	lea    0x0(%esi),%esi                 
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
  10c984:	31 c0                	xor    %eax,%eax                      
                                                                      
  return CORE_MUTEX_STATUS_SUCCESSFUL;                                
}                                                                     
  10c986:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c989:	c9                   	leave                                 
  10c98a:	c3                   	ret                                   
  10c98b:	90                   	nop                                   
        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:                 
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
	  _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
	  the_mutex->queue.priority_before = the_thread->current_priority;   
#endif                                                                
          the_thread->resource_count++;                               
  10c98c:	ff 40 1c             	incl   0x1c(%eax)                     
          if (the_mutex->Attributes.priority_ceiling <                
  10c98f:	8b 53 4c             	mov    0x4c(%ebx),%edx                
              the_thread->current_priority){                          
  10c992:	3b 50 14             	cmp    0x14(%eax),%edx                
  10c995:	73 ed                	jae    10c984 <_CORE_mutex_Surrender+0x94>
              _Thread_Change_priority(                                
  10c997:	51                   	push   %ecx                           
  10c998:	6a 00                	push   $0x0                           
  10c99a:	52                   	push   %edx                           
  10c99b:	50                   	push   %eax                           
  10c99c:	e8 e3 0d 00 00       	call   10d784 <_Thread_Change_priority>
  10c9a1:	31 c0                	xor    %eax,%eax                      
  10c9a3:	83 c4 10             	add    $0x10,%esp                     
  10c9a6:	e9 65 ff ff ff       	jmp    10c910 <_CORE_mutex_Surrender+0x20>
  10c9ab:	90                   	nop                                   
       _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {  
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
    if(the_mutex->queue.priority_before != holder->current_priority)  
      _Thread_Change_priority(holder,the_mutex->queue.priority_before,true);
#endif                                                                
    if ( holder->resource_count == 0 &&                               
  10c9ac:	8b 50 1c             	mov    0x1c(%eax),%edx                
  10c9af:	85 d2                	test   %edx,%edx                      
  10c9b1:	75 a1                	jne    10c954 <_CORE_mutex_Surrender+0x64>
         holder->real_priority != holder->current_priority ) {        
  10c9b3:	8b 50 18             	mov    0x18(%eax),%edx                
  10c9b6:	3b 50 14             	cmp    0x14(%eax),%edx                
  10c9b9:	74 99                	je     10c954 <_CORE_mutex_Surrender+0x64>
      _Thread_Change_priority( holder, holder->real_priority, true ); 
  10c9bb:	51                   	push   %ecx                           
  10c9bc:	6a 01                	push   $0x1                           
  10c9be:	52                   	push   %edx                           
  10c9bf:	50                   	push   %eax                           
  10c9c0:	e8 bf 0d 00 00       	call   10d784 <_Thread_Change_priority>
  10c9c5:	83 c4 10             	add    $0x10,%esp                     
  10c9c8:	eb 8a                	jmp    10c954 <_CORE_mutex_Surrender+0x64>
  10c9ca:	66 90                	xchg   %ax,%ax                        
      the_mutex->nest_count++;                                        
      return CORE_MUTEX_RELEASE_NOT_ORDER;                            
    }                                                                 
    first_node = _Chain_Get_first_unprotected(&holder->lock_mutex);   
#endif                                                                
    holder->resource_count--;                                         
  10c9cc:	ff 48 1c             	decl   0x1c(%eax)                     
  10c9cf:	e9 68 ff ff ff       	jmp    10c93c <_CORE_mutex_Surrender+0x4c>
        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:                 
#ifdef __RTEMS_STRICT_ORDER_MUTEX__                                   
	  _Chain_Prepend_unprotected(&the_thread->lock_mutex,&the_mutex->queue.lock_queue);
	  the_mutex->queue.priority_before = the_thread->current_priority;   
#endif                                                                
          the_thread->resource_count++;                               
  10c9d4:	ff 40 1c             	incl   0x1c(%eax)                     
  10c9d7:	31 c0                	xor    %eax,%eax                      
          break;                                                      
  10c9d9:	e9 32 ff ff ff       	jmp    10c910 <_CORE_mutex_Surrender+0x20>
  10c9de:	66 90                	xchg   %ax,%ax                        
          }                                                           
          break;                                                      
      }                                                               
    }                                                                 
  } else                                                              
    the_mutex->lock = CORE_MUTEX_UNLOCKED;                            
  10c9e0:	c7 43 50 01 00 00 00 	movl   $0x1,0x50(%ebx)                
  10c9e7:	31 c0                	xor    %eax,%eax                      
  10c9e9:	e9 22 ff ff ff       	jmp    10c910 <_CORE_mutex_Surrender+0x20>
                                                                      

001133d4 <_CORE_semaphore_Seize>: CORE_semaphore_Control *the_semaphore, Objects_Id id, bool wait, Watchdog_Interval timeout ) {
  1133d4:	55                   	push   %ebp                           
  1133d5:	89 e5                	mov    %esp,%ebp                      
  1133d7:	57                   	push   %edi                           
  1133d8:	56                   	push   %esi                           
  1133d9:	53                   	push   %ebx                           
  1133da:	83 ec 1c             	sub    $0x1c,%esp                     
  1133dd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1133e0:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  1133e3:	8b 75 14             	mov    0x14(%ebp),%esi                
  1133e6:	8a 5d 10             	mov    0x10(%ebp),%bl                 
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
  1133e9:	8b 15 f8 94 12 00    	mov    0x1294f8,%edx                  
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  1133ef:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  _ISR_Disable( level );                                              
  1133f6:	9c                   	pushf                                 
  1133f7:	fa                   	cli                                   
  1133f8:	8f 45 e4             	popl   -0x1c(%ebp)                    
  if ( the_semaphore->count != 0 ) {                                  
  1133fb:	8b 48 48             	mov    0x48(%eax),%ecx                
  1133fe:	85 c9                	test   %ecx,%ecx                      
  113400:	75 46                	jne    113448 <_CORE_semaphore_Seize+0x74>
  /*                                                                  
   *  If the semaphore was not available and the caller was not willing
   *  to block, then return immediately with a status indicating that 
   *  the semaphore was not available and the caller never blocked.   
   */                                                                 
  if ( !wait ) {                                                      
  113402:	84 db                	test   %bl,%bl                        
  113404:	75 16                	jne    11341c <_CORE_semaphore_Seize+0x48>
    _ISR_Enable( level );                                             
  113406:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  113409:	9d                   	popf                                  
    executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT;
  11340a:	c7 42 34 01 00 00 00 	movl   $0x1,0x34(%edx)                
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue = &the_semaphore->Wait_queue;                 
  executing->Wait.id    = id;                                         
  _ISR_Enable( level );                                               
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
}                                                                     
  113411:	83 c4 1c             	add    $0x1c,%esp                     
  113414:	5b                   	pop    %ebx                           
  113415:	5e                   	pop    %esi                           
  113416:	5f                   	pop    %edi                           
  113417:	c9                   	leave                                 
  113418:	c3                   	ret                                   
  113419:	8d 76 00             	lea    0x0(%esi),%esi                 
  11341c:	c7 40 30 01 00 00 00 	movl   $0x1,0x30(%eax)                
  /*                                                                  
   *  If the semaphore is not available and the caller is willing to  
   *  block, then we now block the caller with optional timeout.      
   */                                                                 
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue = &the_semaphore->Wait_queue;                 
  113423:	89 42 44             	mov    %eax,0x44(%edx)                
  executing->Wait.id    = id;                                         
  113426:	89 7a 20             	mov    %edi,0x20(%edx)                
  _ISR_Enable( level );                                               
  113429:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  11342c:	9d                   	popf                                  
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
  11342d:	c7 45 10 1c f1 10 00 	movl   $0x10f11c,0x10(%ebp)           
  113434:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  113437:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  11343a:	83 c4 1c             	add    $0x1c,%esp                     
  11343d:	5b                   	pop    %ebx                           
  11343e:	5e                   	pop    %esi                           
  11343f:	5f                   	pop    %edi                           
  113440:	c9                   	leave                                 
   */                                                                 
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue = &the_semaphore->Wait_queue;                 
  executing->Wait.id    = id;                                         
  _ISR_Enable( level );                                               
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
  113441:	e9 c6 b9 ff ff       	jmp    10ee0c <_Thread_queue_Enqueue_with_handler>
  113446:	66 90                	xchg   %ax,%ax                        
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  _ISR_Disable( level );                                              
  if ( the_semaphore->count != 0 ) {                                  
    the_semaphore->count -= 1;                                        
  113448:	49                   	dec    %ecx                           
  113449:	89 48 48             	mov    %ecx,0x48(%eax)                
    _ISR_Enable( level );                                             
  11344c:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  11344f:	9d                   	popf                                  
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue = &the_semaphore->Wait_queue;                 
  executing->Wait.id    = id;                                         
  _ISR_Enable( level );                                               
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
}                                                                     
  113450:	83 c4 1c             	add    $0x1c,%esp                     
  113453:	5b                   	pop    %ebx                           
  113454:	5e                   	pop    %esi                           
  113455:	5f                   	pop    %edi                           
  113456:	c9                   	leave                                 
  113457:	c3                   	ret                                   
                                                                      

0010ca3c <_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 ) {
  10ca3c:	55                   	push   %ebp                           
  10ca3d:	89 e5                	mov    %esp,%ebp                      
  10ca3f:	53                   	push   %ebx                           
  10ca40:	83 ec 10             	sub    $0x10,%esp                     
  10ca43:	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)) ) {
  10ca46:	53                   	push   %ebx                           
  10ca47:	e8 3c 16 00 00       	call   10e088 <_Thread_queue_Dequeue> 
  10ca4c:	83 c4 10             	add    $0x10,%esp                     
  10ca4f:	85 c0                	test   %eax,%eax                      
  10ca51:	74 09                	je     10ca5c <_CORE_semaphore_Surrender+0x20>
  10ca53:	31 c0                	xor    %eax,%eax                      
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10ca55:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca58:	c9                   	leave                                 
  10ca59:	c3                   	ret                                   
  10ca5a:	66 90                	xchg   %ax,%ax                        
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
  10ca5c:	9c                   	pushf                                 
  10ca5d:	fa                   	cli                                   
  10ca5e:	5a                   	pop    %edx                           
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
  10ca5f:	8b 43 48             	mov    0x48(%ebx),%eax                
  10ca62:	3b 43 40             	cmp    0x40(%ebx),%eax                
  10ca65:	72 0d                	jb     10ca74 <_CORE_semaphore_Surrender+0x38><== ALWAYS TAKEN
  10ca67:	b8 04 00 00 00       	mov    $0x4,%eax                      <== NOT EXECUTED
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  10ca6c:	52                   	push   %edx                           
  10ca6d:	9d                   	popf                                  
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
  10ca6e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ca71:	c9                   	leave                                 
  10ca72:	c3                   	ret                                   
  10ca73:	90                   	nop                                   
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
  10ca74:	40                   	inc    %eax                           
  10ca75:	89 43 48             	mov    %eax,0x48(%ebx)                
  10ca78:	31 c0                	xor    %eax,%eax                      
  10ca7a:	eb f0                	jmp    10ca6c <_CORE_semaphore_Surrender+0x30>
                                                                      

0010d414 <_CORE_spinlock_Wait>: CORE_spinlock_Status _CORE_spinlock_Wait( CORE_spinlock_Control *the_spinlock, bool wait, Watchdog_Interval timeout ) {
  10d414:	55                   	push   %ebp                           
  10d415:	89 e5                	mov    %esp,%ebp                      
  10d417:	56                   	push   %esi                           
  10d418:	53                   	push   %ebx                           
  10d419:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d41c:	8a 4d 0c             	mov    0xc(%ebp),%cl                  
  ISR_Level level;                                                    
  #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)            
    Watchdog_Interval       limit = _Watchdog_Ticks_since_boot + timeout;
  #endif                                                              
                                                                      
  _ISR_Disable( level );                                              
  10d41f:	9c                   	pushf                                 
  10d420:	fa                   	cli                                   
  10d421:	58                   	pop    %eax                           
    if ( (the_spinlock->lock == CORE_SPINLOCK_LOCKED) &&              
  10d422:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10d425:	4a                   	dec    %edx                           
  10d426:	74 60                	je     10d488 <_CORE_spinlock_Wait+0x74>
         (the_spinlock->holder == _Thread_Executing->Object.id) ) {   
      _ISR_Enable( level );                                           
      return CORE_SPINLOCK_HOLDER_RELOCKING;                          
    }                                                                 
    the_spinlock->users += 1;                                         
  10d428:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10d42b:	42                   	inc    %edx                           
  10d42c:	89 53 08             	mov    %edx,0x8(%ebx)                 
    for ( ;; ) {                                                      
      if ( the_spinlock->lock == CORE_SPINLOCK_UNLOCKED ) {           
  10d42f:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10d432:	85 d2                	test   %edx,%edx                      
  10d434:	74 22                	je     10d458 <_CORE_spinlock_Wait+0x44>
      }                                                               
                                                                      
      /*                                                              
       *  Spinlock is unavailable.  If not willing to wait, return.   
       */                                                             
      if ( !wait ) {                                                  
  10d436:	84 c9                	test   %cl,%cl                        
  10d438:	74 39                	je     10d473 <_CORE_spinlock_Wait+0x5f>
  10d43a:	66 90                	xchg   %ax,%ax                        
       *                                                              
       *  A spinlock cannot be deleted while it is being used so we are
       *  safe from deletion.                                         
       */                                                             
                                                                      
       _ISR_Enable( level );                                          
  10d43c:	50                   	push   %eax                           
  10d43d:	9d                   	popf                                  
       /* An ISR could occur here */                                  
                                                                      
       _Thread_Enable_dispatch();                                     
  10d43e:	e8 4d 12 00 00       	call   10e690 <_Thread_Enable_dispatch>
  10d443:	a1 78 a8 12 00       	mov    0x12a878,%eax                  
  10d448:	40                   	inc    %eax                           
  10d449:	a3 78 a8 12 00       	mov    %eax,0x12a878                  
       /* Another thread could get dispatched here */                 
                                                                      
       /* Reenter the critical sections so we can attempt the lock again. */
       _Thread_Disable_dispatch();                                    
                                                                      
       _ISR_Disable( level );                                         
  10d44e:	9c                   	pushf                                 
  10d44f:	fa                   	cli                                   
  10d450:	58                   	pop    %eax                           
      _ISR_Enable( level );                                           
      return CORE_SPINLOCK_HOLDER_RELOCKING;                          
    }                                                                 
    the_spinlock->users += 1;                                         
    for ( ;; ) {                                                      
      if ( the_spinlock->lock == CORE_SPINLOCK_UNLOCKED ) {           
  10d451:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10d454:	85 d2                	test   %edx,%edx                      
  10d456:	75 e4                	jne    10d43c <_CORE_spinlock_Wait+0x28>
        the_spinlock->lock = CORE_SPINLOCK_LOCKED;                    
  10d458:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
        the_spinlock->holder = _Thread_Executing->Object.id;          
  10d45f:	8b 15 38 a9 12 00    	mov    0x12a938,%edx                  
  10d465:	8b 52 08             	mov    0x8(%edx),%edx                 
  10d468:	89 53 0c             	mov    %edx,0xc(%ebx)                 
        _ISR_Enable( level );                                         
  10d46b:	50                   	push   %eax                           
  10d46c:	9d                   	popf                                  
  10d46d:	31 c0                	xor    %eax,%eax                      
       _Thread_Disable_dispatch();                                    
                                                                      
       _ISR_Disable( level );                                         
    }                                                                 
                                                                      
}                                                                     
  10d46f:	5b                   	pop    %ebx                           
  10d470:	5e                   	pop    %esi                           
  10d471:	c9                   	leave                                 
  10d472:	c3                   	ret                                   
                                                                      
      /*                                                              
       *  Spinlock is unavailable.  If not willing to wait, return.   
       */                                                             
      if ( !wait ) {                                                  
        the_spinlock->users -= 1;                                     
  10d473:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10d476:	4a                   	dec    %edx                           
  10d477:	89 53 08             	mov    %edx,0x8(%ebx)                 
        _ISR_Enable( level );                                         
  10d47a:	50                   	push   %eax                           
  10d47b:	9d                   	popf                                  
  10d47c:	b8 05 00 00 00       	mov    $0x5,%eax                      
       _Thread_Disable_dispatch();                                    
                                                                      
       _ISR_Disable( level );                                         
    }                                                                 
                                                                      
}                                                                     
  10d481:	5b                   	pop    %ebx                           
  10d482:	5e                   	pop    %esi                           
  10d483:	c9                   	leave                                 
  10d484:	c3                   	ret                                   
  10d485:	8d 76 00             	lea    0x0(%esi),%esi                 
    Watchdog_Interval       limit = _Watchdog_Ticks_since_boot + timeout;
  #endif                                                              
                                                                      
  _ISR_Disable( level );                                              
    if ( (the_spinlock->lock == CORE_SPINLOCK_LOCKED) &&              
         (the_spinlock->holder == _Thread_Executing->Object.id) ) {   
  10d488:	8b 73 0c             	mov    0xc(%ebx),%esi                 
  10d48b:	8b 15 38 a9 12 00    	mov    0x12a938,%edx                  
  10d491:	3b 72 08             	cmp    0x8(%edx),%esi                 
  10d494:	75 92                	jne    10d428 <_CORE_spinlock_Wait+0x14>
      _ISR_Enable( level );                                           
  10d496:	50                   	push   %eax                           
  10d497:	9d                   	popf                                  
  10d498:	b8 01 00 00 00       	mov    $0x1,%eax                      
      return CORE_SPINLOCK_HOLDER_RELOCKING;                          
  10d49d:	eb d0                	jmp    10d46f <_CORE_spinlock_Wait+0x5b>
                                                                      

00111fa4 <_Chain_Initialize>: Chain_Control *the_chain, void *starting_address, size_t number_nodes, size_t node_size ) {
  111fa4:	55                   	push   %ebp                           
  111fa5:	89 e5                	mov    %esp,%ebp                      
  111fa7:	57                   	push   %edi                           
  111fa8:	56                   	push   %esi                           
  111fa9:	53                   	push   %ebx                           
  111faa:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  111fad:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  111fb0:	8b 75 14             	mov    0x14(%ebp),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
  111fb3:	89 fa                	mov    %edi,%edx                      
  Chain_Node *current;                                                
  Chain_Node *next;                                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  111fb5:	c7 47 04 00 00 00 00 	movl   $0x0,0x4(%edi)                 
  next                      = starting_address;                       
  while ( count-- ) {                                                 
  111fbc:	85 c9                	test   %ecx,%ecx                      
  111fbe:	74 17                	je     111fd7 <_Chain_Initialize+0x33><== NEVER TAKEN
  Chain_Node *next;                                                   
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  111fc0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111fc3:	eb 05                	jmp    111fca <_Chain_Initialize+0x26>
  111fc5:	8d 76 00             	lea    0x0(%esi),%esi                 
  while ( count-- ) {                                                 
  111fc8:	89 d8                	mov    %ebx,%eax                      
    current->next  = next;                                            
  111fca:	89 02                	mov    %eax,(%edx)                    
    next->previous = current;                                         
  111fcc:	89 50 04             	mov    %edx,0x4(%eax)                 
  111fcf:	8d 1c 30             	lea    (%eax,%esi,1),%ebx             
    current        = next;                                            
    next           = (Chain_Node *)                                   
  111fd2:	89 c2                	mov    %eax,%edx                      
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
  111fd4:	49                   	dec    %ecx                           
  111fd5:	75 f1                	jne    111fc8 <_Chain_Initialize+0x24>
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
  current->next    = _Chain_Tail( the_chain );                        
  111fd7:	8d 47 04             	lea    0x4(%edi),%eax                 
  111fda:	89 02                	mov    %eax,(%edx)                    
  the_chain->last  = current;                                         
  111fdc:	89 57 08             	mov    %edx,0x8(%edi)                 
}                                                                     
  111fdf:	5b                   	pop    %ebx                           
  111fe0:	5e                   	pop    %esi                           
  111fe1:	5f                   	pop    %edi                           
  111fe2:	c9                   	leave                                 
  111fe3:	c3                   	ret                                   
                                                                      

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

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

0010b6bc <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
  10b6bc:	55                   	push   %ebp                           
  10b6bd:	89 e5                	mov    %esp,%ebp                      
  10b6bf:	57                   	push   %edi                           
  10b6c0:	56                   	push   %esi                           
  10b6c1:	53                   	push   %ebx                           
  10b6c2:	83 ec 2c             	sub    $0x2c,%esp                     
  10b6c5:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b6c8:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10b6cb:	8b 55 10             	mov    0x10(%ebp),%edx                
  10b6ce:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  10b6d1:	8b 7d 14             	mov    0x14(%ebp),%edi                
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  10b6d4:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
  10b6da:	c7 43 34 00 00 00 00 	movl   $0x0,0x34(%ebx)                
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  10b6e1:	8b b3 f4 00 00 00    	mov    0xf4(%ebx),%esi                
                                                                      
  _ISR_Disable( level );                                              
  10b6e7:	9c                   	pushf                                 
  10b6e8:	fa                   	cli                                   
  10b6e9:	8f 45 e0             	popl   -0x20(%ebp)                    
  pending_events = api->pending_events;                               
  10b6ec:	8b 16                	mov    (%esi),%edx                    
  10b6ee:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
  10b6f1:	21 c2                	and    %eax,%edx                      
  10b6f3:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10b6f6:	74 0d                	je     10b705 <_Event_Seize+0x49>     
  10b6f8:	39 d0                	cmp    %edx,%eax                      
  10b6fa:	0f 84 84 00 00 00    	je     10b784 <_Event_Seize+0xc8>     
  10b700:	f6 c1 02             	test   $0x2,%cl                       
  10b703:	75 7f                	jne    10b784 <_Event_Seize+0xc8>     <== ALWAYS TAKEN
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
  10b705:	f6 c1 01             	test   $0x1,%cl                       
  10b708:	75 62                	jne    10b76c <_Event_Seize+0xb0>     
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  10b70a:	89 4b 30             	mov    %ecx,0x30(%ebx)                
  executing->Wait.count             = (uint32_t) event_in;            
  10b70d:	89 43 24             	mov    %eax,0x24(%ebx)                
  executing->Wait.return_argument   = event_out;                      
  10b710:	89 7b 28             	mov    %edi,0x28(%ebx)                
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
  10b713:	c7 05 00 9e 12 00 01 	movl   $0x1,0x129e00                  
  10b71a:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10b71d:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b720:	9d                   	popf                                  
                                                                      
  if ( ticks ) {                                                      
  10b721:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b724:	85 c0                	test   %eax,%eax                      
  10b726:	0f 85 80 00 00 00    	jne    10b7ac <_Event_Seize+0xf0>     
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
  10b72c:	83 ec 08             	sub    $0x8,%esp                      
  10b72f:	68 00 01 00 00       	push   $0x100                         
  10b734:	53                   	push   %ebx                           
  10b735:	e8 1e 2e 00 00       	call   10e558 <_Thread_Set_state>     
                                                                      
  _ISR_Disable( level );                                              
  10b73a:	9c                   	pushf                                 
  10b73b:	fa                   	cli                                   
  10b73c:	5a                   	pop    %edx                           
                                                                      
  sync_state = _Event_Sync_state;                                     
  10b73d:	a1 00 9e 12 00       	mov    0x129e00,%eax                  
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  10b742:	c7 05 00 9e 12 00 00 	movl   $0x0,0x129e00                  
  10b749:	00 00 00                                                    
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
  10b74c:	83 c4 10             	add    $0x10,%esp                     
  10b74f:	83 f8 01             	cmp    $0x1,%eax                      
  10b752:	74 4c                	je     10b7a0 <_Event_Seize+0xe4>     
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  10b754:	89 55 10             	mov    %edx,0x10(%ebp)                
  10b757:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10b75a:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10b75d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b760:	5b                   	pop    %ebx                           
  10b761:	5e                   	pop    %esi                           
  10b762:	5f                   	pop    %edi                           
  10b763:	c9                   	leave                                 
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
  10b764:	e9 cf 1f 00 00       	jmp    10d738 <_Thread_blocking_operation_Cancel>
  10b769:	8d 76 00             	lea    0x0(%esi),%esi                 
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    _ISR_Enable( level );                                             
  10b76c:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b76f:	9d                   	popf                                  
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
  10b770:	c7 43 34 0d 00 00 00 	movl   $0xd,0x34(%ebx)                
    *event_out = seized_events;                                       
  10b777:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10b77a:	89 17                	mov    %edx,(%edi)                    
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b77c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b77f:	5b                   	pop    %ebx                           
  10b780:	5e                   	pop    %esi                           
  10b781:	5f                   	pop    %edi                           
  10b782:	c9                   	leave                                 
  10b783:	c3                   	ret                                   
  pending_events = api->pending_events;                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
  10b784:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b787:	f7 d0                	not    %eax                           
  10b789:	23 45 d4             	and    -0x2c(%ebp),%eax               
  10b78c:	89 06                	mov    %eax,(%esi)                    
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
  10b78e:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10b791:	9d                   	popf                                  
    *event_out = seized_events;                                       
  10b792:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10b795:	89 07                	mov    %eax,(%edi)                    
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b797:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b79a:	5b                   	pop    %ebx                           
  10b79b:	5e                   	pop    %esi                           
  10b79c:	5f                   	pop    %edi                           
  10b79d:	c9                   	leave                                 
  10b79e:	c3                   	ret                                   
  10b79f:	90                   	nop                                   
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
    _ISR_Enable( level );                                             
  10b7a0:	52                   	push   %edx                           
  10b7a1:	9d                   	popf                                  
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
}                                                                     
  10b7a2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b7a5:	5b                   	pop    %ebx                           
  10b7a6:	5e                   	pop    %esi                           
  10b7a7:	5f                   	pop    %edi                           
  10b7a8:	c9                   	leave                                 
  10b7a9:	c3                   	ret                                   
  10b7aa:	66 90                	xchg   %ax,%ax                        
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  if ( ticks ) {                                                      
    _Watchdog_Initialize(                                             
  10b7ac:	8b 43 08             	mov    0x8(%ebx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10b7af:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10b7b6:	c7 43 64 4c b9 10 00 	movl   $0x10b94c,0x64(%ebx)           
  the_watchdog->id        = id;                                       
  10b7bd:	89 43 68             	mov    %eax,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10b7c0:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10b7c7:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10b7ca:	89 43 54             	mov    %eax,0x54(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10b7cd:	83 ec 08             	sub    $0x8,%esp                      
  10b7d0:	8d 43 48             	lea    0x48(%ebx),%eax                
  10b7d3:	50                   	push   %eax                           
  10b7d4:	68 d8 94 12 00       	push   $0x1294d8                      
  10b7d9:	e8 02 34 00 00       	call   10ebe0 <_Watchdog_Insert>      
  10b7de:	83 c4 10             	add    $0x10,%esp                     
  10b7e1:	e9 46 ff ff ff       	jmp    10b72c <_Event_Seize+0x70>     
                                                                      

0010b83c <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
  10b83c:	55                   	push   %ebp                           
  10b83d:	89 e5                	mov    %esp,%ebp                      
  10b83f:	57                   	push   %edi                           
  10b840:	56                   	push   %esi                           
  10b841:	53                   	push   %ebx                           
  10b842:	83 ec 1c             	sub    $0x1c,%esp                     
  10b845:	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 ];               
  10b848:	8b 8b f4 00 00 00    	mov    0xf4(%ebx),%ecx                
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
  10b84e:	8b 73 30             	mov    0x30(%ebx),%esi                
                                                                      
  _ISR_Disable( level );                                              
  10b851:	9c                   	pushf                                 
  10b852:	fa                   	cli                                   
  10b853:	8f 45 e4             	popl   -0x1c(%ebp)                    
  pending_events  = api->pending_events;                              
  10b856:	8b 11                	mov    (%ecx),%edx                    
  event_condition = (rtems_event_set) the_thread->Wait.count;         
  10b858:	8b 43 24             	mov    0x24(%ebx),%eax                
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
  10b85b:	89 c7                	mov    %eax,%edi                      
  10b85d:	21 d7                	and    %edx,%edi                      
  10b85f:	89 7d e0             	mov    %edi,-0x20(%ebp)               
  10b862:	0f 84 ac 00 00 00    	je     10b914 <_Event_Surrender+0xd8> 
                                                                      
  /*                                                                  
   *  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() &&                                       
  10b868:	8b 3d 94 94 12 00    	mov    0x129494,%edi                  
  10b86e:	85 ff                	test   %edi,%edi                      
  10b870:	74 08                	je     10b87a <_Event_Surrender+0x3e> 
  10b872:	3b 1d b8 94 12 00    	cmp    0x1294b8,%ebx                  
  10b878:	74 5a                	je     10b8d4 <_Event_Surrender+0x98> 
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
  10b87a:	f6 43 11 01          	testb  $0x1,0x11(%ebx)                
  10b87e:	0f 84 90 00 00 00    	je     10b914 <_Event_Surrender+0xd8> 
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
  10b884:	3b 45 e0             	cmp    -0x20(%ebp),%eax               
  10b887:	74 09                	je     10b892 <_Event_Surrender+0x56> 
  10b889:	83 e6 02             	and    $0x2,%esi                      
  10b88c:	0f 84 82 00 00 00    	je     10b914 <_Event_Surrender+0xd8> <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
  10b892:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10b895:	f7 d0                	not    %eax                           
  10b897:	21 d0                	and    %edx,%eax                      
  10b899:	89 01                	mov    %eax,(%ecx)                    
      the_thread->Wait.count = 0;                                     
  10b89b:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10b8a2:	8b 43 28             	mov    0x28(%ebx),%eax                
  10b8a5:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10b8a8:	89 38                	mov    %edi,(%eax)                    
                                                                      
      _ISR_Flash( level );                                            
  10b8aa:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10b8ad:	9d                   	popf                                  
  10b8ae:	fa                   	cli                                   
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
  10b8af:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10b8b3:	74 6b                	je     10b920 <_Event_Surrender+0xe4> 
        _ISR_Enable( level );                                         
  10b8b5:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10b8b8:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10b8b9:	83 ec 08             	sub    $0x8,%esp                      
  10b8bc:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b8c1:	53                   	push   %ebx                           
  10b8c2:	e8 fd 1f 00 00       	call   10d8c4 <_Thread_Clear_state>   
  10b8c7:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
  10b8ca:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b8cd:	5b                   	pop    %ebx                           
  10b8ce:	5e                   	pop    %esi                           
  10b8cf:	5f                   	pop    %edi                           
  10b8d0:	c9                   	leave                                 
  10b8d1:	c3                   	ret                                   
  10b8d2:	66 90                	xchg   %ax,%ax                        
   *  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) ||   
  10b8d4:	8b 3d 00 9e 12 00    	mov    0x129e00,%edi                  
                                                                      
  /*                                                                  
   *  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() &&                                       
  10b8da:	83 ff 02             	cmp    $0x2,%edi                      
  10b8dd:	74 09                	je     10b8e8 <_Event_Surrender+0xac> <== NEVER TAKEN
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
  10b8df:	8b 3d 00 9e 12 00    	mov    0x129e00,%edi                  
                                                                      
  /*                                                                  
   *  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() &&                                       
  10b8e5:	4f                   	dec    %edi                           
  10b8e6:	75 92                	jne    10b87a <_Event_Surrender+0x3e> 
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
  10b8e8:	3b 45 e0             	cmp    -0x20(%ebp),%eax               
  10b8eb:	74 05                	je     10b8f2 <_Event_Surrender+0xb6> 
  10b8ed:	83 e6 02             	and    $0x2,%esi                      
  10b8f0:	74 22                	je     10b914 <_Event_Surrender+0xd8> <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
  10b8f2:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10b8f5:	f7 d0                	not    %eax                           
  10b8f7:	21 d0                	and    %edx,%eax                      
  10b8f9:	89 01                	mov    %eax,(%ecx)                    
      the_thread->Wait.count = 0;                                     
  10b8fb:	c7 43 24 00 00 00 00 	movl   $0x0,0x24(%ebx)                
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
  10b902:	8b 43 28             	mov    0x28(%ebx),%eax                
  10b905:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10b908:	89 10                	mov    %edx,(%eax)                    
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
  10b90a:	c7 05 00 9e 12 00 03 	movl   $0x3,0x129e00                  
  10b911:	00 00 00                                                    
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
  10b914:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10b917:	9d                   	popf                                  
}                                                                     
  10b918:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b91b:	5b                   	pop    %ebx                           
  10b91c:	5e                   	pop    %esi                           
  10b91d:	5f                   	pop    %edi                           
  10b91e:	c9                   	leave                                 
  10b91f:	c3                   	ret                                   
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  10b920:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
  10b927:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10b92a:	9d                   	popf                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
  10b92b:	83 ec 0c             	sub    $0xc,%esp                      
  10b92e:	8d 43 48             	lea    0x48(%ebx),%eax                
  10b931:	50                   	push   %eax                           
  10b932:	e8 d1 33 00 00       	call   10ed08 <_Watchdog_Remove>      
  10b937:	58                   	pop    %eax                           
  10b938:	5a                   	pop    %edx                           
  10b939:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b93e:	53                   	push   %ebx                           
  10b93f:	e8 80 1f 00 00       	call   10d8c4 <_Thread_Clear_state>   
  10b944:	83 c4 10             	add    $0x10,%esp                     
  10b947:	eb cf                	jmp    10b918 <_Event_Surrender+0xdc> 
                                                                      

0010b94c <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
  10b94c:	55                   	push   %ebp                           
  10b94d:	89 e5                	mov    %esp,%ebp                      
  10b94f:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10b952:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b955:	50                   	push   %eax                           
  10b956:	ff 75 08             	pushl  0x8(%ebp)                      
  10b959:	e8 32 23 00 00       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  10b95e:	83 c4 10             	add    $0x10,%esp                     
  10b961:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b964:	85 d2                	test   %edx,%edx                      
  10b966:	75 37                	jne    10b99f <_Event_Timeout+0x53>   <== 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 );                                          
  10b968:	9c                   	pushf                                 
  10b969:	fa                   	cli                                   
  10b96a:	5a                   	pop    %edx                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
  10b96b:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
        if ( _Thread_Is_executing( the_thread ) ) {                   
  10b972:	3b 05 b8 94 12 00    	cmp    0x1294b8,%eax                  
  10b978:	74 2a                	je     10b9a4 <_Event_Timeout+0x58>   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
  10b97a:	c7 40 34 06 00 00 00 	movl   $0x6,0x34(%eax)                
      _ISR_Enable( level );                                           
  10b981:	52                   	push   %edx                           
  10b982:	9d                   	popf                                  
  10b983:	83 ec 08             	sub    $0x8,%esp                      
  10b986:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10b98b:	50                   	push   %eax                           
  10b98c:	e8 33 1f 00 00       	call   10d8c4 <_Thread_Clear_state>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10b991:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10b996:	48                   	dec    %eax                           
  10b997:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  10b99c:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  10b99f:	c9                   	leave                                 
  10b9a0:	c3                   	ret                                   
  10b9a1:	8d 76 00             	lea    0x0(%esi),%esi                 
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
  10b9a4:	8b 0d 00 9e 12 00    	mov    0x129e00,%ecx                  
  10b9aa:	49                   	dec    %ecx                           
  10b9ab:	75 cd                	jne    10b97a <_Event_Timeout+0x2e>   
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
  10b9ad:	c7 05 00 9e 12 00 02 	movl   $0x2,0x129e00                  
  10b9b4:	00 00 00                                                    
  10b9b7:	eb c1                	jmp    10b97a <_Event_Timeout+0x2e>   
                                                                      

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

001122c4 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
  1122c4:	55                   	push   %ebp                           
  1122c5:	89 e5                	mov    %esp,%ebp                      
  1122c7:	57                   	push   %edi                           
  1122c8:	56                   	push   %esi                           
  1122c9:	53                   	push   %ebx                           
  1122ca:	83 ec 2c             	sub    $0x2c,%esp                     
  1122cd:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  1122d0:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1122d3:	8b 48 08             	mov    0x8(%eax),%ecx                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  1122d6:	8b 50 10             	mov    0x10(%eax),%edx                
  1122d9:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
  1122dc:	89 f8                	mov    %edi,%eax                      
  1122de:	83 c0 04             	add    $0x4,%eax                      
  1122e1:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  1122e4:	0f 82 5a 01 00 00    	jb     112444 <_Heap_Allocate_aligned_with_boundary+0x180>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
  1122ea:	8b 75 14             	mov    0x14(%ebp),%esi                
  1122ed:	85 f6                	test   %esi,%esi                      
  1122ef:	0f 85 48 01 00 00    	jne    11243d <_Heap_Allocate_aligned_with_boundary+0x179>
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  1122f5:	39 4d 08             	cmp    %ecx,0x8(%ebp)                 
  1122f8:	0f 84 50 01 00 00    	je     11244e <_Heap_Allocate_aligned_with_boundary+0x18a>
  1122fe:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
  112305:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  112308:	83 c2 07             	add    $0x7,%edx                      
  11230b:	89 55 c8             	mov    %edx,-0x38(%ebp)               
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  11230e:	c7 45 d8 04 00 00 00 	movl   $0x4,-0x28(%ebp)               
  112315:	29 7d d8             	sub    %edi,-0x28(%ebp)               
  112318:	eb 19                	jmp    112333 <_Heap_Allocate_aligned_with_boundary+0x6f>
  11231a:	66 90                	xchg   %ax,%ax                        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  11231c:	8d 59 08             	lea    0x8(%ecx),%ebx                 
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
  11231f:	85 db                	test   %ebx,%ebx                      
  112321:	0f 85 e9 00 00 00    	jne    112410 <_Heap_Allocate_aligned_with_boundary+0x14c><== ALWAYS TAKEN
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
  112327:	8b 49 08             	mov    0x8(%ecx),%ecx                 
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  11232a:	39 4d 08             	cmp    %ecx,0x8(%ebp)                 
  11232d:	0f 84 25 01 00 00    	je     112458 <_Heap_Allocate_aligned_with_boundary+0x194>
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
  112333:	ff 45 e4             	incl   -0x1c(%ebp)                    
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
  112336:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  112339:	39 5d e0             	cmp    %ebx,-0x20(%ebp)               
  11233c:	73 e9                	jae    112327 <_Heap_Allocate_aligned_with_boundary+0x63>
      if ( alignment == 0 ) {                                         
  11233e:	8b 55 10             	mov    0x10(%ebp),%edx                
  112341:	85 d2                	test   %edx,%edx                      
  112343:	74 d7                	je     11231c <_Heap_Allocate_aligned_with_boundary+0x58>
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  112345:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112348:	8b 40 14             	mov    0x14(%eax),%eax                
  11234b:	89 45 d0             	mov    %eax,-0x30(%ebp)               
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
  11234e:	83 e3 fe             	and    $0xfffffffe,%ebx               
  112351:	8d 1c 19             	lea    (%ecx,%ebx,1),%ebx             
  112354:	8d 51 08             	lea    0x8(%ecx),%edx                 
  112357:	89 55 cc             	mov    %edx,-0x34(%ebp)               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
  11235a:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  11235d:	29 c6                	sub    %eax,%esi                      
  11235f:	01 de                	add    %ebx,%esi                      
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
  112361:	03 5d d8             	add    -0x28(%ebp),%ebx               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  112364:	89 d8                	mov    %ebx,%eax                      
  112366:	31 d2                	xor    %edx,%edx                      
  112368:	f7 75 10             	divl   0x10(%ebp)                     
  11236b:	29 d3                	sub    %edx,%ebx                      
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
  11236d:	39 de                	cmp    %ebx,%esi                      
  11236f:	73 0b                	jae    11237c <_Heap_Allocate_aligned_with_boundary+0xb8>
  112371:	89 f0                	mov    %esi,%eax                      
  112373:	31 d2                	xor    %edx,%edx                      
  112375:	f7 75 10             	divl   0x10(%ebp)                     
  112378:	89 f3                	mov    %esi,%ebx                      
  11237a:	29 d3                	sub    %edx,%ebx                      
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
  11237c:	8b 45 14             	mov    0x14(%ebp),%eax                
  11237f:	85 c0                	test   %eax,%eax                      
  112381:	74 59                	je     1123dc <_Heap_Allocate_aligned_with_boundary+0x118>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
  112383:	8d 34 3b             	lea    (%ebx,%edi,1),%esi             
  112386:	89 f0                	mov    %esi,%eax                      
  112388:	31 d2                	xor    %edx,%edx                      
  11238a:	f7 75 14             	divl   0x14(%ebp)                     
  11238d:	89 f0                	mov    %esi,%eax                      
  11238f:	29 d0                	sub    %edx,%eax                      
  112391:	89 c2                	mov    %eax,%edx                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
  112393:	39 c3                	cmp    %eax,%ebx                      
  112395:	73 45                	jae    1123dc <_Heap_Allocate_aligned_with_boundary+0x118>
  112397:	39 c6                	cmp    %eax,%esi                      
  112399:	76 41                	jbe    1123dc <_Heap_Allocate_aligned_with_boundary+0x118>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
  11239b:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  11239e:	01 f8                	add    %edi,%eax                      
  1123a0:	89 45 dc             	mov    %eax,-0x24(%ebp)               
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
  1123a3:	39 d0                	cmp    %edx,%eax                      
  1123a5:	77 80                	ja     112327 <_Heap_Allocate_aligned_with_boundary+0x63>
  1123a7:	89 ce                	mov    %ecx,%esi                      
  1123a9:	eb 0e                	jmp    1123b9 <_Heap_Allocate_aligned_with_boundary+0xf5>
  1123ab:	90                   	nop                                   
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
  1123ac:	39 c1                	cmp    %eax,%ecx                      
  1123ae:	76 2a                	jbe    1123da <_Heap_Allocate_aligned_with_boundary+0x116>
      if ( boundary_line < boundary_floor ) {                         
  1123b0:	39 55 dc             	cmp    %edx,-0x24(%ebp)               
  1123b3:	0f 87 a3 00 00 00    	ja     11245c <_Heap_Allocate_aligned_with_boundary+0x198><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
  1123b9:	89 d3                	mov    %edx,%ebx                      
  1123bb:	29 fb                	sub    %edi,%ebx                      
  1123bd:	89 d8                	mov    %ebx,%eax                      
  1123bf:	31 d2                	xor    %edx,%edx                      
  1123c1:	f7 75 10             	divl   0x10(%ebp)                     
  1123c4:	29 d3                	sub    %edx,%ebx                      
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
  1123c6:	8d 0c 3b             	lea    (%ebx,%edi,1),%ecx             
  1123c9:	89 c8                	mov    %ecx,%eax                      
  1123cb:	31 d2                	xor    %edx,%edx                      
  1123cd:	f7 75 14             	divl   0x14(%ebp)                     
  1123d0:	89 c8                	mov    %ecx,%eax                      
  1123d2:	29 d0                	sub    %edx,%eax                      
  1123d4:	89 c2                	mov    %eax,%edx                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
  1123d6:	39 c3                	cmp    %eax,%ebx                      
  1123d8:	72 d2                	jb     1123ac <_Heap_Allocate_aligned_with_boundary+0xe8>
  1123da:	89 f1                	mov    %esi,%ecx                      
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
  1123dc:	39 5d cc             	cmp    %ebx,-0x34(%ebp)               
  1123df:	0f 87 42 ff ff ff    	ja     112327 <_Heap_Allocate_aligned_with_boundary+0x63>
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
  1123e5:	be f8 ff ff ff       	mov    $0xfffffff8,%esi               
  1123ea:	29 ce                	sub    %ecx,%esi                      
  1123ec:	01 de                	add    %ebx,%esi                      
  1123ee:	89 d8                	mov    %ebx,%eax                      
  1123f0:	31 d2                	xor    %edx,%edx                      
  1123f2:	f7 75 d4             	divl   -0x2c(%ebp)                    
  1123f5:	29 d6                	sub    %edx,%esi                      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
  1123f7:	39 75 d0             	cmp    %esi,-0x30(%ebp)               
  1123fa:	0f 86 1f ff ff ff    	jbe    11231f <_Heap_Allocate_aligned_with_boundary+0x5b>
  112400:	85 f6                	test   %esi,%esi                      
  112402:	0f 85 1f ff ff ff    	jne    112327 <_Heap_Allocate_aligned_with_boundary+0x63>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
  112408:	85 db                	test   %ebx,%ebx                      
  11240a:	0f 84 17 ff ff ff    	je     112327 <_Heap_Allocate_aligned_with_boundary+0x63><== NEVER TAKEN
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
  112410:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  112413:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112416:	01 50 4c             	add    %edx,0x4c(%eax)                
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
  112419:	57                   	push   %edi                           
  11241a:	53                   	push   %ebx                           
  11241b:	51                   	push   %ecx                           
  11241c:	50                   	push   %eax                           
  11241d:	e8 9e a9 ff ff       	call   10cdc0 <_Heap_Block_allocate>  
  112422:	89 d8                	mov    %ebx,%eax                      
  112424:	83 c4 10             	add    $0x10,%esp                     
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  112427:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  11242a:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11242d:	39 4a 44             	cmp    %ecx,0x44(%edx)                
  112430:	73 14                	jae    112446 <_Heap_Allocate_aligned_with_boundary+0x182>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  112432:	89 4a 44             	mov    %ecx,0x44(%edx)                
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  112435:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112438:	5b                   	pop    %ebx                           
  112439:	5e                   	pop    %esi                           
  11243a:	5f                   	pop    %edi                           
  11243b:	c9                   	leave                                 
  11243c:	c3                   	ret                                   
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
  11243d:	3b 7d 14             	cmp    0x14(%ebp),%edi                
  112440:	76 21                	jbe    112463 <_Heap_Allocate_aligned_with_boundary+0x19f>
  112442:	66 90                	xchg   %ax,%ax                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  112444:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
  112446:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112449:	5b                   	pop    %ebx                           
  11244a:	5e                   	pop    %esi                           
  11244b:	5f                   	pop    %edi                           
  11244c:	c9                   	leave                                 
  11244d:	c3                   	ret                                   
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
  11244e:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  112455:	8d 76 00             	lea    0x0(%esi),%esi                 
  112458:	31 c0                	xor    %eax,%eax                      
  11245a:	eb cb                	jmp    112427 <_Heap_Allocate_aligned_with_boundary+0x163>
  11245c:	89 f1                	mov    %esi,%ecx                      <== NOT EXECUTED
  11245e:	e9 c4 fe ff ff       	jmp    112327 <_Heap_Allocate_aligned_with_boundary+0x63><== NOT EXECUTED
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
  112463:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  112466:	85 db                	test   %ebx,%ebx                      
  112468:	0f 85 87 fe ff ff    	jne    1122f5 <_Heap_Allocate_aligned_with_boundary+0x31>
  11246e:	89 55 10             	mov    %edx,0x10(%ebp)                
  112471:	e9 7f fe ff ff       	jmp    1122f5 <_Heap_Allocate_aligned_with_boundary+0x31>
                                                                      

0010cdc0 <_Heap_Block_allocate>: Heap_Control *heap, Heap_Block *block, uintptr_t alloc_begin, uintptr_t alloc_size ) {
  10cdc0:	55                   	push   %ebp                           
  10cdc1:	89 e5                	mov    %esp,%ebp                      
  10cdc3:	57                   	push   %edi                           
  10cdc4:	56                   	push   %esi                           
  10cdc5:	53                   	push   %ebx                           
  10cdc6:	83 ec 10             	sub    $0x10,%esp                     
  10cdc9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10cdcc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
  10cdcf:	89 5d ec             	mov    %ebx,-0x14(%ebp)               
  10cdd2:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10cdd5:	83 ef 08             	sub    $0x8,%edi                      
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const alloc_area_begin = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_area_offset = alloc_begin - alloc_area_begin; 
  10cdd8:	89 f8                	mov    %edi,%eax                      
  10cdda:	29 d8                	sub    %ebx,%eax                      
                                                                      
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
  10cddc:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10cddf:	83 e2 fe             	and    $0xfffffffe,%edx               
  10cde2:	f6 44 13 04 01       	testb  $0x1,0x4(%ebx,%edx,1)          
  10cde7:	0f 85 8b 00 00 00    	jne    10ce78 <_Heap_Block_allocate+0xb8>
    free_list_anchor = block->prev;                                   
  10cded:	8b 4b 0c             	mov    0xc(%ebx),%ecx                 
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  10cdf0:	8b 53 08             	mov    0x8(%ebx),%edx                 
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  10cdf3:	89 51 08             	mov    %edx,0x8(%ecx)                 
  next->prev = prev;                                                  
  10cdf6:	89 4a 0c             	mov    %ecx,0xc(%edx)                 
                                                                      
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
  10cdf9:	ff 4e 38             	decl   0x38(%esi)                     
    ++stats->used_blocks;                                             
  10cdfc:	ff 46 40             	incl   0x40(%esi)                     
    stats->free_size -= _Heap_Block_size( block );                    
  10cdff:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10ce02:	83 e2 fe             	and    $0xfffffffe,%edx               
  10ce05:	29 56 30             	sub    %edx,0x30(%esi)                
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
  10ce08:	8b 56 10             	mov    0x10(%esi),%edx                
  10ce0b:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10ce0e:	39 d0                	cmp    %edx,%eax                      
  10ce10:	72 72                	jb     10ce84 <_Heap_Block_allocate+0xc4>
    - 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;                
  10ce12:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ce15:	89 45 f0             	mov    %eax,-0x10(%ebp)               
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 )   
  10ce18:	8b 45 10             	mov    0x10(%ebp),%eax                
  10ce1b:	31 d2                	xor    %edx,%edx                      
  10ce1d:	f7 75 e4             	divl   -0x1c(%ebp)                    
  10ce20:	29 d7                	sub    %edx,%edi                      
    _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );        
  uintptr_t const new_block_begin = (uintptr_t) new_block;            
  uintptr_t const new_block_size = block_end - new_block_begin;       
                                                                      
  block_end = new_block_begin;                                        
  block_size = block_end - block_begin;                               
  10ce22:	89 f8                	mov    %edi,%eax                      
  10ce24:	29 d8                	sub    %ebx,%eax                      
                                                                      
  _HAssert( block_size >= heap->min_block_size );                     
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
  10ce26:	01 46 30             	add    %eax,0x30(%esi)                
                                                                      
  if ( _Heap_Is_prev_used( block ) ) {                                
  10ce29:	f6 43 04 01          	testb  $0x1,0x4(%ebx)                 
  10ce2d:	75 69                	jne    10ce98 <_Heap_Block_allocate+0xd8>
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Prev_block(                    
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block - block->prev_size);       
  10ce2f:	2b 1b                	sub    (%ebx),%ebx                    
    Heap_Block *const prev_block = _Heap_Prev_block( block );         
    uintptr_t const prev_block_size = _Heap_Block_size( prev_block ); 
                                                                      
    block = prev_block;                                               
    block_begin = (uintptr_t) block;                                  
    block_size += prev_block_size;                                    
  10ce31:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10ce34:	83 e2 fe             	and    $0xfffffffe,%edx               
  10ce37:	01 d0                	add    %edx,%eax                      
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
  10ce39:	89 c2                	mov    %eax,%edx                      
  10ce3b:	83 ca 01             	or     $0x1,%edx                      
  10ce3e:	89 53 04             	mov    %edx,0x4(%ebx)                 
                                                                      
  new_block->prev_size = block_size;                                  
  10ce41:	89 07                	mov    %eax,(%edi)                    
  new_block->size_and_flag = new_block_size;                          
  10ce43:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  10ce46:	83 e0 fe             	and    $0xfffffffe,%eax               
  10ce49:	03 45 ec             	add    -0x14(%ebp),%eax               
  10ce4c:	29 f8                	sub    %edi,%eax                      
  10ce4e:	89 47 04             	mov    %eax,0x4(%edi)                 
                                                                      
  _Heap_Block_split( heap, new_block, free_list_anchor, alloc_size ); 
  10ce51:	ff 75 14             	pushl  0x14(%ebp)                     
  10ce54:	51                   	push   %ecx                           
  10ce55:	57                   	push   %edi                           
  10ce56:	56                   	push   %esi                           
  10ce57:	e8 80 fe ff ff       	call   10ccdc <_Heap_Block_split>     
  10ce5c:	89 fb                	mov    %edi,%ebx                      
  10ce5e:	83 c4 10             	add    $0x10,%esp                     
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
  10ce61:	8b 46 30             	mov    0x30(%esi),%eax                
  Heap_Block *block,                                                  
  uintptr_t alloc_begin,                                              
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  10ce64:	39 46 34             	cmp    %eax,0x34(%esi)                
  10ce67:	76 03                	jbe    10ce6c <_Heap_Block_allocate+0xac>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
    stats->min_free_size = stats->free_size;                          
  10ce69:	89 46 34             	mov    %eax,0x34(%esi)                
  }                                                                   
                                                                      
  return block;                                                       
}                                                                     
  10ce6c:	89 d8                	mov    %ebx,%eax                      
  10ce6e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ce71:	5b                   	pop    %ebx                           
  10ce72:	5e                   	pop    %esi                           
  10ce73:	5f                   	pop    %edi                           
  10ce74:	c9                   	leave                                 
  10ce75:	c3                   	ret                                   
  10ce76:	66 90                	xchg   %ax,%ax                        
    /* Statistics */                                                  
    --stats->free_blocks;                                             
    ++stats->used_blocks;                                             
    stats->free_size -= _Heap_Block_size( block );                    
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
  10ce78:	89 f1                	mov    %esi,%ecx                      
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
  10ce7a:	8b 56 10             	mov    0x10(%esi),%edx                
  10ce7d:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10ce80:	39 d0                	cmp    %edx,%eax                      
  10ce82:	73 8e                	jae    10ce12 <_Heap_Block_allocate+0x52><== NEVER TAKEN
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  _Heap_Block_split( heap, block, free_list_anchor, alloc_size );     
  10ce84:	03 45 14             	add    0x14(%ebp),%eax                
  10ce87:	50                   	push   %eax                           
  10ce88:	51                   	push   %ecx                           
  10ce89:	53                   	push   %ebx                           
  10ce8a:	56                   	push   %esi                           
  10ce8b:	e8 4c fe ff ff       	call   10ccdc <_Heap_Block_split>     
  10ce90:	83 c4 10             	add    $0x10,%esp                     
  10ce93:	eb cc                	jmp    10ce61 <_Heap_Block_allocate+0xa1>
  10ce95:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  10ce98:	8b 51 08             	mov    0x8(%ecx),%edx                 
                                                                      
  new_block->next = next;                                             
  10ce9b:	89 53 08             	mov    %edx,0x8(%ebx)                 
  new_block->prev = block_before;                                     
  10ce9e:	89 4b 0c             	mov    %ecx,0xc(%ebx)                 
  block_before->next = new_block;                                     
  10cea1:	89 59 08             	mov    %ebx,0x8(%ecx)                 
  next->prev = new_block;                                             
  10cea4:	89 5a 0c             	mov    %ebx,0xc(%edx)                 
    _Heap_Free_list_insert_after( free_list_anchor, block );          
                                                                      
    free_list_anchor = block;                                         
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  10cea7:	ff 46 38             	incl   0x38(%esi)                     
  10ceaa:	89 d9                	mov    %ebx,%ecx                      
  10ceac:	eb 8b                	jmp    10ce39 <_Heap_Block_allocate+0x79>
                                                                      

0010ccdc <_Heap_Block_split>: Heap_Control *heap, Heap_Block *block, Heap_Block *free_list_anchor, uintptr_t alloc_size ) {
  10ccdc:	55                   	push   %ebp                           
  10ccdd:	89 e5                	mov    %esp,%ebp                      
  10ccdf:	57                   	push   %edi                           
  10cce0:	56                   	push   %esi                           
  10cce1:	53                   	push   %ebx                           
  10cce2:	83 ec 14             	sub    $0x14,%esp                     
  10cce5:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10cce8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const page_size = heap->page_size;                        
  10cceb:	8b 79 10             	mov    0x10(%ecx),%edi                
  uintptr_t const min_block_size = heap->min_block_size;              
  10ccee:	8b 41 14             	mov    0x14(%ecx),%eax                
  10ccf1:	89 45 e8             	mov    %eax,-0x18(%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;                
  10ccf4:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10ccf7:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10ccfa:	89 c6                	mov    %eax,%esi                      
  10ccfc:	83 e6 fe             	and    $0xfffffffe,%esi               
  uintptr_t const min_alloc_size = min_block_size - HEAP_BLOCK_HEADER_SIZE;
                                                                      
  uintptr_t const block_size = _Heap_Block_size( block );             
                                                                      
  uintptr_t const used_size =                                         
    _Heap_Max( alloc_size, min_alloc_size ) + HEAP_BLOCK_HEADER_SIZE; 
  10ccff:	8b 55 e8             	mov    -0x18(%ebp),%edx               
  10cd02:	83 ea 08             	sub    $0x8,%edx                      
  10cd05:	8b 45 14             	mov    0x14(%ebp),%eax                
  10cd08:	39 d0                	cmp    %edx,%eax                      
  10cd0a:	73 02                	jae    10cd0e <_Heap_Block_split+0x32>
  10cd0c:	89 d0                	mov    %edx,%eax                      
  10cd0e:	83 c0 08             	add    $0x8,%eax                      
  10cd11:	89 45 f0             	mov    %eax,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
  10cd14:	31 d2                	xor    %edx,%edx                      
  10cd16:	f7 f7                	div    %edi                           
                                                                      
  if ( remainder != 0 ) {                                             
  10cd18:	85 d2                	test   %edx,%edx                      
  10cd1a:	75 70                	jne    10cd8c <_Heap_Block_split+0xb0>
  10cd1c:	8b 7d f0             	mov    -0x10(%ebp),%edi               
  10cd1f:	89 7d ec             	mov    %edi,-0x14(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10cd22:	8d 04 33             	lea    (%ebx,%esi,1),%eax             
  10cd25:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  Heap_Block *next_block = _Heap_Block_at( block, block_size );       
                                                                      
  _HAssert( used_size <= block_size + HEAP_BLOCK_SIZE_OFFSET );       
  _HAssert( used_size + free_size == block_size + HEAP_BLOCK_SIZE_OFFSET );
                                                                      
  if ( free_size >= free_size_limit ) {                               
  10cd28:	8d 56 04             	lea    0x4(%esi),%edx                 
  10cd2b:	2b 55 f0             	sub    -0x10(%ebp),%edx               
  10cd2e:	8b 7d e8             	mov    -0x18(%ebp),%edi               
  10cd31:	83 c7 04             	add    $0x4,%edi                      
  10cd34:	39 fa                	cmp    %edi,%edx                      
  10cd36:	72 60                	jb     10cd98 <_Heap_Block_split+0xbc>
  10cd38:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  10cd3b:	01 da                	add    %ebx,%edx                      
    Heap_Block *const free_block = _Heap_Block_at( block, used_block_size );
    uintptr_t free_block_size = block_size - used_block_size;         
  10cd3d:	2b 75 ec             	sub    -0x14(%ebp),%esi               
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
  10cd40:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10cd43:	83 e7 01             	and    $0x1,%edi                      
  10cd46:	0b 7d ec             	or     -0x14(%ebp),%edi               
  10cd49:	89 7b 04             	mov    %edi,0x4(%ebx)                 
    _HAssert( used_block_size + free_block_size == block_size );      
                                                                      
    _Heap_Block_set_size( block, used_block_size );                   
                                                                      
    /* Statistics */                                                  
    stats->free_size += free_block_size;                              
  10cd4c:	01 71 30             	add    %esi,0x30(%ecx)                
    - 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;                
  10cd4f:	8b 58 04             	mov    0x4(%eax),%ebx                 
  10cd52:	83 e3 fe             	and    $0xfffffffe,%ebx               
                                                                      
    if ( _Heap_Is_used( next_block ) ) {                              
  10cd55:	f6 44 18 04 01       	testb  $0x1,0x4(%eax,%ebx,1)          
  10cd5a:	75 4c                	jne    10cda8 <_Heap_Block_split+0xcc>
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  10cd5c:	8b 48 08             	mov    0x8(%eax),%ecx                 
  Heap_Block *prev = old_block->prev;                                 
  10cd5f:	8b 40 0c             	mov    0xc(%eax),%eax                 
                                                                      
  new_block->next = next;                                             
  10cd62:	89 4a 08             	mov    %ecx,0x8(%edx)                 
  new_block->prev = prev;                                             
  10cd65:	89 42 0c             	mov    %eax,0xc(%edx)                 
                                                                      
  next->prev = new_block;                                             
  10cd68:	89 51 0c             	mov    %edx,0xc(%ecx)                 
  prev->next = new_block;                                             
  10cd6b:	89 50 08             	mov    %edx,0x8(%eax)                 
    } else {                                                          
      uintptr_t const next_block_size = _Heap_Block_size( next_block );
                                                                      
      _Heap_Free_list_replace( next_block, free_block );              
                                                                      
      free_block_size += next_block_size;                             
  10cd6e:	01 de                	add    %ebx,%esi                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10cd70:	8d 04 16             	lea    (%esi,%edx,1),%eax             
                                                                      
      next_block = _Heap_Block_at( free_block, free_block_size );     
    }                                                                 
                                                                      
    free_block->size_and_flag = free_block_size | HEAP_PREV_BLOCK_USED;
  10cd73:	89 f1                	mov    %esi,%ecx                      
  10cd75:	83 c9 01             	or     $0x1,%ecx                      
  10cd78:	89 4a 04             	mov    %ecx,0x4(%edx)                 
                                                                      
    next_block->prev_size = free_block_size;                          
  10cd7b:	89 30                	mov    %esi,(%eax)                    
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  10cd7d:	83 60 04 fe          	andl   $0xfffffffe,0x4(%eax)          
  } else {                                                            
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
  }                                                                   
}                                                                     
  10cd81:	83 c4 14             	add    $0x14,%esp                     
  10cd84:	5b                   	pop    %ebx                           
  10cd85:	5e                   	pop    %esi                           
  10cd86:	5f                   	pop    %edi                           
  10cd87:	c9                   	leave                                 
  10cd88:	c3                   	ret                                   
  10cd89:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
                                                                      
  if ( remainder != 0 ) {                                             
    return value - remainder + alignment;                             
  10cd8c:	03 7d f0             	add    -0x10(%ebp),%edi               
  10cd8f:	29 d7                	sub    %edx,%edi                      
  10cd91:	89 7d ec             	mov    %edi,-0x14(%ebp)               
  10cd94:	eb 8c                	jmp    10cd22 <_Heap_Block_split+0x46>
  10cd96:	66 90                	xchg   %ax,%ax                        
    free_block->size_and_flag = free_block_size | HEAP_PREV_BLOCK_USED;
                                                                      
    next_block->prev_size = free_block_size;                          
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  } else {                                                            
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
  10cd98:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10cd9b:	83 48 04 01          	orl    $0x1,0x4(%eax)                 
  }                                                                   
}                                                                     
  10cd9f:	83 c4 14             	add    $0x14,%esp                     
  10cda2:	5b                   	pop    %ebx                           
  10cda3:	5e                   	pop    %esi                           
  10cda4:	5f                   	pop    %edi                           
  10cda5:	c9                   	leave                                 
  10cda6:	c3                   	ret                                   
  10cda7:	90                   	nop                                   
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  10cda8:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10cdab:	8b 5f 08             	mov    0x8(%edi),%ebx                 
                                                                      
  new_block->next = next;                                             
  10cdae:	89 5a 08             	mov    %ebx,0x8(%edx)                 
  new_block->prev = block_before;                                     
  10cdb1:	89 7a 0c             	mov    %edi,0xc(%edx)                 
  block_before->next = new_block;                                     
  10cdb4:	89 57 08             	mov    %edx,0x8(%edi)                 
  next->prev = new_block;                                             
  10cdb7:	89 53 0c             	mov    %edx,0xc(%ebx)                 
                                                                      
    if ( _Heap_Is_used( next_block ) ) {                              
      _Heap_Free_list_insert_after( free_list_anchor, free_block );   
                                                                      
      /* Statistics */                                                
      ++stats->free_blocks;                                           
  10cdba:	ff 41 38             	incl   0x38(%ecx)                     
  10cdbd:	eb b4                	jmp    10cd73 <_Heap_Block_split+0x97>
                                                                      

00115c2c <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
  115c2c:	55                   	push   %ebp                           
  115c2d:	89 e5                	mov    %esp,%ebp                      
  115c2f:	56                   	push   %esi                           
  115c30:	53                   	push   %ebx                           
  115c31:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  115c34:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  115c37:	8b 51 1c             	mov    0x1c(%ecx),%edx                
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
  115c3a:	8b 59 24             	mov    0x24(%ecx),%ebx                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  115c3d:	3b 41 18             	cmp    0x18(%ecx),%eax                
  115c40:	73 3a                	jae    115c7c <_Heap_Extend+0x50>     
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
  115c42:	39 d0                	cmp    %edx,%eax                      
  115c44:	74 0e                	je     115c54 <_Heap_Extend+0x28>     
  115c46:	b8 02 00 00 00       	mov    $0x2,%eax                      
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
  115c4b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115c4e:	5b                   	pop    %ebx                           
  115c4f:	5e                   	pop    %esi                           
  115c50:	c9                   	leave                                 
  115c51:	c3                   	ret                                   
  115c52:	66 90                	xchg   %ax,%ax                        
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  115c54:	03 45 10             	add    0x10(%ebp),%eax                
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
  115c57:	89 41 1c             	mov    %eax,0x1c(%ecx)                
                                                                      
  extend_size = new_heap_area_end                                     
  115c5a:	29 d8                	sub    %ebx,%eax                      
  115c5c:	8d 70 f8             	lea    -0x8(%eax),%esi                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
  115c5f:	89 f0                	mov    %esi,%eax                      
  115c61:	31 d2                	xor    %edx,%edx                      
  115c63:	f7 71 10             	divl   0x10(%ecx)                     
  115c66:	29 d6                	sub    %edx,%esi                      
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
  115c68:	8b 45 14             	mov    0x14(%ebp),%eax                
  115c6b:	89 30                	mov    %esi,(%eax)                    
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
  115c6d:	39 71 14             	cmp    %esi,0x14(%ecx)                
  115c70:	76 1a                	jbe    115c8c <_Heap_Extend+0x60>     <== ALWAYS TAKEN
  115c72:	31 c0                	xor    %eax,%eax                      
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
  115c74:	8d 65 f8             	lea    -0x8(%ebp),%esp                <== NOT EXECUTED
  115c77:	5b                   	pop    %ebx                           <== NOT EXECUTED
  115c78:	5e                   	pop    %esi                           <== NOT EXECUTED
  115c79:	c9                   	leave                                 <== NOT EXECUTED
  115c7a:	c3                   	ret                                   <== NOT EXECUTED
  115c7b:	90                   	nop                                   <== NOT EXECUTED
   *    5. non-contiguous higher address    (NOT SUPPORTED)           
   *                                                                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
  115c7c:	39 d0                	cmp    %edx,%eax                      
  115c7e:	73 c2                	jae    115c42 <_Heap_Extend+0x16>     
  115c80:	b8 01 00 00 00       	mov    $0x1,%eax                      
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
  115c85:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115c88:	5b                   	pop    %ebx                           
  115c89:	5e                   	pop    %esi                           
  115c8a:	c9                   	leave                                 
  115c8b:	c3                   	ret                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  115c8c:	8d 14 1e             	lea    (%esi,%ebx,1),%edx             
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
  115c8f:	8b 43 04             	mov    0x4(%ebx),%eax                 
  115c92:	83 e0 01             	and    $0x1,%eax                      
  115c95:	09 f0                	or     %esi,%eax                      
  115c97:	89 43 04             	mov    %eax,0x4(%ebx)                 
  if( extend_size >= heap->min_block_size ) {                         
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
  115c9a:	8b 41 20             	mov    0x20(%ecx),%eax                
  115c9d:	29 d0                	sub    %edx,%eax                      
  115c9f:	83 c8 01             	or     $0x1,%eax                      
  115ca2:	89 42 04             	mov    %eax,0x4(%edx)                 
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
  115ca5:	89 51 24             	mov    %edx,0x24(%ecx)                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
  115ca8:	01 71 2c             	add    %esi,0x2c(%ecx)                
    ++stats->used_blocks;                                             
  115cab:	ff 41 40             	incl   0x40(%ecx)                     
    --stats->frees; /* Do not count subsequent call as actual free() */
  115cae:	ff 49 50             	decl   0x50(%ecx)                     
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  115cb1:	83 ec 08             	sub    $0x8,%esp                      
  115cb4:	83 c3 08             	add    $0x8,%ebx                      
  115cb7:	53                   	push   %ebx                           
  115cb8:	51                   	push   %ecx                           
  115cb9:	e8 e6 9e ff ff       	call   10fba4 <_Heap_Free>            
  115cbe:	31 c0                	xor    %eax,%eax                      
  115cc0:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
  115cc3:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  115cc6:	5b                   	pop    %ebx                           
  115cc7:	5e                   	pop    %esi                           
  115cc8:	c9                   	leave                                 
  115cc9:	c3                   	ret                                   
                                                                      

00112478 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
  112478:	55                   	push   %ebp                           
  112479:	89 e5                	mov    %esp,%ebp                      
  11247b:	57                   	push   %edi                           
  11247c:	56                   	push   %esi                           
  11247d:	53                   	push   %ebx                           
  11247e:	83 ec 18             	sub    $0x18,%esp                     
  112481:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  112484:	8b 45 0c             	mov    0xc(%ebp),%eax                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
  112487:	8d 48 f8             	lea    -0x8(%eax),%ecx                
  11248a:	31 d2                	xor    %edx,%edx                      
  11248c:	f7 73 10             	divl   0x10(%ebx)                     
  11248f:	29 d1                	sub    %edx,%ecx                      
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  112491:	8b 43 20             	mov    0x20(%ebx),%eax                
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  112494:	39 c1                	cmp    %eax,%ecx                      
  112496:	72 07                	jb     11249f <_Heap_Free+0x27>       
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  112498:	8b 73 24             	mov    0x24(%ebx),%esi                
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           
  11249b:	39 f1                	cmp    %esi,%ecx                      
  11249d:	76 0d                	jbe    1124ac <_Heap_Free+0x34>       
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
  11249f:	31 c0                	xor    %eax,%eax                      
}                                                                     
  1124a1:	83 c4 18             	add    $0x18,%esp                     
  1124a4:	5b                   	pop    %ebx                           
  1124a5:	5e                   	pop    %esi                           
  1124a6:	5f                   	pop    %edi                           
  1124a7:	c9                   	leave                                 
  1124a8:	c3                   	ret                                   
  1124a9:	8d 76 00             	lea    0x0(%esi),%esi                 
    - 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;                
  1124ac:	8b 51 04             	mov    0x4(%ecx),%edx                 
  1124af:	89 55 f0             	mov    %edx,-0x10(%ebp)               
  1124b2:	83 e2 fe             	and    $0xfffffffe,%edx               
  1124b5:	89 55 ec             	mov    %edx,-0x14(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  1124b8:	01 ca                	add    %ecx,%edx                      
  1124ba:	89 55 dc             	mov    %edx,-0x24(%ebp)               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  1124bd:	39 d0                	cmp    %edx,%eax                      
  1124bf:	77 de                	ja     11249f <_Heap_Free+0x27>       <== NEVER TAKEN
  1124c1:	39 d6                	cmp    %edx,%esi                      
  1124c3:	72 da                	jb     11249f <_Heap_Free+0x27>       <== NEVER TAKEN
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
  1124c5:	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 ) ) {                          
  1124c8:	f7 c7 01 00 00 00    	test   $0x1,%edi                      
  1124ce:	74 cf                	je     11249f <_Heap_Free+0x27>       <== 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;                
  1124d0:	83 e7 fe             	and    $0xfffffffe,%edi               
  1124d3:	89 7d e8             	mov    %edi,-0x18(%ebp)               
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  1124d6:	39 d6                	cmp    %edx,%esi                      
  1124d8:	0f 84 e2 00 00 00    	je     1125c0 <_Heap_Free+0x148>      
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
  1124de:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1124e1:	8b 7d e8             	mov    -0x18(%ebp),%edi               
  1124e4:	8b 7c 3a 04          	mov    0x4(%edx,%edi,1),%edi          
  1124e8:	89 7d e0             	mov    %edi,-0x20(%ebp)               
  1124eb:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  1124ee:	83 e2 01             	and    $0x1,%edx                      
  1124f1:	88 55 e7             	mov    %dl,-0x19(%ebp)                
  1124f4:	80 75 e7 01          	xorb   $0x1,-0x19(%ebp)               
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
  1124f8:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)               
  1124fc:	75 46                	jne    112544 <_Heap_Free+0xcc>       
    uintptr_t const prev_size = block->prev_size;                     
  1124fe:	8b 39                	mov    (%ecx),%edi                    
  112500:	89 7d f0             	mov    %edi,-0x10(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  112503:	29 f9                	sub    %edi,%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           
  112505:	39 c8                	cmp    %ecx,%eax                      
  112507:	77 96                	ja     11249f <_Heap_Free+0x27>       <== NEVER TAKEN
  112509:	39 ce                	cmp    %ecx,%esi                      
  11250b:	72 92                	jb     11249f <_Heap_Free+0x27>       <== 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) ) {                        
  11250d:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  112511:	74 8c                	je     11249f <_Heap_Free+0x27>       <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
  112513:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  112517:	0f 84 af 00 00 00    	je     1125cc <_Heap_Free+0x154>      
      uintptr_t const size = block_size + prev_size + next_block_size;
  11251d:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  112520:	03 45 e8             	add    -0x18(%ebp),%eax               
  112523:	01 f8                	add    %edi,%eax                      
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  112525:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  112528:	8b 72 08             	mov    0x8(%edx),%esi                 
  Heap_Block *prev = block->prev;                                     
  11252b:	8b 52 0c             	mov    0xc(%edx),%edx                 
                                                                      
  prev->next = next;                                                  
  11252e:	89 72 08             	mov    %esi,0x8(%edx)                 
  next->prev = prev;                                                  
  112531:	89 56 0c             	mov    %edx,0xc(%esi)                 
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
  112534:	ff 4b 38             	decl   0x38(%ebx)                     
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  112537:	89 c2                	mov    %eax,%edx                      
  112539:	83 ca 01             	or     $0x1,%edx                      
  11253c:	89 51 04             	mov    %edx,0x4(%ecx)                 
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
  11253f:	89 04 01             	mov    %eax,(%ecx,%eax,1)             
  112542:	eb 2c                	jmp    112570 <_Heap_Free+0xf8>       
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
  112544:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  112548:	74 3e                	je     112588 <_Heap_Free+0x110>      
    uintptr_t const size = block_size + next_block_size;              
  11254a:	8b 7d e8             	mov    -0x18(%ebp),%edi               
  11254d:	03 7d ec             	add    -0x14(%ebp),%edi               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  112550:	8b 75 dc             	mov    -0x24(%ebp),%esi               
  112553:	8b 46 08             	mov    0x8(%esi),%eax                 
  Heap_Block *prev = old_block->prev;                                 
  112556:	8b 56 0c             	mov    0xc(%esi),%edx                 
                                                                      
  new_block->next = next;                                             
  112559:	89 41 08             	mov    %eax,0x8(%ecx)                 
  new_block->prev = prev;                                             
  11255c:	89 51 0c             	mov    %edx,0xc(%ecx)                 
                                                                      
  next->prev = new_block;                                             
  11255f:	89 48 0c             	mov    %ecx,0xc(%eax)                 
  prev->next = new_block;                                             
  112562:	89 4a 08             	mov    %ecx,0x8(%edx)                 
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
  112565:	89 f8                	mov    %edi,%eax                      
  112567:	83 c8 01             	or     $0x1,%eax                      
  11256a:	89 41 04             	mov    %eax,0x4(%ecx)                 
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
  11256d:	89 3c 39             	mov    %edi,(%ecx,%edi,1)             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  112570:	ff 4b 40             	decl   0x40(%ebx)                     
  ++stats->frees;                                                     
  112573:	ff 43 50             	incl   0x50(%ebx)                     
  stats->free_size += block_size;                                     
  112576:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  112579:	01 53 30             	add    %edx,0x30(%ebx)                
  11257c:	b0 01                	mov    $0x1,%al                       
                                                                      
  return( true );                                                     
}                                                                     
  11257e:	83 c4 18             	add    $0x18,%esp                     
  112581:	5b                   	pop    %ebx                           
  112582:	5e                   	pop    %esi                           
  112583:	5f                   	pop    %edi                           
  112584:	c9                   	leave                                 
  112585:	c3                   	ret                                   
  112586:	66 90                	xchg   %ax,%ax                        
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
  112588:	8b 43 08             	mov    0x8(%ebx),%eax                 
                                                                      
  new_block->next = next;                                             
  11258b:	89 41 08             	mov    %eax,0x8(%ecx)                 
  new_block->prev = block_before;                                     
  11258e:	89 59 0c             	mov    %ebx,0xc(%ecx)                 
  block_before->next = new_block;                                     
  112591:	89 4b 08             	mov    %ecx,0x8(%ebx)                 
  next->prev = new_block;                                             
  112594:	89 48 0c             	mov    %ecx,0xc(%eax)                 
    next_block->prev_size = size;                                     
  } 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;         
  112597:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  11259a:	83 c8 01             	or     $0x1,%eax                      
  11259d:	89 41 04             	mov    %eax,0x4(%ecx)                 
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
  1125a0:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  1125a3:	83 67 04 fe          	andl   $0xfffffffe,0x4(%edi)          
    next_block->prev_size = block_size;                               
  1125a7:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  1125aa:	89 07                	mov    %eax,(%edi)                    
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
  1125ac:	8b 43 38             	mov    0x38(%ebx),%eax                
  1125af:	40                   	inc    %eax                           
  1125b0:	89 43 38             	mov    %eax,0x38(%ebx)                
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  1125b3:	3b 43 3c             	cmp    0x3c(%ebx),%eax                
  1125b6:	76 b8                	jbe    112570 <_Heap_Free+0xf8>       
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
  1125b8:	89 43 3c             	mov    %eax,0x3c(%ebx)                
  1125bb:	eb b3                	jmp    112570 <_Heap_Free+0xf8>       
  1125bd:	8d 76 00             	lea    0x0(%esi),%esi                 
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
  1125c0:	c6 45 e7 00          	movb   $0x0,-0x19(%ebp)               
  1125c4:	e9 2f ff ff ff       	jmp    1124f8 <_Heap_Free+0x80>       
  1125c9:	8d 76 00             	lea    0x0(%esi),%esi                 
      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;                  
  1125cc:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  1125cf:	03 45 f0             	add    -0x10(%ebp),%eax               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
  1125d2:	89 c6                	mov    %eax,%esi                      
  1125d4:	83 ce 01             	or     $0x1,%esi                      
  1125d7:	89 71 04             	mov    %esi,0x4(%ecx)                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
  1125da:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  1125dd:	83 62 04 fe          	andl   $0xfffffffe,0x4(%edx)          
      next_block->prev_size = size;                                   
  1125e1:	89 02                	mov    %eax,(%edx)                    
  1125e3:	eb 8b                	jmp    112570 <_Heap_Free+0xf8>       
                                                                      

00131dfc <_Heap_Get_free_information>: void _Heap_Get_free_information( Heap_Control *the_heap, Heap_Information *info ) {
  131dfc:	55                   	push   %ebp                           
  131dfd:	89 e5                	mov    %esp,%ebp                      
  131dff:	57                   	push   %edi                           
  131e00:	56                   	push   %esi                           
  131e01:	53                   	push   %ebx                           
  131e02:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  131e05:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
  131e08:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
  info->largest = 0;                                                  
  131e0e:	c7 46 04 00 00 00 00 	movl   $0x0,0x4(%esi)                 
  info->total = 0;                                                    
  131e15:	c7 46 08 00 00 00 00 	movl   $0x0,0x8(%esi)                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  131e1c:	8b 57 08             	mov    0x8(%edi),%edx                 
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
  131e1f:	39 d7                	cmp    %edx,%edi                      
  131e21:	74 2a                	je     131e4d <_Heap_Get_free_information+0x51><== NEVER TAKEN
  131e23:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  131e28:	31 c9                	xor    %ecx,%ecx                      
  131e2a:	eb 02                	jmp    131e2e <_Heap_Get_free_information+0x32>
  131e2c:	89 c3                	mov    %eax,%ebx                      
    - 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;                
  131e2e:	8b 42 04             	mov    0x4(%edx),%eax                 
  131e31:	83 e0 fe             	and    $0xfffffffe,%eax               
                                                                      
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
  131e34:	01 c1                	add    %eax,%ecx                      
    if ( info->largest < the_size )                                   
  131e36:	39 46 04             	cmp    %eax,0x4(%esi)                 
  131e39:	73 03                	jae    131e3e <_Heap_Get_free_information+0x42>
        info->largest = the_size;                                     
  131e3b:	89 46 04             	mov    %eax,0x4(%esi)                 
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
  131e3e:	8b 52 08             	mov    0x8(%edx),%edx                 
  131e41:	8d 43 01             	lea    0x1(%ebx),%eax                 
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
  131e44:	39 d7                	cmp    %edx,%edi                      
  131e46:	75 e4                	jne    131e2c <_Heap_Get_free_information+0x30>
  131e48:	89 1e                	mov    %ebx,(%esi)                    
  131e4a:	89 4e 08             	mov    %ecx,0x8(%esi)                 
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
        info->largest = the_size;                                     
  }                                                                   
}                                                                     
  131e4d:	5b                   	pop    %ebx                           
  131e4e:	5e                   	pop    %esi                           
  131e4f:	5f                   	pop    %edi                           
  131e50:	c9                   	leave                                 
  131e51:	c3                   	ret                                   
                                                                      

00145104 <_Heap_Get_information>: void _Heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
  145104:	55                   	push   %ebp                           
  145105:	89 e5                	mov    %esp,%ebp                      
  145107:	57                   	push   %edi                           
  145108:	56                   	push   %esi                           
  145109:	53                   	push   %ebx                           
  14510a:	83 ec 04             	sub    $0x4,%esp                      
  14510d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  145110:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Heap_Block *the_block = the_heap->first_block;                      
  145113:	8b 58 20             	mov    0x20(%eax),%ebx                
  Heap_Block *const end = the_heap->last_block;                       
  145116:	8b 78 24             	mov    0x24(%eax),%edi                
                                                                      
  _HAssert(the_block->prev_size == the_heap->page_size);              
  _HAssert(_Heap_Is_prev_used(the_block));                            
                                                                      
  the_info->Free.number  = 0;                                         
  145119:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
  the_info->Free.total   = 0;                                         
  14511f:	c7 46 08 00 00 00 00 	movl   $0x0,0x8(%esi)                 
  the_info->Free.largest = 0;                                         
  145126:	c7 46 04 00 00 00 00 	movl   $0x0,0x4(%esi)                 
  the_info->Used.number  = 0;                                         
  14512d:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
  the_info->Used.total   = 0;                                         
  145134:	c7 46 14 00 00 00 00 	movl   $0x0,0x14(%esi)                
  the_info->Used.largest = 0;                                         
  14513b:	c7 46 10 00 00 00 00 	movl   $0x0,0x10(%esi)                
                                                                      
  while ( the_block != end ) {                                        
  145142:	39 fb                	cmp    %edi,%ebx                      
  145144:	74 45                	je     14518b <_Heap_Get_information+0x87><== NEVER TAKEN
  145146:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
  145149:	8d 46 0c             	lea    0xc(%esi),%eax                 
  14514c:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  14514f:	eb 16                	jmp    145167 <_Heap_Get_information+0x63>
  145151:	8d 76 00             	lea    0x0(%esi),%esi                 
  while ( the_block != end ) {                                        
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
  145154:	89 f0                	mov    %esi,%eax                      
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
  145156:	ff 00                	incl   (%eax)                         
    info->total += the_size;                                          
  145158:	01 50 08             	add    %edx,0x8(%eax)                 
    if ( info->largest < the_size )                                   
  14515b:	39 50 04             	cmp    %edx,0x4(%eax)                 
  14515e:	73 03                	jae    145163 <_Heap_Get_information+0x5f>
      info->largest = the_size;                                       
  145160:	89 50 04             	mov    %edx,0x4(%eax)                 
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
  145163:	39 df                	cmp    %ebx,%edi                      
  145165:	74 15                	je     14517c <_Heap_Get_information+0x78>
    - 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;                
  145167:	89 ca                	mov    %ecx,%edx                      
  145169:	83 e2 fe             	and    $0xfffffffe,%edx               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  14516c:	01 d3                	add    %edx,%ebx                      
  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;                 
  14516e:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
  145171:	f6 c1 01             	test   $0x1,%cl                       
  145174:	74 de                	je     145154 <_Heap_Get_information+0x50>
  145176:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  145179:	eb db                	jmp    145156 <_Heap_Get_information+0x52>
  14517b:	90                   	nop                                   
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
  14517c:	8b 46 14             	mov    0x14(%esi),%eax                
  14517f:	83 c0 08             	add    $0x8,%eax                      
  /*                                                                  
   *  Handle the last dummy block. Don't consider this block to be    
   *  "used" as client never allocated it. Make 'Used.total' contain this
   *  blocks' overhead though.                                        
   */                                                                 
  the_info->Used.total += HEAP_BLOCK_HEADER_SIZE;                     
  145182:	89 46 14             	mov    %eax,0x14(%esi)                
}                                                                     
  145185:	58                   	pop    %eax                           
  145186:	5b                   	pop    %ebx                           
  145187:	5e                   	pop    %esi                           
  145188:	5f                   	pop    %edi                           
  145189:	c9                   	leave                                 
  14518a:	c3                   	ret                                   
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
  14518b:	b8 08 00 00 00       	mov    $0x8,%eax                      <== NOT EXECUTED
  145190:	eb f0                	jmp    145182 <_Heap_Get_information+0x7e><== NOT EXECUTED
                                                                      

00120c04 <_Heap_Resize_block>: void *alloc_begin_ptr, uintptr_t new_alloc_size, uintptr_t *old_size, uintptr_t *new_size ) {
  120c04:	55                   	push   %ebp                           
  120c05:	89 e5                	mov    %esp,%ebp                      
  120c07:	57                   	push   %edi                           
  120c08:	56                   	push   %esi                           
  120c09:	53                   	push   %ebx                           
  120c0a:	83 ec 2c             	sub    $0x2c,%esp                     
  120c0d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  120c10:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
  120c13:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  120c16:	89 f0                	mov    %esi,%eax                      
  120c18:	31 d2                	xor    %edx,%edx                      
  120c1a:	f7 73 10             	divl   0x10(%ebx)                     
  120c1d:	29 d1                	sub    %edx,%ecx                      
                                                                      
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
                                                                      
  Heap_Block *const block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
                                                                      
  *old_size = 0;                                                      
  120c1f:	8b 45 14             	mov    0x14(%ebp),%eax                
  120c22:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  *new_size = 0;                                                      
  120c28:	8b 55 18             	mov    0x18(%ebp),%edx                
  120c2b:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  120c31:	39 4b 20             	cmp    %ecx,0x20(%ebx)                
  120c34:	76 0e                	jbe    120c44 <_Heap_Resize_block+0x40>
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
  *new_size = (uintptr_t) next_block - alloc_begin + HEAP_BLOCK_SIZE_OFFSET;
                                                                      
  /* Statistics */                                                    
  ++stats->resizes;                                                   
  120c36:	b8 02 00 00 00       	mov    $0x2,%eax                      
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  120c3b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  120c3e:	5b                   	pop    %ebx                           
  120c3f:	5e                   	pop    %esi                           
  120c40:	5f                   	pop    %edi                           
  120c41:	c9                   	leave                                 
  120c42:	c3                   	ret                                   
  120c43:	90                   	nop                                   
  120c44:	39 4b 24             	cmp    %ecx,0x24(%ebx)                
  120c47:	72 ed                	jb     120c36 <_Heap_Resize_block+0x32>
    - 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;                
  120c49:	8b 41 04             	mov    0x4(%ecx),%eax                 
  120c4c:	83 e0 fe             	and    $0xfffffffe,%eax               
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t block_size = _Heap_Block_size( block );                   
  uintptr_t block_end = block_begin + block_size;                     
  120c4f:	8d 3c 01             	lea    (%ecx,%eax,1),%edi             
  120c52:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
                                                                      
  uintptr_t alloc_size = block_end - alloc_begin + HEAP_BLOCK_SIZE_OFFSET;
  120c55:	89 fa                	mov    %edi,%edx                      
  120c57:	29 f2                	sub    %esi,%edx                      
  120c59:	83 c2 04             	add    $0x4,%edx                      
  120c5c:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  120c5f:	8b 57 04             	mov    0x4(%edi),%edx                 
  120c62:	83 e2 fe             	and    $0xfffffffe,%edx               
  120c65:	89 55 d0             	mov    %edx,-0x30(%ebp)               
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_free(                              
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return !_Heap_Is_used( block );                                     
  120c68:	8b 54 17 04          	mov    0x4(%edi,%edx,1),%edx          
  120c6c:	83 e2 01             	and    $0x1,%edx                      
  120c6f:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  bool next_block_is_free = _Heap_Is_free( next_block );;             
                                                                      
  _HAssert( _Heap_Is_block_in_heap( heap, next_block ) );             
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
  120c72:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  120c75:	8b 7d 14             	mov    0x14(%ebp),%edi                
  120c78:	89 17                	mov    %edx,(%edi)                    
                                                                      
  if ( next_block_is_free ) {                                         
  120c7a:	8a 55 e0             	mov    -0x20(%ebp),%dl                
  120c7d:	80 f2 01             	xor    $0x1,%dl                       
  120c80:	88 55 e0             	mov    %dl,-0x20(%ebp)                
  120c83:	75 17                	jne    120c9c <_Heap_Resize_block+0x98>
    block_size += next_block_size;                                    
    alloc_size += next_block_size;                                    
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
  120c85:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  120c88:	39 55 10             	cmp    %edx,0x10(%ebp)                
  120c8b:	76 20                	jbe    120cad <_Heap_Resize_block+0xa9>
  120c8d:	b8 01 00 00 00       	mov    $0x1,%eax                      
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  120c92:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  120c95:	5b                   	pop    %ebx                           
  120c96:	5e                   	pop    %esi                           
  120c97:	5f                   	pop    %edi                           
  120c98:	c9                   	leave                                 
  120c99:	c3                   	ret                                   
  120c9a:	66 90                	xchg   %ax,%ax                        
  _HAssert( _Heap_Is_prev_used( next_block ) );                       
                                                                      
  *old_size = alloc_size;                                             
                                                                      
  if ( next_block_is_free ) {                                         
    block_size += next_block_size;                                    
  120c9c:	03 45 d0             	add    -0x30(%ebp),%eax               
    alloc_size += next_block_size;                                    
  120c9f:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  120ca2:	01 7d dc             	add    %edi,-0x24(%ebp)               
  }                                                                   
                                                                      
  if ( new_alloc_size > alloc_size ) {                                
  120ca5:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  120ca8:	39 55 10             	cmp    %edx,0x10(%ebp)                
  120cab:	77 e0                	ja     120c8d <_Heap_Resize_block+0x89>
    return HEAP_RESIZE_UNSATISFIED;                                   
  }                                                                   
                                                                      
  if ( next_block_is_free ) {                                         
  120cad:	80 7d e0 00          	cmpb   $0x0,-0x20(%ebp)               
  120cb1:	74 31                	je     120ce4 <_Heap_Resize_block+0xe0>
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
  120cb3:	8b 79 04             	mov    0x4(%ecx),%edi                 
  120cb6:	83 e7 01             	and    $0x1,%edi                      
  120cb9:	09 c7                	or     %eax,%edi                      
  120cbb:	89 79 04             	mov    %edi,0x4(%ecx)                 
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  120cbe:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  120cc1:	8b 7f 08             	mov    0x8(%edi),%edi                 
  120cc4:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
  Heap_Block *prev = block->prev;                                     
  120cc7:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  120cca:	8b 7a 0c             	mov    0xc(%edx),%edi                 
                                                                      
  prev->next = next;                                                  
  120ccd:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  120cd0:	89 57 08             	mov    %edx,0x8(%edi)                 
  next->prev = prev;                                                  
  120cd3:	89 7a 0c             	mov    %edi,0xc(%edx)                 
    _Heap_Block_set_size( block, block_size );                        
                                                                      
    _Heap_Free_list_remove( next_block );                             
                                                                      
    next_block = _Heap_Block_at( block, block_size );                 
    next_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                
  120cd6:	83 4c 08 04 01       	orl    $0x1,0x4(%eax,%ecx,1)          
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
  120cdb:	ff 4b 38             	decl   0x38(%ebx)                     
    stats->free_size -= next_block_size;                              
  120cde:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  120ce1:	29 7b 30             	sub    %edi,0x30(%ebx)                
  }                                                                   
                                                                      
  block = _Heap_Block_allocate( heap, block, alloc_begin, new_alloc_size );
  120ce4:	ff 75 10             	pushl  0x10(%ebp)                     
  120ce7:	56                   	push   %esi                           
  120ce8:	51                   	push   %ecx                           
  120ce9:	53                   	push   %ebx                           
  120cea:	e8 d1 c0 fe ff       	call   10cdc0 <_Heap_Block_allocate>  
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
  *new_size = (uintptr_t) next_block - alloc_begin + HEAP_BLOCK_SIZE_OFFSET;
  120cef:	8b 50 04             	mov    0x4(%eax),%edx                 
  120cf2:	83 e2 fe             	and    $0xfffffffe,%edx               
  120cf5:	29 f0                	sub    %esi,%eax                      
  120cf7:	8d 44 10 04          	lea    0x4(%eax,%edx,1),%eax          
  120cfb:	8b 55 18             	mov    0x18(%ebp),%edx                
  120cfe:	89 02                	mov    %eax,(%edx)                    
                                                                      
  /* Statistics */                                                    
  ++stats->resizes;                                                   
  120d00:	ff 43 54             	incl   0x54(%ebx)                     
  120d03:	31 c0                	xor    %eax,%eax                      
  120d05:	83 c4 10             	add    $0x10,%esp                     
      new_size                                                        
    );                                                                
  } else {                                                            
    return HEAP_RESIZE_FATAL_ERROR;                                   
  }                                                                   
}                                                                     
  120d08:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  120d0b:	5b                   	pop    %ebx                           
  120d0c:	5e                   	pop    %esi                           
  120d0d:	5f                   	pop    %edi                           
  120d0e:	c9                   	leave                                 
  120d0f:	c3                   	ret                                   
                                                                      

00120d10 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
  120d10:	55                   	push   %ebp                           
  120d11:	89 e5                	mov    %esp,%ebp                      
  120d13:	56                   	push   %esi                           
  120d14:	53                   	push   %ebx                           
  120d15:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  120d18:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
  120d1b:	8d 4e f8             	lea    -0x8(%esi),%ecx                
  120d1e:	89 f0                	mov    %esi,%eax                      
  120d20:	31 d2                	xor    %edx,%edx                      
  120d22:	f7 73 10             	divl   0x10(%ebx)                     
  120d25:	29 d1                	sub    %edx,%ecx                      
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  120d27:	8b 43 20             	mov    0x20(%ebx),%eax                
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  120d2a:	39 c1                	cmp    %eax,%ecx                      
  120d2c:	72 07                	jb     120d35 <_Heap_Size_of_alloc_area+0x25>
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  120d2e:	8b 53 24             	mov    0x24(%ebx),%edx                
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  120d31:	39 d1                	cmp    %edx,%ecx                      
  120d33:	76 07                	jbe    120d3c <_Heap_Size_of_alloc_area+0x2c><== ALWAYS TAKEN
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
                                                                      
  return true;                                                        
  120d35:	31 c0                	xor    %eax,%eax                      
}                                                                     
  120d37:	5b                   	pop    %ebx                           
  120d38:	5e                   	pop    %esi                           
  120d39:	c9                   	leave                                 
  120d3a:	c3                   	ret                                   
  120d3b:	90                   	nop                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  120d3c:	8b 59 04             	mov    0x4(%ecx),%ebx                 
  120d3f:	83 e3 fe             	and    $0xfffffffe,%ebx               
  120d42:	01 d9                	add    %ebx,%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           
  120d44:	39 c8                	cmp    %ecx,%eax                      
  120d46:	77 ed                	ja     120d35 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
  120d48:	39 ca                	cmp    %ecx,%edx                      
  120d4a:	72 e9                	jb     120d35 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
  120d4c:	f6 41 04 01          	testb  $0x1,0x4(%ecx)                 
  120d50:	74 e3                	je     120d35 <_Heap_Size_of_alloc_area+0x25><== NEVER TAKEN
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
  120d52:	29 f1                	sub    %esi,%ecx                      
  120d54:	8d 51 04             	lea    0x4(%ecx),%edx                 
  120d57:	8b 45 10             	mov    0x10(%ebp),%eax                
  120d5a:	89 10                	mov    %edx,(%eax)                    
  120d5c:	b0 01                	mov    $0x1,%al                       
                                                                      
  return true;                                                        
}                                                                     
  120d5e:	5b                   	pop    %ebx                           
  120d5f:	5e                   	pop    %esi                           
  120d60:	c9                   	leave                                 
  120d61:	c3                   	ret                                   
                                                                      

0010d900 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
  10d900:	55                   	push   %ebp                           
  10d901:	89 e5                	mov    %esp,%ebp                      
  10d903:	57                   	push   %edi                           
  10d904:	56                   	push   %esi                           
  10d905:	53                   	push   %ebx                           
  10d906:	83 ec 3c             	sub    $0x3c,%esp                     
  10d909:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  uintptr_t const page_size = heap->page_size;                        
  10d90c:	8b 43 10             	mov    0x10(%ebx),%eax                
  10d90f:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  uintptr_t const min_block_size = heap->min_block_size;              
  10d912:	8b 53 14             	mov    0x14(%ebx),%edx                
  10d915:	89 55 dc             	mov    %edx,-0x24(%ebp)               
  Heap_Block *const last_block = heap->last_block;                    
  10d918:	8b 43 24             	mov    0x24(%ebx),%eax                
  10d91b:	89 45 d8             	mov    %eax,-0x28(%ebp)               
  Heap_Block *block = heap->first_block;                              
  10d91e:	8b 73 20             	mov    0x20(%ebx),%esi                
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10d921:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)                
  10d925:	75 1d                	jne    10d944 <_Heap_Walk+0x44>       
  10d927:	c7 45 e4 f8 d8 10 00 	movl   $0x10d8f8,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10d92e:	83 3d c0 be 12 00 03 	cmpl   $0x3,0x12bec0                  
  10d935:	74 1d                	je     10d954 <_Heap_Walk+0x54>       
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
  10d937:	b0 01                	mov    $0x1,%al                       
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10d939:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d93c:	5b                   	pop    %ebx                           
  10d93d:	5e                   	pop    %esi                           
  10d93e:	5f                   	pop    %edi                           
  10d93f:	c9                   	leave                                 
  10d940:	c3                   	ret                                   
  10d941:	8d 76 00             	lea    0x0(%esi),%esi                 
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
  10d944:	c7 45 e4 c8 dc 10 00 	movl   $0x10dcc8,-0x1c(%ebp)          
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
  10d94b:	83 3d c0 be 12 00 03 	cmpl   $0x3,0x12bec0                  
  10d952:	75 e3                	jne    10d937 <_Heap_Walk+0x37>       <== NEVER TAKEN
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
  10d954:	52                   	push   %edx                           
  10d955:	ff 73 0c             	pushl  0xc(%ebx)                      
  10d958:	ff 73 08             	pushl  0x8(%ebx)                      
  10d95b:	ff 75 d8             	pushl  -0x28(%ebp)                    
  10d95e:	56                   	push   %esi                           
  10d95f:	ff 73 1c             	pushl  0x1c(%ebx)                     
  10d962:	ff 73 18             	pushl  0x18(%ebx)                     
  10d965:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10d968:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10d96b:	68 b0 3d 12 00       	push   $0x123db0                      
  10d970:	6a 00                	push   $0x0                           
  10d972:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d975:	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 ) {                                             
  10d978:	83 c4 30             	add    $0x30,%esp                     
  10d97b:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10d97e:	85 c0                	test   %eax,%eax                      
  10d980:	0f 84 b2 00 00 00    	je     10da38 <_Heap_Walk+0x138>      
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
  10d986:	f6 45 e0 03          	testb  $0x3,-0x20(%ebp)               
  10d98a:	0f 85 b0 00 00 00    	jne    10da40 <_Heap_Walk+0x140>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
  10d990:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10d993:	31 d2                	xor    %edx,%edx                      
  10d995:	f7 75 e0             	divl   -0x20(%ebp)                    
  10d998:	85 d2                	test   %edx,%edx                      
  10d99a:	0f 85 ac 00 00 00    	jne    10da4c <_Heap_Walk+0x14c>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
  10d9a0:	8d 46 08             	lea    0x8(%esi),%eax                 
  10d9a3:	31 d2                	xor    %edx,%edx                      
  10d9a5:	f7 75 e0             	divl   -0x20(%ebp)                    
  10d9a8:	85 d2                	test   %edx,%edx                      
  10d9aa:	0f 85 a8 00 00 00    	jne    10da58 <_Heap_Walk+0x158>      
  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;                 
  10d9b0:	8b 56 04             	mov    0x4(%esi),%edx                 
  10d9b3:	89 55 cc             	mov    %edx,-0x34(%ebp)               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
  10d9b6:	83 e2 01             	and    $0x1,%edx                      
  10d9b9:	0f 84 a1 00 00 00    	je     10da60 <_Heap_Walk+0x160>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
  10d9bf:	8b 06                	mov    (%esi),%eax                    
  10d9c1:	39 45 e0             	cmp    %eax,-0x20(%ebp)               
  10d9c4:	75 4e                	jne    10da14 <_Heap_Walk+0x114>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
  10d9c6:	8b 55 d8             	mov    -0x28(%ebp),%edx               
  10d9c9:	8b 42 04             	mov    0x4(%edx),%eax                 
  10d9cc:	83 e0 fe             	and    $0xfffffffe,%eax               
  10d9cf:	f6 44 02 04 01       	testb  $0x1,0x4(%edx,%eax,1)          
  10d9d4:	0f 84 bd 02 00 00    	je     10dc97 <_Heap_Walk+0x397>      
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  10d9da:	8b 43 10             	mov    0x10(%ebx),%eax                
  10d9dd:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10d9e0:	8b 4b 08             	mov    0x8(%ebx),%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 ) {                            
  10d9e3:	39 cb                	cmp    %ecx,%ebx                      
  10d9e5:	0f 84 09 01 00 00    	je     10daf4 <_Heap_Walk+0x1f4>      
  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;             
  10d9eb:	8b 7b 20             	mov    0x20(%ebx),%edi                
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           
  10d9ee:	39 cf                	cmp    %ecx,%edi                      
  10d9f0:	76 76                	jbe    10da68 <_Heap_Walk+0x168>      <== ALWAYS TAKEN
  10d9f2:	66 90                	xchg   %ax,%ax                        
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
  10d9f4:	51                   	push   %ecx                           
  10d9f5:	68 f8 3e 12 00       	push   $0x123ef8                      
  10d9fa:	66 90                	xchg   %ax,%ax                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
  10d9fc:	6a 01                	push   $0x1                           
  10d9fe:	ff 75 0c             	pushl  0xc(%ebp)                      
  10da01:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10da04:	31 c0                	xor    %eax,%eax                      
  10da06:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10da09:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10da0c:	5b                   	pop    %ebx                           
  10da0d:	5e                   	pop    %esi                           
  10da0e:	5f                   	pop    %edi                           
  10da0f:	c9                   	leave                                 
  10da10:	c3                   	ret                                   
  10da11:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
  10da14:	83 ec 0c             	sub    $0xc,%esp                      
  10da17:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10da1a:	50                   	push   %eax                           
  10da1b:	68 cc 3e 12 00       	push   $0x123ecc                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
  10da20:	6a 01                	push   $0x1                           
  10da22:	ff 75 0c             	pushl  0xc(%ebp)                      
  10da25:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10da28:	31 c0                	xor    %eax,%eax                      
  10da2a:	83 c4 20             	add    $0x20,%esp                     
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10da2d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10da30:	5b                   	pop    %ebx                           
  10da31:	5e                   	pop    %esi                           
  10da32:	5f                   	pop    %edi                           
  10da33:	c9                   	leave                                 
  10da34:	c3                   	ret                                   
  10da35:	8d 76 00             	lea    0x0(%esi),%esi                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
  10da38:	57                   	push   %edi                           
  10da39:	68 27 41 12 00       	push   $0x124127                      
  10da3e:	eb bc                	jmp    10d9fc <_Heap_Walk+0xfc>       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
  10da40:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10da43:	68 3a 41 12 00       	push   $0x12413a                      
  10da48:	eb b2                	jmp    10d9fc <_Heap_Walk+0xfc>       
  10da4a:	66 90                	xchg   %ax,%ax                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
  10da4c:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10da4f:	68 44 3e 12 00       	push   $0x123e44                      
  10da54:	eb a6                	jmp    10d9fc <_Heap_Walk+0xfc>       
  10da56:	66 90                	xchg   %ax,%ax                        
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
  10da58:	56                   	push   %esi                           
  10da59:	68 68 3e 12 00       	push   $0x123e68                      
  10da5e:	eb 9c                	jmp    10d9fc <_Heap_Walk+0xfc>       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
  10da60:	56                   	push   %esi                           
  10da61:	68 9c 3e 12 00       	push   $0x123e9c                      
  10da66:	eb 94                	jmp    10d9fc <_Heap_Walk+0xfc>       
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
  10da68:	8b 53 24             	mov    0x24(%ebx),%edx                
  10da6b:	89 55 d0             	mov    %edx,-0x30(%ebp)               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10da6e:	39 d1                	cmp    %edx,%ecx                      
  10da70:	77 82                	ja     10d9f4 <_Heap_Walk+0xf4>       <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10da72:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10da75:	31 d2                	xor    %edx,%edx                      
  10da77:	f7 75 d4             	divl   -0x2c(%ebp)                    
  10da7a:	85 d2                	test   %edx,%edx                      
  10da7c:	0f 85 20 02 00 00    	jne    10dca2 <_Heap_Walk+0x3a2>      <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10da82:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10da85:	83 e0 fe             	and    $0xfffffffe,%eax               
  10da88:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10da8d:	0f 85 29 02 00 00    	jne    10dcbc <_Heap_Walk+0x3bc>      <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10da93:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10da96:	39 d8                	cmp    %ebx,%eax                      
  10da98:	0f 85 0f 02 00 00    	jne    10dcad <_Heap_Walk+0x3ad>      <== NEVER TAKEN
  10da9e:	89 75 c8             	mov    %esi,-0x38(%ebp)               
  10daa1:	89 c6                	mov    %eax,%esi                      
  10daa3:	89 5d c4             	mov    %ebx,-0x3c(%ebp)               
  10daa6:	eb 3d                	jmp    10dae5 <_Heap_Walk+0x1e5>      
  10daa8:	39 cf                	cmp    %ecx,%edi                      
  10daaa:	0f 87 44 ff ff ff    	ja     10d9f4 <_Heap_Walk+0xf4>       
  10dab0:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  10dab3:	0f 87 3b ff ff ff    	ja     10d9f4 <_Heap_Walk+0xf4>       <== NEVER TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
  10dab9:	8d 41 08             	lea    0x8(%ecx),%eax                 
  10dabc:	31 d2                	xor    %edx,%edx                      
  10dabe:	f7 75 d4             	divl   -0x2c(%ebp)                    
  10dac1:	85 d2                	test   %edx,%edx                      
  10dac3:	0f 85 d9 01 00 00    	jne    10dca2 <_Heap_Walk+0x3a2>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
  10dac9:	8b 41 04             	mov    0x4(%ecx),%eax                 
  10dacc:	83 e0 fe             	and    $0xfffffffe,%eax               
  10dacf:	f6 44 01 04 01       	testb  $0x1,0x4(%ecx,%eax,1)          
  10dad4:	0f 85 e2 01 00 00    	jne    10dcbc <_Heap_Walk+0x3bc>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
  10dada:	8b 41 0c             	mov    0xc(%ecx),%eax                 
  10dadd:	39 d8                	cmp    %ebx,%eax                      
  10dadf:	0f 85 c8 01 00 00    	jne    10dcad <_Heap_Walk+0x3ad>      
      (*printer)(                                                     
  10dae5:	89 cb                	mov    %ecx,%ebx                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
  10dae7:	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 ) {                            
  10daea:	39 ce                	cmp    %ecx,%esi                      
  10daec:	75 ba                	jne    10daa8 <_Heap_Walk+0x1a8>      
  10daee:	8b 75 c8             	mov    -0x38(%ebp),%esi               
  10daf1:	8b 5d c4             	mov    -0x3c(%ebp),%ebx               
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
  10daf4:	39 75 d8             	cmp    %esi,-0x28(%ebp)               
  10daf7:	0f 84 3a fe ff ff    	je     10d937 <_Heap_Walk+0x37>       <== NEVER TAKEN
  10dafd:	8b 45 cc             	mov    -0x34(%ebp),%eax               
    - 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;                
  10db00:	89 c1                	mov    %eax,%ecx                      
  10db02:	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);                 
  10db05:	8d 3c 31             	lea    (%ecx,%esi,1),%edi             
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
  10db08:	a8 01                	test   $0x1,%al                       
  10db0a:	74 30                	je     10db3c <_Heap_Walk+0x23c>      
      (*printer)(                                                     
  10db0c:	83 ec 0c             	sub    $0xc,%esp                      
  10db0f:	51                   	push   %ecx                           
  10db10:	56                   	push   %esi                           
  10db11:	68 89 41 12 00       	push   $0x124189                      
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10db16:	6a 00                	push   $0x0                           
  10db18:	ff 75 0c             	pushl  0xc(%ebp)                      
  10db1b:	89 4d c0             	mov    %ecx,-0x40(%ebp)               
  10db1e:	ff 55 e4             	call   *-0x1c(%ebp)                   
  10db21:	83 c4 20             	add    $0x20,%esp                     
  10db24:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
  10db27:	39 7b 20             	cmp    %edi,0x20(%ebx)                
  10db2a:	76 20                	jbe    10db4c <_Heap_Walk+0x24c>      <== ALWAYS TAKEN
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
  10db2c:	83 ec 0c             	sub    $0xc,%esp                      
  10db2f:	57                   	push   %edi                           
  10db30:	56                   	push   %esi                           
  10db31:	68 a4 3f 12 00       	push   $0x123fa4                      
  10db36:	e9 e5 fe ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
  10db3b:	90                   	nop                                   
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
  10db3c:	83 ec 08             	sub    $0x8,%esp                      
  10db3f:	ff 36                	pushl  (%esi)                         
  10db41:	51                   	push   %ecx                           
  10db42:	56                   	push   %esi                           
  10db43:	68 7c 3f 12 00       	push   $0x123f7c                      
  10db48:	eb cc                	jmp    10db16 <_Heap_Walk+0x216>      
  10db4a:	66 90                	xchg   %ax,%ax                        
  10db4c:	39 7b 24             	cmp    %edi,0x24(%ebx)                
  10db4f:	72 db                	jb     10db2c <_Heap_Walk+0x22c>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
  10db51:	89 c8                	mov    %ecx,%eax                      
  10db53:	31 d2                	xor    %edx,%edx                      
  10db55:	f7 75 e0             	divl   -0x20(%ebp)                    
  10db58:	85 d2                	test   %edx,%edx                      
  10db5a:	0f 85 02 01 00 00    	jne    10dc62 <_Heap_Walk+0x362>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
  10db60:	39 4d dc             	cmp    %ecx,-0x24(%ebp)               
  10db63:	0f 87 0b 01 00 00    	ja     10dc74 <_Heap_Walk+0x374>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
  10db69:	39 fe                	cmp    %edi,%esi                      
  10db6b:	0f 83 17 01 00 00    	jae    10dc88 <_Heap_Walk+0x388>      
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
  10db71:	f6 47 04 01          	testb  $0x1,0x4(%edi)                 
  10db75:	0f 85 91 00 00 00    	jne    10dc0c <_Heap_Walk+0x30c>      
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10db7b:	8b 4b 08             	mov    0x8(%ebx),%ecx                 
  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;                 
  10db7e:	8b 46 04             	mov    0x4(%esi),%eax                 
  10db81:	89 45 cc             	mov    %eax,-0x34(%ebp)               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
  10db84:	83 e0 fe             	and    $0xfffffffe,%eax               
  10db87:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
  10db8a:	01 f0                	add    %esi,%eax                      
  10db8c:	89 45 d0             	mov    %eax,-0x30(%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)(                                                         
  10db8f:	8b 56 08             	mov    0x8(%esi),%edx                 
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
  10db92:	39 53 0c             	cmp    %edx,0xc(%ebx)                 
  10db95:	0f 84 99 00 00 00    	je     10dc34 <_Heap_Walk+0x334>      
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10db9b:	39 da                	cmp    %ebx,%edx                      
  10db9d:	0f 84 a9 00 00 00    	je     10dc4c <_Heap_Walk+0x34c>      
  10dba3:	c7 45 c8 f5 3c 12 00 	movl   $0x123cf5,-0x38(%ebp)          
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
  10dbaa:	8b 46 0c             	mov    0xc(%esi),%eax                 
  10dbad:	39 c1                	cmp    %eax,%ecx                      
  10dbaf:	74 7b                	je     10dc2c <_Heap_Walk+0x32c>      
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10dbb1:	39 d8                	cmp    %ebx,%eax                      
  10dbb3:	0f 84 9f 00 00 00    	je     10dc58 <_Heap_Walk+0x358>      
  10dbb9:	b9 f5 3c 12 00       	mov    $0x123cf5,%ecx                 
  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)(                                                         
  10dbbe:	ff 75 c8             	pushl  -0x38(%ebp)                    
  10dbc1:	52                   	push   %edx                           
  10dbc2:	51                   	push   %ecx                           
  10dbc3:	50                   	push   %eax                           
  10dbc4:	56                   	push   %esi                           
  10dbc5:	68 64 40 12 00       	push   $0x124064                      
  10dbca:	6a 00                	push   $0x0                           
  10dbcc:	ff 75 0c             	pushl  0xc(%ebp)                      
  10dbcf:	ff 55 e4             	call   *-0x1c(%ebp)                   
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
  10dbd2:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10dbd5:	8b 02                	mov    (%edx),%eax                    
  10dbd7:	83 c4 20             	add    $0x20,%esp                     
  10dbda:	39 45 d4             	cmp    %eax,-0x2c(%ebp)               
  10dbdd:	74 11                	je     10dbf0 <_Heap_Walk+0x2f0>      
    (*printer)(                                                       
  10dbdf:	51                   	push   %ecx                           
  10dbe0:	52                   	push   %edx                           
  10dbe1:	50                   	push   %eax                           
  10dbe2:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10dbe5:	56                   	push   %esi                           
  10dbe6:	68 90 40 12 00       	push   $0x124090                      
  10dbeb:	e9 30 fe ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
  10dbf0:	f6 45 cc 01          	testb  $0x1,-0x34(%ebp)               
  10dbf4:	74 4a                	je     10dc40 <_Heap_Walk+0x340>      
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
  10dbf6:	8b 43 08             	mov    0x8(%ebx),%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 ) {                            
  10dbf9:	39 d8                	cmp    %ebx,%eax                      
  10dbfb:	75 0a                	jne    10dc07 <_Heap_Walk+0x307>      <== ALWAYS TAKEN
  10dbfd:	eb 21                	jmp    10dc20 <_Heap_Walk+0x320>      <== NOT EXECUTED
  10dbff:	90                   	nop                                   <== NOT EXECUTED
    if ( free_block == block ) {                                      
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
  10dc00:	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 ) {                            
  10dc03:	39 d8                	cmp    %ebx,%eax                      
  10dc05:	74 19                	je     10dc20 <_Heap_Walk+0x320>      
    if ( free_block == block ) {                                      
  10dc07:	39 f0                	cmp    %esi,%eax                      
  10dc09:	75 f5                	jne    10dc00 <_Heap_Walk+0x300>      
  10dc0b:	90                   	nop                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
  10dc0c:	39 7d d8             	cmp    %edi,-0x28(%ebp)               
  10dc0f:	0f 84 22 fd ff ff    	je     10d937 <_Heap_Walk+0x37>       
  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 ) {                            
  10dc15:	8b 47 04             	mov    0x4(%edi),%eax                 
  10dc18:	89 fe                	mov    %edi,%esi                      
  10dc1a:	e9 e1 fe ff ff       	jmp    10db00 <_Heap_Walk+0x200>      
  10dc1f:	90                   	nop                                   
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
  10dc20:	56                   	push   %esi                           
  10dc21:	68 fc 40 12 00       	push   $0x1240fc                      
  10dc26:	e9 d1 fd ff ff       	jmp    10d9fc <_Heap_Walk+0xfc>       
  10dc2b:	90                   	nop                                   
  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)(                                                         
  10dc2c:	b9 b4 41 12 00       	mov    $0x1241b4,%ecx                 
  10dc31:	eb 8b                	jmp    10dbbe <_Heap_Walk+0x2be>      
  10dc33:	90                   	nop                                   
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
  10dc34:	c7 45 c8 a0 41 12 00 	movl   $0x1241a0,-0x38(%ebp)          
  10dc3b:	e9 6a ff ff ff       	jmp    10dbaa <_Heap_Walk+0x2aa>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
  10dc40:	56                   	push   %esi                           
  10dc41:	68 cc 40 12 00       	push   $0x1240cc                      
  10dc46:	e9 b1 fd ff ff       	jmp    10d9fc <_Heap_Walk+0xfc>       
  10dc4b:	90                   	nop                                   
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  10dc4c:	c7 45 c8 aa 41 12 00 	movl   $0x1241aa,-0x38(%ebp)          
  10dc53:	e9 52 ff ff ff       	jmp    10dbaa <_Heap_Walk+0x2aa>      
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
  10dc58:	b9 bf 41 12 00       	mov    $0x1241bf,%ecx                 
  10dc5d:	e9 5c ff ff ff       	jmp    10dbbe <_Heap_Walk+0x2be>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
  10dc62:	83 ec 0c             	sub    $0xc,%esp                      
  10dc65:	51                   	push   %ecx                           
  10dc66:	56                   	push   %esi                           
  10dc67:	68 d4 3f 12 00       	push   $0x123fd4                      
  10dc6c:	e9 af fd ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
  10dc71:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
      (*printer)(                                                     
  10dc74:	83 ec 08             	sub    $0x8,%esp                      
  10dc77:	ff 75 dc             	pushl  -0x24(%ebp)                    
  10dc7a:	51                   	push   %ecx                           
  10dc7b:	56                   	push   %esi                           
  10dc7c:	68 04 40 12 00       	push   $0x124004                      
  10dc81:	e9 9a fd ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
  10dc86:	66 90                	xchg   %ax,%ax                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
      (*printer)(                                                     
  10dc88:	83 ec 0c             	sub    $0xc,%esp                      
  10dc8b:	57                   	push   %edi                           
  10dc8c:	56                   	push   %esi                           
  10dc8d:	68 30 40 12 00       	push   $0x124030                      
  10dc92:	e9 89 fd ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
  10dc97:	53                   	push   %ebx                           
  10dc98:	68 58 41 12 00       	push   $0x124158                      
  10dc9d:	e9 5a fd ff ff       	jmp    10d9fc <_Heap_Walk+0xfc>       
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
  10dca2:	51                   	push   %ecx                           
  10dca3:	68 18 3f 12 00       	push   $0x123f18                      
  10dca8:	e9 4f fd ff ff       	jmp    10d9fc <_Heap_Walk+0xfc>       
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
  10dcad:	83 ec 0c             	sub    $0xc,%esp                      
  10dcb0:	50                   	push   %eax                           
  10dcb1:	51                   	push   %ecx                           
  10dcb2:	68 48 3f 12 00       	push   $0x123f48                      
  10dcb7:	e9 64 fd ff ff       	jmp    10da20 <_Heap_Walk+0x120>      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
  10dcbc:	51                   	push   %ecx                           
  10dcbd:	68 6d 41 12 00       	push   $0x12416d                      
  10dcc2:	e9 35 fd ff ff       	jmp    10d9fc <_Heap_Walk+0xfc>       
                                                                      

0010c30c <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
  10c30c:	55                   	push   %ebp                           
  10c30d:	89 e5                	mov    %esp,%ebp                      
  10c30f:	53                   	push   %ebx                           
  10c310:	83 ec 04             	sub    $0x4,%esp                      
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
  10c313:	8b 15 60 9e 12 00    	mov    0x129e60,%edx                  
  10c319:	85 d2                	test   %edx,%edx                      
  10c31b:	74 1a                	je     10c337 <_IO_Initialize_all_drivers+0x2b><== NEVER TAKEN
  10c31d:	31 db                	xor    %ebx,%ebx                      
  10c31f:	90                   	nop                                   
     (void) rtems_io_initialize( major, 0, NULL );                    
  10c320:	50                   	push   %eax                           
  10c321:	6a 00                	push   $0x0                           
  10c323:	6a 00                	push   $0x0                           
  10c325:	53                   	push   %ebx                           
  10c326:	e8 31 5c 00 00       	call   111f5c <rtems_io_initialize>   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
  10c32b:	43                   	inc    %ebx                           
  10c32c:	83 c4 10             	add    $0x10,%esp                     
  10c32f:	39 1d 60 9e 12 00    	cmp    %ebx,0x129e60                  
  10c335:	77 e9                	ja     10c320 <_IO_Initialize_all_drivers+0x14>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
  10c337:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c33a:	c9                   	leave                                 
  10c33b:	c3                   	ret                                   
                                                                      

0010c33c <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
  10c33c:	55                   	push   %ebp                           
  10c33d:	89 e5                	mov    %esp,%ebp                      
  10c33f:	57                   	push   %edi                           
  10c340:	56                   	push   %esi                           
  10c341:	53                   	push   %ebx                           
  10c342:	83 ec 1c             	sub    $0x1c,%esp                     
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  10c345:	8b 1d 54 52 12 00    	mov    0x125254,%ebx                  
  drivers_in_table  = Configuration.number_of_device_drivers;         
  10c34b:	a1 50 52 12 00       	mov    0x125250,%eax                  
  10c350:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  number_of_drivers = Configuration.maximum_drivers;                  
  10c353:	8b 35 4c 52 12 00    	mov    0x12524c,%esi                  
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
  10c359:	39 f0                	cmp    %esi,%eax                      
  10c35b:	72 17                	jb     10c374 <_IO_Manager_initialization+0x38>
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
  10c35d:	89 1d 64 9e 12 00    	mov    %ebx,0x129e64                  
    _IO_Number_of_drivers = number_of_drivers;                        
  10c363:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c366:	a3 60 9e 12 00       	mov    %eax,0x129e60                  
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
  number_of_drivers = drivers_in_table;                               
}                                                                     
  10c36b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c36e:	5b                   	pop    %ebx                           
  10c36f:	5e                   	pop    %esi                           
  10c370:	5f                   	pop    %edi                           
  10c371:	c9                   	leave                                 
  10c372:	c3                   	ret                                   
  10c373:	90                   	nop                                   
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
  10c374:	8d 0c 76             	lea    (%esi,%esi,2),%ecx             
  10c377:	c1 e1 03             	shl    $0x3,%ecx                      
  10c37a:	83 ec 0c             	sub    $0xc,%esp                      
  10c37d:	51                   	push   %ecx                           
  10c37e:	89 4d dc             	mov    %ecx,-0x24(%ebp)               
  10c381:	e8 5a 2a 00 00       	call   10ede0 <_Workspace_Allocate_or_fatal_error>
  10c386:	89 c2                	mov    %eax,%edx                      
  10c388:	a3 64 9e 12 00       	mov    %eax,0x129e64                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
  10c38d:	89 35 60 9e 12 00    	mov    %esi,0x129e60                  
                                                                      
  memset(                                                             
  10c393:	31 c0                	xor    %eax,%eax                      
  10c395:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  10c398:	89 d7                	mov    %edx,%edi                      
  10c39a:	f3 aa                	rep stos %al,%es:(%edi)               
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
  10c39c:	83 c4 10             	add    $0x10,%esp                     
  10c39f:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c3a2:	85 c9                	test   %ecx,%ecx                      
  10c3a4:	74 c5                	je     10c36b <_IO_Manager_initialization+0x2f><== NEVER TAKEN
  10c3a6:	a1 64 9e 12 00       	mov    0x129e64,%eax                  
  10c3ab:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10c3ae:	31 c0                	xor    %eax,%eax                      
  10c3b0:	31 d2                	xor    %edx,%edx                      
  10c3b2:	66 90                	xchg   %ax,%ax                        
    _IO_Driver_address_table[index] = driver_table[index];            
  10c3b4:	8b 7d e0             	mov    -0x20(%ebp),%edi               
  10c3b7:	01 c7                	add    %eax,%edi                      
  10c3b9:	8d 34 03             	lea    (%ebx,%eax,1),%esi             
  10c3bc:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10c3c1:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
  10c3c3:	42                   	inc    %edx                           
  10c3c4:	83 c0 18             	add    $0x18,%eax                     
  10c3c7:	39 55 e4             	cmp    %edx,-0x1c(%ebp)               
  10c3ca:	77 e8                	ja     10c3b4 <_IO_Manager_initialization+0x78>
    _IO_Driver_address_table[index] = driver_table[index];            
  number_of_drivers = drivers_in_table;                               
}                                                                     
  10c3cc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c3cf:	5b                   	pop    %ebx                           
  10c3d0:	5e                   	pop    %esi                           
  10c3d1:	5f                   	pop    %edi                           
  10c3d2:	c9                   	leave                                 
  10c3d3:	c3                   	ret                                   
                                                                      

0010ceb0 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10ceb0:	55                   	push   %ebp                           
  10ceb1:	89 e5                	mov    %esp,%ebp                      
  10ceb3:	53                   	push   %ebx                           
  10ceb4:	83 ec 08             	sub    $0x8,%esp                      
  10ceb7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ceba:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10cebd:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  10cec0:	a3 a0 94 12 00       	mov    %eax,0x1294a0                  
  _Internal_errors_What_happened.is_internal = is_internal;           
  10cec5:	88 15 a4 94 12 00    	mov    %dl,0x1294a4                   
  _Internal_errors_What_happened.the_error   = the_error;             
  10cecb:	89 1d a8 94 12 00    	mov    %ebx,0x1294a8                  
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
  10ced1:	53                   	push   %ebx                           
  10ced2:	0f b6 d2             	movzbl %dl,%edx                       
  10ced5:	52                   	push   %edx                           
  10ced6:	50                   	push   %eax                           
  10ced7:	e8 ac 1b 00 00       	call   10ea88 <_User_extensions_Fatal>
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
  10cedc:	c7 05 c0 95 12 00 05 	movl   $0x5,0x1295c0                  <== NOT EXECUTED
  10cee3:	00 00 00                                                    
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
  10cee6:	fa                   	cli                                   <== NOT EXECUTED
  10cee7:	89 d8                	mov    %ebx,%eax                      <== NOT EXECUTED
  10cee9:	f4                   	hlt                                   <== NOT EXECUTED
  10ceea:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
  10ceed:	eb fe                	jmp    10ceed <_Internal_error_Occurred+0x3d><== NOT EXECUTED
                                                                      

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

001125e8 <_Objects_API_maximum_class>: #include <rtems/score/object.h> unsigned int _Objects_API_maximum_class( uint32_t api ) {
  1125e8:	55                   	push   %ebp                           
  1125e9:	89 e5                	mov    %esp,%ebp                      
    case OBJECTS_NO_API:                                              
    default:                                                          
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
  1125eb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1125ee:	48                   	dec    %eax                           
  1125ef:	83 f8 03             	cmp    $0x3,%eax                      
  1125f2:	77 0c                	ja     112600 <_Objects_API_maximum_class+0x18>
  1125f4:	8b 04 85 fc 33 12 00 	mov    0x1233fc(,%eax,4),%eax         
  1125fb:	c9                   	leave                                 
  1125fc:	c3                   	ret                                   
  1125fd:	8d 76 00             	lea    0x0(%esi),%esi                 
  112600:	31 c0                	xor    %eax,%eax                      
  112602:	c9                   	leave                                 
  112603:	c3                   	ret                                   
                                                                      

0010cf48 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
  10cf48:	55                   	push   %ebp                           
  10cf49:	89 e5                	mov    %esp,%ebp                      
  10cf4b:	56                   	push   %esi                           
  10cf4c:	53                   	push   %ebx                           
  10cf4d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
  10cf50:	8b 43 18             	mov    0x18(%ebx),%eax                
  10cf53:	85 c0                	test   %eax,%eax                      
  10cf55:	75 0d                	jne    10cf64 <_Objects_Allocate+0x1c><== ALWAYS TAKEN
  10cf57:	31 c9                	xor    %ecx,%ecx                      <== NOT EXECUTED
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
  10cf59:	89 c8                	mov    %ecx,%eax                      
  10cf5b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cf5e:	5b                   	pop    %ebx                           
  10cf5f:	5e                   	pop    %esi                           
  10cf60:	c9                   	leave                                 
  10cf61:	c3                   	ret                                   
  10cf62:	66 90                	xchg   %ax,%ax                        
                                                                      
  /*                                                                  
   *  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 );
  10cf64:	8d 73 20             	lea    0x20(%ebx),%esi                
  10cf67:	83 ec 0c             	sub    $0xc,%esp                      
  10cf6a:	56                   	push   %esi                           
  10cf6b:	e8 a0 f6 ff ff       	call   10c610 <_Chain_Get>            
  10cf70:	89 c1                	mov    %eax,%ecx                      
                                                                      
  if ( information->auto_extend ) {                                   
  10cf72:	83 c4 10             	add    $0x10,%esp                     
  10cf75:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10cf79:	74 de                	je     10cf59 <_Objects_Allocate+0x11>
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
  10cf7b:	85 c0                	test   %eax,%eax                      
  10cf7d:	74 29                	je     10cfa8 <_Objects_Allocate+0x60>
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
  10cf7f:	0f b7 41 08          	movzwl 0x8(%ecx),%eax                 
  10cf83:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10cf87:	29 d0                	sub    %edx,%eax                      
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
  10cf89:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10cf8d:	31 d2                	xor    %edx,%edx                      
  10cf8f:	f7 f6                	div    %esi                           
  10cf91:	c1 e0 02             	shl    $0x2,%eax                      
  10cf94:	03 43 30             	add    0x30(%ebx),%eax                
  10cf97:	ff 08                	decl   (%eax)                         
      information->inactive--;                                        
  10cf99:	66 ff 4b 2c          	decw   0x2c(%ebx)                     
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
  10cf9d:	89 c8                	mov    %ecx,%eax                      
  10cf9f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cfa2:	5b                   	pop    %ebx                           
  10cfa3:	5e                   	pop    %esi                           
  10cfa4:	c9                   	leave                                 
  10cfa5:	c3                   	ret                                   
  10cfa6:	66 90                	xchg   %ax,%ax                        
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
  10cfa8:	83 ec 0c             	sub    $0xc,%esp                      
  10cfab:	53                   	push   %ebx                           
  10cfac:	e8 3b 00 00 00       	call   10cfec <_Objects_Extend_information>
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
  10cfb1:	89 34 24             	mov    %esi,(%esp)                    
  10cfb4:	e8 57 f6 ff ff       	call   10c610 <_Chain_Get>            
  10cfb9:	89 c1                	mov    %eax,%ecx                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
  10cfbb:	83 c4 10             	add    $0x10,%esp                     
  10cfbe:	85 c0                	test   %eax,%eax                      
  10cfc0:	74 97                	je     10cf59 <_Objects_Allocate+0x11>
  10cfc2:	eb bb                	jmp    10cf7f <_Objects_Allocate+0x37>
                                                                      

0010cfec <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
  10cfec:	55                   	push   %ebp                           
  10cfed:	89 e5                	mov    %esp,%ebp                      
  10cfef:	57                   	push   %edi                           
  10cff0:	56                   	push   %esi                           
  10cff1:	53                   	push   %ebx                           
  10cff2:	83 ec 4c             	sub    $0x4c,%esp                     
  10cff5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. The block variable ends up set
   *  to block_count + 1 if the table needs to be extended.           
   */                                                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
  10cff8:	0f b7 43 08          	movzwl 0x8(%ebx),%eax                 
  10cffc:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10cfff:	8b 4b 34             	mov    0x34(%ebx),%ecx                
  10d002:	85 c9                	test   %ecx,%ecx                      
  10d004:	0f 84 72 02 00 00    	je     10d27c <_Objects_Extend_information+0x290>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
  10d00a:	8b 7b 10             	mov    0x10(%ebx),%edi                
  10d00d:	66 89 7d d4          	mov    %di,-0x2c(%ebp)                
  10d011:	8b 7b 14             	mov    0x14(%ebx),%edi                
  10d014:	31 d2                	xor    %edx,%edx                      
  10d016:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10d019:	66 f7 f7             	div    %di                            
  10d01c:	0f b7 f0             	movzwl %ax,%esi                       
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10d01f:	85 f6                	test   %esi,%esi                      
  10d021:	0f 84 6c 02 00 00    	je     10d293 <_Objects_Extend_information+0x2a7><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL )              
  10d027:	8b 01                	mov    (%ecx),%eax                    
  10d029:	85 c0                	test   %eax,%eax                      
  10d02b:	0f 84 72 02 00 00    	je     10d2a3 <_Objects_Extend_information+0x2b7><== NEVER TAKEN
  10d031:	0f b7 ff             	movzwl %di,%edi                       
  10d034:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10d037:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  10d03a:	31 d2                	xor    %edx,%edx                      
  10d03c:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  10d03f:	eb 09                	jmp    10d04a <_Objects_Extend_information+0x5e>
  10d041:	8d 76 00             	lea    0x0(%esi),%esi                 
  10d044:	83 3c 91 00          	cmpl   $0x0,(%ecx,%edx,4)             
  10d048:	74 07                	je     10d051 <_Objects_Extend_information+0x65>
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
  10d04a:	01 f8                	add    %edi,%eax                      
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10d04c:	42                   	inc    %edx                           
  10d04d:	39 d6                	cmp    %edx,%esi                      
  10d04f:	77 f3                	ja     10d044 <_Objects_Extend_information+0x58>
  10d051:	89 45 cc             	mov    %eax,-0x34(%ebp)               
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
  10d054:	0f b7 45 d4          	movzwl -0x2c(%ebp),%eax               
  10d058:	01 f8                	add    %edi,%eax                      
  10d05a:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
  10d05d:	3d ff ff 00 00       	cmp    $0xffff,%eax                   
  10d062:	0f 87 b1 01 00 00    	ja     10d219 <_Objects_Extend_information+0x22d><== NEVER TAKEN
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  10d068:	0f af 7b 18          	imul   0x18(%ebx),%edi                
  if ( information->auto_extend ) {                                   
  10d06c:	80 7b 12 00          	cmpb   $0x0,0x12(%ebx)                
  10d070:	0f 85 ae 01 00 00    	jne    10d224 <_Objects_Extend_information+0x238>
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
  10d076:	83 ec 0c             	sub    $0xc,%esp                      
  10d079:	57                   	push   %edi                           
  10d07a:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10d07d:	e8 5e 1d 00 00       	call   10ede0 <_Workspace_Allocate_or_fatal_error>
  10d082:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10d085:	83 c4 10             	add    $0x10,%esp                     
  10d088:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
  10d08b:	0f b7 43 10          	movzwl 0x10(%ebx),%eax                
  10d08f:	39 45 cc             	cmp    %eax,-0x34(%ebp)               
  10d092:	0f 82 fe 00 00 00    	jb     10d196 <_Objects_Extend_information+0x1aa>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
  10d098:	8d 7e 01             	lea    0x1(%esi),%edi                 
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
  10d09b:	83 ec 0c             	sub    $0xc,%esp                      
  10d09e:	8d 04 7f             	lea    (%edi,%edi,2),%eax             
  10d0a1:	03 45 d4             	add    -0x2c(%ebp),%eax               
  10d0a4:	03 45 d0             	add    -0x30(%ebp),%eax               
  10d0a7:	c1 e0 02             	shl    $0x2,%eax                      
  10d0aa:	50                   	push   %eax                           
  10d0ab:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10d0ae:	e8 59 1d 00 00       	call   10ee0c <_Workspace_Allocate>   
  10d0b3:	89 45 c8             	mov    %eax,-0x38(%ebp)               
                                                                      
    if ( !object_blocks ) {                                           
  10d0b6:	83 c4 10             	add    $0x10,%esp                     
  10d0b9:	85 c0                	test   %eax,%eax                      
  10d0bb:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10d0be:	0f 84 ef 01 00 00    	je     10d2b3 <_Objects_Extend_information+0x2c7>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
  10d0c4:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10d0c7:	8d 04 b8             	lea    (%eax,%edi,4),%eax             
  10d0ca:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  10d0cd:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  10d0d0:	8d 3c f9             	lea    (%ecx,%edi,8),%edi             
  10d0d3:	89 7d bc             	mov    %edi,-0x44(%ebp)               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
  10d0d6:	0f b7 43 10          	movzwl 0x10(%ebx),%eax                
  10d0da:	39 45 d0             	cmp    %eax,-0x30(%ebp)               
  10d0dd:	0f 82 60 01 00 00    	jb     10d243 <_Objects_Extend_information+0x257>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10d0e3:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10d0e6:	85 c0                	test   %eax,%eax                      
  10d0e8:	74 16                	je     10d100 <_Objects_Extend_information+0x114><== NEVER TAKEN
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
  10d0ea:	31 c0                	xor    %eax,%eax                      
  10d0ec:	8b 4d bc             	mov    -0x44(%ebp),%ecx               
  10d0ef:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  10d0f2:	66 90                	xchg   %ax,%ax                        
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
  10d0f4:	c7 04 81 00 00 00 00 	movl   $0x0,(%ecx,%eax,4)             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
  10d0fb:	40                   	inc    %eax                           
  10d0fc:	39 c7                	cmp    %eax,%edi                      
  10d0fe:	77 f4                	ja     10d0f4 <_Objects_Extend_information+0x108><== NEVER TAKEN
  10d100:	c1 e6 02             	shl    $0x2,%esi                      
  10d103:	89 75 c0             	mov    %esi,-0x40(%ebp)               
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
  10d106:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10d109:	8b 7d c0             	mov    -0x40(%ebp),%edi               
  10d10c:	c7 04 38 00 00 00 00 	movl   $0x0,(%eax,%edi,1)             
    inactive_per_block[block_count] = 0;                              
  10d113:	8b 4d b8             	mov    -0x48(%ebp),%ecx               
  10d116:	c7 04 39 00 00 00 00 	movl   $0x0,(%ecx,%edi,1)             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
  10d11d:	0f b7 73 14          	movzwl 0x14(%ebx),%esi                
  10d121:	03 75 cc             	add    -0x34(%ebp),%esi               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10d124:	39 75 cc             	cmp    %esi,-0x34(%ebp)               
  10d127:	73 19                	jae    10d142 <_Objects_Extend_information+0x156><== NEVER TAKEN
  10d129:	8b 7d cc             	mov    -0x34(%ebp),%edi               
  10d12c:	8b 45 bc             	mov    -0x44(%ebp),%eax               
  10d12f:	8d 0c b8             	lea    (%eax,%edi,4),%ecx             
  10d132:	89 f8                	mov    %edi,%eax                      
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
  10d134:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
  10d13a:	40                   	inc    %eax                           
  10d13b:	83 c1 04             	add    $0x4,%ecx                      
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
  10d13e:	39 c6                	cmp    %eax,%esi                      
  10d140:	77 f2                	ja     10d134 <_Objects_Extend_information+0x148>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
  10d142:	9c                   	pushf                                 
  10d143:	fa                   	cli                                   
  10d144:	5f                   	pop    %edi                           
                                                                      
    old_tables = information->object_blocks;                          
  10d145:	8b 4b 34             	mov    0x34(%ebx),%ecx                
                                                                      
    information->object_blocks = object_blocks;                       
  10d148:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10d14b:	89 43 34             	mov    %eax,0x34(%ebx)                
    information->inactive_per_block = inactive_per_block;             
  10d14e:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  10d151:	89 43 30             	mov    %eax,0x30(%ebx)                
    information->local_table = local_table;                           
  10d154:	8b 45 bc             	mov    -0x44(%ebp),%eax               
  10d157:	89 43 1c             	mov    %eax,0x1c(%ebx)                
    information->maximum = (Objects_Maximum) maximum;                 
  10d15a:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10d15d:	66 89 43 10          	mov    %ax,0x10(%ebx)                 
    information->maximum_id = _Objects_Build_id(                      
  10d161:	8b 33                	mov    (%ebx),%esi                    
  10d163:	c1 e6 18             	shl    $0x18,%esi                     
  10d166:	81 ce 00 00 01 00    	or     $0x10000,%esi                  
  10d16c:	0f b7 43 04          	movzwl 0x4(%ebx),%eax                 
  10d170:	c1 e0 1b             	shl    $0x1b,%eax                     
  10d173:	09 c6                	or     %eax,%esi                      
  10d175:	0f b7 45 d4          	movzwl -0x2c(%ebp),%eax               
  10d179:	09 c6                	or     %eax,%esi                      
  10d17b:	89 73 0c             	mov    %esi,0xc(%ebx)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
  10d17e:	57                   	push   %edi                           
  10d17f:	9d                   	popf                                  
                                                                      
    if ( old_tables )                                                 
  10d180:	85 c9                	test   %ecx,%ecx                      
  10d182:	74 12                	je     10d196 <_Objects_Extend_information+0x1aa>
      _Workspace_Free( old_tables );                                  
  10d184:	83 ec 0c             	sub    $0xc,%esp                      
  10d187:	51                   	push   %ecx                           
  10d188:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10d18b:	e8 98 1c 00 00       	call   10ee28 <_Workspace_Free>       
  10d190:	83 c4 10             	add    $0x10,%esp                     
  10d193:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
  10d196:	c1 e2 02             	shl    $0x2,%edx                      
  10d199:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10d19c:	8b 43 34             	mov    0x34(%ebx),%eax                
  10d19f:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10d1a2:	89 0c 10             	mov    %ecx,(%eax,%edx,1)             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
  10d1a5:	ff 73 18             	pushl  0x18(%ebx)                     
  10d1a8:	0f b7 53 14          	movzwl 0x14(%ebx),%edx                
  10d1ac:	52                   	push   %edx                           
  10d1ad:	8b 7d d0             	mov    -0x30(%ebp),%edi               
  10d1b0:	ff 34 38             	pushl  (%eax,%edi,1)                  
  10d1b3:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  10d1b6:	57                   	push   %edi                           
  10d1b7:	e8 e8 4d 00 00       	call   111fa4 <_Chain_Initialize>     
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10d1bc:	8d 43 20             	lea    0x20(%ebx),%eax                
  10d1bf:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10d1c2:	8b 75 cc             	mov    -0x34(%ebp),%esi               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10d1c5:	83 c4 10             	add    $0x10,%esp                     
  10d1c8:	eb 2b                	jmp    10d1f5 <_Objects_Extend_information+0x209>
  10d1ca:	66 90                	xchg   %ax,%ax                        
                                                                      
    the_object->id = _Objects_Build_id(                               
  10d1cc:	8b 13                	mov    (%ebx),%edx                    
  10d1ce:	c1 e2 18             	shl    $0x18,%edx                     
  10d1d1:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
  10d1d7:	0f b7 4b 04          	movzwl 0x4(%ebx),%ecx                 
  10d1db:	c1 e1 1b             	shl    $0x1b,%ecx                     
  10d1de:	09 ca                	or     %ecx,%edx                      
  10d1e0:	09 f2                	or     %esi,%edx                      
  10d1e2:	89 50 08             	mov    %edx,0x8(%eax)                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
  10d1e5:	83 ec 08             	sub    $0x8,%esp                      
  10d1e8:	50                   	push   %eax                           
  10d1e9:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10d1ec:	e8 e3 f3 ff ff       	call   10c5d4 <_Chain_Append>         
                                                                      
    index++;                                                          
  10d1f1:	46                   	inc    %esi                           
  10d1f2:	83 c4 10             	add    $0x10,%esp                     
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
  10d1f5:	83 ec 0c             	sub    $0xc,%esp                      
  10d1f8:	57                   	push   %edi                           
  10d1f9:	e8 12 f4 ff ff       	call   10c610 <_Chain_Get>            
  10d1fe:	83 c4 10             	add    $0x10,%esp                     
  10d201:	85 c0                	test   %eax,%eax                      
  10d203:	75 c7                	jne    10d1cc <_Objects_Extend_information+0x1e0>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  10d205:	8b 43 30             	mov    0x30(%ebx),%eax                
  10d208:	0f b7 53 14          	movzwl 0x14(%ebx),%edx                
  10d20c:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  10d20f:	89 14 08             	mov    %edx,(%eax,%ecx,1)             
  information->inactive =                                             
  10d212:	8b 43 14             	mov    0x14(%ebx),%eax                
  10d215:	66 01 43 2c          	add    %ax,0x2c(%ebx)                 
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
  10d219:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d21c:	5b                   	pop    %ebx                           
  10d21d:	5e                   	pop    %esi                           
  10d21e:	5f                   	pop    %edi                           
  10d21f:	c9                   	leave                                 
  10d220:	c3                   	ret                                   
  10d221:	8d 76 00             	lea    0x0(%esi),%esi                 
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
  10d224:	83 ec 0c             	sub    $0xc,%esp                      
  10d227:	57                   	push   %edi                           
  10d228:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10d22b:	e8 dc 1b 00 00       	call   10ee0c <_Workspace_Allocate>   
  10d230:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
    if ( !new_object_block )                                          
  10d233:	83 c4 10             	add    $0x10,%esp                     
  10d236:	85 c0                	test   %eax,%eax                      
  10d238:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  10d23b:	0f 85 4a fe ff ff    	jne    10d08b <_Objects_Extend_information+0x9f>
  10d241:	eb d6                	jmp    10d219 <_Objects_Extend_information+0x22d>
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
  10d243:	c1 e6 02             	shl    $0x2,%esi                      
  10d246:	89 75 c0             	mov    %esi,-0x40(%ebp)               
  10d249:	8b 73 34             	mov    0x34(%ebx),%esi                
  10d24c:	8b 7d c8             	mov    -0x38(%ebp),%edi               
  10d24f:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10d252:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
  10d254:	8b 73 30             	mov    0x30(%ebx),%esi                
  10d257:	8b 7d b8             	mov    -0x48(%ebp),%edi               
  10d25a:	8b 4d c0             	mov    -0x40(%ebp),%ecx               
  10d25d:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
  10d25f:	0f b7 43 10          	movzwl 0x10(%ebx),%eax                
  10d263:	03 45 d0             	add    -0x30(%ebp),%eax               
  10d266:	8d 0c 85 00 00 00 00 	lea    0x0(,%eax,4),%ecx              
  10d26d:	8b 73 1c             	mov    0x1c(%ebx),%esi                
  10d270:	8b 7d bc             	mov    -0x44(%ebp),%edi               
  10d273:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)       
  10d275:	e9 8c fe ff ff       	jmp    10d106 <_Objects_Extend_information+0x11a>
  10d27a:	66 90                	xchg   %ax,%ax                        
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
  10d27c:	8b 53 10             	mov    0x10(%ebx),%edx                
  10d27f:	66 89 55 d4          	mov    %dx,-0x2c(%ebp)                
  10d283:	0f b7 7b 14          	movzwl 0x14(%ebx),%edi                
  10d287:	89 45 cc             	mov    %eax,-0x34(%ebp)               
  10d28a:	31 d2                	xor    %edx,%edx                      
  10d28c:	31 f6                	xor    %esi,%esi                      
  10d28e:	e9 c1 fd ff ff       	jmp    10d054 <_Objects_Extend_information+0x68>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
  10d293:	0f b7 ff             	movzwl %di,%edi                       <== NOT EXECUTED
  10d296:	8b 45 d0             	mov    -0x30(%ebp),%eax               <== NOT EXECUTED
  10d299:	89 45 cc             	mov    %eax,-0x34(%ebp)               <== NOT EXECUTED
  10d29c:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10d29e:	e9 b1 fd ff ff       	jmp    10d054 <_Objects_Extend_information+0x68><== NOT EXECUTED
      if ( information->object_blocks[ block ] == NULL )              
  10d2a3:	0f b7 ff             	movzwl %di,%edi                       <== NOT EXECUTED
  10d2a6:	8b 4d d0             	mov    -0x30(%ebp),%ecx               <== NOT EXECUTED
  10d2a9:	89 4d cc             	mov    %ecx,-0x34(%ebp)               <== NOT EXECUTED
  10d2ac:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10d2ae:	e9 a1 fd ff ff       	jmp    10d054 <_Objects_Extend_information+0x68><== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
  10d2b3:	83 ec 0c             	sub    $0xc,%esp                      
  10d2b6:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10d2b9:	e8 6a 1b 00 00       	call   10ee28 <_Workspace_Free>       
      return;                                                         
  10d2be:	83 c4 10             	add    $0x10,%esp                     
  10d2c1:	e9 53 ff ff ff       	jmp    10d219 <_Objects_Extend_information+0x22d>
                                                                      

0010d358 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
  10d358:	55                   	push   %ebp                           
  10d359:	89 e5                	mov    %esp,%ebp                      
  10d35b:	56                   	push   %esi                           
  10d35c:	53                   	push   %ebx                           
  10d35d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10d360:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
  10d363:	85 db                	test   %ebx,%ebx                      
  10d365:	75 09                	jne    10d370 <_Objects_Get_information+0x18>
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
  10d367:	31 c0                	xor    %eax,%eax                      
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
  10d369:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d36c:	5b                   	pop    %ebx                           
  10d36d:	5e                   	pop    %esi                           
  10d36e:	c9                   	leave                                 
  10d36f:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  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 );      
  10d370:	83 ec 0c             	sub    $0xc,%esp                      
  10d373:	56                   	push   %esi                           
  10d374:	e8 6f 52 00 00       	call   1125e8 <_Objects_API_maximum_class>
  if ( the_class_api_maximum == 0 )                                   
  10d379:	83 c4 10             	add    $0x10,%esp                     
  10d37c:	85 c0                	test   %eax,%eax                      
  10d37e:	74 e7                	je     10d367 <_Objects_Get_information+0xf>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
  10d380:	39 c3                	cmp    %eax,%ebx                      
  10d382:	77 e3                	ja     10d367 <_Objects_Get_information+0xf>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  10d384:	8b 04 b5 cc 93 12 00 	mov    0x1293cc(,%esi,4),%eax         
  10d38b:	85 c0                	test   %eax,%eax                      
  10d38d:	74 d8                	je     10d367 <_Objects_Get_information+0xf><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
  10d38f:	8b 04 98             	mov    (%eax,%ebx,4),%eax             
  if ( !info )                                                        
  10d392:	85 c0                	test   %eax,%eax                      
  10d394:	74 d3                	je     10d369 <_Objects_Get_information+0x11><== NEVER TAKEN
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
  10d396:	66 83 78 10 00       	cmpw   $0x0,0x10(%eax)                
  10d39b:	75 cc                	jne    10d369 <_Objects_Get_information+0x11>
  10d39d:	eb c8                	jmp    10d367 <_Objects_Get_information+0xf>
                                                                      

0010d3a0 <_Objects_Get_isr_disable>: Objects_Information *information, Objects_Id id, Objects_Locations *location, ISR_Level *level_p ) {
  10d3a0:	55                   	push   %ebp                           
  10d3a1:	89 e5                	mov    %esp,%ebp                      
  10d3a3:	56                   	push   %esi                           
  10d3a4:	53                   	push   %ebx                           
  10d3a5:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d3a8:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Objects_Control *the_object;                                        
  uint32_t         index;                                             
  ISR_Level        level;                                             
                                                                      
  index = id - information->minimum_id + 1;                           
  10d3ab:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10d3b0:	2b 42 08             	sub    0x8(%edx),%eax                 
  10d3b3:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  _ISR_Disable( level );                                              
  10d3b6:	9c                   	pushf                                 
  10d3b7:	fa                   	cli                                   
  10d3b8:	5e                   	pop    %esi                           
  if ( information->maximum >= index ) {                              
  10d3b9:	0f b7 4a 10          	movzwl 0x10(%edx),%ecx                
  10d3bd:	39 c8                	cmp    %ecx,%eax                      
  10d3bf:	77 1b                	ja     10d3dc <_Objects_Get_isr_disable+0x3c>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  10d3c1:	8b 52 1c             	mov    0x1c(%edx),%edx                
  10d3c4:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  10d3c7:	85 c0                	test   %eax,%eax                      
  10d3c9:	74 21                	je     10d3ec <_Objects_Get_isr_disable+0x4c>
      *location = OBJECTS_LOCAL;                                      
  10d3cb:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
      *level_p = level;                                               
  10d3d1:	8b 55 14             	mov    0x14(%ebp),%edx                
  10d3d4:	89 32                	mov    %esi,(%edx)                    
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
#endif                                                                
}                                                                     
  10d3d6:	5b                   	pop    %ebx                           
  10d3d7:	5e                   	pop    %esi                           
  10d3d8:	c9                   	leave                                 
  10d3d9:	c3                   	ret                                   
  10d3da:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    _ISR_Enable( level );                                             
    *location = OBJECTS_ERROR;                                        
    return NULL;                                                      
  }                                                                   
  _ISR_Enable( level );                                               
  10d3dc:	56                   	push   %esi                           
  10d3dd:	9d                   	popf                                  
  *location = OBJECTS_ERROR;                                          
  10d3de:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
  10d3e4:	31 c0                	xor    %eax,%eax                      
  _Objects_MP_Is_remote( information, id, location, &the_object );    
  return the_object;                                                  
#else                                                                 
  return NULL;                                                        
#endif                                                                
}                                                                     
  10d3e6:	5b                   	pop    %ebx                           
  10d3e7:	5e                   	pop    %esi                           
  10d3e8:	c9                   	leave                                 
  10d3e9:	c3                   	ret                                   
  10d3ea:	66 90                	xchg   %ax,%ax                        
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
      *location = OBJECTS_LOCAL;                                      
      *level_p = level;                                               
      return the_object;                                              
    }                                                                 
    _ISR_Enable( level );                                             
  10d3ec:	56                   	push   %esi                           
  10d3ed:	9d                   	popf                                  
    *location = OBJECTS_ERROR;                                        
  10d3ee:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
    return NULL;                                                      
  10d3f4:	eb e0                	jmp    10d3d6 <_Objects_Get_isr_disable+0x36>
                                                                      

00119f20 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
  119f20:	55                   	push   %ebp                           
  119f21:	89 e5                	mov    %esp,%ebp                      
  119f23:	57                   	push   %edi                           
  119f24:	56                   	push   %esi                           
  119f25:	53                   	push   %ebx                           
  119f26:	83 ec 2c             	sub    $0x2c,%esp                     
  119f29:	8b 55 08             	mov    0x8(%ebp),%edx                 
  119f2c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  119f2f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
  119f32:	85 f6                	test   %esi,%esi                      
  119f34:	75 0e                	jne    119f44 <_Objects_Get_name_as_string+0x24>
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  119f36:	31 db                	xor    %ebx,%ebx                      
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
  119f38:	89 d8                	mov    %ebx,%eax                      
  119f3a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  119f3d:	5b                   	pop    %ebx                           
  119f3e:	5e                   	pop    %esi                           
  119f3f:	5f                   	pop    %edi                           
  119f40:	c9                   	leave                                 
  119f41:	c3                   	ret                                   
  119f42:	66 90                	xchg   %ax,%ax                        
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
  119f44:	85 db                	test   %ebx,%ebx                      
  119f46:	74 f0                	je     119f38 <_Objects_Get_name_as_string+0x18>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  119f48:	85 d2                	test   %edx,%edx                      
  119f4a:	75 08                	jne    119f54 <_Objects_Get_name_as_string+0x34>
  119f4c:	a1 58 74 13 00       	mov    0x137458,%eax                  
  119f51:	8b 50 08             	mov    0x8(%eax),%edx                 
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
  119f54:	83 ec 0c             	sub    $0xc,%esp                      
  119f57:	52                   	push   %edx                           
  119f58:	89 55 cc             	mov    %edx,-0x34(%ebp)               
  119f5b:	e8 74 80 ff ff       	call   111fd4 <_Objects_Get_information_id>
  119f60:	89 c7                	mov    %eax,%edi                      
  if ( !information )                                                 
  119f62:	83 c4 10             	add    $0x10,%esp                     
  119f65:	85 c0                	test   %eax,%eax                      
  119f67:	8b 55 cc             	mov    -0x34(%ebp),%edx               
  119f6a:	74 ca                	je     119f36 <_Objects_Get_name_as_string+0x16>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  119f6c:	51                   	push   %ecx                           
  119f6d:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  119f70:	50                   	push   %eax                           
  119f71:	52                   	push   %edx                           
  119f72:	57                   	push   %edi                           
  119f73:	e8 1c 81 ff ff       	call   112094 <_Objects_Get>          
  switch ( location ) {                                               
  119f78:	83 c4 10             	add    $0x10,%esp                     
  119f7b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  119f7e:	85 d2                	test   %edx,%edx                      
  119f80:	75 b4                	jne    119f36 <_Objects_Get_name_as_string+0x16>
      return NULL;                                                    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)             
        if ( information->is_string ) {                               
  119f82:	80 7f 38 00          	cmpb   $0x0,0x38(%edi)                
  119f86:	74 4e                	je     119fd6 <_Objects_Get_name_as_string+0xb6>
          s = the_object->name.name_p;                                
  119f88:	8b 78 0c             	mov    0xc(%eax),%edi                 
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
  119f8b:	85 ff                	test   %edi,%edi                      
  119f8d:	74 6e                	je     119ffd <_Objects_Get_name_as_string+0xdd>
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  119f8f:	4e                   	dec    %esi                           
  119f90:	89 75 d4             	mov    %esi,-0x2c(%ebp)               
  119f93:	74 68                	je     119ffd <_Objects_Get_name_as_string+0xdd><== NEVER TAKEN
  119f95:	8a 07                	mov    (%edi),%al                     
  119f97:	84 c0                	test   %al,%al                        
  119f99:	74 62                	je     119ffd <_Objects_Get_name_as_string+0xdd>
  119f9b:	89 d9                	mov    %ebx,%ecx                      
  119f9d:	31 d2                	xor    %edx,%edx                      
  119f9f:	89 5d d0             	mov    %ebx,-0x30(%ebp)               
  119fa2:	eb 07                	jmp    119fab <_Objects_Get_name_as_string+0x8b>
  119fa4:	8a 04 17             	mov    (%edi,%edx,1),%al              
  119fa7:	84 c0                	test   %al,%al                        
  119fa9:	74 1b                	je     119fc6 <_Objects_Get_name_as_string+0xa6>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
  119fab:	0f b6 d8             	movzbl %al,%ebx                       
  119fae:	8b 35 98 49 13 00    	mov    0x134998,%esi                  
  119fb4:	f6 44 1e 01 97       	testb  $0x97,0x1(%esi,%ebx,1)         
  119fb9:	75 02                	jne    119fbd <_Objects_Get_name_as_string+0x9d>
  119fbb:	b0 2a                	mov    $0x2a,%al                      
  119fbd:	88 01                	mov    %al,(%ecx)                     
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  119fbf:	42                   	inc    %edx                           
  119fc0:	41                   	inc    %ecx                           
  119fc1:	3b 55 d4             	cmp    -0x2c(%ebp),%edx               
  119fc4:	72 de                	jb     119fa4 <_Objects_Get_name_as_string+0x84>
  119fc6:	8b 5d d0             	mov    -0x30(%ebp),%ebx               
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
  119fc9:	c6 01 00             	movb   $0x0,(%ecx)                    
                                                                      
      _Thread_Enable_dispatch();                                      
  119fcc:	e8 a7 89 ff ff       	call   112978 <_Thread_Enable_dispatch>
      return name;                                                    
  119fd1:	e9 62 ff ff ff       	jmp    119f38 <_Objects_Get_name_as_string+0x18>
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
  119fd6:	8b 40 0c             	mov    0xc(%eax),%eax                 
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
  119fd9:	89 c2                	mov    %eax,%edx                      
  119fdb:	c1 ea 18             	shr    $0x18,%edx                     
  119fde:	88 55 df             	mov    %dl,-0x21(%ebp)                
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
  119fe1:	89 c2                	mov    %eax,%edx                      
  119fe3:	c1 ea 10             	shr    $0x10,%edx                     
  119fe6:	88 55 e0             	mov    %dl,-0x20(%ebp)                
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
  119fe9:	89 c2                	mov    %eax,%edx                      
  119feb:	c1 ea 08             	shr    $0x8,%edx                      
  119fee:	88 55 e1             	mov    %dl,-0x1f(%ebp)                
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
  119ff1:	88 45 e2             	mov    %al,-0x1e(%ebp)                
        lname[ 4 ] = '\0';                                            
  119ff4:	c6 45 e3 00          	movb   $0x0,-0x1d(%ebp)               
  119ff8:	8d 7d df             	lea    -0x21(%ebp),%edi               
  119ffb:	eb 92                	jmp    119f8f <_Objects_Get_name_as_string+0x6f>
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
  119ffd:	89 d9                	mov    %ebx,%ecx                      
  119fff:	eb c8                	jmp    119fc9 <_Objects_Get_name_as_string+0xa9>
                                                                      

0011d5c4 <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
  11d5c4:	55                   	push   %ebp                           
  11d5c5:	89 e5                	mov    %esp,%ebp                      
  11d5c7:	57                   	push   %edi                           
  11d5c8:	56                   	push   %esi                           
  11d5c9:	53                   	push   %ebx                           
  11d5ca:	83 ec 0c             	sub    $0xc,%esp                      
  11d5cd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11d5d0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11d5d3:	8b 7d 10             	mov    0x10(%ebp),%edi                
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
  11d5d6:	85 db                	test   %ebx,%ebx                      
  11d5d8:	75 0a                	jne    11d5e4 <_Objects_Get_next+0x20>
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
  11d5da:	31 c0                	xor    %eax,%eax                      
}                                                                     
  11d5dc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11d5df:	5b                   	pop    %ebx                           
  11d5e0:	5e                   	pop    %esi                           
  11d5e1:	5f                   	pop    %edi                           
  11d5e2:	c9                   	leave                                 
  11d5e3:	c3                   	ret                                   
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
  11d5e4:	85 ff                	test   %edi,%edi                      
  11d5e6:	74 f2                	je     11d5da <_Objects_Get_next+0x16>
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
  11d5e8:	8b 45 14             	mov    0x14(%ebp),%eax                
  11d5eb:	85 c0                	test   %eax,%eax                      
  11d5ed:	74 eb                	je     11d5da <_Objects_Get_next+0x16>
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
  11d5ef:	66 85 f6             	test   %si,%si                        
  11d5f2:	75 04                	jne    11d5f8 <_Objects_Get_next+0x34>
        next_id = information->minimum_id;                            
  11d5f4:	8b 73 08             	mov    0x8(%ebx),%esi                 
  11d5f7:	90                   	nop                                   
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
  11d5f8:	66 39 73 10          	cmp    %si,0x10(%ebx)                 
  11d5fc:	72 22                	jb     11d620 <_Objects_Get_next+0x5c>
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
  11d5fe:	51                   	push   %ecx                           
  11d5ff:	57                   	push   %edi                           
  11d600:	56                   	push   %esi                           
  11d601:	53                   	push   %ebx                           
  11d602:	e8 8d 4a ff ff       	call   112094 <_Objects_Get>          
                                                                      
        next_id++;                                                    
  11d607:	46                   	inc    %esi                           
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
  11d608:	83 c4 10             	add    $0x10,%esp                     
  11d60b:	8b 17                	mov    (%edi),%edx                    
  11d60d:	85 d2                	test   %edx,%edx                      
  11d60f:	75 e7                	jne    11d5f8 <_Objects_Get_next+0x34>
                                                                      
    *next_id_p = next_id;                                             
  11d611:	8b 55 14             	mov    0x14(%ebp),%edx                
  11d614:	89 32                	mov    %esi,(%edx)                    
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
  11d616:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11d619:	5b                   	pop    %ebx                           
  11d61a:	5e                   	pop    %esi                           
  11d61b:	5f                   	pop    %edi                           
  11d61c:	c9                   	leave                                 
  11d61d:	c3                   	ret                                   
  11d61e:	66 90                	xchg   %ax,%ax                        
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
        {                                                             
            *location_p = OBJECTS_ERROR;                              
  11d620:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
  11d626:	8b 45 14             	mov    0x14(%ebp),%eax                
  11d629:	c7 00 ff ff ff ff    	movl   $0xffffffff,(%eax)             
  11d62f:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  11d631:	eb a9                	jmp    11d5dc <_Objects_Get_next+0x18>
                                                                      

0011b95c <_Objects_Get_no_protection>: Objects_Control *_Objects_Get_no_protection( Objects_Information *information, Objects_Id id, Objects_Locations *location ) {
  11b95c:	55                   	push   %ebp                           
  11b95d:	89 e5                	mov    %esp,%ebp                      
  11b95f:	53                   	push   %ebx                           
  11b960:	8b 55 08             	mov    0x8(%ebp),%edx                 
  11b963:	8b 5d 10             	mov    0x10(%ebp),%ebx                
                                                                      
  /*                                                                  
   * 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;                           
  11b966:	b8 01 00 00 00       	mov    $0x1,%eax                      
  11b96b:	2b 42 08             	sub    0x8(%edx),%eax                 
  11b96e:	03 45 0c             	add    0xc(%ebp),%eax                 
                                                                      
  if ( information->maximum >= index ) {                              
  11b971:	0f b7 4a 10          	movzwl 0x10(%edx),%ecx                
  11b975:	39 c8                	cmp    %ecx,%eax                      
  11b977:	77 13                	ja     11b98c <_Objects_Get_no_protection+0x30>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
  11b979:	8b 52 1c             	mov    0x1c(%edx),%edx                
  11b97c:	8b 04 82             	mov    (%edx,%eax,4),%eax             
  11b97f:	85 c0                	test   %eax,%eax                      
  11b981:	74 09                	je     11b98c <_Objects_Get_no_protection+0x30><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
  11b983:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  return NULL;                                                        
}                                                                     
  11b989:	5b                   	pop    %ebx                           
  11b98a:	c9                   	leave                                 
  11b98b:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  11b98c:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
  11b992:	31 c0                	xor    %eax,%eax                      
  return NULL;                                                        
}                                                                     
  11b994:	5b                   	pop    %ebx                           
  11b995:	c9                   	leave                                 
  11b996:	c3                   	ret                                   
                                                                      

001120fc <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
  1120fc:	55                   	push   %ebp                           
  1120fd:	89 e5                	mov    %esp,%ebp                      
  1120ff:	83 ec 18             	sub    $0x18,%esp                     
  112102:	8b 55 08             	mov    0x8(%ebp),%edx                 
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  112105:	85 d2                	test   %edx,%edx                      
  112107:	75 08                	jne    112111 <_Objects_Id_to_name+0x15>
  112109:	a1 58 74 13 00       	mov    0x137458,%eax                  
  11210e:	8b 50 08             	mov    0x8(%eax),%edx                 
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  112111:	89 d0                	mov    %edx,%eax                      
  112113:	c1 e8 18             	shr    $0x18,%eax                     
  112116:	83 e0 07             	and    $0x7,%eax                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
  112119:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  11211c:	83 f9 03             	cmp    $0x3,%ecx                      
  11211f:	77 1d                	ja     11213e <_Objects_Id_to_name+0x42>
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
  112121:	8b 04 85 6c 73 13 00 	mov    0x13736c(,%eax,4),%eax         
  112128:	85 c0                	test   %eax,%eax                      
  11212a:	74 12                	je     11213e <_Objects_Id_to_name+0x42>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
  11212c:	89 d1                	mov    %edx,%ecx                      
  11212e:	c1 e9 1b             	shr    $0x1b,%ecx                     
  112131:	8b 04 88             	mov    (%eax,%ecx,4),%eax             
  if ( !information )                                                 
  112134:	85 c0                	test   %eax,%eax                      
  112136:	74 06                	je     11213e <_Objects_Id_to_name+0x42><== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
  112138:	80 78 38 00          	cmpb   $0x0,0x38(%eax)                
  11213c:	74 0a                	je     112148 <_Objects_Id_to_name+0x4c><== ALWAYS TAKEN
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
  11213e:	b8 03 00 00 00       	mov    $0x3,%eax                      
}                                                                     
  112143:	c9                   	leave                                 
  112144:	c3                   	ret                                   
  112145:	8d 76 00             	lea    0x0(%esi),%esi                 
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  112148:	51                   	push   %ecx                           
  112149:	8d 4d f4             	lea    -0xc(%ebp),%ecx                
  11214c:	51                   	push   %ecx                           
  11214d:	52                   	push   %edx                           
  11214e:	50                   	push   %eax                           
  11214f:	e8 40 ff ff ff       	call   112094 <_Objects_Get>          
  if ( !the_object )                                                  
  112154:	83 c4 10             	add    $0x10,%esp                     
  112157:	85 c0                	test   %eax,%eax                      
  112159:	74 e3                	je     11213e <_Objects_Id_to_name+0x42>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  11215b:	8b 50 0c             	mov    0xc(%eax),%edx                 
  11215e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112161:	89 10                	mov    %edx,(%eax)                    
  _Thread_Enable_dispatch();                                          
  112163:	e8 10 08 00 00       	call   112978 <_Thread_Enable_dispatch>
  112168:	31 c0                	xor    %eax,%eax                      
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
  11216a:	c9                   	leave                                 
  11216b:	c3                   	ret                                   
                                                                      

0010d460 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
  10d460:	55                   	push   %ebp                           
  10d461:	89 e5                	mov    %esp,%ebp                      
  10d463:	57                   	push   %edi                           
  10d464:	56                   	push   %esi                           
  10d465:	53                   	push   %ebx                           
  10d466:	83 ec 0c             	sub    $0xc,%esp                      
  10d469:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d46c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10d46f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10d472:	8b 75 20             	mov    0x20(%ebp),%esi                
  10d475:	0f b7 7d 18          	movzwl 0x18(%ebp),%edi                
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  10d479:	89 10                	mov    %edx,(%eax)                    
  information->the_class          = the_class;                        
  10d47b:	66 89 58 04          	mov    %bx,0x4(%eax)                  
  information->size               = size;                             
  10d47f:	89 78 18             	mov    %edi,0x18(%eax)                
  information->local_table        = 0;                                
  10d482:	c7 40 1c 00 00 00 00 	movl   $0x0,0x1c(%eax)                
  information->inactive_per_block = 0;                                
  10d489:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  information->object_blocks      = 0;                                
  10d490:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  information->inactive           = 0;                                
  10d497:	66 c7 40 2c 00 00    	movw   $0x0,0x2c(%eax)                
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    information->is_string        = is_string;                        
  10d49d:	8b 7d 1c             	mov    0x1c(%ebp),%edi                
  10d4a0:	89 f9                	mov    %edi,%ecx                      
  10d4a2:	88 48 38             	mov    %cl,0x38(%eax)                 
                                                                      
  /*                                                                  
   *  Set the maximum value to 0. It will be updated when objects are 
   *  added to the inactive set from _Objects_Extend_information()    
   */                                                                 
  information->maximum = 0;                                           
  10d4a5:	66 c7 40 10 00 00    	movw   $0x0,0x10(%eax)                
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
  10d4ab:	8b 3c 95 cc 93 12 00 	mov    0x1293cc(,%edx,4),%edi         
  10d4b2:	89 04 9f             	mov    %eax,(%edi,%ebx,4)             
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  10d4b5:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10d4b8:	c1 ef 1f             	shr    $0x1f,%edi                     
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
  10d4bb:	89 f9                	mov    %edi,%ecx                      
  10d4bd:	88 48 12             	mov    %cl,0x12(%eax)                 
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
  10d4c0:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10d4c3:	81 e1 ff ff ff 7f    	and    $0x7fffffff,%ecx               
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
  10d4c9:	85 ff                	test   %edi,%edi                      
  10d4cb:	74 04                	je     10d4d1 <_Objects_Initialize_information+0x71>
  10d4cd:	85 c9                	test   %ecx,%ecx                      
  10d4cf:	74 6a                	je     10d53b <_Objects_Initialize_information+0xdb>
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
  10d4d1:	66 89 48 14          	mov    %cx,0x14(%eax)                 
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
  10d4d5:	c7 40 1c 44 90 12 00 	movl   $0x129044,0x1c(%eax)           
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
  information->minimum_id =                                           
  10d4dc:	c1 e2 18             	shl    $0x18,%edx                     
  10d4df:	81 ca 00 00 01 00    	or     $0x10000,%edx                  
  10d4e5:	c1 e3 1b             	shl    $0x1b,%ebx                     
  10d4e8:	09 da                	or     %ebx,%edx                      
  10d4ea:	31 db                	xor    %ebx,%ebx                      
  10d4ec:	85 c9                	test   %ecx,%ecx                      
  10d4ee:	0f 95 c3             	setne  %bl                            
  10d4f1:	09 da                	or     %ebx,%edx                      
  10d4f3:	89 50 08             	mov    %edx,0x8(%eax)                 
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
  10d4f6:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  10d4fc:	75 26                	jne    10d524 <_Objects_Initialize_information+0xc4>
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
  10d4fe:	66 89 70 3a          	mov    %si,0x3a(%eax)                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10d502:	8d 50 24             	lea    0x24(%eax),%edx                
  10d505:	89 50 20             	mov    %edx,0x20(%eax)                
  the_chain->permanent_null = NULL;                                   
  10d508:	c7 40 24 00 00 00 00 	movl   $0x0,0x24(%eax)                
  the_chain->last           = _Chain_Head(the_chain);                 
  10d50f:	8d 50 20             	lea    0x20(%eax),%edx                
  10d512:	89 50 28             	mov    %edx,0x28(%eax)                
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
  10d515:	85 c9                	test   %ecx,%ecx                      
  10d517:	75 13                	jne    10d52c <_Objects_Initialize_information+0xcc>
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10d519:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d51c:	5b                   	pop    %ebx                           
  10d51d:	5e                   	pop    %esi                           
  10d51e:	5f                   	pop    %edi                           
  10d51f:	c9                   	leave                                 
  10d520:	c3                   	ret                                   
  10d521:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
  10d524:	83 c6 04             	add    $0x4,%esi                      
  10d527:	83 e6 fc             	and    $0xfffffffc,%esi               
  10d52a:	eb d2                	jmp    10d4fe <_Objects_Initialize_information+0x9e>
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10d52c:	89 45 08             	mov    %eax,0x8(%ebp)                 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
  10d52f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d532:	5b                   	pop    %ebx                           
  10d533:	5e                   	pop    %esi                           
  10d534:	5f                   	pop    %edi                           
  10d535:	c9                   	leave                                 
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
  10d536:	e9 b1 fa ff ff       	jmp    10cfec <_Objects_Extend_information>
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
    _Internal_error_Occurred(                                         
  10d53b:	50                   	push   %eax                           
  10d53c:	6a 14                	push   $0x14                          
  10d53e:	6a 01                	push   $0x1                           
  10d540:	6a 00                	push   $0x0                           
  10d542:	e8 69 f9 ff ff       	call   10ceb0 <_Internal_error_Occurred>
                                                                      

00118a5c <_Objects_Name_to_id_string>: Objects_Name_or_id_lookup_errors _Objects_Name_to_id_string( Objects_Information *information, const char *name, Objects_Id *id ) {
  118a5c:	55                   	push   %ebp                           
  118a5d:	89 e5                	mov    %esp,%ebp                      
  118a5f:	57                   	push   %edi                           
  118a60:	56                   	push   %esi                           
  118a61:	53                   	push   %ebx                           
  118a62:	83 ec 1c             	sub    $0x1c,%esp                     
  118a65:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  uint32_t                   index;                                   
  uint32_t                   name_length;                             
                                                                      
  /* ASSERT: information->is_string == true */                        
                                                                      
  if ( !id )                                                          
  118a68:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  118a6b:	85 db                	test   %ebx,%ebx                      
  118a6d:	74 75                	je     118ae4 <_Objects_Name_to_id_string+0x88>
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( !name )                                                        
  118a6f:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  118a72:	85 c9                	test   %ecx,%ecx                      
  118a74:	74 4b                	je     118ac1 <_Objects_Name_to_id_string+0x65>
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
  118a76:	8b 47 10             	mov    0x10(%edi),%eax                
  118a79:	66 85 c0             	test   %ax,%ax                        
  118a7c:	74 43                	je     118ac1 <_Objects_Name_to_id_string+0x65>
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
  118a7e:	0f b7 c0             	movzwl %ax,%eax                       
  118a81:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  118a84:	8b 47 1c             	mov    0x1c(%edi),%eax                
  118a87:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  118a8c:	89 7d e0             	mov    %edi,-0x20(%ebp)               
  118a8f:	89 c7                	mov    %eax,%edi                      
  118a91:	8d 76 00             	lea    0x0(%esi),%esi                 
      the_object = information->local_table[ index ];                 
  118a94:	8b 34 9f             	mov    (%edi,%ebx,4),%esi             
      if ( !the_object )                                              
  118a97:	85 f6                	test   %esi,%esi                      
  118a99:	74 20                	je     118abb <_Objects_Name_to_id_string+0x5f>
        continue;                                                     
                                                                      
      if ( !the_object->name.name_p )                                 
  118a9b:	8b 46 0c             	mov    0xc(%esi),%eax                 
  118a9e:	85 c0                	test   %eax,%eax                      
  118aa0:	74 19                	je     118abb <_Objects_Name_to_id_string+0x5f>
        continue;                                                     
                                                                      
      if (!strncmp( name, the_object->name.name_p, information->name_length)) {
  118aa2:	52                   	push   %edx                           
  118aa3:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  118aa6:	0f b7 51 3a          	movzwl 0x3a(%ecx),%edx                
  118aaa:	52                   	push   %edx                           
  118aab:	50                   	push   %eax                           
  118aac:	ff 75 0c             	pushl  0xc(%ebp)                      
  118aaf:	e8 e8 3c 00 00       	call   11c79c <strncmp>               
  118ab4:	83 c4 10             	add    $0x10,%esp                     
  118ab7:	85 c0                	test   %eax,%eax                      
  118ab9:	74 15                	je     118ad0 <_Objects_Name_to_id_string+0x74>
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  if ( information->maximum != 0 ) {                                  
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
  118abb:	43                   	inc    %ebx                           
  118abc:	3b 5d e4             	cmp    -0x1c(%ebp),%ebx               
  118abf:	76 d3                	jbe    118a94 <_Objects_Name_to_id_string+0x38>
  118ac1:	b8 01 00 00 00       	mov    $0x1,%eax                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return OBJECTS_INVALID_NAME;                                        
}                                                                     
  118ac6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118ac9:	5b                   	pop    %ebx                           
  118aca:	5e                   	pop    %esi                           
  118acb:	5f                   	pop    %edi                           
  118acc:	c9                   	leave                                 
  118acd:	c3                   	ret                                   
  118ace:	66 90                	xchg   %ax,%ax                        
                                                                      
      if ( !the_object->name.name_p )                                 
        continue;                                                     
                                                                      
      if (!strncmp( name, the_object->name.name_p, information->name_length)) {
        *id = the_object->id;                                         
  118ad0:	8b 46 08             	mov    0x8(%esi),%eax                 
  118ad3:	8b 55 10             	mov    0x10(%ebp),%edx                
  118ad6:	89 02                	mov    %eax,(%edx)                    
  118ad8:	31 c0                	xor    %eax,%eax                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return OBJECTS_INVALID_NAME;                                        
}                                                                     
  118ada:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118add:	5b                   	pop    %ebx                           
  118ade:	5e                   	pop    %esi                           
  118adf:	5f                   	pop    %edi                           
  118ae0:	c9                   	leave                                 
  118ae1:	c3                   	ret                                   
  118ae2:	66 90                	xchg   %ax,%ax                        
  uint32_t                   index;                                   
  uint32_t                   name_length;                             
                                                                      
  /* ASSERT: information->is_string == true */                        
                                                                      
  if ( !id )                                                          
  118ae4:	b8 02 00 00 00       	mov    $0x2,%eax                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return OBJECTS_INVALID_NAME;                                        
}                                                                     
  118ae9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  118aec:	5b                   	pop    %ebx                           
  118aed:	5e                   	pop    %esi                           
  118aee:	5f                   	pop    %edi                           
  118aef:	c9                   	leave                                 
  118af0:	c3                   	ret                                   
                                                                      

0010d57c <_Objects_Name_to_id_u32>: Objects_Information *information, uint32_t name, uint32_t node, Objects_Id *id ) {
  10d57c:	55                   	push   %ebp                           
  10d57d:	89 e5                	mov    %esp,%ebp                      
  10d57f:	57                   	push   %edi                           
  10d580:	56                   	push   %esi                           
  10d581:	53                   	push   %ebx                           
  10d582:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d585:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10d588:	8b 55 10             	mov    0x10(%ebp),%edx                
  10d58b:	8b 7d 14             	mov    0x14(%ebp),%edi                
  Objects_Name               name_for_mp;                             
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
  10d58e:	85 ff                	test   %edi,%edi                      
  10d590:	74 56                	je     10d5e8 <_Objects_Name_to_id_u32+0x6c>
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( name == 0 )                                                    
  10d592:	85 c9                	test   %ecx,%ecx                      
  10d594:	74 08                	je     10d59e <_Objects_Name_to_id_u32+0x22>
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
  10d596:	8b 70 10             	mov    0x10(%eax),%esi                
  10d599:	66 85 f6             	test   %si,%si                        
  10d59c:	75 0a                	jne    10d5a8 <_Objects_Name_to_id_u32+0x2c>
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
  10d59e:	b8 01 00 00 00       	mov    $0x1,%eax                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
#endif                                                                
}                                                                     
  10d5a3:	5b                   	pop    %ebx                           
  10d5a4:	5e                   	pop    %esi                           
  10d5a5:	5f                   	pop    %edi                           
  10d5a6:	c9                   	leave                                 
  10d5a7:	c3                   	ret                                   
  if ( name == 0 )                                                    
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
  10d5a8:	85 d2                	test   %edx,%edx                      
  10d5aa:	75 20                	jne    10d5cc <_Objects_Name_to_id_u32+0x50>
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
  10d5ac:	0f b7 f6             	movzwl %si,%esi                       
  10d5af:	8b 58 1c             	mov    0x1c(%eax),%ebx                
  10d5b2:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10d5b7:	90                   	nop                                   
      the_object = information->local_table[ index ];                 
  10d5b8:	8b 14 83             	mov    (%ebx,%eax,4),%edx             
      if ( !the_object )                                              
  10d5bb:	85 d2                	test   %edx,%edx                      
  10d5bd:	74 05                	je     10d5c4 <_Objects_Name_to_id_u32+0x48>
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
  10d5bf:	39 4a 0c             	cmp    %ecx,0xc(%edx)                 
  10d5c2:	74 18                	je     10d5dc <_Objects_Name_to_id_u32+0x60>
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
  10d5c4:	40                   	inc    %eax                           
  10d5c5:	39 c6                	cmp    %eax,%esi                      
  10d5c7:	73 ef                	jae    10d5b8 <_Objects_Name_to_id_u32+0x3c>
  10d5c9:	eb d3                	jmp    10d59e <_Objects_Name_to_id_u32+0x22>
  10d5cb:	90                   	nop                                   
  if ( name == 0 )                                                    
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
  10d5cc:	81 fa ff ff ff 7f    	cmp    $0x7fffffff,%edx               
  10d5d2:	74 d8                	je     10d5ac <_Objects_Name_to_id_u32+0x30>
  10d5d4:	4a                   	dec    %edx                           
  10d5d5:	75 c7                	jne    10d59e <_Objects_Name_to_id_u32+0x22>
  10d5d7:	eb d3                	jmp    10d5ac <_Objects_Name_to_id_u32+0x30>
  10d5d9:	8d 76 00             	lea    0x0(%esi),%esi                 
      the_object = information->local_table[ index ];                 
      if ( !the_object )                                              
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
        *id = the_object->id;                                         
  10d5dc:	8b 42 08             	mov    0x8(%edx),%eax                 
  10d5df:	89 07                	mov    %eax,(%edi)                    
  10d5e1:	31 c0                	xor    %eax,%eax                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
#endif                                                                
}                                                                     
  10d5e3:	5b                   	pop    %ebx                           
  10d5e4:	5e                   	pop    %esi                           
  10d5e5:	5f                   	pop    %edi                           
  10d5e6:	c9                   	leave                                 
  10d5e7:	c3                   	ret                                   
  Objects_Name               name_for_mp;                             
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
  10d5e8:	b8 02 00 00 00       	mov    $0x2,%eax                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
#endif                                                                
}                                                                     
  10d5ed:	5b                   	pop    %ebx                           
  10d5ee:	5e                   	pop    %esi                           
  10d5ef:	5f                   	pop    %edi                           
  10d5f0:	c9                   	leave                                 
  10d5f1:	c3                   	ret                                   
                                                                      

0010dc24 <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
  10dc24:	55                   	push   %ebp                           
  10dc25:	89 e5                	mov    %esp,%ebp                      
  10dc27:	57                   	push   %edi                           
  10dc28:	56                   	push   %esi                           
  10dc29:	53                   	push   %ebx                           
  10dc2a:	83 ec 14             	sub    $0x14,%esp                     
  10dc2d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10dc30:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
  10dc33:	0f b7 47 3a          	movzwl 0x3a(%edi),%eax                
  10dc37:	50                   	push   %eax                           
  10dc38:	53                   	push   %ebx                           
  10dc39:	e8 7a 91 00 00       	call   116db8 <strnlen>               
  10dc3e:	89 c6                	mov    %eax,%esi                      
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
  10dc40:	83 c4 10             	add    $0x10,%esp                     
  10dc43:	80 7f 38 00          	cmpb   $0x0,0x38(%edi)                
  10dc47:	75 53                	jne    10dc9c <_Objects_Set_name+0x78>
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10dc49:	0f be 13             	movsbl (%ebx),%edx                    
  10dc4c:	c1 e2 18             	shl    $0x18,%edx                     
  10dc4f:	83 f8 01             	cmp    $0x1,%eax                      
  10dc52:	76 34                	jbe    10dc88 <_Objects_Set_name+0x64>
  10dc54:	0f be 43 01          	movsbl 0x1(%ebx),%eax                 
  10dc58:	c1 e0 10             	shl    $0x10,%eax                     
  10dc5b:	09 d0                	or     %edx,%eax                      
  10dc5d:	83 fe 02             	cmp    $0x2,%esi                      
  10dc60:	74 2d                	je     10dc8f <_Objects_Set_name+0x6b>
  10dc62:	0f be 53 02          	movsbl 0x2(%ebx),%edx                 
  10dc66:	c1 e2 08             	shl    $0x8,%edx                      
  10dc69:	09 c2                	or     %eax,%edx                      
  10dc6b:	83 fe 03             	cmp    $0x3,%esi                      
  10dc6e:	74 24                	je     10dc94 <_Objects_Set_name+0x70>
  10dc70:	0f be 43 03          	movsbl 0x3(%ebx),%eax                 
  10dc74:	09 c2                	or     %eax,%edx                      
  10dc76:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10dc79:	89 50 0c             	mov    %edx,0xc(%eax)                 
  10dc7c:	b0 01                	mov    $0x1,%al                       
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10dc7e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dc81:	5b                   	pop    %ebx                           
  10dc82:	5e                   	pop    %esi                           
  10dc83:	5f                   	pop    %edi                           
  10dc84:	c9                   	leave                                 
  10dc85:	c3                   	ret                                   
  10dc86:	66 90                	xchg   %ax,%ax                        
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
  10dc88:	89 d0                	mov    %edx,%eax                      
  10dc8a:	0d 00 00 20 00       	or     $0x200000,%eax                 
  10dc8f:	89 c2                	mov    %eax,%edx                      
  10dc91:	80 ce 20             	or     $0x20,%dh                      
  10dc94:	b8 20 00 00 00       	mov    $0x20,%eax                     
  10dc99:	eb d9                	jmp    10dc74 <_Objects_Set_name+0x50>
  10dc9b:	90                   	nop                                   
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
  10dc9c:	83 ec 0c             	sub    $0xc,%esp                      
  10dc9f:	8d 40 01             	lea    0x1(%eax),%eax                 
  10dca2:	50                   	push   %eax                           
  10dca3:	e8 68 18 00 00       	call   10f510 <_Workspace_Allocate>   
  10dca8:	89 c7                	mov    %eax,%edi                      
    if ( !d )                                                         
  10dcaa:	83 c4 10             	add    $0x10,%esp                     
  10dcad:	85 c0                	test   %eax,%eax                      
  10dcaf:	74 43                	je     10dcf4 <_Objects_Set_name+0xd0><== NEVER TAKEN
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
  10dcb1:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10dcb4:	8b 42 0c             	mov    0xc(%edx),%eax                 
  10dcb7:	85 c0                	test   %eax,%eax                      
  10dcb9:	74 16                	je     10dcd1 <_Objects_Set_name+0xad>
      _Workspace_Free( (void *)the_object->name.name_p );             
  10dcbb:	83 ec 0c             	sub    $0xc,%esp                      
  10dcbe:	50                   	push   %eax                           
  10dcbf:	e8 68 18 00 00       	call   10f52c <_Workspace_Free>       
      the_object->name.name_p = NULL;                                 
  10dcc4:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10dcc7:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
  10dcce:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
  10dcd1:	50                   	push   %eax                           
  10dcd2:	56                   	push   %esi                           
  10dcd3:	53                   	push   %ebx                           
  10dcd4:	57                   	push   %edi                           
  10dcd5:	e8 62 90 00 00       	call   116d3c <strncpy>               
    d[length] = '\0';                                                 
  10dcda:	c6 04 37 00          	movb   $0x0,(%edi,%esi,1)             
    the_object->name.name_p = d;                                      
  10dcde:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10dce1:	89 7a 0c             	mov    %edi,0xc(%edx)                 
  10dce4:	b0 01                	mov    $0x1,%al                       
  10dce6:	83 c4 10             	add    $0x10,%esp                     
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10dce9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dcec:	5b                   	pop    %ebx                           
  10dced:	5e                   	pop    %esi                           
  10dcee:	5f                   	pop    %edi                           
  10dcef:	c9                   	leave                                 
  10dcf0:	c3                   	ret                                   
  10dcf1:	8d 76 00             	lea    0x0(%esi),%esi                 
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
  10dcf4:	31 c0                	xor    %eax,%eax                      
  10dcf6:	eb 86                	jmp    10dc7e <_Objects_Set_name+0x5a><== NOT EXECUTED
                                                                      

0010d5f4 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
  10d5f4:	55                   	push   %ebp                           
  10d5f5:	89 e5                	mov    %esp,%ebp                      
  10d5f7:	57                   	push   %edi                           
  10d5f8:	56                   	push   %esi                           
  10d5f9:	53                   	push   %ebx                           
  10d5fa:	83 ec 1c             	sub    $0x1c,%esp                     
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  10d5fd:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d600:	0f b7 58 08          	movzwl 0x8(%eax),%ebx                 
  block_count = (information->maximum - index_base) /                 
  10d604:	0f b7 48 14          	movzwl 0x14(%eax),%ecx                
  10d608:	0f b7 40 10          	movzwl 0x10(%eax),%eax                
  10d60c:	29 d8                	sub    %ebx,%eax                      
  10d60e:	31 d2                	xor    %edx,%edx                      
  10d610:	f7 f1                	div    %ecx                           
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
  10d612:	85 c0                	test   %eax,%eax                      
  10d614:	74 21                	je     10d637 <_Objects_Shrink_information+0x43><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
  10d616:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d619:	8b 7a 30             	mov    0x30(%edx),%edi                
  10d61c:	3b 0f                	cmp    (%edi),%ecx                    
  10d61e:	74 1f                	je     10d63f <_Objects_Shrink_information+0x4b><== NEVER TAKEN
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
  10d620:	31 d2                	xor    %edx,%edx                      
  10d622:	eb 0e                	jmp    10d632 <_Objects_Shrink_information+0x3e>
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  10d624:	01 cb                	add    %ecx,%ebx                      
  10d626:	8d 34 95 00 00 00 00 	lea    0x0(,%edx,4),%esi              
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
  10d62d:	3b 0c 97             	cmp    (%edi,%edx,4),%ecx             
  10d630:	74 12                	je     10d644 <_Objects_Shrink_information+0x50>
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
  10d632:	42                   	inc    %edx                           
  10d633:	39 d0                	cmp    %edx,%eax                      
  10d635:	77 ed                	ja     10d624 <_Objects_Shrink_information+0x30>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
  10d637:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d63a:	5b                   	pop    %ebx                           
  10d63b:	5e                   	pop    %esi                           
  10d63c:	5f                   	pop    %edi                           
  10d63d:	c9                   	leave                                 
  10d63e:	c3                   	ret                                   
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
  10d63f:	31 f6                	xor    %esi,%esi                      
  10d641:	8d 76 00             	lea    0x0(%esi),%esi                 
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
  10d644:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d647:	8b 42 20             	mov    0x20(%edx),%eax                
  10d64a:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  10d64d:	eb 07                	jmp    10d656 <_Objects_Shrink_information+0x62>
  10d64f:	90                   	nop                                   
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
  10d650:	85 ff                	test   %edi,%edi                      
  10d652:	74 2c                	je     10d680 <_Objects_Shrink_information+0x8c>
  10d654:	89 f8                	mov    %edi,%eax                      
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
  10d656:	0f b7 50 08          	movzwl 0x8(%eax),%edx                 
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
  10d65a:	8b 38                	mov    (%eax),%edi                    
         if ((index >= index_base) &&                                 
  10d65c:	39 da                	cmp    %ebx,%edx                      
  10d65e:	72 f0                	jb     10d650 <_Objects_Shrink_information+0x5c>
             (index < (index_base + information->allocation_size))) { 
  10d660:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10d663:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx                
  10d667:	8d 0c 0b             	lea    (%ebx,%ecx,1),%ecx             
  10d66a:	39 ca                	cmp    %ecx,%edx                      
  10d66c:	73 e2                	jae    10d650 <_Objects_Shrink_information+0x5c>
           _Chain_Extract( &extract_me->Node );                       
  10d66e:	83 ec 0c             	sub    $0xc,%esp                      
  10d671:	50                   	push   %eax                           
  10d672:	e8 81 ef ff ff       	call   10c5f8 <_Chain_Extract>        
  10d677:	83 c4 10             	add    $0x10,%esp                     
         }                                                            
       }                                                              
       while ( the_object );                                          
  10d67a:	85 ff                	test   %edi,%edi                      
  10d67c:	75 d6                	jne    10d654 <_Objects_Shrink_information+0x60>
  10d67e:	66 90                	xchg   %ax,%ax                        
  10d680:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
  10d683:	83 ec 0c             	sub    $0xc,%esp                      
  10d686:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d689:	8b 42 34             	mov    0x34(%edx),%eax                
  10d68c:	ff 34 30             	pushl  (%eax,%esi,1)                  
  10d68f:	e8 94 17 00 00       	call   10ee28 <_Workspace_Free>       
      information->object_blocks[ block ] = NULL;                     
  10d694:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10d697:	8b 42 34             	mov    0x34(%edx),%eax                
  10d69a:	c7 04 30 00 00 00 00 	movl   $0x0,(%eax,%esi,1)             
      information->inactive_per_block[ block ] = 0;                   
  10d6a1:	8b 42 30             	mov    0x30(%edx),%eax                
  10d6a4:	c7 04 30 00 00 00 00 	movl   $0x0,(%eax,%esi,1)             
                                                                      
      information->inactive -= information->allocation_size;          
  10d6ab:	8b 42 14             	mov    0x14(%edx),%eax                
  10d6ae:	66 29 42 2c          	sub    %ax,0x2c(%edx)                 
                                                                      
      return;                                                         
  10d6b2:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
  10d6b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d6b8:	5b                   	pop    %ebx                           
  10d6b9:	5e                   	pop    %esi                           
  10d6ba:	5f                   	pop    %edi                           
  10d6bb:	c9                   	leave                                 
  10d6bc:	c3                   	ret                                   
                                                                      

0010dae8 <_POSIX_Absolute_timeout_to_ticks>: */ POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks( const struct timespec *abstime, Watchdog_Interval *ticks_out ) {
  10dae8:	55                   	push   %ebp                           
  10dae9:	89 e5                	mov    %esp,%ebp                      
  10daeb:	57                   	push   %edi                           
  10daec:	56                   	push   %esi                           
  10daed:	53                   	push   %ebx                           
  10daee:	83 ec 38             	sub    $0x38,%esp                     
  10daf1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10daf4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
                                                                      
                                                                      
  /*                                                                  
   *  Make sure there is always a value returned.                     
   */                                                                 
  *ticks_out = 0;                                                     
  10daf7:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
                                                                      
  /*                                                                  
   *  Is the absolute time even valid?                                
   */                                                                 
  if ( !_Timespec_Is_valid(abstime) )                                 
  10dafd:	53                   	push   %ebx                           
  10dafe:	e8 e1 3c 00 00       	call   1117e4 <_Timespec_Is_valid>    
  10db03:	83 c4 10             	add    $0x10,%esp                     
  10db06:	84 c0                	test   %al,%al                        
  10db08:	75 0a                	jne    10db14 <_POSIX_Absolute_timeout_to_ticks+0x2c>
  10db0a:	31 c0                	xor    %eax,%eax                      
  /*                                                                  
   *  This is the case we were expecting and it took this long to     
   *  get here.                                                       
   */                                                                 
  return POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE;                         
}                                                                     
  10db0c:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10db0f:	5b                   	pop    %ebx                           
  10db10:	5e                   	pop    %esi                           
  10db11:	5f                   	pop    %edi                           
  10db12:	c9                   	leave                                 
  10db13:	c3                   	ret                                   
    return POSIX_ABSOLUTE_TIMEOUT_INVALID;                            
                                                                      
  /*                                                                  
   *  Is the absolute time in the past?                               
   */                                                                 
  _TOD_Get( ¤t_time );                                          
  10db14:	83 ec 0c             	sub    $0xc,%esp                      
  10db17:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  10db1a:	57                   	push   %edi                           
  10db1b:	e8 c4 1d 00 00       	call   10f8e4 <_TOD_Get>              
                                                                      
  if ( _Timespec_Less_than( abstime, ¤t_time ) )                
  10db20:	5a                   	pop    %edx                           
  10db21:	59                   	pop    %ecx                           
  10db22:	57                   	push   %edi                           
  10db23:	53                   	push   %ebx                           
  10db24:	e8 e3 3c 00 00       	call   11180c <_Timespec_Less_than>   
  10db29:	83 c4 10             	add    $0x10,%esp                     
  10db2c:	84 c0                	test   %al,%al                        
  10db2e:	74 10                	je     10db40 <_POSIX_Absolute_timeout_to_ticks+0x58>
  10db30:	b8 01 00 00 00       	mov    $0x1,%eax                      
  /*                                                                  
   *  This is the case we were expecting and it took this long to     
   *  get here.                                                       
   */                                                                 
  return POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE;                         
}                                                                     
  10db35:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10db38:	5b                   	pop    %ebx                           
  10db39:	5e                   	pop    %esi                           
  10db3a:	5f                   	pop    %edi                           
  10db3b:	c9                   	leave                                 
  10db3c:	c3                   	ret                                   
  10db3d:	8d 76 00             	lea    0x0(%esi),%esi                 
    return POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST;                         
                                                                      
  /*                                                                  
   *  How long until the requested absolute time?                     
   */                                                                 
  _Timespec_Subtract( ¤t_time, abstime, &difference );          
  10db40:	50                   	push   %eax                           
  10db41:	8d 45 d8             	lea    -0x28(%ebp),%eax               
  10db44:	50                   	push   %eax                           
  10db45:	53                   	push   %ebx                           
  10db46:	57                   	push   %edi                           
  10db47:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10db4a:	e8 e1 3c 00 00       	call   111830 <_Timespec_Subtract>    
                                                                      
  /*                                                                  
   *  Internally the SuperCore uses ticks, so convert to them.        
   */                                                                 
  *ticks_out = _Timespec_To_ticks( &difference );                     
  10db4f:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10db52:	89 04 24             	mov    %eax,(%esp)                    
  10db55:	e8 12 3d 00 00       	call   11186c <_Timespec_To_ticks>    
  10db5a:	89 06                	mov    %eax,(%esi)                    
                                                                      
  /*                                                                  
   *  If the difference was 0, then the future is now.  It is so bright
   *  we better wear shades.                                          
   */                                                                 
  if ( !*ticks_out )                                                  
  10db5c:	83 c4 10             	add    $0x10,%esp                     
  10db5f:	83 f8 01             	cmp    $0x1,%eax                      
  10db62:	19 c0                	sbb    %eax,%eax                      
  10db64:	83 c0 03             	add    $0x3,%eax                      
  /*                                                                  
   *  This is the case we were expecting and it took this long to     
   *  get here.                                                       
   */                                                                 
  return POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE;                         
}                                                                     
  10db67:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10db6a:	5b                   	pop    %ebx                           
  10db6b:	5e                   	pop    %esi                           
  10db6c:	5f                   	pop    %edi                           
  10db6d:	c9                   	leave                                 
  10db6e:	c3                   	ret                                   
                                                                      

0010c6c8 <_POSIX_Condition_variables_Get>: POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( pthread_cond_t *cond, Objects_Locations *location ) {
  10c6c8:	55                   	push   %ebp                           
  10c6c9:	89 e5                	mov    %esp,%ebp                      
  10c6cb:	56                   	push   %esi                           
  10c6cc:	53                   	push   %ebx                           
  10c6cd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c6d0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  int status;                                                         
                                                                      
  if ( !cond ) {                                                      
  10c6d3:	85 db                	test   %ebx,%ebx                      
  10c6d5:	74 39                	je     10c710 <_POSIX_Condition_variables_Get+0x48>
    *location = OBJECTS_ERROR;                                        
    return (POSIX_Condition_variables_Control *) 0;                   
  }                                                                   
                                                                      
  if ( *cond == PTHREAD_COND_INITIALIZER ) {                          
  10c6d7:	8b 03                	mov    (%ebx),%eax                    
  10c6d9:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10c6dc:	74 1a                	je     10c6f8 <_POSIX_Condition_variables_Get+0x30>
  }                                                                   
                                                                      
  /*                                                                  
   *  Now call Objects_Get()                                          
   */                                                                 
  return (POSIX_Condition_variables_Control *)_Objects_Get(           
  10c6de:	52                   	push   %edx                           
  10c6df:	56                   	push   %esi                           
  10c6e0:	50                   	push   %eax                           
  10c6e1:	68 00 c4 12 00       	push   $0x12c400                      
  10c6e6:	e8 91 2b 00 00       	call   10f27c <_Objects_Get>          
  10c6eb:	83 c4 10             	add    $0x10,%esp                     
    &_POSIX_Condition_variables_Information,                          
    (Objects_Id) *cond,                                               
    location                                                          
  );                                                                  
}                                                                     
  10c6ee:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c6f1:	5b                   	pop    %ebx                           
  10c6f2:	5e                   	pop    %esi                           
  10c6f3:	c9                   	leave                                 
  10c6f4:	c3                   	ret                                   
  10c6f5:	8d 76 00             	lea    0x0(%esi),%esi                 
  if ( *cond == PTHREAD_COND_INITIALIZER ) {                          
    /*                                                                
     *  Do an "auto-create" here.                                     
     */                                                               
                                                                      
    status = pthread_cond_init( cond, 0 );                            
  10c6f8:	83 ec 08             	sub    $0x8,%esp                      
  10c6fb:	6a 00                	push   $0x0                           
  10c6fd:	53                   	push   %ebx                           
  10c6fe:	e8 19 00 00 00       	call   10c71c <pthread_cond_init>     
    if ( status ) {                                                   
  10c703:	83 c4 10             	add    $0x10,%esp                     
  10c706:	85 c0                	test   %eax,%eax                      
  10c708:	75 06                	jne    10c710 <_POSIX_Condition_variables_Get+0x48>
  10c70a:	8b 03                	mov    (%ebx),%eax                    
  10c70c:	eb d0                	jmp    10c6de <_POSIX_Condition_variables_Get+0x16>
  10c70e:	66 90                	xchg   %ax,%ax                        
      *location = OBJECTS_ERROR;                                      
  10c710:	c7 06 01 00 00 00    	movl   $0x1,(%esi)                    
  10c716:	31 c0                	xor    %eax,%eax                      
      return (POSIX_Condition_variables_Control *) 0;                 
  10c718:	eb d4                	jmp    10c6ee <_POSIX_Condition_variables_Get+0x26>
                                                                      

0010c7e4 <_POSIX_Condition_variables_Signal_support>: int _POSIX_Condition_variables_Signal_support( pthread_cond_t *cond, bool is_broadcast ) {
  10c7e4:	55                   	push   %ebp                           
  10c7e5:	89 e5                	mov    %esp,%ebp                      
  10c7e7:	57                   	push   %edi                           
  10c7e8:	56                   	push   %esi                           
  10c7e9:	53                   	push   %ebx                           
  10c7ea:	83 ec 24             	sub    $0x24,%esp                     
  10c7ed:	8a 5d 0c             	mov    0xc(%ebp),%bl                  
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  Thread_Control                             *the_thread;             
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  10c7f0:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c7f3:	50                   	push   %eax                           
  10c7f4:	ff 75 08             	pushl  0x8(%ebp)                      
  10c7f7:	e8 cc fe ff ff       	call   10c6c8 <_POSIX_Condition_variables_Get>
  10c7fc:	89 c7                	mov    %eax,%edi                      
  switch ( location ) {                                               
  10c7fe:	83 c4 10             	add    $0x10,%esp                     
  10c801:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c804:	85 c0                	test   %eax,%eax                      
  10c806:	74 10                	je     10c818 <_POSIX_Condition_variables_Signal_support+0x34>
  10c808:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c80d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c810:	5b                   	pop    %ebx                           
  10c811:	5e                   	pop    %esi                           
  10c812:	5f                   	pop    %edi                           
  10c813:	c9                   	leave                                 
  10c814:	c3                   	ret                                   
  10c815:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      do {                                                            
        the_thread = _Thread_queue_Dequeue( &the_cond->Wait_queue );  
  10c818:	8d 77 18             	lea    0x18(%edi),%esi                
  10c81b:	eb 0b                	jmp    10c828 <_POSIX_Condition_variables_Signal_support+0x44>
  10c81d:	8d 76 00             	lea    0x0(%esi),%esi                 
        if ( !the_thread )                                            
          the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;       
      } while ( is_broadcast && the_thread );                         
  10c820:	84 db                	test   %bl,%bl                        
  10c822:	74 20                	je     10c844 <_POSIX_Condition_variables_Signal_support+0x60>
  10c824:	85 c0                	test   %eax,%eax                      
  10c826:	74 1c                	je     10c844 <_POSIX_Condition_variables_Signal_support+0x60>
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      do {                                                            
        the_thread = _Thread_queue_Dequeue( &the_cond->Wait_queue );  
  10c828:	83 ec 0c             	sub    $0xc,%esp                      
  10c82b:	56                   	push   %esi                           
  10c82c:	e8 db 36 00 00       	call   10ff0c <_Thread_queue_Dequeue> 
        if ( !the_thread )                                            
  10c831:	83 c4 10             	add    $0x10,%esp                     
  10c834:	85 c0                	test   %eax,%eax                      
  10c836:	75 e8                	jne    10c820 <_POSIX_Condition_variables_Signal_support+0x3c>
          the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;       
  10c838:	c7 47 14 00 00 00 00 	movl   $0x0,0x14(%edi)                
      } while ( is_broadcast && the_thread );                         
  10c83f:	84 db                	test   %bl,%bl                        
  10c841:	75 e1                	jne    10c824 <_POSIX_Condition_variables_Signal_support+0x40>
  10c843:	90                   	nop                                   
                                                                      
      _Thread_Enable_dispatch();                                      
  10c844:	e8 a7 32 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c849:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c84b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c84e:	5b                   	pop    %ebx                           
  10c84f:	5e                   	pop    %esi                           
  10c850:	5f                   	pop    %edi                           
  10c851:	c9                   	leave                                 
  10c852:	c3                   	ret                                   
                                                                      

0010c8ac <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
  10c8ac:	55                   	push   %ebp                           
  10c8ad:	89 e5                	mov    %esp,%ebp                      
  10c8af:	57                   	push   %edi                           
  10c8b0:	56                   	push   %esi                           
  10c8b1:	53                   	push   %ebx                           
  10c8b2:	83 ec 34             	sub    $0x34,%esp                     
  10c8b5:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10c8b8:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c8bb:	8a 45 14             	mov    0x14(%ebp),%al                 
  10c8be:	88 45 d7             	mov    %al,-0x29(%ebp)                
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
  10c8c1:	8d 75 e4             	lea    -0x1c(%ebp),%esi               
  10c8c4:	56                   	push   %esi                           
  10c8c5:	53                   	push   %ebx                           
  10c8c6:	e8 b1 01 00 00       	call   10ca7c <_POSIX_Mutex_Get>      
  10c8cb:	83 c4 10             	add    $0x10,%esp                     
  10c8ce:	85 c0                	test   %eax,%eax                      
  10c8d0:	74 21                	je     10c8f3 <_POSIX_Condition_variables_Wait_support+0x47>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10c8d2:	a1 18 bf 12 00       	mov    0x12bf18,%eax                  
  10c8d7:	48                   	dec    %eax                           
  10c8d8:	a3 18 bf 12 00       	mov    %eax,0x12bf18                  
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  10c8dd:	83 ec 08             	sub    $0x8,%esp                      
  10c8e0:	56                   	push   %esi                           
  10c8e1:	57                   	push   %edi                           
  10c8e2:	e8 e1 fd ff ff       	call   10c6c8 <_POSIX_Condition_variables_Get>
  10c8e7:	89 c6                	mov    %eax,%esi                      
  switch ( location ) {                                               
  10c8e9:	83 c4 10             	add    $0x10,%esp                     
  10c8ec:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10c8ef:	85 d2                	test   %edx,%edx                      
  10c8f1:	74 11                	je     10c904 <_POSIX_Condition_variables_Wait_support+0x58>
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
      if ( mutex_status )                                             
  10c8f3:	be 16 00 00 00       	mov    $0x16,%esi                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c8f8:	89 f0                	mov    %esi,%eax                      
  10c8fa:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c8fd:	5b                   	pop    %ebx                           
  10c8fe:	5e                   	pop    %esi                           
  10c8ff:	5f                   	pop    %edi                           
  10c900:	c9                   	leave                                 
  10c901:	c3                   	ret                                   
  10c902:	66 90                	xchg   %ax,%ax                        
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
  10c904:	8b 40 14             	mov    0x14(%eax),%eax                
  10c907:	85 c0                	test   %eax,%eax                      
  10c909:	74 19                	je     10c924 <_POSIX_Condition_variables_Wait_support+0x78>
  10c90b:	3b 03                	cmp    (%ebx),%eax                    
  10c90d:	74 15                	je     10c924 <_POSIX_Condition_variables_Wait_support+0x78>
        _Thread_Enable_dispatch();                                    
  10c90f:	e8 dc 31 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c914:	be 16 00 00 00       	mov    $0x16,%esi                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c919:	89 f0                	mov    %esi,%eax                      
  10c91b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c91e:	5b                   	pop    %ebx                           
  10c91f:	5e                   	pop    %esi                           
  10c920:	5f                   	pop    %edi                           
  10c921:	c9                   	leave                                 
  10c922:	c3                   	ret                                   
  10c923:	90                   	nop                                   
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
  10c924:	83 ec 0c             	sub    $0xc,%esp                      
  10c927:	53                   	push   %ebx                           
  10c928:	e8 73 03 00 00       	call   10cca0 <pthread_mutex_unlock>  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
  10c92d:	83 c4 10             	add    $0x10,%esp                     
  10c930:	80 7d d7 00          	cmpb   $0x0,-0x29(%ebp)               
  10c934:	74 26                	je     10c95c <_POSIX_Condition_variables_Wait_support+0xb0>
        status = _Thread_Executing->Wait.return_code;                 
        if ( status && status != ETIMEDOUT )                          
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
  10c936:	e8 b5 31 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c93b:	be 74 00 00 00       	mov    $0x74,%esi                     
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
  10c940:	83 ec 0c             	sub    $0xc,%esp                      
  10c943:	53                   	push   %ebx                           
  10c944:	e8 cf 02 00 00       	call   10cc18 <pthread_mutex_lock>    
      if ( mutex_status )                                             
  10c949:	83 c4 10             	add    $0x10,%esp                     
  10c94c:	85 c0                	test   %eax,%eax                      
  10c94e:	75 a3                	jne    10c8f3 <_POSIX_Condition_variables_Wait_support+0x47>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c950:	89 f0                	mov    %esi,%eax                      
  10c952:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c955:	5b                   	pop    %ebx                           
  10c956:	5e                   	pop    %esi                           
  10c957:	5f                   	pop    %edi                           
  10c958:	c9                   	leave                                 
  10c959:	c3                   	ret                                   
  10c95a:	66 90                	xchg   %ax,%ax                        
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
  10c95c:	8b 03                	mov    (%ebx),%eax                    
  10c95e:	89 46 14             	mov    %eax,0x14(%esi)                
                                                                      
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;
  10c961:	c7 46 48 01 00 00 00 	movl   $0x1,0x48(%esi)                
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
  10c968:	a1 d8 bf 12 00       	mov    0x12bfd8,%eax                  
  10c96d:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
  10c974:	83 c6 18             	add    $0x18,%esi                     
  10c977:	89 70 44             	mov    %esi,0x44(%eax)                
        _Thread_Executing->Wait.id          = *cond;                  
  10c97a:	8b 17                	mov    (%edi),%edx                    
  10c97c:	89 50 20             	mov    %edx,0x20(%eax)                
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
  10c97f:	50                   	push   %eax                           
  10c980:	68 8c 03 11 00       	push   $0x11038c                      
  10c985:	ff 75 10             	pushl  0x10(%ebp)                     
  10c988:	56                   	push   %esi                           
  10c989:	e8 9a 36 00 00       	call   110028 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
  10c98e:	e8 5d 31 00 00       	call   10faf0 <_Thread_Enable_dispatch>
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
  10c993:	a1 d8 bf 12 00       	mov    0x12bfd8,%eax                  
  10c998:	8b 70 34             	mov    0x34(%eax),%esi                
        if ( status && status != ETIMEDOUT )                          
  10c99b:	83 c4 10             	add    $0x10,%esp                     
  10c99e:	85 f6                	test   %esi,%esi                      
  10c9a0:	74 9e                	je     10c940 <_POSIX_Condition_variables_Wait_support+0x94>
  10c9a2:	83 fe 74             	cmp    $0x74,%esi                     
  10c9a5:	0f 85 4d ff ff ff    	jne    10c8f8 <_POSIX_Condition_variables_Wait_support+0x4c><== NEVER TAKEN
  10c9ab:	eb 93                	jmp    10c940 <_POSIX_Condition_variables_Wait_support+0x94>
                                                                      

001143d8 <_POSIX_Keys_Run_destructors>: */ void _POSIX_Keys_Run_destructors( Thread_Control *thread ) {
  1143d8:	55                   	push   %ebp                           
  1143d9:	89 e5                	mov    %esp,%ebp                      
  1143db:	57                   	push   %edi                           
  1143dc:	56                   	push   %esi                           
  1143dd:	53                   	push   %ebx                           
  1143de:	83 ec 1c             	sub    $0x1c,%esp                     
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
  1143e1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1143e4:	8b 50 08             	mov    0x8(%eax),%edx                 
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  1143e7:	89 d0                	mov    %edx,%eax                      
  1143e9:	c1 e8 18             	shr    $0x18,%eax                     
  1143ec:	83 e0 07             	and    $0x7,%eax                      
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
  1143ef:	0f b7 d2             	movzwl %dx,%edx                       
  1143f2:	c1 e2 02             	shl    $0x2,%edx                      
  1143f5:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1143f8:	83 c0 04             	add    $0x4,%eax                      
  1143fb:	89 45 e0             	mov    %eax,-0x20(%ebp)               
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
  1143fe:	8b 1d b0 98 12 00    	mov    0x1298b0,%ebx                  
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
  114404:	66 85 db             	test   %bx,%bx                        
  114407:	75 0b                	jne    114414 <_POSIX_Keys_Run_destructors+0x3c>
          done = false;                                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
  114409:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11440c:	5b                   	pop    %ebx                           
  11440d:	5e                   	pop    %esi                           
  11440e:	5f                   	pop    %edi                           
  11440f:	c9                   	leave                                 
  114410:	c3                   	ret                                   
  114411:	8d 76 00             	lea    0x0(%esi),%esi                 
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
  114414:	be 01 00 00 00       	mov    $0x1,%esi                      
  114419:	b2 01                	mov    $0x1,%dl                       
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
  11441b:	0f b7 ce             	movzwl %si,%ecx                       
  11441e:	a1 bc 98 12 00       	mov    0x1298bc,%eax                  
  114423:	8b 04 88             	mov    (%eax,%ecx,4),%eax             
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
  114426:	85 c0                	test   %eax,%eax                      
  114428:	74 29                	je     114453 <_POSIX_Keys_Run_destructors+0x7b>
  11442a:	8b 48 10             	mov    0x10(%eax),%ecx                
  11442d:	85 c9                	test   %ecx,%ecx                      
  11442f:	74 22                	je     114453 <_POSIX_Keys_Run_destructors+0x7b>
        void *value = key->Values [ thread_api ][ thread_index ];     
  114431:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  114434:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  114437:	03 7c 88 04          	add    0x4(%eax,%ecx,4),%edi          
  11443b:	8b 0f                	mov    (%edi),%ecx                    
                                                                      
        if ( value != NULL ) {                                        
  11443d:	85 c9                	test   %ecx,%ecx                      
  11443f:	74 12                	je     114453 <_POSIX_Keys_Run_destructors+0x7b><== ALWAYS TAKEN
          key->Values [ thread_api ][ thread_index ] = NULL;          
  114441:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    <== NOT EXECUTED
          (*key->destructor)( value );                                
  114447:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  11444a:	51                   	push   %ecx                           <== NOT EXECUTED
  11444b:	ff 50 10             	call   *0x10(%eax)                    <== NOT EXECUTED
  11444e:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  114450:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
  114453:	46                   	inc    %esi                           
  114454:	66 39 f3             	cmp    %si,%bx                        
  114457:	73 c2                	jae    11441b <_POSIX_Keys_Run_destructors+0x43>
   *  number of iterations.  An infinite loop may happen if destructors set
   *  thread specific data.  This can be considered dubious.          
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
  114459:	84 d2                	test   %dl,%dl                        
  11445b:	74 a1                	je     1143fe <_POSIX_Keys_Run_destructors+0x26><== NEVER TAKEN
  11445d:	eb aa                	jmp    114409 <_POSIX_Keys_Run_destructors+0x31>
                                                                      

00117430 <_POSIX_Message_queue_Create_support>: const char *name_arg, int pshared, struct mq_attr *attr_ptr, POSIX_Message_queue_Control **message_queue ) {
  117430:	55                   	push   %ebp                           
  117431:	89 e5                	mov    %esp,%ebp                      
  117433:	57                   	push   %edi                           
  117434:	56                   	push   %esi                           
  117435:	53                   	push   %ebx                           
  117436:	83 ec 34             	sub    $0x34,%esp                     
  117439:	8b 75 10             	mov    0x10(%ebp),%esi                
  CORE_message_queue_Attributes *the_mq_attr;                         
  struct mq_attr                 attr;                                
  char                          *name;                                
  size_t                         n;                                   
                                                                      
  n = strnlen( name_arg, NAME_MAX );                                  
  11743c:	68 ff 00 00 00       	push   $0xff                          
  117441:	ff 75 08             	pushl  0x8(%ebp)                      
  117444:	e8 4b 54 00 00       	call   11c894 <strnlen>               
  117449:	89 c3                	mov    %eax,%ebx                      
  11744b:	a1 d8 23 13 00       	mov    0x1323d8,%eax                  
  117450:	40                   	inc    %eax                           
  117451:	a3 d8 23 13 00       	mov    %eax,0x1323d8                  
   *  There is no real basis for the default values.  They will work  
   *  but were not compared against any existing implementation for   
   *  compatibility.  See README.mqueue for an example program we     
   *  think will print out the defaults.  Report anything you find with it.
   */                                                                 
  if ( attr_ptr == NULL ) {                                           
  117456:	83 c4 10             	add    $0x10,%esp                     
  117459:	85 f6                	test   %esi,%esi                      
  11745b:	0f 84 c3 00 00 00    	je     117524 <_POSIX_Message_queue_Create_support+0xf4>
    attr.mq_maxmsg  = 10;                                             
    attr.mq_msgsize = 16;                                             
  } else {                                                            
    if ( attr_ptr->mq_maxmsg <= 0 ){                                  
  117461:	8b 4e 04             	mov    0x4(%esi),%ecx                 
  117464:	85 c9                	test   %ecx,%ecx                      
  117466:	0f 8e fc 00 00 00    	jle    117568 <_POSIX_Message_queue_Create_support+0x138>
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    }                                                                 
                                                                      
    if ( attr_ptr->mq_msgsize <= 0 ){                                 
  11746c:	8b 56 08             	mov    0x8(%esi),%edx                 
  11746f:	85 d2                	test   %edx,%edx                      
  117471:	0f 8e f1 00 00 00    	jle    117568 <_POSIX_Message_queue_Create_support+0x138>
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    }                                                                 
                                                                      
    attr = *attr_ptr;                                                 
  117477:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  11747a:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  11747f:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  117481:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  117484:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  117487:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  11748a:	89 45 d0             	mov    %eax,-0x30(%ebp)               
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE                                                  
  POSIX_Message_queue_Control *_POSIX_Message_queue_Allocate( void )  
{                                                                     
  return (POSIX_Message_queue_Control *)                              
  11748d:	83 ec 0c             	sub    $0xc,%esp                      
  117490:	68 a0 27 13 00       	push   $0x1327a0                      
  117495:	e8 06 b9 ff ff       	call   112da0 <_Objects_Allocate>     
  11749a:	89 c6                	mov    %eax,%esi                      
  }                                                                   
                                                                      
  the_mq = _POSIX_Message_queue_Allocate();                           
  if ( !the_mq ) {                                                    
  11749c:	83 c4 10             	add    $0x10,%esp                     
  11749f:	85 c0                	test   %eax,%eax                      
  1174a1:	0f 84 03 01 00 00    	je     1175aa <_POSIX_Message_queue_Create_support+0x17a>
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
                                                                      
  the_mq->process_shared  = pshared;                                  
  1174a7:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1174aa:	89 46 10             	mov    %eax,0x10(%esi)                
  the_mq->named = true;                                               
  1174ad:	c6 46 14 01          	movb   $0x1,0x14(%esi)                
  the_mq->open_count = 1;                                             
  1174b1:	c7 46 18 01 00 00 00 	movl   $0x1,0x18(%esi)                
  the_mq->linked = true;                                              
  1174b8:	c6 46 15 01          	movb   $0x1,0x15(%esi)                
                                                                      
  /*                                                                  
   * Make a copy of the user's string for name just in case it was    
   * dynamically constructed.                                         
   */                                                                 
  name = _Workspace_Allocate(n+1);                                    
  1174bc:	43                   	inc    %ebx                           
  1174bd:	83 ec 0c             	sub    $0xc,%esp                      
  1174c0:	53                   	push   %ebx                           
  1174c1:	e8 c2 d8 ff ff       	call   114d88 <_Workspace_Allocate>   
  1174c6:	89 c7                	mov    %eax,%edi                      
  if (!name) {                                                        
  1174c8:	83 c4 10             	add    $0x10,%esp                     
  1174cb:	85 c0                	test   %eax,%eax                      
  1174cd:	0f 84 ac 00 00 00    	je     11757f <_POSIX_Message_queue_Create_support+0x14f>
    _POSIX_Message_queue_Free( the_mq );                              
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  }                                                                   
  strncpy( name, name_arg, n+1 );                                     
  1174d3:	50                   	push   %eax                           
  1174d4:	53                   	push   %ebx                           
  1174d5:	ff 75 08             	pushl  0x8(%ebp)                      
  1174d8:	57                   	push   %edi                           
  1174d9:	e8 3a 53 00 00       	call   11c818 <strncpy>               
   *                                                                  
   *  Joel: Cite POSIX or OpenGroup on above statement so we can determine
   *        if it is a real requirement.                              
   */                                                                 
  the_mq_attr = &the_mq->Message_queue.Attributes;                    
  the_mq_attr->discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;      
  1174de:	c7 46 5c 00 00 00 00 	movl   $0x0,0x5c(%esi)                
                                                                      
  if ( !_CORE_message_queue_Initialize(                               
  1174e5:	ff 75 d0             	pushl  -0x30(%ebp)                    
  1174e8:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  1174eb:	8d 46 5c             	lea    0x5c(%esi),%eax                
  1174ee:	50                   	push   %eax                           
  1174ef:	8d 46 1c             	lea    0x1c(%esi),%eax                
  1174f2:	50                   	push   %eax                           
  1174f3:	e8 74 0f 00 00       	call   11846c <_CORE_message_queue_Initialize>
  1174f8:	83 c4 20             	add    $0x20,%esp                     
  1174fb:	84 c0                	test   %al,%al                        
  1174fd:	74 39                	je     117538 <_POSIX_Message_queue_Create_support+0x108>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  1174ff:	0f b7 56 08          	movzwl 0x8(%esi),%edx                 
  117503:	a1 bc 27 13 00       	mov    0x1327bc,%eax                  
  117508:	89 34 90             	mov    %esi,(%eax,%edx,4)             
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
  11750b:	89 7e 0c             	mov    %edi,0xc(%esi)                 
    &_POSIX_Message_queue_Information,                                
    &the_mq->Object,                                                  
    name                                                              
  );                                                                  
                                                                      
  *message_queue = the_mq;                                            
  11750e:	8b 45 14             	mov    0x14(%ebp),%eax                
  117511:	89 30                	mov    %esi,(%eax)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  117513:	e8 fc c5 ff ff       	call   113b14 <_Thread_Enable_dispatch>
  117518:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  11751a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11751d:	5b                   	pop    %ebx                           
  11751e:	5e                   	pop    %esi                           
  11751f:	5f                   	pop    %edi                           
  117520:	c9                   	leave                                 
  117521:	c3                   	ret                                   
  117522:	66 90                	xchg   %ax,%ax                        
   *  There is no real basis for the default values.  They will work  
   *  but were not compared against any existing implementation for   
   *  compatibility.  See README.mqueue for an example program we     
   *  think will print out the defaults.  Report anything you find with it.
   */                                                                 
  if ( attr_ptr == NULL ) {                                           
  117524:	c7 45 d4 0a 00 00 00 	movl   $0xa,-0x2c(%ebp)               
  11752b:	c7 45 d0 10 00 00 00 	movl   $0x10,-0x30(%ebp)              
  117532:	e9 56 ff ff ff       	jmp    11748d <_POSIX_Message_queue_Create_support+0x5d>
  117537:	90                   	nop                                   
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free (                 
  POSIX_Message_queue_Control *the_mq                                 
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information, &the_mq->Object );
  117538:	83 ec 08             	sub    $0x8,%esp                      
  11753b:	56                   	push   %esi                           
  11753c:	68 a0 27 13 00       	push   $0x1327a0                      
  117541:	e8 da bb ff ff       	call   113120 <_Objects_Free>         
           attr.mq_maxmsg,                                            
           attr.mq_msgsize                                            
      ) ) {                                                           
                                                                      
    _POSIX_Message_queue_Free( the_mq );                              
    _Workspace_Free(name);                                            
  117546:	89 3c 24             	mov    %edi,(%esp)                    
  117549:	e8 56 d8 ff ff       	call   114da4 <_Workspace_Free>       
    _Thread_Enable_dispatch();                                        
  11754e:	e8 c1 c5 ff ff       	call   113b14 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
  117553:	e8 18 3d 00 00       	call   11b270 <__errno>               
  117558:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  11755e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  117563:	83 c4 10             	add    $0x10,%esp                     
  117566:	eb b2                	jmp    11751a <_POSIX_Message_queue_Create_support+0xea>
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    }                                                                 
                                                                      
    if ( attr_ptr->mq_msgsize <= 0 ){                                 
      _Thread_Enable_dispatch();                                      
  117568:	e8 a7 c5 ff ff       	call   113b14 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  11756d:	e8 fe 3c 00 00       	call   11b270 <__errno>               
  117572:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  117578:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11757d:	eb 9b                	jmp    11751a <_POSIX_Message_queue_Create_support+0xea>
  11757f:	83 ec 08             	sub    $0x8,%esp                      
  117582:	56                   	push   %esi                           
  117583:	68 a0 27 13 00       	push   $0x1327a0                      
  117588:	e8 93 bb ff ff       	call   113120 <_Objects_Free>         
   * dynamically constructed.                                         
   */                                                                 
  name = _Workspace_Allocate(n+1);                                    
  if (!name) {                                                        
    _POSIX_Message_queue_Free( the_mq );                              
    _Thread_Enable_dispatch();                                        
  11758d:	e8 82 c5 ff ff       	call   113b14 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
  117592:	e8 d9 3c 00 00       	call   11b270 <__errno>               
  117597:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)                    
  11759d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1175a2:	83 c4 10             	add    $0x10,%esp                     
  1175a5:	e9 70 ff ff ff       	jmp    11751a <_POSIX_Message_queue_Create_support+0xea>
    attr = *attr_ptr;                                                 
  }                                                                   
                                                                      
  the_mq = _POSIX_Message_queue_Allocate();                           
  if ( !the_mq ) {                                                    
    _Thread_Enable_dispatch();                                        
  1175aa:	e8 65 c5 ff ff       	call   113b14 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  1175af:	e8 bc 3c 00 00       	call   11b270 <__errno>               
  1175b4:	c7 00 17 00 00 00    	movl   $0x17,(%eax)                   
  1175ba:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1175bf:	e9 56 ff ff ff       	jmp    11751a <_POSIX_Message_queue_Create_support+0xea>
                                                                      

001175c4 <_POSIX_Message_queue_Name_to_id>: */ int _POSIX_Message_queue_Name_to_id( const char *name, Objects_Id *id ) {
  1175c4:	55                   	push   %ebp                           
  1175c5:	89 e5                	mov    %esp,%ebp                      
  1175c7:	53                   	push   %ebx                           
  1175c8:	83 ec 14             	sub    $0x14,%esp                     
  1175cb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Id                        the_id;                           
                                                                      
   if ( !name )                                                       
  1175ce:	85 db                	test   %ebx,%ebx                      
  1175d0:	74 05                	je     1175d7 <_POSIX_Message_queue_Name_to_id+0x13>
     return EINVAL;                                                   
                                                                      
  if ( !name[0] )                                                     
  1175d2:	80 3b 00             	cmpb   $0x0,(%ebx)                    
  1175d5:	75 0d                	jne    1175e4 <_POSIX_Message_queue_Name_to_id+0x20>
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
  1175d7:	b8 16 00 00 00       	mov    $0x16,%eax                     
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
  1175dc:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1175df:	c9                   	leave                                 
  1175e0:	c3                   	ret                                   
  1175e1:	8d 76 00             	lea    0x0(%esi),%esi                 
     return EINVAL;                                                   
                                                                      
  if ( !name[0] )                                                     
    return EINVAL;                                                    
                                                                      
  if ( strnlen( name, NAME_MAX ) >= NAME_MAX )                        
  1175e4:	83 ec 08             	sub    $0x8,%esp                      
  1175e7:	68 ff 00 00 00       	push   $0xff                          
  1175ec:	53                   	push   %ebx                           
  1175ed:	e8 a2 52 00 00       	call   11c894 <strnlen>               
  1175f2:	83 c4 10             	add    $0x10,%esp                     
  1175f5:	3d fe 00 00 00       	cmp    $0xfe,%eax                     
  1175fa:	76 0c                	jbe    117608 <_POSIX_Message_queue_Name_to_id+0x44>
  1175fc:	b8 5b 00 00 00       	mov    $0x5b,%eax                     
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
  117601:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117604:	c9                   	leave                                 
  117605:	c3                   	ret                                   
  117606:	66 90                	xchg   %ax,%ax                        
    return EINVAL;                                                    
                                                                      
  if ( strnlen( name, NAME_MAX ) >= NAME_MAX )                        
    return ENAMETOOLONG;                                              
                                                                      
  status = _Objects_Name_to_id_string(                                
  117608:	50                   	push   %eax                           
  117609:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11760c:	50                   	push   %eax                           
  11760d:	53                   	push   %ebx                           
  11760e:	68 a0 27 13 00       	push   $0x1327a0                      
  117613:	e8 44 14 00 00       	call   118a5c <_Objects_Name_to_id_string>
    &_POSIX_Message_queue_Information,                                
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
  117618:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  11761b:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11761e:	89 0a                	mov    %ecx,(%edx)                    
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
  117620:	83 c4 10             	add    $0x10,%esp                     
  117623:	83 f8 01             	cmp    $0x1,%eax                      
  117626:	19 c0                	sbb    %eax,%eax                      
  117628:	f7 d0                	not    %eax                           
  11762a:	83 e0 02             	and    $0x2,%eax                      
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
  11762d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117630:	c9                   	leave                                 
  117631:	c3                   	ret                                   
                                                                      

001102d0 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
  1102d0:	55                   	push   %ebp                           
  1102d1:	89 e5                	mov    %esp,%ebp                      
  1102d3:	56                   	push   %esi                           
  1102d4:	53                   	push   %ebx                           
  1102d5:	83 ec 24             	sub    $0x24,%esp                     
  1102d8:	8b 75 08             	mov    0x8(%ebp),%esi                 
  1102db:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  1102de:	8a 45 18             	mov    0x18(%ebp),%al                 
  1102e1:	88 45 e7             	mov    %al,-0x19(%ebp)                
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(             
  1102e4:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1102e7:	50                   	push   %eax                           
  1102e8:	56                   	push   %esi                           
  1102e9:	68 40 29 13 00       	push   $0x132940                      
  1102ee:	e8 5d 2f 00 00       	call   113250 <_Objects_Get>          
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
  1102f3:	83 c4 10             	add    $0x10,%esp                     
  1102f6:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1102f9:	85 d2                	test   %edx,%edx                      
  1102fb:	74 17                	je     110314 <_POSIX_Message_queue_Receive_support+0x44>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  1102fd:	e8 6e af 00 00       	call   11b270 <__errno>               
  110302:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  110308:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  11030d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110310:	5b                   	pop    %ebx                           
  110311:	5e                   	pop    %esi                           
  110312:	c9                   	leave                                 
  110313:	c3                   	ret                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
  110314:	8b 48 14             	mov    0x14(%eax),%ecx                
  110317:	89 ca                	mov    %ecx,%edx                      
  110319:	83 e2 03             	and    $0x3,%edx                      
  11031c:	4a                   	dec    %edx                           
  11031d:	0f 84 bb 00 00 00    	je     1103de <_POSIX_Message_queue_Receive_support+0x10e>
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
  110323:	8b 50 10             	mov    0x10(%eax),%edx                
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
  110326:	8b 45 10             	mov    0x10(%ebp),%eax                
  110329:	39 42 68             	cmp    %eax,0x68(%edx)                
  11032c:	77 6e                	ja     11039c <_POSIX_Message_queue_Receive_support+0xcc>
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  11032e:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  110332:	75 4c                	jne    110380 <_POSIX_Message_queue_Receive_support+0xb0><== ALWAYS TAKEN
  110334:	31 c0                	xor    %eax,%eax                      
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
  110336:	c7 45 f0 ff ff ff ff 	movl   $0xffffffff,-0x10(%ebp)        
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
  11033d:	83 ec 08             	sub    $0x8,%esp                      
  110340:	ff 75 1c             	pushl  0x1c(%ebp)                     
  110343:	50                   	push   %eax                           
  110344:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  110347:	50                   	push   %eax                           
  110348:	ff 75 0c             	pushl  0xc(%ebp)                      
  11034b:	56                   	push   %esi                           
  11034c:	83 c2 1c             	add    $0x1c,%edx                     
  11034f:	52                   	push   %edx                           
  110350:	e8 e7 1f 00 00       	call   11233c <_CORE_message_queue_Seize>
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  110355:	83 c4 20             	add    $0x20,%esp                     
  110358:	e8 b7 37 00 00       	call   113b14 <_Thread_Enable_dispatch>
      if (msg_prio) {                                                 
  11035d:	85 db                	test   %ebx,%ebx                      
  11035f:	74 33                	je     110394 <_POSIX_Message_queue_Receive_support+0xc4><== NEVER TAKEN
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
             _Thread_Executing->Wait.count                            
  110361:	a1 98 24 13 00       	mov    0x132498,%eax                  
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
  110366:	8b 50 24             	mov    0x24(%eax),%edx                
  110369:	89 13                	mov    %edx,(%ebx)                    
  11036b:	85 d2                	test   %edx,%edx                      
  11036d:	78 21                	js     110390 <_POSIX_Message_queue_Receive_support+0xc0>
             _Thread_Executing->Wait.count                            
          );                                                          
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
  11036f:	8b 40 34             	mov    0x34(%eax),%eax                
  110372:	85 c0                	test   %eax,%eax                      
  110374:	75 42                	jne    1103b8 <_POSIX_Message_queue_Receive_support+0xe8>
        return length_out;                                            
  110376:	8b 45 f0             	mov    -0x10(%ebp),%eax               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
  110379:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11037c:	5b                   	pop    %ebx                           
  11037d:	5e                   	pop    %esi                           
  11037e:	c9                   	leave                                 
  11037f:	c3                   	ret                                   
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  110380:	89 c8                	mov    %ecx,%eax                      
  110382:	c1 e8 0e             	shr    $0xe,%eax                      
  110385:	83 f0 01             	xor    $0x1,%eax                      
  110388:	83 e0 01             	and    $0x1,%eax                      
  11038b:	eb a9                	jmp    110336 <_POSIX_Message_queue_Receive_support+0x66>
  11038d:	8d 76 00             	lea    0x0(%esi),%esi                 
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
  110390:	f7 1b                	negl   (%ebx)                         
  110392:	eb db                	jmp    11036f <_POSIX_Message_queue_Receive_support+0x9f>
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
  110394:	a1 98 24 13 00       	mov    0x132498,%eax                  <== NOT EXECUTED
  110399:	eb d4                	jmp    11036f <_POSIX_Message_queue_Receive_support+0x9f><== NOT EXECUTED
  11039b:	90                   	nop                                   <== NOT EXECUTED
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
  11039c:	e8 73 37 00 00       	call   113b14 <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
  1103a1:	e8 ca ae 00 00       	call   11b270 <__errno>               
  1103a6:	c7 00 7a 00 00 00    	movl   $0x7a,(%eax)                   
  1103ac:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1103b1:	e9 57 ff ff ff       	jmp    11030d <_POSIX_Message_queue_Receive_support+0x3d>
  1103b6:	66 90                	xchg   %ax,%ax                        
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  1103b8:	e8 b3 ae 00 00       	call   11b270 <__errno>               
  1103bd:	89 c3                	mov    %eax,%ebx                      
  1103bf:	83 ec 0c             	sub    $0xc,%esp                      
  1103c2:	a1 98 24 13 00       	mov    0x132498,%eax                  
  1103c7:	ff 70 34             	pushl  0x34(%eax)                     
  1103ca:	e8 39 02 00 00       	call   110608 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
  1103cf:	89 03                	mov    %eax,(%ebx)                    
  1103d1:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1103d6:	83 c4 10             	add    $0x10,%esp                     
  1103d9:	e9 2f ff ff ff       	jmp    11030d <_POSIX_Message_queue_Receive_support+0x3d>
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
  1103de:	e8 31 37 00 00       	call   113b14 <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EBADF );                
  1103e3:	e8 88 ae 00 00       	call   11b270 <__errno>               
  1103e8:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  1103ee:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1103f3:	e9 15 ff ff ff       	jmp    11030d <_POSIX_Message_queue_Receive_support+0x3d>
                                                                      

00110418 <_POSIX_Message_queue_Send_support>: size_t msg_len, uint32_t msg_prio, bool wait, Watchdog_Interval timeout ) {
  110418:	55                   	push   %ebp                           
  110419:	89 e5                	mov    %esp,%ebp                      
  11041b:	57                   	push   %edi                           
  11041c:	56                   	push   %esi                           
  11041d:	53                   	push   %ebx                           
  11041e:	83 ec 2c             	sub    $0x2c,%esp                     
  110421:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110424:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  110427:	8a 55 18             	mov    0x18(%ebp),%dl                 
  /*                                                                  
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
  11042a:	83 fb 20             	cmp    $0x20,%ebx                     
  11042d:	0f 87 9d 00 00 00    	ja     1104d0 <_POSIX_Message_queue_Send_support+0xb8>
  110433:	51                   	push   %ecx                           
  110434:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  110437:	50                   	push   %eax                           
  110438:	56                   	push   %esi                           
  110439:	68 40 29 13 00       	push   $0x132940                      
  11043e:	88 55 d4             	mov    %dl,-0x2c(%ebp)                
  110441:	e8 0a 2e 00 00       	call   113250 <_Objects_Get>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
  110446:	83 c4 10             	add    $0x10,%esp                     
  110449:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  11044c:	85 d2                	test   %edx,%edx                      
  11044e:	8a 55 d4             	mov    -0x2c(%ebp),%dl                
  110451:	75 69                	jne    1104bc <_POSIX_Message_queue_Send_support+0xa4>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
  110453:	8b 48 14             	mov    0x14(%eax),%ecx                
  110456:	f6 c1 03             	test   $0x3,%cl                       
  110459:	0f 84 85 00 00 00    	je     1104e4 <_POSIX_Message_queue_Send_support+0xcc>
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
  11045f:	8b 78 10             	mov    0x10(%eax),%edi                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  110462:	84 d2                	test   %dl,%dl                        
  110464:	75 3a                	jne    1104a0 <_POSIX_Message_queue_Send_support+0x88>
  110466:	31 c0                	xor    %eax,%eax                      
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
  110468:	ff 75 1c             	pushl  0x1c(%ebp)                     
  11046b:	50                   	push   %eax                           
  11046c:	f7 db                	neg    %ebx                           
  11046e:	53                   	push   %ebx                           
  11046f:	6a 00                	push   $0x0                           
  110471:	56                   	push   %esi                           
  110472:	ff 75 10             	pushl  0x10(%ebp)                     
  110475:	ff 75 0c             	pushl  0xc(%ebp)                      
  110478:	8d 47 1c             	lea    0x1c(%edi),%eax                
  11047b:	50                   	push   %eax                           
  11047c:	e8 e7 1f 00 00       	call   112468 <_CORE_message_queue_Submit>
  110481:	89 c3                	mov    %eax,%ebx                      
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  110483:	83 c4 20             	add    $0x20,%esp                     
  110486:	e8 89 36 00 00       	call   113b14 <_Thread_Enable_dispatch>
       *  after it wakes up.  The returned status is correct for      
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
  11048b:	83 fb 07             	cmp    $0x7,%ebx                      
  11048e:	74 20                	je     1104b0 <_POSIX_Message_queue_Send_support+0x98>
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
  110490:	85 db                	test   %ebx,%ebx                      
  110492:	75 68                	jne    1104fc <_POSIX_Message_queue_Send_support+0xe4>
  110494:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
  110496:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110499:	5b                   	pop    %ebx                           
  11049a:	5e                   	pop    %esi                           
  11049b:	5f                   	pop    %edi                           
  11049c:	c9                   	leave                                 
  11049d:	c3                   	ret                                   
  11049e:	66 90                	xchg   %ax,%ax                        
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
  1104a0:	89 c8                	mov    %ecx,%eax                      
  1104a2:	c1 e8 0e             	shr    $0xe,%eax                      
  1104a5:	83 f0 01             	xor    $0x1,%eax                      
  1104a8:	83 e0 01             	and    $0x1,%eax                      
  1104ab:	eb bb                	jmp    110468 <_POSIX_Message_queue_Send_support+0x50>
  1104ad:	8d 76 00             	lea    0x0(%esi),%esi                 
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
        msg_status = _Thread_Executing->Wait.return_code;             
  1104b0:	a1 98 24 13 00       	mov    0x132498,%eax                  
  1104b5:	8b 58 34             	mov    0x34(%eax),%ebx                
  1104b8:	eb d6                	jmp    110490 <_POSIX_Message_queue_Send_support+0x78>
  1104ba:	66 90                	xchg   %ax,%ax                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  1104bc:	e8 af ad 00 00       	call   11b270 <__errno>               
  1104c1:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  1104c7:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1104cc:	eb c8                	jmp    110496 <_POSIX_Message_queue_Send_support+0x7e>
  1104ce:	66 90                	xchg   %ax,%ax                        
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1104d0:	e8 9b ad 00 00       	call   11b270 <__errno>               
  1104d5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1104db:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1104e0:	eb b4                	jmp    110496 <_POSIX_Message_queue_Send_support+0x7e>
  1104e2:	66 90                	xchg   %ax,%ax                        
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
        _Thread_Enable_dispatch();                                    
  1104e4:	e8 2b 36 00 00       	call   113b14 <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EBADF );                
  1104e9:	e8 82 ad 00 00       	call   11b270 <__errno>               
  1104ee:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  1104f4:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1104f9:	eb 9b                	jmp    110496 <_POSIX_Message_queue_Send_support+0x7e>
  1104fb:	90                   	nop                                   
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
        return msg_status;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  1104fc:	e8 6f ad 00 00       	call   11b270 <__errno>               
  110501:	89 c6                	mov    %eax,%esi                      
  110503:	83 ec 0c             	sub    $0xc,%esp                      
  110506:	53                   	push   %ebx                           
  110507:	e8 fc 00 00 00       	call   110608 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
  11050c:	89 06                	mov    %eax,(%esi)                    
  11050e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  110513:	83 c4 10             	add    $0x10,%esp                     
  110516:	e9 7b ff ff ff       	jmp    110496 <_POSIX_Message_queue_Send_support+0x7e>
                                                                      

0010d738 <_POSIX_Mutex_Get>: POSIX_Mutex_Control *_POSIX_Mutex_Get ( pthread_mutex_t *mutex, Objects_Locations *location ) {
  10d738:	55                   	push   %ebp                           
  10d739:	89 e5                	mov    %esp,%ebp                      
  10d73b:	56                   	push   %esi                           
  10d73c:	53                   	push   %ebx                           
  10d73d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d740:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ___POSIX_Mutex_Get_support_error_check( mutex, location );          
  10d743:	85 db                	test   %ebx,%ebx                      
  10d745:	74 39                	je     10d780 <_POSIX_Mutex_Get+0x48> 
                                                                      
  ___POSIX_Mutex_Get_support_auto_initialization( mutex, location );  
  10d747:	8b 03                	mov    (%ebx),%eax                    
  10d749:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10d74c:	74 1a                	je     10d768 <_POSIX_Mutex_Get+0x30> 
                                                                      
  return (POSIX_Mutex_Control *)                                      
  10d74e:	52                   	push   %edx                           
  10d74f:	56                   	push   %esi                           
  10d750:	50                   	push   %eax                           
  10d751:	68 a0 ea 12 00       	push   $0x12eaa0                      
  10d756:	e8 71 2b 00 00       	call   1102cc <_Objects_Get>          
  10d75b:	83 c4 10             	add    $0x10,%esp                     
    _Objects_Get( &_POSIX_Mutex_Information, (Objects_Id) *mutex, location );
}                                                                     
  10d75e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d761:	5b                   	pop    %ebx                           
  10d762:	5e                   	pop    %esi                           
  10d763:	c9                   	leave                                 
  10d764:	c3                   	ret                                   
  10d765:	8d 76 00             	lea    0x0(%esi),%esi                 
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  ___POSIX_Mutex_Get_support_error_check( mutex, location );          
                                                                      
  ___POSIX_Mutex_Get_support_auto_initialization( mutex, location );  
  10d768:	83 ec 08             	sub    $0x8,%esp                      
  10d76b:	6a 00                	push   $0x0                           
  10d76d:	53                   	push   %ebx                           
  10d76e:	e8 65 00 00 00       	call   10d7d8 <pthread_mutex_init>    
  10d773:	83 c4 10             	add    $0x10,%esp                     
  10d776:	85 c0                	test   %eax,%eax                      
  10d778:	75 06                	jne    10d780 <_POSIX_Mutex_Get+0x48> 
  10d77a:	8b 03                	mov    (%ebx),%eax                    
  10d77c:	eb d0                	jmp    10d74e <_POSIX_Mutex_Get+0x16> 
  10d77e:	66 90                	xchg   %ax,%ax                        
  10d780:	c7 06 01 00 00 00    	movl   $0x1,(%esi)                    
  10d786:	31 c0                	xor    %eax,%eax                      
  10d788:	eb d4                	jmp    10d75e <_POSIX_Mutex_Get+0x26> 
                                                                      

0010d6e4 <_POSIX_Mutex_Get_interrupt_disable>: POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable ( pthread_mutex_t *mutex, Objects_Locations *location, ISR_Level *level ) {
  10d6e4:	55                   	push   %ebp                           
  10d6e5:	89 e5                	mov    %esp,%ebp                      
  10d6e7:	56                   	push   %esi                           
  10d6e8:	53                   	push   %ebx                           
  10d6e9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d6ec:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ___POSIX_Mutex_Get_support_error_check( mutex, location );          
  10d6ef:	85 db                	test   %ebx,%ebx                      
  10d6f1:	74 39                	je     10d72c <_POSIX_Mutex_Get_interrupt_disable+0x48>
                                                                      
  ___POSIX_Mutex_Get_support_auto_initialization( mutex, location );  
  10d6f3:	8b 03                	mov    (%ebx),%eax                    
  10d6f5:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10d6f8:	74 1a                	je     10d714 <_POSIX_Mutex_Get_interrupt_disable+0x30>
                                                                      
  return (POSIX_Mutex_Control *) _Objects_Get_isr_disable(            
  10d6fa:	ff 75 10             	pushl  0x10(%ebp)                     
  10d6fd:	56                   	push   %esi                           
  10d6fe:	50                   	push   %eax                           
  10d6ff:	68 a0 ea 12 00       	push   $0x12eaa0                      
  10d704:	e8 6b 2b 00 00       	call   110274 <_Objects_Get_isr_disable>
  10d709:	83 c4 10             	add    $0x10,%esp                     
    &_POSIX_Mutex_Information,                                        
    (Objects_Id) *mutex,                                              
    location,                                                         
    level                                                             
  );                                                                  
}                                                                     
  10d70c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d70f:	5b                   	pop    %ebx                           
  10d710:	5e                   	pop    %esi                           
  10d711:	c9                   	leave                                 
  10d712:	c3                   	ret                                   
  10d713:	90                   	nop                                   
  ISR_Level         *level                                            
)                                                                     
{                                                                     
  ___POSIX_Mutex_Get_support_error_check( mutex, location );          
                                                                      
  ___POSIX_Mutex_Get_support_auto_initialization( mutex, location );  
  10d714:	83 ec 08             	sub    $0x8,%esp                      
  10d717:	6a 00                	push   $0x0                           
  10d719:	53                   	push   %ebx                           
  10d71a:	e8 b9 00 00 00       	call   10d7d8 <pthread_mutex_init>    
  10d71f:	83 c4 10             	add    $0x10,%esp                     
  10d722:	85 c0                	test   %eax,%eax                      
  10d724:	75 06                	jne    10d72c <_POSIX_Mutex_Get_interrupt_disable+0x48>
  10d726:	8b 03                	mov    (%ebx),%eax                    
  10d728:	eb d0                	jmp    10d6fa <_POSIX_Mutex_Get_interrupt_disable+0x16>
  10d72a:	66 90                	xchg   %ax,%ax                        
  10d72c:	c7 06 01 00 00 00    	movl   $0x1,(%esi)                    
  10d732:	31 c0                	xor    %eax,%eax                      
  10d734:	eb d6                	jmp    10d70c <_POSIX_Mutex_Get_interrupt_disable+0x28>
                                                                      

0010d934 <_POSIX_Mutex_Lock_support>: int _POSIX_Mutex_Lock_support( pthread_mutex_t *mutex, bool blocking, Watchdog_Interval timeout ) {
  10d934:	55                   	push   %ebp                           
  10d935:	89 e5                	mov    %esp,%ebp                      
  10d937:	53                   	push   %ebx                           
  10d938:	83 ec 18             	sub    $0x18,%esp                     
  10d93b:	8a 5d 0c             	mov    0xc(%ebp),%bl                  
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
  ISR_Level                     level;                                
                                                                      
  the_mutex = _POSIX_Mutex_Get_interrupt_disable( mutex, &location, &level );
  10d93e:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10d941:	50                   	push   %eax                           
  10d942:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10d945:	50                   	push   %eax                           
  10d946:	ff 75 08             	pushl  0x8(%ebp)                      
  10d949:	e8 96 fd ff ff       	call   10d6e4 <_POSIX_Mutex_Get_interrupt_disable>
  switch ( location ) {                                               
  10d94e:	83 c4 10             	add    $0x10,%esp                     
  10d951:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d954:	85 d2                	test   %edx,%edx                      
  10d956:	75 34                	jne    10d98c <_POSIX_Mutex_Lock_support+0x58>
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_mutex_Seize(                                              
  10d958:	83 ec 0c             	sub    $0xc,%esp                      
  10d95b:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10d95e:	ff 75 10             	pushl  0x10(%ebp)                     
  10d961:	0f b6 db             	movzbl %bl,%ebx                       
  10d964:	53                   	push   %ebx                           
  10d965:	ff 70 08             	pushl  0x8(%eax)                      
  10d968:	83 c0 14             	add    $0x14,%eax                     
  10d96b:	50                   	push   %eax                           
  10d96c:	e8 47 1d 00 00       	call   10f6b8 <_CORE_mutex_Seize>     
        the_mutex->Object.id,                                         
        blocking,                                                     
        timeout,                                                      
        level                                                         
      );                                                              
      return _POSIX_Mutex_Translate_core_mutex_return_code(           
  10d971:	83 c4 14             	add    $0x14,%esp                     
  10d974:	a1 58 e7 12 00       	mov    0x12e758,%eax                  
  10d979:	ff 70 34             	pushl  0x34(%eax)                     
  10d97c:	e8 f3 00 00 00       	call   10da74 <_POSIX_Mutex_Translate_core_mutex_return_code>
  10d981:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10d984:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d987:	c9                   	leave                                 
  10d988:	c3                   	ret                                   
  10d989:	8d 76 00             	lea    0x0(%esi),%esi                 
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
  ISR_Level                     level;                                
                                                                      
  the_mutex = _POSIX_Mutex_Get_interrupt_disable( mutex, &location, &level );
  switch ( location ) {                                               
  10d98c:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10d991:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d994:	c9                   	leave                                 
  10d995:	c3                   	ret                                   
                                                                      

001128b4 <_POSIX_Semaphore_Create_support>: const char *name, int pshared, unsigned int value, POSIX_Semaphore_Control **the_sem ) {
  1128b4:	55                   	push   %ebp                           
  1128b5:	89 e5                	mov    %esp,%ebp                      
  1128b7:	56                   	push   %esi                           
  1128b8:	53                   	push   %ebx                           
  1128b9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  POSIX_Semaphore_Control   *the_semaphore;                           
  CORE_semaphore_Attributes *the_sem_attr;                            
  char                      *name_p = (char *)name;                   
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0)                                                   
  1128bc:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1128bf:	85 d2                	test   %edx,%edx                      
  1128c1:	0f 85 b9 00 00 00    	jne    112980 <_POSIX_Semaphore_Create_support+0xcc>
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
                                                                      
  if ( name ) {                                                       
  1128c7:	85 db                	test   %ebx,%ebx                      
  1128c9:	74 1c                	je     1128e7 <_POSIX_Semaphore_Create_support+0x33>
    if ( strnlen( name, NAME_MAX ) >= NAME_MAX )                      
  1128cb:	83 ec 08             	sub    $0x8,%esp                      
  1128ce:	68 ff 00 00 00       	push   $0xff                          
  1128d3:	53                   	push   %ebx                           
  1128d4:	e8 8f 41 00 00       	call   116a68 <strnlen>               
  1128d9:	83 c4 10             	add    $0x10,%esp                     
  1128dc:	3d fe 00 00 00       	cmp    $0xfe,%eax                     
  1128e1:	0f 87 ad 00 00 00    	ja     112994 <_POSIX_Semaphore_Create_support+0xe0>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1128e7:	a1 38 94 12 00       	mov    0x129438,%eax                  
  1128ec:	40                   	inc    %eax                           
  1128ed:	a3 38 94 12 00       	mov    %eax,0x129438                  
 *  _POSIX_Semaphore_Allocate                                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
  1128f2:	83 ec 0c             	sub    $0xc,%esp                      
  1128f5:	68 80 97 12 00       	push   $0x129780                      
  1128fa:	e8 b1 b2 ff ff       	call   10dbb0 <_Objects_Allocate>     
  1128ff:	89 c6                	mov    %eax,%esi                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
                                                                      
  if ( !the_semaphore ) {                                             
  112901:	83 c4 10             	add    $0x10,%esp                     
  112904:	85 c0                	test   %eax,%eax                      
  112906:	0f 84 9a 00 00 00    	je     1129a6 <_POSIX_Semaphore_Create_support+0xf2>
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
  11290c:	c7 40 10 00 00 00 00 	movl   $0x0,0x10(%eax)                
                                                                      
  if ( name ) {                                                       
  112913:	85 db                	test   %ebx,%ebx                      
  112915:	74 55                	je     11296c <_POSIX_Semaphore_Create_support+0xb8>
    the_semaphore->named = true;                                      
  112917:	c6 40 14 01          	movb   $0x1,0x14(%eax)                
    the_semaphore->open_count = 1;                                    
  11291b:	c7 40 18 01 00 00 00 	movl   $0x1,0x18(%eax)                
    the_semaphore->linked = true;                                     
  112922:	c6 40 15 01          	movb   $0x1,0x15(%eax)                
   *  blocking tasks on this semaphore should be.  It could somehow   
   *  be derived from the current scheduling policy.  One             
   *  thing is certain, no matter what we decide, it won't be         
   *  the same as  all other POSIX implementations. :)                
   */                                                                 
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
  112926:	c7 46 60 00 00 00 00 	movl   $0x0,0x60(%esi)                
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
  11292d:	c7 46 5c ff ff ff ff 	movl   $0xffffffff,0x5c(%esi)         
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
  112934:	50                   	push   %eax                           
  112935:	ff 75 10             	pushl  0x10(%ebp)                     
  112938:	8d 46 5c             	lea    0x5c(%esi),%eax                
  11293b:	50                   	push   %eax                           
  11293c:	8d 46 1c             	lea    0x1c(%esi),%eax                
  11293f:	50                   	push   %eax                           
  112940:	e8 1f ad ff ff       	call   10d664 <_CORE_semaphore_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  112945:	0f b7 56 08          	movzwl 0x8(%esi),%edx                 
  112949:	a1 9c 97 12 00       	mov    0x12979c,%eax                  
  11294e:	89 34 90             	mov    %esi,(%eax,%edx,4)             
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
  112951:	89 5e 0c             	mov    %ebx,0xc(%esi)                 
    &_POSIX_Semaphore_Information,                                    
    &the_semaphore->Object,                                           
    name_p                                                            
  );                                                                  
                                                                      
  *the_sem = the_semaphore;                                           
  112954:	8b 45 14             	mov    0x14(%ebp),%eax                
  112957:	89 30                	mov    %esi,(%eax)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  112959:	e8 76 bf ff ff       	call   10e8d4 <_Thread_Enable_dispatch>
  11295e:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
  112960:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  112963:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112966:	5b                   	pop    %ebx                           
  112967:	5e                   	pop    %esi                           
  112968:	c9                   	leave                                 
  112969:	c3                   	ret                                   
  11296a:	66 90                	xchg   %ax,%ax                        
  if ( name ) {                                                       
    the_semaphore->named = true;                                      
    the_semaphore->open_count = 1;                                    
    the_semaphore->linked = true;                                     
  } else {                                                            
    the_semaphore->named = false;                                     
  11296c:	c6 40 14 00          	movb   $0x0,0x14(%eax)                
    the_semaphore->open_count = 0;                                    
  112970:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
    the_semaphore->linked = false;                                    
  112977:	c6 40 15 00          	movb   $0x0,0x15(%eax)                
  11297b:	eb a9                	jmp    112926 <_POSIX_Semaphore_Create_support+0x72>
  11297d:	8d 76 00             	lea    0x0(%esi),%esi                 
  CORE_semaphore_Attributes *the_sem_attr;                            
  char                      *name_p = (char *)name;                   
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0)                                                   
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  112980:	e8 bb 34 00 00       	call   115e40 <__errno>               
  112985:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  11298b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  112990:	eb d1                	jmp    112963 <_POSIX_Semaphore_Create_support+0xaf>
  112992:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( name ) {                                                       
    if ( strnlen( name, NAME_MAX ) >= NAME_MAX )                      
      rtems_set_errno_and_return_minus_one( ENAMETOOLONG );           
  112994:	e8 a7 34 00 00       	call   115e40 <__errno>               
  112999:	c7 00 5b 00 00 00    	movl   $0x5b,(%eax)                   
  11299f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1129a4:	eb bd                	jmp    112963 <_POSIX_Semaphore_Create_support+0xaf>
  _Thread_Disable_dispatch();                                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
                                                                      
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
  1129a6:	e8 29 bf ff ff       	call   10e8d4 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
  1129ab:	e8 90 34 00 00       	call   115e40 <__errno>               
  1129b0:	c7 00 1c 00 00 00    	movl   $0x1c,(%eax)                   
  1129b6:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1129bb:	eb a6                	jmp    112963 <_POSIX_Semaphore_Create_support+0xaf>
                                                                      

001156cc <_POSIX_Semaphore_Name_to_id>: int _POSIX_Semaphore_Name_to_id( const char *name, sem_t *id ) {
  1156cc:	55                   	push   %ebp                           
  1156cd:	89 e5                	mov    %esp,%ebp                      
  1156cf:	83 ec 18             	sub    $0x18,%esp                     
  1156d2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Id                        the_id;                           
                                                                      
   if ( !name )                                                       
  1156d5:	85 c0                	test   %eax,%eax                      
  1156d7:	74 05                	je     1156de <_POSIX_Semaphore_Name_to_id+0x12>
     return EINVAL;                                                   
                                                                      
  if ( !name[0] )                                                     
  1156d9:	80 38 00             	cmpb   $0x0,(%eax)                    
  1156dc:	75 0a                	jne    1156e8 <_POSIX_Semaphore_Name_to_id+0x1c>
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
  1156de:	b8 16 00 00 00       	mov    $0x16,%eax                     
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
  1156e3:	c9                   	leave                                 
  1156e4:	c3                   	ret                                   
  1156e5:	8d 76 00             	lea    0x0(%esi),%esi                 
     return EINVAL;                                                   
                                                                      
  if ( !name[0] )                                                     
    return EINVAL;                                                    
                                                                      
  status = _Objects_Name_to_id_string(                                
  1156e8:	52                   	push   %edx                           
  1156e9:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  1156ec:	52                   	push   %edx                           
  1156ed:	50                   	push   %eax                           
  1156ee:	68 00 f6 12 00       	push   $0x12f600                      
  1156f3:	e8 04 0f 00 00       	call   1165fc <_Objects_Name_to_id_string>
    &_POSIX_Semaphore_Information,                                    
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
  1156f8:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  1156fb:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  1156fe:	89 0a                	mov    %ecx,(%edx)                    
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
  115700:	83 c4 10             	add    $0x10,%esp                     
  115703:	83 f8 01             	cmp    $0x1,%eax                      
  115706:	19 c0                	sbb    %eax,%eax                      
  115708:	f7 d0                	not    %eax                           
  11570a:	83 e0 02             	and    $0x2,%eax                      
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
  11570d:	c9                   	leave                                 
  11570e:	c3                   	ret                                   
                                                                      

001129e8 <_POSIX_Semaphore_Wait_support>: int _POSIX_Semaphore_Wait_support( sem_t *sem, bool blocking, Watchdog_Interval timeout ) {
  1129e8:	55                   	push   %ebp                           
  1129e9:	89 e5                	mov    %esp,%ebp                      
  1129eb:	53                   	push   %ebx                           
  1129ec:	83 ec 18             	sub    $0x18,%esp                     
  1129ef:	8a 5d 0c             	mov    0xc(%ebp),%bl                  
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (  
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
  1129f2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1129f5:	50                   	push   %eax                           
  1129f6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1129f9:	ff 30                	pushl  (%eax)                         
  1129fb:	68 80 97 12 00       	push   $0x129780                      
  112a00:	e8 5b b6 ff ff       	call   10e060 <_Objects_Get>          
  POSIX_Semaphore_Control *the_semaphore;                             
  Objects_Locations        location;                                  
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
  112a05:	83 c4 10             	add    $0x10,%esp                     
  112a08:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  112a0b:	85 d2                	test   %edx,%edx                      
  112a0d:	74 15                	je     112a24 <_POSIX_Semaphore_Wait_support+0x3c>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  112a0f:	e8 2c 34 00 00       	call   115e40 <__errno>               
  112a14:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  112a1a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  112a1f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  112a22:	c9                   	leave                                 
  112a23:	c3                   	ret                                   
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_semaphore_Seize(                                          
  112a24:	ff 75 10             	pushl  0x10(%ebp)                     
  112a27:	0f b6 db             	movzbl %bl,%ebx                       
  112a2a:	53                   	push   %ebx                           
  112a2b:	ff 70 08             	pushl  0x8(%eax)                      
  112a2e:	83 c0 1c             	add    $0x1c,%eax                     
  112a31:	50                   	push   %eax                           
  112a32:	e8 9d 09 00 00       	call   1133d4 <_CORE_semaphore_Seize> 
        &the_semaphore->Semaphore,                                    
        the_semaphore->Object.id,                                     
        blocking,                                                     
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
  112a37:	e8 98 be ff ff       	call   10e8d4 <_Thread_Enable_dispatch>
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
  112a3c:	83 c4 10             	add    $0x10,%esp                     
  112a3f:	a1 f8 94 12 00       	mov    0x1294f8,%eax                  
  112a44:	8b 40 34             	mov    0x34(%eax),%eax                
  112a47:	85 c0                	test   %eax,%eax                      
  112a49:	75 09                	jne    112a54 <_POSIX_Semaphore_Wait_support+0x6c>
  112a4b:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  112a4d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  112a50:	c9                   	leave                                 
  112a51:	c3                   	ret                                   
  112a52:	66 90                	xchg   %ax,%ax                        
      _Thread_Enable_dispatch();                                      
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return 0;                                                     
                                                                      
      rtems_set_errno_and_return_minus_one(                           
  112a54:	e8 e7 33 00 00       	call   115e40 <__errno>               
  112a59:	89 c3                	mov    %eax,%ebx                      
  112a5b:	83 ec 0c             	sub    $0xc,%esp                      
  112a5e:	a1 f8 94 12 00       	mov    0x1294f8,%eax                  
  112a63:	ff 70 34             	pushl  0x34(%eax)                     
  112a66:	e8 d1 2e 00 00       	call   11593c <_POSIX_Semaphore_Translate_core_semaphore_return_code>
  112a6b:	89 03                	mov    %eax,(%ebx)                    
  112a6d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  112a72:	83 c4 10             	add    $0x10,%esp                     
  112a75:	eb a8                	jmp    112a1f <_POSIX_Semaphore_Wait_support+0x37>
                                                                      

0011178c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
  11178c:	55                   	push   %ebp                           
  11178d:	89 e5                	mov    %esp,%ebp                      
  11178f:	83 ec 08             	sub    $0x8,%esp                      
  111792:	8b 55 08             	mov    0x8(%ebp),%edx                 
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  111795:	8b 82 f8 00 00 00    	mov    0xf8(%edx),%eax                
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  11179b:	8b 88 d4 00 00 00    	mov    0xd4(%eax),%ecx                
  1117a1:	85 c9                	test   %ecx,%ecx                      
  1117a3:	75 09                	jne    1117ae <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x22><== NEVER TAKEN
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
  1117a5:	83 b8 d8 00 00 00 01 	cmpl   $0x1,0xd8(%eax)                
  1117ac:	74 06                	je     1117b4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x28>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
  1117ae:	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();                                        
  1117af:	e9 dc c8 ff ff       	jmp    10e090 <_Thread_Enable_dispatch>
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
       thread_support->cancelation_requested ) {                      
  1117b4:	8b 80 dc 00 00 00    	mov    0xdc(%eax),%eax                
  1117ba:	85 c0                	test   %eax,%eax                      
  1117bc:	74 f0                	je     1117ae <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x22>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  1117be:	a1 58 aa 12 00       	mov    0x12aa58,%eax                  
  1117c3:	48                   	dec    %eax                           
  1117c4:	a3 58 aa 12 00       	mov    %eax,0x12aa58                  
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  1117c9:	83 ec 08             	sub    $0x8,%esp                      
  1117cc:	6a ff                	push   $0xffffffff                    
  1117ce:	52                   	push   %edx                           
  1117cf:	e8 58 06 00 00       	call   111e2c <_POSIX_Thread_Exit>    
{                                                                     
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  1117d4:	83 c4 10             	add    $0x10,%esp                     
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
  1117d7:	c9                   	leave                                 
  1117d8:	c3                   	ret                                   
                                                                      

001149d4 <_POSIX_Thread_Exit>: void _POSIX_Thread_Exit( Thread_Control *the_thread, void *value_ptr ) {
  1149d4:	55                   	push   %ebp                           
  1149d5:	89 e5                	mov    %esp,%ebp                      
  1149d7:	57                   	push   %edi                           
  1149d8:	56                   	push   %esi                           
  1149d9:	53                   	push   %ebx                           
  1149da:	83 ec 28             	sub    $0x28,%esp                     
  1149dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1149e0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Objects_Information  *the_information;                              
  Thread_Control       *unblocked;                                    
  POSIX_API_Control    *api;                                          
                                                                      
  the_information = _Objects_Get_information_id( the_thread->Object.id );
  1149e3:	ff 73 08             	pushl  0x8(%ebx)                      
  1149e6:	e8 4d 89 ff ff       	call   10d338 <_Objects_Get_information_id>
  1149eb:	89 c7                	mov    %eax,%edi                      
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  1149ed:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
   *       are ready to be switched out.  Otherwise, an ISR could     
   *       occur and preempt us out while we still hold the           
   *       allocator mutex.                                           
   */                                                                 
                                                                      
  _RTEMS_Lock_allocator();                                            
  1149f3:	5a                   	pop    %edx                           
  1149f4:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  1149fa:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  1149fd:	e8 5a 7b ff ff       	call   10c55c <_API_Mutex_Lock>       
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  114a02:	8b 15 f8 93 12 00    	mov    0x1293f8,%edx                  
  114a08:	42                   	inc    %edx                           
  114a09:	89 15 f8 93 12 00    	mov    %edx,0x1293f8                  
    _Thread_Disable_dispatch();                                       
                                                                      
      the_thread->Wait.return_argument = value_ptr;                   
  114a0f:	89 73 28             	mov    %esi,0x28(%ebx)                
                                                                      
      /*                                                              
       * Process join                                                 
       */                                                             
      if ( api->detachstate == PTHREAD_CREATE_JOINABLE ) {            
  114a12:	83 c4 10             	add    $0x10,%esp                     
  114a15:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  114a18:	83 78 3c 01          	cmpl   $0x1,0x3c(%eax)                
  114a1c:	74 32                	je     114a50 <_POSIX_Thread_Exit+0x7c>
      }                                                               
                                                                      
      /*                                                              
       *  Now shut down the thread                                    
       */                                                             
      _Thread_Close( the_information, the_thread );                   
  114a1e:	83 ec 08             	sub    $0x8,%esp                      
  114a21:	53                   	push   %ebx                           
  114a22:	57                   	push   %edi                           
  114a23:	e8 30 8f ff ff       	call   10d958 <_Thread_Close>         
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
  114a28:	5a                   	pop    %edx                           
  114a29:	59                   	pop    %ecx                           
  114a2a:	53                   	push   %ebx                           
  114a2b:	68 c0 96 12 00       	push   $0x1296c0                      
  114a30:	e8 93 88 ff ff       	call   10d2c8 <_Objects_Free>         
                                                                      
      _POSIX_Threads_Free( the_thread );                              
                                                                      
    _RTEMS_Unlock_allocator();                                        
  114a35:	58                   	pop    %eax                           
  114a36:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  114a3c:	e8 63 7b ff ff       	call   10c5a4 <_API_Mutex_Unlock>     
  _Thread_Enable_dispatch();                                          
  114a41:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  114a44:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114a47:	5b                   	pop    %ebx                           
  114a48:	5e                   	pop    %esi                           
  114a49:	5f                   	pop    %edi                           
  114a4a:	c9                   	leave                                 
      _Thread_Close( the_information, the_thread );                   
                                                                      
      _POSIX_Threads_Free( the_thread );                              
                                                                      
    _RTEMS_Unlock_allocator();                                        
  _Thread_Enable_dispatch();                                          
  114a4b:	e9 1c 92 ff ff       	jmp    10dc6c <_Thread_Enable_dispatch>
                                                                      
      /*                                                              
       * Process join                                                 
       */                                                             
      if ( api->detachstate == PTHREAD_CREATE_JOINABLE ) {            
        unblocked = _Thread_queue_Dequeue( &api->Join_List );         
  114a50:	83 c0 40             	add    $0x40,%eax                     
  114a53:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  114a56:	83 ec 0c             	sub    $0xc,%esp                      
  114a59:	50                   	push   %eax                           
  114a5a:	e8 29 96 ff ff       	call   10e088 <_Thread_queue_Dequeue> 
        if ( unblocked ) {                                            
  114a5f:	83 c4 10             	add    $0x10,%esp                     
  114a62:	85 c0                	test   %eax,%eax                      
  114a64:	74 1e                	je     114a84 <_POSIX_Thread_Exit+0xb0>
  114a66:	66 90                	xchg   %ax,%ax                        
          do {                                                        
            *(void **)unblocked->Wait.return_argument = value_ptr;    
  114a68:	8b 40 28             	mov    0x28(%eax),%eax                
  114a6b:	89 30                	mov    %esi,(%eax)                    
          } while ( (unblocked = _Thread_queue_Dequeue( &api->Join_List )) );
  114a6d:	83 ec 0c             	sub    $0xc,%esp                      
  114a70:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  114a73:	e8 10 96 ff ff       	call   10e088 <_Thread_queue_Dequeue> 
  114a78:	83 c4 10             	add    $0x10,%esp                     
  114a7b:	85 c0                	test   %eax,%eax                      
  114a7d:	75 e9                	jne    114a68 <_POSIX_Thread_Exit+0x94>
  114a7f:	eb 9d                	jmp    114a1e <_POSIX_Thread_Exit+0x4a>
  114a81:	8d 76 00             	lea    0x0(%esi),%esi                 
        } else {                                                      
          _Thread_Set_state(                                          
  114a84:	83 ec 08             	sub    $0x8,%esp                      
  114a87:	68 04 10 00 00       	push   $0x1004                        
  114a8c:	53                   	push   %ebx                           
  114a8d:	e8 c6 9a ff ff       	call   10e558 <_Thread_Set_state>     
            the_thread,                                               
            STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_TRANSIENT        
          );                                                          
           _RTEMS_Unlock_allocator();                                 
  114a92:	58                   	pop    %eax                           
  114a93:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  114a99:	e8 06 7b ff ff       	call   10c5a4 <_API_Mutex_Unlock>     
          _Thread_Enable_dispatch();                                  
  114a9e:	e8 c9 91 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
          /* now waiting for thread to arrive */                      
          _RTEMS_Lock_allocator();                                    
  114aa3:	5e                   	pop    %esi                           
  114aa4:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  114aaa:	e8 ad 7a ff ff       	call   10c55c <_API_Mutex_Lock>       
  114aaf:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  114ab4:	40                   	inc    %eax                           
  114ab5:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  114aba:	83 c4 10             	add    $0x10,%esp                     
  114abd:	e9 5c ff ff ff       	jmp    114a1e <_POSIX_Thread_Exit+0x4a>
                                                                      

001128e8 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
  1128e8:	55                   	push   %ebp                           
  1128e9:	89 e5                	mov    %esp,%ebp                      
  1128eb:	57                   	push   %edi                           
  1128ec:	56                   	push   %esi                           
  1128ed:	53                   	push   %ebx                           
  1128ee:	83 ec 18             	sub    $0x18,%esp                     
  1128f1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1128f4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1128f7:	8b 7d 10             	mov    0x10(%ebp),%edi                
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
  1128fa:	ff 36                	pushl  (%esi)                         
  1128fc:	e8 cb ff ff ff       	call   1128cc <_POSIX_Priority_Is_valid>
  112901:	83 c4 10             	add    $0x10,%esp                     
  112904:	84 c0                	test   %al,%al                        
  112906:	74 2a                	je     112932 <_POSIX_Thread_Translate_sched_param+0x4a><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  112908:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  *budget_callout = NULL;                                             
  11290e:	8b 45 14             	mov    0x14(%ebp),%eax                
  112911:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
  112917:	85 db                	test   %ebx,%ebx                      
  112919:	74 25                	je     112940 <_POSIX_Thread_Translate_sched_param+0x58>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
  11291b:	83 fb 01             	cmp    $0x1,%ebx                      
  11291e:	0f 84 90 00 00 00    	je     1129b4 <_POSIX_Thread_Translate_sched_param+0xcc>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
  112924:	83 fb 02             	cmp    $0x2,%ebx                      
  112927:	0f 84 97 00 00 00    	je     1129c4 <_POSIX_Thread_Translate_sched_param+0xdc>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
  11292d:	83 fb 04             	cmp    $0x4,%ebx                      
  112930:	74 1e                	je     112950 <_POSIX_Thread_Translate_sched_param+0x68>
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  112932:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  112937:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11293a:	5b                   	pop    %ebx                           
  11293b:	5e                   	pop    %esi                           
  11293c:	5f                   	pop    %edi                           
  11293d:	c9                   	leave                                 
  11293e:	c3                   	ret                                   
  11293f:	90                   	nop                                   
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
  112940:	c7 07 01 00 00 00    	movl   $0x1,(%edi)                    
  112946:	31 c0                	xor    %eax,%eax                      
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  112948:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11294b:	5b                   	pop    %ebx                           
  11294c:	5e                   	pop    %esi                           
  11294d:	5f                   	pop    %edi                           
  11294e:	c9                   	leave                                 
  11294f:	c3                   	ret                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
  112950:	8b 5e 08             	mov    0x8(%esi),%ebx                 
  112953:	85 db                	test   %ebx,%ebx                      
  112955:	75 07                	jne    11295e <_POSIX_Thread_Translate_sched_param+0x76>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
  112957:	8b 4e 0c             	mov    0xc(%esi),%ecx                 
  11295a:	85 c9                	test   %ecx,%ecx                      
  11295c:	74 d4                	je     112932 <_POSIX_Thread_Translate_sched_param+0x4a>
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
  11295e:	8b 56 10             	mov    0x10(%esi),%edx                
  112961:	85 d2                	test   %edx,%edx                      
  112963:	75 07                	jne    11296c <_POSIX_Thread_Translate_sched_param+0x84>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
  112965:	8b 46 14             	mov    0x14(%esi),%eax                
  112968:	85 c0                	test   %eax,%eax                      
  11296a:	74 c6                	je     112932 <_POSIX_Thread_Translate_sched_param+0x4a>
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
  11296c:	83 ec 0c             	sub    $0xc,%esp                      
  11296f:	8d 46 08             	lea    0x8(%esi),%eax                 
  112972:	50                   	push   %eax                           
  112973:	e8 a8 d0 ff ff       	call   10fa20 <_Timespec_To_ticks>    
  112978:	89 c3                	mov    %eax,%ebx                      
  11297a:	8d 46 10             	lea    0x10(%esi),%eax                
  11297d:	89 04 24             	mov    %eax,(%esp)                    
  112980:	e8 9b d0 ff ff       	call   10fa20 <_Timespec_To_ticks>    
  112985:	83 c4 10             	add    $0x10,%esp                     
  112988:	39 c3                	cmp    %eax,%ebx                      
  11298a:	72 a6                	jb     112932 <_POSIX_Thread_Translate_sched_param+0x4a>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
  11298c:	83 ec 0c             	sub    $0xc,%esp                      
  11298f:	ff 76 04             	pushl  0x4(%esi)                      
  112992:	e8 35 ff ff ff       	call   1128cc <_POSIX_Priority_Is_valid>
  112997:	83 c4 10             	add    $0x10,%esp                     
  11299a:	84 c0                	test   %al,%al                        
  11299c:	74 94                	je     112932 <_POSIX_Thread_Translate_sched_param+0x4a>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
  11299e:	c7 07 03 00 00 00    	movl   $0x3,(%edi)                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
  1129a4:	8b 45 14             	mov    0x14(%ebp),%eax                
  1129a7:	c7 00 4c c3 10 00    	movl   $0x10c34c,(%eax)               
  1129ad:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  1129af:	eb 86                	jmp    112937 <_POSIX_Thread_Translate_sched_param+0x4f>
  1129b1:	8d 76 00             	lea    0x0(%esi),%esi                 
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
  1129b4:	c7 07 00 00 00 00    	movl   $0x0,(%edi)                    
  1129ba:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  1129bc:	e9 76 ff ff ff       	jmp    112937 <_POSIX_Thread_Translate_sched_param+0x4f>
  1129c1:	8d 76 00             	lea    0x0(%esi),%esi                 
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
  1129c4:	c7 07 02 00 00 00    	movl   $0x2,(%edi)                    
  1129ca:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  1129cc:	e9 66 ff ff ff       	jmp    112937 <_POSIX_Thread_Translate_sched_param+0x4f>
                                                                      

001117a0 <_POSIX_Threads_Create_extension>: bool _POSIX_Threads_Create_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *created ) {
  1117a0:	55                   	push   %ebp                           
  1117a1:	89 e5                	mov    %esp,%ebp                      
  1117a3:	57                   	push   %edi                           
  1117a4:	56                   	push   %esi                           
  1117a5:	53                   	push   %ebx                           
  1117a6:	83 ec 28             	sub    $0x28,%esp                     
  1117a9:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  POSIX_API_Control *api;                                             
  POSIX_API_Control *executing_api;                                   
                                                                      
  api = _Workspace_Allocate( sizeof( POSIX_API_Control ) );           
  1117ac:	68 ec 00 00 00       	push   $0xec                          
  1117b1:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1117b4:	e8 53 d6 ff ff       	call   10ee0c <_Workspace_Allocate>   
  1117b9:	89 c3                	mov    %eax,%ebx                      
                                                                      
  if ( !api )                                                         
  1117bb:	83 c4 10             	add    $0x10,%esp                     
  1117be:	85 c0                	test   %eax,%eax                      
  1117c0:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1117c3:	0f 84 2f 01 00 00    	je     1118f8 <_POSIX_Threads_Create_extension+0x158>
    return false;                                                     
                                                                      
  created->API_Extensions[ THREAD_API_POSIX ] = api;                  
  1117c9:	89 82 f8 00 00 00    	mov    %eax,0xf8(%edx)                
                                                                      
  /* XXX check all fields are touched */                              
  api->Attributes  = _POSIX_Threads_Default_attributes;               
  1117cf:	b9 3c 00 00 00       	mov    $0x3c,%ecx                     
  1117d4:	31 c0                	xor    %eax,%eax                      
  1117d6:	89 df                	mov    %ebx,%edi                      
  1117d8:	f3 aa                	rep stos %al,%es:(%edi)               
  1117da:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
  1117e0:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  1117e7:	c7 43 14 01 00 00 00 	movl   $0x1,0x14(%ebx)                
  1117ee:	c7 43 18 02 00 00 00 	movl   $0x2,0x18(%ebx)                
  1117f5:	c7 43 34 01 00 00 00 	movl   $0x1,0x34(%ebx)                
  1117fc:	c7 43 38 01 00 00 00 	movl   $0x1,0x38(%ebx)                
  api->detachstate = _POSIX_Threads_Default_attributes.detachstate;   
  111803:	c7 43 3c 01 00 00 00 	movl   $0x1,0x3c(%ebx)                
  api->schedpolicy = _POSIX_Threads_Default_attributes.schedpolicy;   
  11180a:	c7 83 80 00 00 00 01 	movl   $0x1,0x80(%ebx)                
  111811:	00 00 00                                                    
  api->schedparam  = _POSIX_Threads_Default_attributes.schedparam;    
  111814:	be d8 33 12 00       	mov    $0x1233d8,%esi                 
  111819:	8d bb 84 00 00 00    	lea    0x84(%ebx),%edi                
  11181f:	b1 07                	mov    $0x7,%cl                       
  111821:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  api->schedparam.sched_priority =                                    
  111823:	0f b6 05 14 52 12 00 	movzbl 0x125214,%eax                  
  11182a:	2b 42 14             	sub    0x14(%edx),%eax                
  11182d:	89 83 84 00 00 00    	mov    %eax,0x84(%ebx)                
     _POSIX_Priority_From_core( created->current_priority );          
                                                                      
  /*                                                                  
   *  POSIX 1003.1 1996, 18.2.2.2                                     
   */                                                                 
  api->cancelation_requested = 0;                                     
  111833:	c7 83 dc 00 00 00 00 	movl   $0x0,0xdc(%ebx)                
  11183a:	00 00 00                                                    
  api->cancelability_state = PTHREAD_CANCEL_ENABLE;                   
  11183d:	c7 83 d4 00 00 00 00 	movl   $0x0,0xd4(%ebx)                
  111844:	00 00 00                                                    
  api->cancelability_type = PTHREAD_CANCEL_DEFERRED;                  
  111847:	c7 83 d8 00 00 00 00 	movl   $0x0,0xd8(%ebx)                
  11184e:	00 00 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  111851:	8d 83 e4 00 00 00    	lea    0xe4(%ebx),%eax                
  111857:	89 83 e0 00 00 00    	mov    %eax,0xe0(%ebx)                
  the_chain->permanent_null = NULL;                                   
  11185d:	c7 83 e4 00 00 00 00 	movl   $0x0,0xe4(%ebx)                
  111864:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  111867:	8d 83 e0 00 00 00    	lea    0xe0(%ebx),%eax                
  11186d:	89 83 e8 00 00 00    	mov    %eax,0xe8(%ebx)                
   *                                                                  
   *  The check for class == 1 is debug.  Should never really happen. 
   */                                                                 
                                                                      
  /* XXX use signal constants */                                      
  api->signals_pending = 0;                                           
  111873:	c7 83 d0 00 00 00 00 	movl   $0x0,0xd0(%ebx)                
  11187a:	00 00 00                                                    
  if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API    
  11187d:	0f b6 42 0b          	movzbl 0xb(%edx),%eax                 
  111881:	83 e0 07             	and    $0x7,%eax                      
  111884:	83 f8 03             	cmp    $0x3,%eax                      
  111887:	74 53                	je     1118dc <_POSIX_Threads_Create_extension+0x13c>
       #endif                                                         
  ) {                                                                 
    executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
    api->signals_blocked = executing_api->signals_blocked;            
  } else {                                                            
    api->signals_blocked = 0xffffffff;                                
  111889:	c7 83 cc 00 00 00 ff 	movl   $0xffffffff,0xcc(%ebx)         
  111890:	ff ff ff                                                    
  }                                                                   
                                                                      
  _Thread_queue_Initialize(                                           
  111893:	6a 00                	push   $0x0                           
  111895:	68 00 10 00 10       	push   $0x10001000                    
  11189a:	6a 00                	push   $0x0                           
  11189c:	8d 43 40             	lea    0x40(%ebx),%eax                
  11189f:	50                   	push   %eax                           
  1118a0:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  1118a3:	e8 5c cb ff ff       	call   10e404 <_Thread_queue_Initialize>
    THREAD_QUEUE_DISCIPLINE_FIFO,                                     
    STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_INTERRUPTIBLE_BY_SIGNAL, 
    0                                                                 
  );                                                                  
                                                                      
  _Watchdog_Initialize(                                               
  1118a8:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  1118ab:	8b 42 08             	mov    0x8(%edx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1118ae:	c7 83 ac 00 00 00 00 	movl   $0x0,0xac(%ebx)                
  1118b5:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  1118b8:	c7 83 c0 00 00 00 48 	movl   $0x111948,0xc0(%ebx)           
  1118bf:	19 11 00                                                    
  the_watchdog->id        = id;                                       
  1118c2:	89 83 c4 00 00 00    	mov    %eax,0xc4(%ebx)                
  the_watchdog->user_data = user_data;                                
  1118c8:	89 93 c8 00 00 00    	mov    %edx,0xc8(%ebx)                
  1118ce:	b0 01                	mov    $0x1,%al                       
    _POSIX_Threads_Sporadic_budget_TSR,                               
    created->Object.id,                                               
    created                                                           
  );                                                                  
                                                                      
  return true;                                                        
  1118d0:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1118d3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1118d6:	5b                   	pop    %ebx                           
  1118d7:	5e                   	pop    %esi                           
  1118d8:	5f                   	pop    %edi                           
  1118d9:	c9                   	leave                                 
  1118da:	c3                   	ret                                   
  1118db:	90                   	nop                                   
       #if defined(RTEMS_DEBUG)                                       
         && _Objects_Get_class( created->Object.id ) == 1             
       #endif                                                         
  ) {                                                                 
    executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
    api->signals_blocked = executing_api->signals_blocked;            
  1118dc:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  1118e1:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  1118e7:	8b 80 cc 00 00 00    	mov    0xcc(%eax),%eax                
  1118ed:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
  1118f3:	eb 9e                	jmp    111893 <_POSIX_Threads_Create_extension+0xf3>
  1118f5:	8d 76 00             	lea    0x0(%esi),%esi                 
  POSIX_API_Control *api;                                             
  POSIX_API_Control *executing_api;                                   
                                                                      
  api = _Workspace_Allocate( sizeof( POSIX_API_Control ) );           
                                                                      
  if ( !api )                                                         
  1118f8:	31 c0                	xor    %eax,%eax                      
    created->Object.id,                                               
    created                                                           
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
  1118fa:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1118fd:	5b                   	pop    %ebx                           
  1118fe:	5e                   	pop    %esi                           
  1118ff:	5f                   	pop    %edi                           
  111900:	c9                   	leave                                 
  111901:	c3                   	ret                                   
                                                                      

00111718 <_POSIX_Threads_Delete_extension>: */ void _POSIX_Threads_Delete_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) {
  111718:	55                   	push   %ebp                           
  111719:	89 e5                	mov    %esp,%ebp                      
  11171b:	57                   	push   %edi                           
  11171c:	56                   	push   %esi                           
  11171d:	53                   	push   %ebx                           
  11171e:	83 ec 28             	sub    $0x28,%esp                     
  111721:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
  void              **value_ptr;                                      
                                                                      
  api = deleted->API_Extensions[ THREAD_API_POSIX ];                  
  111724:	8b 87 f8 00 00 00    	mov    0xf8(%edi),%eax                
  11172a:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
  /*                                                                  
   *  Run the POSIX cancellation handlers                             
   */                                                                 
  _POSIX_Threads_cancel_run( deleted );                               
  11172d:	57                   	push   %edi                           
  11172e:	e8 41 2c 00 00       	call   114374 <_POSIX_Threads_cancel_run>
                                                                      
  /*                                                                  
   *  Run all the key destructors                                     
   */                                                                 
  _POSIX_Keys_Run_destructors( deleted );                             
  111733:	89 3c 24             	mov    %edi,(%esp)                    
  111736:	e8 9d 2c 00 00       	call   1143d8 <_POSIX_Keys_Run_destructors>
                                                                      
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
  11173b:	8b 77 28             	mov    0x28(%edi),%esi                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
  11173e:	8b 5d e4             	mov    -0x1c(%ebp),%ebx               
  111741:	83 c3 40             	add    $0x40,%ebx                     
  111744:	83 c4 10             	add    $0x10,%esp                     
  111747:	eb 08                	jmp    111751 <_POSIX_Threads_Delete_extension+0x39>
  111749:	8d 76 00             	lea    0x0(%esi),%esi                 
      *(void **)the_thread->Wait.return_argument = value_ptr;         
  11174c:	8b 40 28             	mov    0x28(%eax),%eax                <== NOT EXECUTED
  11174f:	89 30                	mov    %esi,(%eax)                    <== NOT EXECUTED
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
  111751:	83 ec 0c             	sub    $0xc,%esp                      
  111754:	53                   	push   %ebx                           
  111755:	e8 2e c9 ff ff       	call   10e088 <_Thread_queue_Dequeue> 
  11175a:	83 c4 10             	add    $0x10,%esp                     
  11175d:	85 c0                	test   %eax,%eax                      
  11175f:	75 eb                	jne    11174c <_POSIX_Threads_Delete_extension+0x34><== NEVER TAKEN
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
  111761:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  111764:	83 b8 80 00 00 00 04 	cmpl   $0x4,0x80(%eax)                
  11176b:	74 1f                	je     11178c <_POSIX_Threads_Delete_extension+0x74>
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
  11176d:	c7 87 f8 00 00 00 00 	movl   $0x0,0xf8(%edi)                
  111774:	00 00 00                                                    
                                                                      
  (void) _Workspace_Free( api );                                      
  111777:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  11177a:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  11177d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111780:	5b                   	pop    %ebx                           
  111781:	5e                   	pop    %esi                           
  111782:	5f                   	pop    %edi                           
  111783:	c9                   	leave                                 
  if ( api->schedpolicy == SCHED_SPORADIC )                           
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
                                                                      
  (void) _Workspace_Free( api );                                      
  111784:	e9 9f d6 ff ff       	jmp    10ee28 <_Workspace_Free>       
  111789:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
  11178c:	83 ec 0c             	sub    $0xc,%esp                      
  11178f:	05 a4 00 00 00       	add    $0xa4,%eax                     
  111794:	50                   	push   %eax                           
  111795:	e8 6e d5 ff ff       	call   10ed08 <_Watchdog_Remove>      
  11179a:	83 c4 10             	add    $0x10,%esp                     
  11179d:	eb ce                	jmp    11176d <_POSIX_Threads_Delete_extension+0x55>
                                                                      

00111698 <_POSIX_Threads_Initialize_user_threads>: * * This routine creates and starts all configured user * initialzation threads. */ void _POSIX_Threads_Initialize_user_threads( void ) {
  111698:	55                   	push   %ebp                           
  111699:	89 e5                	mov    %esp,%ebp                      
  11169b:	83 ec 08             	sub    $0x8,%esp                      
  if ( _POSIX_Threads_Initialize_user_threads_p )                     
  11169e:	a1 98 76 12 00       	mov    0x127698,%eax                  
  1116a3:	85 c0                	test   %eax,%eax                      
  1116a5:	74 05                	je     1116ac <_POSIX_Threads_Initialize_user_threads+0x14>
    (*_POSIX_Threads_Initialize_user_threads_p)();                    
}                                                                     
  1116a7:	c9                   	leave                                 
 *  initialzation threads.                                            
 */                                                                   
void _POSIX_Threads_Initialize_user_threads( void )                   
{                                                                     
  if ( _POSIX_Threads_Initialize_user_threads_p )                     
    (*_POSIX_Threads_Initialize_user_threads_p)();                    
  1116a8:	ff e0                	jmp    *%eax                          
  1116aa:	66 90                	xchg   %ax,%ax                        
}                                                                     
  1116ac:	c9                   	leave                                 
  1116ad:	c3                   	ret                                   
                                                                      

0010c06c <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
  10c06c:	55                   	push   %ebp                           
  10c06d:	89 e5                	mov    %esp,%ebp                      
  10c06f:	57                   	push   %edi                           
  10c070:	56                   	push   %esi                           
  10c071:	53                   	push   %ebx                           
  10c072:	83 ec 5c             	sub    $0x5c,%esp                     
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
  10c075:	8b 3d 74 67 12 00    	mov    0x126774,%edi                  
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
  10c07b:	a1 70 67 12 00       	mov    0x126770,%eax                  
  10c080:	89 45 a4             	mov    %eax,-0x5c(%ebp)               
                                                                      
  if ( !user_threads || maximum == 0 )                                
  10c083:	85 ff                	test   %edi,%edi                      
  10c085:	74 44                	je     10c0cb <_POSIX_Threads_Initialize_user_threads_body+0x5f><== NEVER TAKEN
  10c087:	85 c0                	test   %eax,%eax                      
  10c089:	74 40                	je     10c0cb <_POSIX_Threads_Initialize_user_threads_body+0x5f><== NEVER TAKEN
  10c08b:	31 db                	xor    %ebx,%ebx                      
  10c08d:	8d 75 a8             	lea    -0x58(%ebp),%esi               
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
  10c090:	83 ec 0c             	sub    $0xc,%esp                      
  10c093:	56                   	push   %esi                           
  10c094:	e8 3b 69 00 00       	call   1129d4 <pthread_attr_init>     
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
  10c099:	5a                   	pop    %edx                           
  10c09a:	59                   	pop    %ecx                           
  10c09b:	6a 02                	push   $0x2                           
  10c09d:	56                   	push   %esi                           
  10c09e:	e8 59 69 00 00       	call   1129fc <pthread_attr_setinheritsched>
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
  10c0a3:	59                   	pop    %ecx                           
  10c0a4:	58                   	pop    %eax                           
  10c0a5:	ff 74 df 04          	pushl  0x4(%edi,%ebx,8)               
  10c0a9:	56                   	push   %esi                           
  10c0aa:	e8 81 69 00 00       	call   112a30 <pthread_attr_setstacksize>
                                                                      
    status = pthread_create(                                          
  10c0af:	6a 00                	push   $0x0                           
  10c0b1:	ff 34 df             	pushl  (%edi,%ebx,8)                  
  10c0b4:	56                   	push   %esi                           
  10c0b5:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c0b8:	50                   	push   %eax                           
  10c0b9:	e8 0e fc ff ff       	call   10bccc <pthread_create>        
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
  10c0be:	83 c4 20             	add    $0x20,%esp                     
  10c0c1:	85 c0                	test   %eax,%eax                      
  10c0c3:	75 0e                	jne    10c0d3 <_POSIX_Threads_Initialize_user_threads_body+0x67>
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
  10c0c5:	43                   	inc    %ebx                           
  10c0c6:	39 5d a4             	cmp    %ebx,-0x5c(%ebp)               
  10c0c9:	77 c5                	ja     10c090 <_POSIX_Threads_Initialize_user_threads_body+0x24><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
  10c0cb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c0ce:	5b                   	pop    %ebx                           
  10c0cf:	5e                   	pop    %esi                           
  10c0d0:	5f                   	pop    %edi                           
  10c0d1:	c9                   	leave                                 
  10c0d2:	c3                   	ret                                   
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  10c0d3:	52                   	push   %edx                           
  10c0d4:	50                   	push   %eax                           
  10c0d5:	6a 01                	push   $0x1                           
  10c0d7:	6a 02                	push   $0x2                           
  10c0d9:	e8 32 1e 00 00       	call   10df10 <_Internal_error_Occurred>
                                                                      

00111948 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
  111948:	55                   	push   %ebp                           
  111949:	89 e5                	mov    %esp,%ebp                      
  11194b:	56                   	push   %esi                           
  11194c:	53                   	push   %ebx                           
  11194d:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  111950:	8b 9e f8 00 00 00    	mov    0xf8(%esi),%ebx                
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
  111956:	83 ec 0c             	sub    $0xc,%esp                      
  111959:	8d 83 94 00 00 00    	lea    0x94(%ebx),%eax                
  11195f:	50                   	push   %eax                           
  111960:	e8 ef 10 00 00       	call   112a54 <_Timespec_To_ticks>    
                                                                      
  the_thread->cpu_time_budget = ticks;                                
  111965:	89 46 78             	mov    %eax,0x78(%esi)                
  111968:	0f b6 05 14 52 12 00 	movzbl 0x125214,%eax                  
  11196f:	2b 83 84 00 00 00    	sub    0x84(%ebx),%eax                
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
  111975:	89 46 18             	mov    %eax,0x18(%esi)                
   */                                                                 
  #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 ) {                            
  111978:	83 c4 10             	add    $0x10,%esp                     
  11197b:	8b 4e 1c             	mov    0x1c(%esi),%ecx                
  11197e:	85 c9                	test   %ecx,%ecx                      
  111980:	75 05                	jne    111987 <_POSIX_Threads_Sporadic_budget_TSR+0x3f><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
  111982:	39 46 14             	cmp    %eax,0x14(%esi)                
  111985:	77 35                	ja     1119bc <_POSIX_Threads_Sporadic_budget_TSR+0x74>
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
  111987:	83 ec 0c             	sub    $0xc,%esp                      
  11198a:	8d 83 8c 00 00 00    	lea    0x8c(%ebx),%eax                
  111990:	50                   	push   %eax                           
  111991:	e8 be 10 00 00       	call   112a54 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  111996:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  11199c:	83 c4 10             	add    $0x10,%esp                     
  11199f:	81 c3 a4 00 00 00    	add    $0xa4,%ebx                     
  1119a5:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  1119a8:	c7 45 08 d8 94 12 00 	movl   $0x1294d8,0x8(%ebp)            
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
  1119af:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1119b2:	5b                   	pop    %ebx                           
  1119b3:	5e                   	pop    %esi                           
  1119b4:	c9                   	leave                                 
  1119b5:	e9 26 d2 ff ff       	jmp    10ebe0 <_Watchdog_Insert>      
  1119ba:	66 90                	xchg   %ax,%ax                        
  if ( the_thread->resource_count == 0 ) {                            
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
  1119bc:	52                   	push   %edx                           
  1119bd:	6a 01                	push   $0x1                           
  1119bf:	50                   	push   %eax                           
  1119c0:	56                   	push   %esi                           
  1119c1:	e8 be bd ff ff       	call   10d784 <_Thread_Change_priority>
  1119c6:	83 c4 10             	add    $0x10,%esp                     
  1119c9:	eb bc                	jmp    111987 <_POSIX_Threads_Sporadic_budget_TSR+0x3f>
                                                                      

00111904 <_POSIX_Threads_Sporadic_budget_callout>: * _POSIX_Threads_Sporadic_budget_callout */ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ) {
  111904:	55                   	push   %ebp                           
  111905:	89 e5                	mov    %esp,%ebp                      
  111907:	83 ec 08             	sub    $0x8,%esp                      
  11190a:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  11190d:	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 */
  111913:	c7 40 78 ff ff ff ff 	movl   $0xffffffff,0x78(%eax)         
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  11191a:	0f b6 15 14 52 12 00 	movzbl 0x125214,%edx                  
  111921:	2b 91 88 00 00 00    	sub    0x88(%ecx),%edx                
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
  111927:	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 ) {                            
  11192a:	8b 48 1c             	mov    0x1c(%eax),%ecx                
  11192d:	85 c9                	test   %ecx,%ecx                      
  11192f:	75 05                	jne    111936 <_POSIX_Threads_Sporadic_budget_callout+0x32><== 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 ) {              
  111931:	39 50 14             	cmp    %edx,0x14(%eax)                
  111934:	72 02                	jb     111938 <_POSIX_Threads_Sporadic_budget_callout+0x34><== ALWAYS TAKEN
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
  111936:	c9                   	leave                                 <== NOT EXECUTED
  111937:	c3                   	ret                                   <== NOT EXECUTED
     *  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 ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
  111938:	51                   	push   %ecx                           
  111939:	6a 01                	push   $0x1                           
  11193b:	52                   	push   %edx                           
  11193c:	50                   	push   %eax                           
  11193d:	e8 42 be ff ff       	call   10d784 <_Thread_Change_priority>
  111942:	83 c4 10             	add    $0x10,%esp                     
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
  111945:	c9                   	leave                                 
  111946:	c3                   	ret                                   
                                                                      

00114374 <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
  114374:	55                   	push   %ebp                           
  114375:	89 e5                	mov    %esp,%ebp                      
  114377:	57                   	push   %edi                           
  114378:	56                   	push   %esi                           
  114379:	53                   	push   %ebx                           
  11437a:	83 ec 0c             	sub    $0xc,%esp                      
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
  11437d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114380:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
  114386:	c7 86 d4 00 00 00 01 	movl   $0x1,0xd4(%esi)                
  11438d:	00 00 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  114390:	8d 9e e4 00 00 00    	lea    0xe4(%esi),%ebx                
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
  114396:	39 9e e0 00 00 00    	cmp    %ebx,0xe0(%esi)                
  11439c:	74 30                	je     1143ce <_POSIX_Threads_cancel_run+0x5a>
  11439e:	66 90                	xchg   %ax,%ax                        
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
    _ISR_Disable( level );                                            
  1143a0:	9c                   	pushf                                 
  1143a1:	fa                   	cli                                   
  1143a2:	59                   	pop    %ecx                           
      handler = (POSIX_Cancel_Handler_control *)                      
  1143a3:	8b 7b 04             	mov    0x4(%ebx),%edi                 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  1143a6:	8b 17                	mov    (%edi),%edx                    
  previous       = the_node->previous;                                
  1143a8:	8b 47 04             	mov    0x4(%edi),%eax                 
  next->previous = previous;                                          
  1143ab:	89 42 04             	mov    %eax,0x4(%edx)                 
  previous->next = next;                                              
  1143ae:	89 10                	mov    %edx,(%eax)                    
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
  1143b0:	51                   	push   %ecx                           
  1143b1:	9d                   	popf                                  
                                                                      
    (*handler->routine)( handler->arg );                              
  1143b2:	83 ec 0c             	sub    $0xc,%esp                      
  1143b5:	ff 77 0c             	pushl  0xc(%edi)                      
  1143b8:	ff 57 08             	call   *0x8(%edi)                     
                                                                      
    _Workspace_Free( handler );                                       
  1143bb:	89 3c 24             	mov    %edi,(%esp)                    
  1143be:	e8 65 aa ff ff       	call   10ee28 <_Workspace_Free>       
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
  1143c3:	83 c4 10             	add    $0x10,%esp                     
  1143c6:	39 9e e0 00 00 00    	cmp    %ebx,0xe0(%esi)                
  1143cc:	75 d2                	jne    1143a0 <_POSIX_Threads_cancel_run+0x2c><== NEVER TAKEN
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
  1143ce:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1143d1:	5b                   	pop    %ebx                           
  1143d2:	5e                   	pop    %esi                           
  1143d3:	5f                   	pop    %edi                           
  1143d4:	c9                   	leave                                 
  1143d5:	c3                   	ret                                   
                                                                      

00112630 <_POSIX_Timer_Insert_helper>: Watchdog_Interval ticks, Objects_Id id, Watchdog_Service_routine_entry TSR, void *arg ) {
  112630:	55                   	push   %ebp                           
  112631:	89 e5                	mov    %esp,%ebp                      
  112633:	56                   	push   %esi                           
  112634:	53                   	push   %ebx                           
  112635:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  ISR_Level            level;                                         
                                                                      
  (void) _Watchdog_Remove( timer );                                   
  112638:	83 ec 0c             	sub    $0xc,%esp                      
  11263b:	53                   	push   %ebx                           
  11263c:	e8 5b d1 ff ff       	call   10f79c <_Watchdog_Remove>      
  _ISR_Disable( level );                                              
  112641:	9c                   	pushf                                 
  112642:	fa                   	cli                                   
  112643:	5e                   	pop    %esi                           
                                                                      
    /*                                                                
     *  Check to see if the watchdog has just been inserted by a      
     *  higher priority interrupt.  If so, abandon this insert.       
     */                                                               
    if ( timer->state != WATCHDOG_INACTIVE ) {                        
  112644:	83 c4 10             	add    $0x10,%esp                     
  112647:	8b 43 08             	mov    0x8(%ebx),%eax                 
  11264a:	85 c0                	test   %eax,%eax                      
  11264c:	74 0e                	je     11265c <_POSIX_Timer_Insert_helper+0x2c>
      _ISR_Enable( level );                                           
  11264e:	56                   	push   %esi                           
  11264f:	9d                   	popf                                  
  112650:	31 c0                	xor    %eax,%eax                      
     */                                                               
    _Watchdog_Initialize( timer, TSR, id, arg );                      
    _Watchdog_Insert_ticks( timer, ticks );                           
  _ISR_Enable( level );                                               
  return true;                                                        
}                                                                     
  112652:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112655:	5b                   	pop    %ebx                           
  112656:	5e                   	pop    %esi                           
  112657:	c9                   	leave                                 
  112658:	c3                   	ret                                   
  112659:	8d 76 00             	lea    0x0(%esi),%esi                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  11265c:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
  the_watchdog->routine   = routine;                                  
  112663:	8b 45 14             	mov    0x14(%ebp),%eax                
  112666:	89 43 1c             	mov    %eax,0x1c(%ebx)                
  the_watchdog->id        = id;                                       
  112669:	8b 45 10             	mov    0x10(%ebp),%eax                
  11266c:	89 43 20             	mov    %eax,0x20(%ebx)                
  the_watchdog->user_data = user_data;                                
  11266f:	8b 45 18             	mov    0x18(%ebp),%eax                
  112672:	89 43 24             	mov    %eax,0x24(%ebx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  112675:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  112678:	89 43 0c             	mov    %eax,0xc(%ebx)                 
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  11267b:	83 ec 08             	sub    $0x8,%esp                      
  11267e:	53                   	push   %ebx                           
  11267f:	68 18 b6 12 00       	push   $0x12b618                      
  112684:	e8 eb cf ff ff       	call   10f674 <_Watchdog_Insert>      
     *  OK.  Now we now the timer was not rescheduled by an interrupt 
     *  so we can atomically initialize it as in use.                 
     */                                                               
    _Watchdog_Initialize( timer, TSR, id, arg );                      
    _Watchdog_Insert_ticks( timer, ticks );                           
  _ISR_Enable( level );                                               
  112689:	56                   	push   %esi                           
  11268a:	9d                   	popf                                  
  11268b:	b0 01                	mov    $0x1,%al                       
  return true;                                                        
  11268d:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  112690:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  112693:	5b                   	pop    %ebx                           
  112694:	5e                   	pop    %esi                           
  112695:	c9                   	leave                                 
  112696:	c3                   	ret                                   
                                                                      

0010bdec <_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) {
  10bdec:	55                   	push   %ebp                           
  10bded:	89 e5                	mov    %esp,%ebp                      
  10bdef:	53                   	push   %ebx                           
  10bdf0:	83 ec 04             	sub    $0x4,%esp                      
  10bdf3:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
  10bdf6:	ff 43 68             	incl   0x68(%ebx)                     
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
  10bdf9:	8b 53 54             	mov    0x54(%ebx),%edx                
  10bdfc:	85 d2                	test   %edx,%edx                      
  10bdfe:	75 28                	jne    10be28 <_POSIX_Timer_TSR+0x3c> 
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
  10be00:	8b 43 58             	mov    0x58(%ebx),%eax                
  10be03:	85 c0                	test   %eax,%eax                      
  10be05:	75 21                	jne    10be28 <_POSIX_Timer_TSR+0x3c> <== ALWAYS TAKEN
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
  10be07:	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 ) ) {
  10be0b:	83 ec 08             	sub    $0x8,%esp                      
  10be0e:	ff 73 44             	pushl  0x44(%ebx)                     
  10be11:	ff 73 38             	pushl  0x38(%ebx)                     
  10be14:	e8 a7 63 00 00       	call   1121c0 <pthread_kill>          
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
  10be19:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  10be20:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10be23:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10be26:	c9                   	leave                                 
  10be27:	c3                   	ret                                   
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
  10be28:	83 ec 0c             	sub    $0xc,%esp                      
  10be2b:	53                   	push   %ebx                           
  10be2c:	68 ec bd 10 00       	push   $0x10bdec                      
  10be31:	ff 73 08             	pushl  0x8(%ebx)                      
  10be34:	ff 73 64             	pushl  0x64(%ebx)                     
  10be37:	8d 43 10             	lea    0x10(%ebx),%eax                
  10be3a:	50                   	push   %eax                           
  10be3b:	e8 f0 67 00 00       	call   112630 <_POSIX_Timer_Insert_helper>
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
  10be40:	83 c4 20             	add    $0x20,%esp                     
  10be43:	84 c0                	test   %al,%al                        
  10be45:	74 dc                	je     10be23 <_POSIX_Timer_TSR+0x37> <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
  10be47:	83 ec 0c             	sub    $0xc,%esp                      
  10be4a:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  10be4d:	50                   	push   %eax                           
  10be4e:	e8 4d 16 00 00       	call   10d4a0 <_TOD_Get>              
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  10be53:	c6 43 3c 03          	movb   $0x3,0x3c(%ebx)                
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
  10be57:	83 c4 10             	add    $0x10,%esp                     
  10be5a:	eb af                	jmp    10be0b <_POSIX_Timer_TSR+0x1f> 
                                                                      

001146f0 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
  1146f0:	55                   	push   %ebp                           
  1146f1:	89 e5                	mov    %esp,%ebp                      
  1146f3:	57                   	push   %edi                           
  1146f4:	56                   	push   %esi                           
  1146f5:	53                   	push   %ebx                           
  1146f6:	83 ec 48             	sub    $0x48,%esp                     
  1146f9:	8b 75 08             	mov    0x8(%ebp),%esi                 
  1146fc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
  1146ff:	6a 01                	push   $0x1                           
  114701:	0f b6 45 10          	movzbl 0x10(%ebp),%eax                
  114705:	50                   	push   %eax                           
  114706:	8d 7d dc             	lea    -0x24(%ebp),%edi               
  114709:	57                   	push   %edi                           
  11470a:	53                   	push   %ebx                           
  11470b:	56                   	push   %esi                           
  11470c:	e8 6b 00 00 00       	call   11477c <_POSIX_signals_Clear_signals>
  114711:	83 c4 20             	add    $0x20,%esp                     
  114714:	84 c0                	test   %al,%al                        
  114716:	74 58                	je     114770 <_POSIX_signals_Check_signal+0x80>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
  114718:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  11471b:	c1 e0 02             	shl    $0x2,%eax                      
  11471e:	8b 90 e8 99 12 00    	mov    0x1299e8(%eax),%edx            
  114724:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  114727:	4a                   	dec    %edx                           
  114728:	74 46                	je     114770 <_POSIX_signals_Check_signal+0x80><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  11472a:	8b 8e cc 00 00 00    	mov    0xcc(%esi),%ecx                
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
  114730:	8b 90 e4 99 12 00    	mov    0x1299e4(%eax),%edx            
  114736:	09 ca                	or     %ecx,%edx                      
  114738:	89 96 cc 00 00 00    	mov    %edx,0xcc(%esi)                
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
  11473e:	83 b8 e0 99 12 00 02 	cmpl   $0x2,0x1299e0(%eax)            
  114745:	74 21                	je     114768 <_POSIX_signals_Check_signal+0x78>
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
  114747:	83 ec 0c             	sub    $0xc,%esp                      
  11474a:	53                   	push   %ebx                           
  11474b:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  11474e:	ff 55 c4             	call   *-0x3c(%ebp)                   
  114751:	83 c4 10             	add    $0x10,%esp                     
  114754:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
  114757:	89 8e cc 00 00 00    	mov    %ecx,0xcc(%esi)                
  11475d:	b0 01                	mov    $0x1,%al                       
                                                                      
  return true;                                                        
}                                                                     
  11475f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114762:	5b                   	pop    %ebx                           
  114763:	5e                   	pop    %esi                           
  114764:	5f                   	pop    %edi                           
  114765:	c9                   	leave                                 
  114766:	c3                   	ret                                   
  114767:	90                   	nop                                   
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
  114768:	50                   	push   %eax                           
  114769:	6a 00                	push   $0x0                           
  11476b:	57                   	push   %edi                           
  11476c:	eb dc                	jmp    11474a <_POSIX_signals_Check_signal+0x5a>
  11476e:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
                                                                      
  return true;                                                        
  114770:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114772:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114775:	5b                   	pop    %ebx                           
  114776:	5e                   	pop    %esi                           
  114777:	5f                   	pop    %edi                           
  114778:	c9                   	leave                                 
  114779:	c3                   	ret                                   
                                                                      

00115048 <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
  115048:	55                   	push   %ebp                           
  115049:	89 e5                	mov    %esp,%ebp                      
  11504b:	53                   	push   %ebx                           
  11504c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
  11504f:	9c                   	pushf                                 
  115050:	fa                   	cli                                   
  115051:	5a                   	pop    %edx                           
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
  115052:	8d 04 49             	lea    (%ecx,%ecx,2),%eax             
  115055:	c1 e0 02             	shl    $0x2,%eax                      
  115058:	83 b8 e0 99 12 00 02 	cmpl   $0x2,0x1299e0(%eax)            
  11505f:	74 23                	je     115084 <_POSIX_signals_Clear_process_signals+0x3c>
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
  115061:	49                   	dec    %ecx                           
  115062:	b8 fe ff ff ff       	mov    $0xfffffffe,%eax               
  115067:	d3 c0                	rol    %cl,%eax                       
  115069:	23 05 e8 9b 12 00    	and    0x129be8,%eax                  
  11506f:	a3 e8 9b 12 00       	mov    %eax,0x129be8                  
      if ( !_POSIX_signals_Pending )                                  
  115074:	85 c0                	test   %eax,%eax                      
  115076:	75 06                	jne    11507e <_POSIX_signals_Clear_process_signals+0x36><== NEVER TAKEN
	_Thread_Do_post_task_switch_extension--;                             
  115078:	ff 0d 9c 94 12 00    	decl   0x12949c                       
    }                                                                 
  _ISR_Enable( level );                                               
  11507e:	52                   	push   %edx                           
  11507f:	9d                   	popf                                  
}                                                                     
  115080:	5b                   	pop    %ebx                           
  115081:	c9                   	leave                                 
  115082:	c3                   	ret                                   
  115083:	90                   	nop                                   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  115084:	8d 98 04 9c 12 00    	lea    0x129c04(%eax),%ebx            
  11508a:	39 98 00 9c 12 00    	cmp    %ebx,0x129c00(%eax)            
  115090:	75 ec                	jne    11507e <_POSIX_signals_Clear_process_signals+0x36><== NEVER TAKEN
  115092:	eb cd                	jmp    115061 <_POSIX_signals_Clear_process_signals+0x19>
                                                                      

0011477c <_POSIX_signals_Clear_signals>: int signo, siginfo_t *info, bool is_global, bool check_blocked ) {
  11477c:	55                   	push   %ebp                           
  11477d:	89 e5                	mov    %esp,%ebp                      
  11477f:	57                   	push   %edi                           
  114780:	56                   	push   %esi                           
  114781:	53                   	push   %ebx                           
  114782:	83 ec 1c             	sub    $0x1c,%esp                     
  114785:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  114788:	0f b6 7d 14          	movzbl 0x14(%ebp),%edi                
  11478c:	8d 4b ff             	lea    -0x1(%ebx),%ecx                
  11478f:	b8 01 00 00 00       	mov    $0x1,%eax                      
  114794:	d3 e0                	shl    %cl,%eax                       
                                                                      
  /* set blocked signals based on if checking for them, SIGNAL_ALL_MASK
   * insures that no signals are blocked and all are checked.         
   */                                                                 
                                                                      
  if ( check_blocked )                                                
  114796:	80 7d 18 00          	cmpb   $0x0,0x18(%ebp)                
  11479a:	75 3c                	jne    1147d8 <_POSIX_signals_Clear_signals+0x5c>
  11479c:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx               
    signals_blocked = SIGNAL_ALL_MASK;                                
                                                                      
  /* XXX is this right for siginfo type signals? */                   
  /* XXX are we sure they can be cleared the same way? */             
                                                                      
  _ISR_Disable( level );                                              
  1147a1:	9c                   	pushf                                 
  1147a2:	fa                   	cli                                   
  1147a3:	8f 45 e4             	popl   -0x1c(%ebp)                    
    if ( is_global ) {                                                
  1147a6:	89 fa                	mov    %edi,%edx                      
  1147a8:	84 d2                	test   %dl,%dl                        
  1147aa:	74 3c                	je     1147e8 <_POSIX_signals_Clear_signals+0x6c>
       if ( mask & (_POSIX_signals_Pending & signals_blocked) ) {     
  1147ac:	23 05 e8 9b 12 00    	and    0x129be8,%eax                  
  1147b2:	85 c8                	test   %ecx,%eax                      
  1147b4:	74 5e                	je     114814 <_POSIX_signals_Clear_signals+0x98>
         if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {
  1147b6:	8d 14 1b             	lea    (%ebx,%ebx,1),%edx             
  1147b9:	8d 04 1a             	lea    (%edx,%ebx,1),%eax             
  1147bc:	83 3c 85 e0 99 12 00 	cmpl   $0x2,0x1299e0(,%eax,4)         
  1147c3:	02                                                          
  1147c4:	74 52                	je     114818 <_POSIX_signals_Clear_signals+0x9c>
               &psiginfo->Node                                        
             );                                                       
           } else                                                     
             do_callout = false;                                      
         }                                                            
         _POSIX_signals_Clear_process_signals( signo );               
  1147c6:	83 ec 0c             	sub    $0xc,%esp                      
  1147c9:	53                   	push   %ebx                           
  1147ca:	e8 79 08 00 00       	call   115048 <_POSIX_signals_Clear_process_signals>
  1147cf:	b0 01                	mov    $0x1,%al                       
  1147d1:	83 c4 10             	add    $0x10,%esp                     
  1147d4:	eb 2f                	jmp    114805 <_POSIX_signals_Clear_signals+0x89>
  1147d6:	66 90                	xchg   %ax,%ax                        
  /* set blocked signals based on if checking for them, SIGNAL_ALL_MASK
   * insures that no signals are blocked and all are checked.         
   */                                                                 
                                                                      
  if ( check_blocked )                                                
    signals_blocked = ~api->signals_blocked;                          
  1147d8:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1147db:	8b 8a cc 00 00 00    	mov    0xcc(%edx),%ecx                
  1147e1:	f7 d1                	not    %ecx                           
  1147e3:	eb bc                	jmp    1147a1 <_POSIX_signals_Clear_signals+0x25>
  1147e5:	8d 76 00             	lea    0x0(%esi),%esi                 
         }                                                            
         _POSIX_signals_Clear_process_signals( signo );               
         do_callout = true;                                           
       }                                                              
    } else {                                                          
      if ( mask & (api->signals_pending & signals_blocked) ) {        
  1147e8:	8b 55 08             	mov    0x8(%ebp),%edx                 
  1147eb:	8b 9a d0 00 00 00    	mov    0xd0(%edx),%ebx                
  1147f1:	89 c6                	mov    %eax,%esi                      
  1147f3:	21 de                	and    %ebx,%esi                      
  1147f5:	85 ce                	test   %ecx,%esi                      
  1147f7:	74 1b                	je     114814 <_POSIX_signals_Clear_signals+0x98>
        api->signals_pending &= ~mask;                                
  1147f9:	f7 d0                	not    %eax                           
  1147fb:	21 d8                	and    %ebx,%eax                      
  1147fd:	89 82 d0 00 00 00    	mov    %eax,0xd0(%edx)                
  114803:	b0 01                	mov    $0x1,%al                       
        do_callout = true;                                            
      }                                                               
    }                                                                 
  _ISR_Enable( level );                                               
  114805:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  114808:	9d                   	popf                                  
  return do_callout;                                                  
}                                                                     
  114809:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11480c:	5b                   	pop    %ebx                           
  11480d:	5e                   	pop    %esi                           
  11480e:	5f                   	pop    %edi                           
  11480f:	c9                   	leave                                 
  114810:	c3                   	ret                                   
  114811:	8d 76 00             	lea    0x0(%esi),%esi                 
         _POSIX_signals_Clear_process_signals( signo );               
         do_callout = true;                                           
       }                                                              
    } else {                                                          
      if ( mask & (api->signals_pending & signals_blocked) ) {        
        api->signals_pending &= ~mask;                                
  114814:	31 c0                	xor    %eax,%eax                      
  114816:	eb ed                	jmp    114805 <_POSIX_signals_Clear_signals+0x89>
                                                                      
  _ISR_Disable( level );                                              
    if ( is_global ) {                                                
       if ( mask & (_POSIX_signals_Pending & signals_blocked) ) {     
         if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {
           psiginfo = (POSIX_signals_Siginfo_node *)                  
  114818:	89 c2                	mov    %eax,%edx                      
  11481a:	c1 e2 02             	shl    $0x2,%edx                      
  11481d:	8d 8a 00 9c 12 00    	lea    0x129c00(%edx),%ecx            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  114823:	8b 82 00 9c 12 00    	mov    0x129c00(%edx),%eax            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  114829:	8d 71 04             	lea    0x4(%ecx),%esi                 
  11482c:	39 f0                	cmp    %esi,%eax                      
  11482e:	74 48                	je     114878 <_POSIX_signals_Clear_signals+0xfc>
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  114830:	8b 30                	mov    (%eax),%esi                    
  the_chain->first    = new_first;                                    
  114832:	89 b2 00 9c 12 00    	mov    %esi,0x129c00(%edx)            
  new_first->previous = _Chain_Head(the_chain);                       
  114838:	89 4e 04             	mov    %ecx,0x4(%esi)                 
             _Chain_Get_unprotected( &_POSIX_signals_Siginfo[ signo ] );
           _POSIX_signals_Clear_process_signals( signo );             
  11483b:	83 ec 0c             	sub    $0xc,%esp                      
  11483e:	53                   	push   %ebx                           
  11483f:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  114842:	e8 01 08 00 00       	call   115048 <_POSIX_signals_Clear_process_signals>
            *  It may be impossible to get here with an empty chain   
            *  BUT until that is proven we need to be defensive and   
            *  protect against it.                                    
            */                                                        
           if ( psiginfo ) {                                          
             *info = psiginfo->Info;                                  
  114847:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  11484a:	8d 70 08             	lea    0x8(%eax),%esi                 
  11484d:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  114852:	8b 7d 10             	mov    0x10(%ebp),%edi                
  114855:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  114857:	c7 00 64 9b 12 00    	movl   $0x129b64,(%eax)               
  old_last_node       = the_chain->last;                              
  11485d:	8b 15 68 9b 12 00    	mov    0x129b68,%edx                  
  the_chain->last     = the_node;                                     
  114863:	a3 68 9b 12 00       	mov    %eax,0x129b68                  
  old_last_node->next = the_node;                                     
  114868:	89 02                	mov    %eax,(%edx)                    
  the_node->previous  = old_last_node;                                
  11486a:	89 50 04             	mov    %edx,0x4(%eax)                 
  11486d:	83 c4 10             	add    $0x10,%esp                     
  114870:	e9 51 ff ff ff       	jmp    1147c6 <_POSIX_signals_Clear_signals+0x4a>
  114875:	8d 76 00             	lea    0x0(%esi),%esi                 
    if ( is_global ) {                                                
       if ( mask & (_POSIX_signals_Pending & signals_blocked) ) {     
         if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {
           psiginfo = (POSIX_signals_Siginfo_node *)                  
             _Chain_Get_unprotected( &_POSIX_signals_Siginfo[ signo ] );
           _POSIX_signals_Clear_process_signals( signo );             
  114878:	83 ec 0c             	sub    $0xc,%esp                      
  11487b:	53                   	push   %ebx                           
  11487c:	e8 c7 07 00 00       	call   115048 <_POSIX_signals_Clear_process_signals>
  114881:	83 c4 10             	add    $0x10,%esp                     
  114884:	e9 3d ff ff ff       	jmp    1147c6 <_POSIX_signals_Clear_signals+0x4a>
                                                                      

0010c74c <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
  10c74c:	55                   	push   %ebp                           
  10c74d:	89 e5                	mov    %esp,%ebp                      
  10c74f:	56                   	push   %esi                           
  10c750:	53                   	push   %ebx                           
  10c751:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10c754:	b8 1b 00 00 00       	mov    $0x1b,%eax                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
  10c759:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  10c75e:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10c761:	89 de                	mov    %ebx,%esi                      
  10c763:	d3 e6                	shl    %cl,%esi                       
  10c765:	85 d6                	test   %edx,%esi                      
  10c767:	75 20                	jne    10c789 <_POSIX_signals_Get_highest+0x3d><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
  10c769:	40                   	inc    %eax                           
  10c76a:	83 f8 20             	cmp    $0x20,%eax                     
  10c76d:	75 ef                	jne    10c75e <_POSIX_signals_Get_highest+0x12>
  10c76f:	b0 01                	mov    $0x1,%al                       
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
  10c771:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  10c776:	eb 06                	jmp    10c77e <_POSIX_signals_Get_highest+0x32>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
  10c778:	40                   	inc    %eax                           
  10c779:	83 f8 1b             	cmp    $0x1b,%eax                     
  10c77c:	74 0b                	je     10c789 <_POSIX_signals_Get_highest+0x3d><== NEVER TAKEN
    if ( set & signo_to_mask( signo ) ) {                             
  10c77e:	8d 48 ff             	lea    -0x1(%eax),%ecx                
  10c781:	89 de                	mov    %ebx,%esi                      
  10c783:	d3 e6                	shl    %cl,%esi                       
  10c785:	85 d6                	test   %edx,%esi                      
  10c787:	74 ef                	je     10c778 <_POSIX_signals_Get_highest+0x2c>
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
  10c789:	5b                   	pop    %ebx                           
  10c78a:	5e                   	pop    %esi                           
  10c78b:	c9                   	leave                                 
  10c78c:	c3                   	ret                                   
                                                                      

001115c8 <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
  1115c8:	55                   	push   %ebp                           
  1115c9:	89 e5                	mov    %esp,%ebp                      
  1115cb:	57                   	push   %edi                           
  1115cc:	56                   	push   %esi                           
  1115cd:	53                   	push   %ebx                           
  1115ce:	83 ec 0c             	sub    $0xc,%esp                      
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
  int                 hold_errno;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  1115d1:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1115d4:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
                                                                      
  /*                                                                  
   *  We need to ensure that if the signal handler executes a call    
   *  which overwrites the unblocking status, we restore it.          
   */                                                                 
  hold_errno = _Thread_Executing->Wait.return_code;                   
  1115da:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  1115df:	8b 78 34             	mov    0x34(%eax),%edi                
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
  1115e2:	85 f6                	test   %esi,%esi                      
  1115e4:	74 71                	je     111657 <_POSIX_signals_Post_switch_extension+0x8f><== NEVER TAKEN
  1115e6:	66 90                	xchg   %ax,%ax                        
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
  1115e8:	9c                   	pushf                                 
  1115e9:	fa                   	cli                                   
  1115ea:	59                   	pop    %ecx                           
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
  1115eb:	8b 15 e8 9b 12 00    	mov    0x129be8,%edx                  
  1115f1:	0b 96 d0 00 00 00    	or     0xd0(%esi),%edx                
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
  1115f7:	8b 86 cc 00 00 00    	mov    0xcc(%esi),%eax                
  1115fd:	f7 d0                	not    %eax                           
  1115ff:	85 c2                	test   %eax,%edx                      
  111601:	74 4a                	je     11164d <_POSIX_signals_Post_switch_extension+0x85>
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
  111603:	51                   	push   %ecx                           
  111604:	9d                   	popf                                  
  111605:	bb 1b 00 00 00       	mov    $0x1b,%ebx                     
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
  11160a:	52                   	push   %edx                           
  11160b:	6a 00                	push   $0x0                           
  11160d:	53                   	push   %ebx                           
  11160e:	56                   	push   %esi                           
  11160f:	e8 dc 30 00 00       	call   1146f0 <_POSIX_signals_Check_signal>
      _POSIX_signals_Check_signal( api, signo, true );                
  111614:	83 c4 0c             	add    $0xc,%esp                      
  111617:	6a 01                	push   $0x1                           
  111619:	53                   	push   %ebx                           
  11161a:	56                   	push   %esi                           
  11161b:	e8 d0 30 00 00       	call   1146f0 <_POSIX_signals_Check_signal>
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
  111620:	43                   	inc    %ebx                           
  111621:	83 c4 10             	add    $0x10,%esp                     
  111624:	83 fb 20             	cmp    $0x20,%ebx                     
  111627:	75 e1                	jne    11160a <_POSIX_signals_Post_switch_extension+0x42>
  111629:	b3 01                	mov    $0x1,%bl                       
  11162b:	90                   	nop                                   
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
  11162c:	50                   	push   %eax                           
  11162d:	6a 00                	push   $0x0                           
  11162f:	53                   	push   %ebx                           
  111630:	56                   	push   %esi                           
  111631:	e8 ba 30 00 00       	call   1146f0 <_POSIX_signals_Check_signal>
      _POSIX_signals_Check_signal( api, signo, true );                
  111636:	83 c4 0c             	add    $0xc,%esp                      
  111639:	6a 01                	push   $0x1                           
  11163b:	53                   	push   %ebx                           
  11163c:	56                   	push   %esi                           
  11163d:	e8 ae 30 00 00       	call   1146f0 <_POSIX_signals_Check_signal>
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
  111642:	43                   	inc    %ebx                           
  111643:	83 c4 10             	add    $0x10,%esp                     
  111646:	83 fb 1b             	cmp    $0x1b,%ebx                     
  111649:	75 e1                	jne    11162c <_POSIX_signals_Post_switch_extension+0x64>
  11164b:	eb 9b                	jmp    1115e8 <_POSIX_signals_Post_switch_extension+0x20>
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
  11164d:	51                   	push   %ecx                           
  11164e:	9d                   	popf                                  
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Executing->Wait.return_code = hold_errno;                   
  11164f:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  111654:	89 78 34             	mov    %edi,0x34(%eax)                
}                                                                     
  111657:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11165a:	5b                   	pop    %ebx                           
  11165b:	5e                   	pop    %esi                           
  11165c:	5f                   	pop    %edi                           
  11165d:	c9                   	leave                                 
  11165e:	c3                   	ret                                   
                                                                      

001148b0 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
  1148b0:	55                   	push   %ebp                           
  1148b1:	89 e5                	mov    %esp,%ebp                      
  1148b3:	57                   	push   %edi                           
  1148b4:	56                   	push   %esi                           
  1148b5:	53                   	push   %ebx                           
  1148b6:	83 ec 0c             	sub    $0xc,%esp                      
  1148b9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1148bc:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  1148bf:	8b b3 f8 00 00 00    	mov    0xf8(%ebx),%esi                
  1148c5:	8d 4a ff             	lea    -0x1(%edx),%ecx                
  1148c8:	b8 01 00 00 00       	mov    $0x1,%eax                      
  1148cd:	d3 e0                	shl    %cl,%eax                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
  1148cf:	8b 4b 10             	mov    0x10(%ebx),%ecx                
  1148d2:	89 cf                	mov    %ecx,%edi                      
  1148d4:	81 e7 00 80 00 10    	and    $0x10008000,%edi               
  1148da:	81 ff 00 80 00 10    	cmp    $0x10008000,%edi               
  1148e0:	74 76                	je     114958 <_POSIX_signals_Unblock_thread+0xa8>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
  1148e2:	8b 96 cc 00 00 00    	mov    0xcc(%esi),%edx                
  1148e8:	f7 d2                	not    %edx                           
  1148ea:	85 d0                	test   %edx,%eax                      
  1148ec:	74 5e                	je     11494c <_POSIX_signals_Unblock_thread+0x9c>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
  1148ee:	c6 43 74 01          	movb   $0x1,0x74(%ebx)                
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
  1148f2:	f7 c1 00 00 00 10    	test   $0x10000000,%ecx               
  1148f8:	74 3a                	je     114934 <_POSIX_signals_Unblock_thread+0x84>
      the_thread->Wait.return_code = EINTR;                           
  1148fa:	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) )
  114901:	f7 c1 e0 be 03 00    	test   $0x3bee0,%ecx                  
  114907:	0f 85 93 00 00 00    	jne    1149a0 <_POSIX_signals_Unblock_thread+0xf0>
        _Thread_queue_Extract_with_proxy( the_thread );               
      else if ( _States_Is_delaying(the_thread->current_state) ){     
  11490d:	83 e1 08             	and    $0x8,%ecx                      
  114910:	74 3a                	je     11494c <_POSIX_signals_Unblock_thread+0x9c><== NEVER TAKEN
	(void) _Watchdog_Remove( &the_thread->Timer );                       
  114912:	83 ec 0c             	sub    $0xc,%esp                      
  114915:	8d 43 48             	lea    0x48(%ebx),%eax                
  114918:	50                   	push   %eax                           
  114919:	e8 ea a3 ff ff       	call   10ed08 <_Watchdog_Remove>      
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  11491e:	58                   	pop    %eax                           
  11491f:	5a                   	pop    %edx                           
  114920:	68 f8 ff 03 10       	push   $0x1003fff8                    
  114925:	53                   	push   %ebx                           
  114926:	e8 99 8f ff ff       	call   10d8c4 <_Thread_Clear_state>   
  11492b:	31 c0                	xor    %eax,%eax                      
  11492d:	83 c4 10             	add    $0x10,%esp                     
  114930:	eb 1c                	jmp    11494e <_POSIX_signals_Unblock_thread+0x9e>
  114932:	66 90                	xchg   %ax,%ax                        
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
  114934:	85 c9                	test   %ecx,%ecx                      
  114936:	75 14                	jne    11494c <_POSIX_signals_Unblock_thread+0x9c><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  114938:	a1 94 94 12 00       	mov    0x129494,%eax                  
  11493d:	85 c0                	test   %eax,%eax                      
  11493f:	74 0b                	je     11494c <_POSIX_signals_Unblock_thread+0x9c>
  114941:	3b 1d b8 94 12 00    	cmp    0x1294b8,%ebx                  
  114947:	74 7b                	je     1149c4 <_POSIX_signals_Unblock_thread+0x114><== ALWAYS TAKEN
  114949:	8d 76 00             	lea    0x0(%esi),%esi                 
	_ISR_Signals_to_thread_executing = true;                             
  11494c:	31 c0                	xor    %eax,%eax                      
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
  11494e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114951:	5b                   	pop    %ebx                           
  114952:	5e                   	pop    %esi                           
  114953:	5f                   	pop    %edi                           
  114954:	c9                   	leave                                 
  114955:	c3                   	ret                                   
  114956:	66 90                	xchg   %ax,%ax                        
   *  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) ) {
  114958:	85 43 30             	test   %eax,0x30(%ebx)                
  11495b:	74 33                	je     114990 <_POSIX_signals_Unblock_thread+0xe0>
      the_thread->Wait.return_code = EINTR;                           
  11495d:	c7 43 34 04 00 00 00 	movl   $0x4,0x34(%ebx)                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
  114964:	8b 43 28             	mov    0x28(%ebx),%eax                
                                                                      
      if ( !info ) {                                                  
  114967:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11496a:	85 c9                	test   %ecx,%ecx                      
  11496c:	74 42                	je     1149b0 <_POSIX_signals_Unblock_thread+0x100>
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
  11496e:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  114973:	89 c7                	mov    %eax,%edi                      
  114975:	8b 75 10             	mov    0x10(%ebp),%esi                
  114978:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
  11497a:	83 ec 0c             	sub    $0xc,%esp                      
  11497d:	53                   	push   %ebx                           
  11497e:	e8 29 9a ff ff       	call   10e3ac <_Thread_queue_Extract_with_proxy>
  114983:	b0 01                	mov    $0x1,%al                       
      return true;                                                    
  114985:	83 c4 10             	add    $0x10,%esp                     
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_ISR_Signals_to_thread_executing = true;                             
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
  114988:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11498b:	5b                   	pop    %ebx                           
  11498c:	5e                   	pop    %esi                           
  11498d:	5f                   	pop    %edi                           
  11498e:	c9                   	leave                                 
  11498f:	c3                   	ret                                   
   *  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) ) {
  114990:	8b 8e cc 00 00 00    	mov    0xcc(%esi),%ecx                
  114996:	f7 d1                	not    %ecx                           
  114998:	85 c8                	test   %ecx,%eax                      
  11499a:	75 c1                	jne    11495d <_POSIX_signals_Unblock_thread+0xad>
  11499c:	eb ae                	jmp    11494c <_POSIX_signals_Unblock_thread+0x9c>
  11499e:	66 90                	xchg   %ax,%ax                        
      /*                                                              
       *  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) )
        _Thread_queue_Extract_with_proxy( the_thread );               
  1149a0:	83 ec 0c             	sub    $0xc,%esp                      
  1149a3:	53                   	push   %ebx                           
  1149a4:	e8 03 9a ff ff       	call   10e3ac <_Thread_queue_Extract_with_proxy>
  1149a9:	31 c0                	xor    %eax,%eax                      
  1149ab:	83 c4 10             	add    $0x10,%esp                     
  1149ae:	eb 9e                	jmp    11494e <_POSIX_signals_Unblock_thread+0x9e>
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
  1149b0:	89 10                	mov    %edx,(%eax)                    
        the_info->si_code = SI_USER;                                  
  1149b2:	c7 40 04 01 00 00 00 	movl   $0x1,0x4(%eax)                 
        the_info->si_value.sival_int = 0;                             
  1149b9:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
  1149c0:	eb b8                	jmp    11497a <_POSIX_signals_Unblock_thread+0xca>
  1149c2:	66 90                	xchg   %ax,%ax                        
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_ISR_Signals_to_thread_executing = true;                             
  1149c4:	c6 05 68 95 12 00 01 	movb   $0x1,0x129568                  
  1149cb:	31 c0                	xor    %eax,%eax                      
  1149cd:	e9 7c ff ff ff       	jmp    11494e <_POSIX_signals_Unblock_thread+0x9e>
                                                                      

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

00131fd0 <_Protected_heap_Get_information>: bool _Protected_heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
  131fd0:	55                   	push   %ebp                           
  131fd1:	89 e5                	mov    %esp,%ebp                      
  131fd3:	56                   	push   %esi                           
  131fd4:	53                   	push   %ebx                           
  131fd5:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  131fd8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !the_heap )                                                    
  131fdb:	85 db                	test   %ebx,%ebx                      
  131fdd:	74 35                	je     132014 <_Protected_heap_Get_information+0x44>
    return false;                                                     
                                                                      
  if ( !the_info )                                                    
  131fdf:	85 f6                	test   %esi,%esi                      
  131fe1:	74 31                	je     132014 <_Protected_heap_Get_information+0x44>
    return false;                                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  131fe3:	83 ec 0c             	sub    $0xc,%esp                      
  131fe6:	ff 35 10 50 17 00    	pushl  0x175010                       
  131fec:	e8 f3 19 fe ff       	call   1139e4 <_API_Mutex_Lock>       
    _Heap_Get_information( the_heap, the_info );                      
  131ff1:	5a                   	pop    %edx                           
  131ff2:	59                   	pop    %ecx                           
  131ff3:	56                   	push   %esi                           
  131ff4:	53                   	push   %ebx                           
  131ff5:	e8 0a 31 01 00       	call   145104 <_Heap_Get_information> 
  _RTEMS_Unlock_allocator();                                          
  131ffa:	58                   	pop    %eax                           
  131ffb:	ff 35 10 50 17 00    	pushl  0x175010                       
  132001:	e8 26 1a fe ff       	call   113a2c <_API_Mutex_Unlock>     
  132006:	b0 01                	mov    $0x1,%al                       
                                                                      
  return true;                                                        
  132008:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  13200b:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  13200e:	5b                   	pop    %ebx                           
  13200f:	5e                   	pop    %esi                           
  132010:	c9                   	leave                                 
  132011:	c3                   	ret                                   
  132012:	66 90                	xchg   %ax,%ax                        
                                                                      
  _RTEMS_Lock_allocator();                                            
    _Heap_Get_information( the_heap, the_info );                      
  _RTEMS_Unlock_allocator();                                          
                                                                      
  return true;                                                        
  132014:	31 c0                	xor    %eax,%eax                      
}                                                                     
  132016:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  132019:	5b                   	pop    %ebx                           
  13201a:	5e                   	pop    %esi                           
  13201b:	c9                   	leave                                 
  13201c:	c3                   	ret                                   
                                                                      

00110f28 <_Protected_heap_Walk>: bool _Protected_heap_Walk( Heap_Control *the_heap, int source, bool do_dump ) {
  110f28:	55                   	push   %ebp                           
  110f29:	89 e5                	mov    %esp,%ebp                      
  110f2b:	56                   	push   %esi                           
  110f2c:	53                   	push   %ebx                           
  110f2d:	83 ec 10             	sub    $0x10,%esp                     
  110f30:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  110f33:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  110f36:	8a 45 10             	mov    0x10(%ebp),%al                 
   * then it is forbidden to lock a mutex.  But since we are inside   
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
  110f39:	8b 15 38 01 13 00    	mov    0x130138,%edx                  
  110f3f:	85 d2                	test   %edx,%edx                      
  110f41:	74 19                	je     110f5c <_Protected_heap_Walk+0x34>
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  110f43:	0f b6 c0             	movzbl %al,%eax                       
  110f46:	89 45 10             	mov    %eax,0x10(%ebp)                
  110f49:	89 75 0c             	mov    %esi,0xc(%ebp)                 
  110f4c:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
  return status;                                                      
}                                                                     
  110f4f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110f52:	5b                   	pop    %ebx                           
  110f53:	5e                   	pop    %esi                           
  110f54:	c9                   	leave                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
      status = _Heap_Walk( the_heap, source, do_dump );               
    _RTEMS_Unlock_allocator();                                        
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  110f55:	e9 f2 f1 ff ff       	jmp    11014c <_Heap_Walk>            
  110f5a:	66 90                	xchg   %ax,%ax                        
   * a critical section, it should be safe to walk it unlocked.       
   *                                                                  
   * NOTE: Dispatching is also disabled during initialization.        
   */                                                                 
  if ( !_Thread_Dispatch_disable_level ) {                            
    _RTEMS_Lock_allocator();                                          
  110f5c:	83 ec 0c             	sub    $0xc,%esp                      
  110f5f:	ff 35 f0 01 13 00    	pushl  0x1301f0                       
  110f65:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  110f68:	e8 e7 e3 ff ff       	call   10f354 <_API_Mutex_Lock>       
      status = _Heap_Walk( the_heap, source, do_dump );               
  110f6d:	83 c4 0c             	add    $0xc,%esp                      
  110f70:	8a 45 f4             	mov    -0xc(%ebp),%al                 
  110f73:	0f b6 c0             	movzbl %al,%eax                       
  110f76:	50                   	push   %eax                           
  110f77:	56                   	push   %esi                           
  110f78:	53                   	push   %ebx                           
  110f79:	e8 ce f1 ff ff       	call   11014c <_Heap_Walk>            
    _RTEMS_Unlock_allocator();                                        
  110f7e:	5a                   	pop    %edx                           
  110f7f:	ff 35 f0 01 13 00    	pushl  0x1301f0                       
  110f85:	88 45 f4             	mov    %al,-0xc(%ebp)                 
  110f88:	e8 0f e4 ff ff       	call   10f39c <_API_Mutex_Unlock>     
  110f8d:	83 c4 10             	add    $0x10,%esp                     
  } else {                                                            
    status = _Heap_Walk( the_heap, source, do_dump );                 
  }                                                                   
  return status;                                                      
}                                                                     
  110f90:	8a 45 f4             	mov    -0xc(%ebp),%al                 
  110f93:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110f96:	5b                   	pop    %ebx                           
  110f97:	5e                   	pop    %esi                           
  110f98:	c9                   	leave                                 
  110f99:	c3                   	ret                                   
                                                                      

00111ce4 <_RTEMS_tasks_Initialize_user_tasks>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks( void ) {
  111ce4:	55                   	push   %ebp                           
  111ce5:	89 e5                	mov    %esp,%ebp                      
  111ce7:	83 ec 08             	sub    $0x8,%esp                      
  if ( _RTEMS_tasks_Initialize_user_tasks_p )                         
  111cea:	a1 60 52 12 00       	mov    0x125260,%eax                  
  111cef:	85 c0                	test   %eax,%eax                      
  111cf1:	74 05                	je     111cf8 <_RTEMS_tasks_Initialize_user_tasks+0x14>
    (*_RTEMS_tasks_Initialize_user_tasks_p)();                        
}                                                                     
  111cf3:	c9                   	leave                                 
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks( void )                       
{                                                                     
  if ( _RTEMS_tasks_Initialize_user_tasks_p )                         
    (*_RTEMS_tasks_Initialize_user_tasks_p)();                        
  111cf4:	ff e0                	jmp    *%eax                          
  111cf6:	66 90                	xchg   %ax,%ax                        
}                                                                     
  111cf8:	c9                   	leave                                 
  111cf9:	c3                   	ret                                   
                                                                      

0010c0b0 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
  10c0b0:	55                   	push   %ebp                           
  10c0b1:	89 e5                	mov    %esp,%ebp                      
  10c0b3:	57                   	push   %edi                           
  10c0b4:	56                   	push   %esi                           
  10c0b5:	53                   	push   %ebx                           
  10c0b6:	83 ec 1c             	sub    $0x1c,%esp                     
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
  10c0b9:	8b 1d 0c 52 12 00    	mov    0x12520c,%ebx                  
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
  10c0bf:	8b 3d 08 52 12 00    	mov    0x125208,%edi                  
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
  10c0c5:	85 db                	test   %ebx,%ebx                      
  10c0c7:	74 46                	je     10c10f <_RTEMS_tasks_Initialize_user_tasks_body+0x5f>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
  10c0c9:	85 ff                	test   %edi,%edi                      
  10c0cb:	74 42                	je     10c10f <_RTEMS_tasks_Initialize_user_tasks_body+0x5f><== NEVER TAKEN
  10c0cd:	31 f6                	xor    %esi,%esi                      
  10c0cf:	90                   	nop                                   
    return_value = rtems_task_create(                                 
  10c0d0:	83 ec 08             	sub    $0x8,%esp                      
  10c0d3:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c0d6:	50                   	push   %eax                           
  10c0d7:	ff 73 0c             	pushl  0xc(%ebx)                      
  10c0da:	ff 73 14             	pushl  0x14(%ebx)                     
  10c0dd:	ff 73 04             	pushl  0x4(%ebx)                      
  10c0e0:	ff 73 08             	pushl  0x8(%ebx)                      
  10c0e3:	ff 33                	pushl  (%ebx)                         
  10c0e5:	e8 96 fd ff ff       	call   10be80 <rtems_task_create>     
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
  10c0ea:	83 c4 20             	add    $0x20,%esp                     
  10c0ed:	85 c0                	test   %eax,%eax                      
  10c0ef:	75 26                	jne    10c117 <_RTEMS_tasks_Initialize_user_tasks_body+0x67>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
  10c0f1:	51                   	push   %ecx                           
  10c0f2:	ff 73 18             	pushl  0x18(%ebx)                     
  10c0f5:	ff 73 10             	pushl  0x10(%ebx)                     
  10c0f8:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10c0fb:	e8 24 00 00 00       	call   10c124 <rtems_task_start>      
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
  10c100:	83 c4 10             	add    $0x10,%esp                     
  10c103:	85 c0                	test   %eax,%eax                      
  10c105:	75 10                	jne    10c117 <_RTEMS_tasks_Initialize_user_tasks_body+0x67>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
  10c107:	46                   	inc    %esi                           
  10c108:	83 c3 1c             	add    $0x1c,%ebx                     
  10c10b:	39 f7                	cmp    %esi,%edi                      
  10c10d:	77 c1                	ja     10c0d0 <_RTEMS_tasks_Initialize_user_tasks_body+0x20><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
  10c10f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c112:	5b                   	pop    %ebx                           
  10c113:	5e                   	pop    %esi                           
  10c114:	5f                   	pop    %edi                           
  10c115:	c9                   	leave                                 
  10c116:	c3                   	ret                                   
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  10c117:	52                   	push   %edx                           
  10c118:	50                   	push   %eax                           
  10c119:	6a 01                	push   $0x1                           
  10c11b:	6a 01                	push   $0x1                           
  10c11d:	e8 8e 0d 00 00       	call   10ceb0 <_Internal_error_Occurred>
                                                                      

00111d40 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
  111d40:	55                   	push   %ebp                           
  111d41:	89 e5                	mov    %esp,%ebp                      
  111d43:	57                   	push   %edi                           
  111d44:	56                   	push   %esi                           
  111d45:	53                   	push   %ebx                           
  111d46:	83 ec 1c             	sub    $0x1c,%esp                     
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  111d49:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111d4c:	8b 98 f4 00 00 00    	mov    0xf4(%eax),%ebx                
  if ( !api )                                                         
  111d52:	85 db                	test   %ebx,%ebx                      
  111d54:	74 45                	je     111d9b <_RTEMS_tasks_Post_switch_extension+0x5b><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
  111d56:	9c                   	pushf                                 
  111d57:	fa                   	cli                                   
  111d58:	58                   	pop    %eax                           
    signal_set = asr->signals_posted;                                 
  111d59:	8b 73 14             	mov    0x14(%ebx),%esi                
    asr->signals_posted = 0;                                          
  111d5c:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
  _ISR_Enable( level );                                               
  111d63:	50                   	push   %eax                           
  111d64:	9d                   	popf                                  
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
  111d65:	85 f6                	test   %esi,%esi                      
  111d67:	74 32                	je     111d9b <_RTEMS_tasks_Post_switch_extension+0x5b>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  111d69:	ff 43 1c             	incl   0x1c(%ebx)                     
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
  111d6c:	50                   	push   %eax                           
  111d6d:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  111d70:	57                   	push   %edi                           
  111d71:	68 ff ff 00 00       	push   $0xffff                        
  111d76:	ff 73 10             	pushl  0x10(%ebx)                     
  111d79:	e8 42 2e 00 00       	call   114bc0 <rtems_task_mode>       
                                                                      
  (*asr->handler)( signal_set );                                      
  111d7e:	89 34 24             	mov    %esi,(%esp)                    
  111d81:	ff 53 0c             	call   *0xc(%ebx)                     
                                                                      
  asr->nest_level -= 1;                                               
  111d84:	ff 4b 1c             	decl   0x1c(%ebx)                     
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
  111d87:	83 c4 0c             	add    $0xc,%esp                      
  111d8a:	57                   	push   %edi                           
  111d8b:	68 ff ff 00 00       	push   $0xffff                        
  111d90:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  111d93:	e8 28 2e 00 00       	call   114bc0 <rtems_task_mode>       
  111d98:	83 c4 10             	add    $0x10,%esp                     
                                                                      
}                                                                     
  111d9b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111d9e:	5b                   	pop    %ebx                           
  111d9f:	5e                   	pop    %esi                           
  111da0:	5f                   	pop    %edi                           
  111da1:	c9                   	leave                                 
  111da2:	c3                   	ret                                   
                                                                      

00111c9c <_RTEMS_tasks_Switch_extension>: void _RTEMS_tasks_Switch_extension( Thread_Control *executing, Thread_Control *heir ) {
  111c9c:	55                   	push   %ebp                           
  111c9d:	89 e5                	mov    %esp,%ebp                      
                                                                      
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  111c9f:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111ca2:	8b 80 04 01 00 00    	mov    0x104(%eax),%eax               
  while (tvp) {                                                       
  111ca8:	85 c0                	test   %eax,%eax                      
  111caa:	74 13                	je     111cbf <_RTEMS_tasks_Switch_extension+0x23>
    tvp->tval = *tvp->ptr;                                            
  111cac:	8b 50 04             	mov    0x4(%eax),%edx                 
  111caf:	8b 0a                	mov    (%edx),%ecx                    
  111cb1:	89 48 0c             	mov    %ecx,0xc(%eax)                 
    *tvp->ptr = tvp->gval;                                            
  111cb4:	8b 48 08             	mov    0x8(%eax),%ecx                 
  111cb7:	89 0a                	mov    %ecx,(%edx)                    
    tvp = (rtems_task_variable_t *)tvp->next;                         
  111cb9:	8b 00                	mov    (%eax),%eax                    
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
  111cbb:	85 c0                	test   %eax,%eax                      
  111cbd:	75 ed                	jne    111cac <_RTEMS_tasks_Switch_extension+0x10><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  111cbf:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  111cc2:	8b 80 04 01 00 00    	mov    0x104(%eax),%eax               
  while (tvp) {                                                       
  111cc8:	85 c0                	test   %eax,%eax                      
  111cca:	74 13                	je     111cdf <_RTEMS_tasks_Switch_extension+0x43>
    tvp->gval = *tvp->ptr;                                            
  111ccc:	8b 50 04             	mov    0x4(%eax),%edx                 
  111ccf:	8b 0a                	mov    (%edx),%ecx                    
  111cd1:	89 48 08             	mov    %ecx,0x8(%eax)                 
    *tvp->ptr = tvp->tval;                                            
  111cd4:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  111cd7:	89 0a                	mov    %ecx,(%edx)                    
    tvp = (rtems_task_variable_t *)tvp->next;                         
  111cd9:	8b 00                	mov    (%eax),%eax                    
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
  111cdb:	85 c0                	test   %eax,%eax                      
  111cdd:	75 ed                	jne    111ccc <_RTEMS_tasks_Switch_extension+0x30><== NEVER TAKEN
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
}                                                                     
  111cdf:	c9                   	leave                                 
  111ce0:	c3                   	ret                                   
                                                                      

00144b2c <_Rate_monotonic_Initiate_statistics>: } void _Rate_monotonic_Initiate_statistics( Rate_monotonic_Control *the_period ) {
  144b2c:	55                   	push   %ebp                           
  144b2d:	89 e5                	mov    %esp,%ebp                      
  144b2f:	57                   	push   %edi                           
  144b30:	56                   	push   %esi                           
  144b31:	53                   	push   %ebx                           
  144b32:	83 ec 28             	sub    $0x28,%esp                     
  144b35:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Thread_Control *owning_thread = the_period->owner;                  
  144b38:	8b 73 40             	mov    0x40(%ebx),%esi                
   *  If using nanosecond statistics, we need to obtain the uptime.   
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    Timestamp_Control  uptime;                                        
                                                                      
    _TOD_Get_uptime( &uptime );                                       
  144b3b:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  144b3e:	57                   	push   %edi                           
  144b3f:	e8 ac ce fe ff       	call   1319f0 <_TOD_Get_uptime>       
                                                                      
  /*                                                                  
   *  Set the starting point and the CPU time used for the statistics.
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    the_period->time_period_initiated = uptime;                       
  144b44:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  144b47:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  144b4a:	89 43 4c             	mov    %eax,0x4c(%ebx)                
  144b4d:	89 53 50             	mov    %edx,0x50(%ebx)                
  #else                                                               
    the_period->time_period_initiated = _Watchdog_Ticks_since_boot;   
  #endif                                                              
                                                                      
  the_period->cpu_usage_period_initiated = owning_thread->cpu_time_used;
  144b50:	8b 86 84 00 00 00    	mov    0x84(%esi),%eax                
  144b56:	8b 96 88 00 00 00    	mov    0x88(%esi),%edx                
  144b5c:	89 43 44             	mov    %eax,0x44(%ebx)                
  144b5f:	89 53 48             	mov    %edx,0x48(%ebx)                
   *  routine is invoked from rtems_rate_monotonic_period, the owner will
   *  be the executing thread.  When this routine is invoked from     
   *  _Rate_monotonic_Timeout, it will not.                           
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
  144b62:	83 c4 10             	add    $0x10,%esp                     
  144b65:	3b 35 18 50 17 00    	cmp    0x175018,%esi                  
  144b6b:	74 0b                	je     144b78 <_Rate_monotonic_Initiate_statistics+0x4c>
      );                                                              
                                                                      
      _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
    }                                                                 
  #endif                                                              
}                                                                     
  144b6d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144b70:	5b                   	pop    %ebx                           
  144b71:	5e                   	pop    %esi                           
  144b72:	5f                   	pop    %edi                           
  144b73:	c9                   	leave                                 
  144b74:	c3                   	ret                                   
  144b75:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
      /*                                                              
       *  Adjust the CPU time used to account for the time since last 
       *  context switch.                                             
       */                                                             
      _Timespec_Subtract(                                             
  144b78:	51                   	push   %ecx                           
  144b79:	8d 75 d8             	lea    -0x28(%ebp),%esi               
  144b7c:	56                   	push   %esi                           
  144b7d:	57                   	push   %edi                           
  144b7e:	68 20 50 17 00       	push   $0x175020                      
  144b83:	e8 c8 16 fd ff       	call   116250 <_Timespec_Subtract>    
	&_Thread_Time_of_last_context_switch, &uptime, &ran                  
      );                                                              
                                                                      
      _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
  144b88:	58                   	pop    %eax                           
  144b89:	5a                   	pop    %edx                           
  144b8a:	56                   	push   %esi                           
  144b8b:	83 c3 44             	add    $0x44,%ebx                     
  144b8e:	53                   	push   %ebx                           
  144b8f:	e8 80 16 fd ff       	call   116214 <_Timespec_Add_to>      
  144b94:	83 c4 10             	add    $0x10,%esp                     
    }                                                                 
  #endif                                                              
}                                                                     
  144b97:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144b9a:	5b                   	pop    %ebx                           
  144b9b:	5e                   	pop    %esi                           
  144b9c:	5f                   	pop    %edi                           
  144b9d:	c9                   	leave                                 
  144b9e:	c3                   	ret                                   
                                                                      

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

00144ed8 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
  144ed8:	55                   	push   %ebp                           
  144ed9:	89 e5                	mov    %esp,%ebp                      
  144edb:	83 ec 2c             	sub    $0x2c,%esp                     
  144ede:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  144ee1:	50                   	push   %eax                           
  144ee2:	ff 75 08             	pushl  0x8(%ebp)                      
  144ee5:	68 60 5b 17 00       	push   $0x175b60                      
  144eea:	e8 6d fd fc ff       	call   114c5c <_Objects_Get>          
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  144eef:	83 c4 10             	add    $0x10,%esp                     
  144ef2:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  144ef5:	85 d2                	test   %edx,%edx                      
  144ef7:	75 29                	jne    144f22 <_Rate_monotonic_Timeout+0x4a><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
  144ef9:	8b 50 40             	mov    0x40(%eax),%edx                
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
  144efc:	f6 42 11 40          	testb  $0x40,0x11(%edx)               
  144f00:	74 08                	je     144f0a <_Rate_monotonic_Timeout+0x32>
            the_thread->Wait.id == the_period->Object.id ) {          
  144f02:	8b 4a 20             	mov    0x20(%edx),%ecx                
  144f05:	3b 48 08             	cmp    0x8(%eax),%ecx                 
  144f08:	74 4e                	je     144f58 <_Rate_monotonic_Timeout+0x80>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
  144f0a:	83 78 38 01          	cmpl   $0x1,0x38(%eax)                
  144f0e:	74 14                	je     144f24 <_Rate_monotonic_Timeout+0x4c>
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
  144f10:	c7 40 38 04 00 00 00 	movl   $0x4,0x38(%eax)                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  144f17:	a1 58 4f 17 00       	mov    0x174f58,%eax                  
  144f1c:	48                   	dec    %eax                           
  144f1d:	a3 58 4f 17 00       	mov    %eax,0x174f58                  
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
  144f22:	c9                   	leave                                 
  144f23:	c3                   	ret                                   
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
  144f24:	c7 40 38 03 00 00 00 	movl   $0x3,0x38(%eax)                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  144f2b:	83 ec 0c             	sub    $0xc,%esp                      
  144f2e:	50                   	push   %eax                           
  144f2f:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  144f32:	e8 f5 fb ff ff       	call   144b2c <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  144f37:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  144f3a:	8b 50 3c             	mov    0x3c(%eax),%edx                
  144f3d:	89 50 1c             	mov    %edx,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  144f40:	5a                   	pop    %edx                           
  144f41:	59                   	pop    %ecx                           
  144f42:	83 c0 10             	add    $0x10,%eax                     
  144f45:	50                   	push   %eax                           
  144f46:	68 38 50 17 00       	push   $0x175038                      
  144f4b:	e8 d0 15 fd ff       	call   116520 <_Watchdog_Insert>      
  144f50:	83 c4 10             	add    $0x10,%esp                     
  144f53:	eb c2                	jmp    144f17 <_Rate_monotonic_Timeout+0x3f>
  144f55:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  144f58:	83 ec 08             	sub    $0x8,%esp                      
  144f5b:	68 f8 ff 03 10       	push   $0x1003fff8                    
  144f60:	52                   	push   %edx                           
  144f61:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  144f64:	e8 6f 02 fd ff       	call   1151d8 <_Thread_Clear_state>   
      the_thread = the_period->owner;                                 
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
  144f69:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  144f6c:	89 04 24             	mov    %eax,(%esp)                    
  144f6f:	eb c1                	jmp    144f32 <_Rate_monotonic_Timeout+0x5a>
                                                                      

00144c38 <_Rate_monotonic_Update_statistics>: } void _Rate_monotonic_Update_statistics( Rate_monotonic_Control *the_period ) {
  144c38:	55                   	push   %ebp                           
  144c39:	89 e5                	mov    %esp,%ebp                      
  144c3b:	57                   	push   %edi                           
  144c3c:	56                   	push   %esi                           
  144c3d:	53                   	push   %ebx                           
  144c3e:	83 ec 1c             	sub    $0x1c,%esp                     
  144c41:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
  144c44:	ff 43 54             	incl   0x54(%ebx)                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
  144c47:	83 7b 38 04          	cmpl   $0x4,0x38(%ebx)                
  144c4b:	0f 84 bf 00 00 00    	je     144d10 <_Rate_monotonic_Update_statistics+0xd8>
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  144c51:	52                   	push   %edx                           
  144c52:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  144c55:	57                   	push   %edi                           
  144c56:	8d 75 d8             	lea    -0x28(%ebp),%esi               
  144c59:	56                   	push   %esi                           
  144c5a:	53                   	push   %ebx                           
  144c5b:	e8 40 ff ff ff       	call   144ba0 <_Rate_monotonic_Get_status>
  if (!valid_status)                                                  
  144c60:	83 c4 10             	add    $0x10,%esp                     
  144c63:	84 c0                	test   %al,%al                        
  144c65:	75 09                	jne    144c70 <_Rate_monotonic_Update_statistics+0x38>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
  144c67:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144c6a:	5b                   	pop    %ebx                           
  144c6b:	5e                   	pop    %esi                           
  144c6c:	5f                   	pop    %edi                           
  144c6d:	c9                   	leave                                 
  144c6e:	c3                   	ret                                   
  144c6f:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
  144c70:	83 ec 08             	sub    $0x8,%esp                      
  144c73:	57                   	push   %edi                           
  144c74:	8d 43 6c             	lea    0x6c(%ebx),%eax                
  144c77:	50                   	push   %eax                           
  144c78:	e8 97 15 fd ff       	call   116214 <_Timespec_Add_to>      
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
  144c7d:	59                   	pop    %ecx                           
  144c7e:	58                   	pop    %eax                           
  144c7f:	8d 43 5c             	lea    0x5c(%ebx),%eax                
  144c82:	50                   	push   %eax                           
  144c83:	57                   	push   %edi                           
  144c84:	e8 6b 06 00 00       	call   1452f4 <_Timespec_Less_than>   
  144c89:	83 c4 10             	add    $0x10,%esp                     
  144c8c:	84 c0                	test   %al,%al                        
  144c8e:	74 0c                	je     144c9c <_Rate_monotonic_Update_statistics+0x64>
      stats->min_cpu_time = executed;                                 
  144c90:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  144c93:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  144c96:	89 43 5c             	mov    %eax,0x5c(%ebx)                
  144c99:	89 53 60             	mov    %edx,0x60(%ebx)                
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
  144c9c:	83 ec 08             	sub    $0x8,%esp                      
  144c9f:	8d 43 64             	lea    0x64(%ebx),%eax                
  144ca2:	50                   	push   %eax                           
  144ca3:	57                   	push   %edi                           
  144ca4:	e8 27 06 00 00       	call   1452d0 <_Timespec_Greater_than>
  144ca9:	83 c4 10             	add    $0x10,%esp                     
  144cac:	84 c0                	test   %al,%al                        
  144cae:	74 0c                	je     144cbc <_Rate_monotonic_Update_statistics+0x84>
      stats->max_cpu_time = executed;                                 
  144cb0:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  144cb3:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  144cb6:	89 43 64             	mov    %eax,0x64(%ebx)                
  144cb9:	89 53 68             	mov    %edx,0x68(%ebx)                
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
  144cbc:	83 ec 08             	sub    $0x8,%esp                      
  144cbf:	56                   	push   %esi                           
  144cc0:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  144cc6:	50                   	push   %eax                           
  144cc7:	e8 48 15 fd ff       	call   116214 <_Timespec_Add_to>      
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
  144ccc:	58                   	pop    %eax                           
  144ccd:	5a                   	pop    %edx                           
  144cce:	8d 43 74             	lea    0x74(%ebx),%eax                
  144cd1:	50                   	push   %eax                           
  144cd2:	56                   	push   %esi                           
  144cd3:	e8 1c 06 00 00       	call   1452f4 <_Timespec_Less_than>   
  144cd8:	83 c4 10             	add    $0x10,%esp                     
  144cdb:	84 c0                	test   %al,%al                        
  144cdd:	75 39                	jne    144d18 <_Rate_monotonic_Update_statistics+0xe0>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
  144cdf:	83 ec 08             	sub    $0x8,%esp                      
  144ce2:	8d 43 7c             	lea    0x7c(%ebx),%eax                
  144ce5:	50                   	push   %eax                           
  144ce6:	56                   	push   %esi                           
  144ce7:	e8 e4 05 00 00       	call   1452d0 <_Timespec_Greater_than>
  144cec:	83 c4 10             	add    $0x10,%esp                     
  144cef:	84 c0                	test   %al,%al                        
  144cf1:	0f 84 70 ff ff ff    	je     144c67 <_Rate_monotonic_Update_statistics+0x2f>
      stats->max_wall_time = since_last_period;                       
  144cf7:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  144cfa:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  144cfd:	89 43 7c             	mov    %eax,0x7c(%ebx)                
  144d00:	89 93 80 00 00 00    	mov    %edx,0x80(%ebx)                
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
  144d06:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144d09:	5b                   	pop    %ebx                           
  144d0a:	5e                   	pop    %esi                           
  144d0b:	5f                   	pop    %edi                           
  144d0c:	c9                   	leave                                 
  144d0d:	c3                   	ret                                   
  144d0e:	66 90                	xchg   %ax,%ax                        
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
    stats->missed_count++;                                            
  144d10:	ff 43 58             	incl   0x58(%ebx)                     
  144d13:	e9 39 ff ff ff       	jmp    144c51 <_Rate_monotonic_Update_statistics+0x19>
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
      stats->min_wall_time = since_last_period;                       
  144d18:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  144d1b:	8b 55 dc             	mov    -0x24(%ebp),%edx               
  144d1e:	89 43 74             	mov    %eax,0x74(%ebx)                
  144d21:	89 53 78             	mov    %edx,0x78(%ebx)                
  144d24:	eb b9                	jmp    144cdf <_Rate_monotonic_Update_statistics+0xa7>
                                                                      

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

0010e09c <_TOD_Set>: */ void _TOD_Set( const struct timespec *time ) {
  10e09c:	55                   	push   %ebp                           
  10e09d:	89 e5                	mov    %esp,%ebp                      
  10e09f:	53                   	push   %ebx                           
  10e0a0:	83 ec 04             	sub    $0x4,%esp                      
  10e0a3:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10e0a6:	a1 78 ce 12 00       	mov    0x12ce78,%eax                  
  10e0ab:	40                   	inc    %eax                           
  10e0ac:	a3 78 ce 12 00       	mov    %eax,0x12ce78                  
  long seconds;                                                       
                                                                      
  _Thread_Disable_dispatch();                                         
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
  10e0b1:	a1 0c cf 12 00       	mov    0x12cf0c,%eax                  
                                                                      
  if ( time->tv_sec < seconds )                                       
  10e0b6:	8b 13                	mov    (%ebx),%edx                    
  10e0b8:	39 d0                	cmp    %edx,%eax                      
  10e0ba:	7f 34                	jg     10e0f0 <_TOD_Set+0x54>         
  Watchdog_Adjust_directions direction,                               
  Watchdog_Interval          units                                    
)                                                                     
{                                                                     
                                                                      
  _Watchdog_Adjust( &_Watchdog_Seconds_chain, direction, units );     
  10e0bc:	51                   	push   %ecx                           
  10e0bd:	29 c2                	sub    %eax,%edx                      
  10e0bf:	52                   	push   %edx                           
  10e0c0:	6a 00                	push   $0x0                           
  10e0c2:	68 4c cf 12 00       	push   $0x12cf4c                      
  10e0c7:	e8 0c 25 00 00       	call   1105d8 <_Watchdog_Adjust>      
  10e0cc:	83 c4 10             	add    $0x10,%esp                     
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  10e0cf:	8b 03                	mov    (%ebx),%eax                    
  10e0d1:	a3 0c cf 12 00       	mov    %eax,0x12cf0c                  
  10e0d6:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10e0d9:	a3 10 cf 12 00       	mov    %eax,0x12cf10                  
  _TOD_Is_set = true;                                                 
  10e0de:	c6 05 8c ce 12 00 01 	movb   $0x1,0x12ce8c                  
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
  10e0e5:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e0e8:	c9                   	leave                                 
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  _TOD_Is_set = true;                                                 
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10e0e9:	e9 ca 12 00 00       	jmp    10f3b8 <_Thread_Enable_dispatch>
  10e0ee:	66 90                	xchg   %ax,%ax                        
  10e0f0:	51                   	push   %ecx                           
  10e0f1:	29 d0                	sub    %edx,%eax                      
  10e0f3:	50                   	push   %eax                           
  10e0f4:	6a 01                	push   $0x1                           
  10e0f6:	68 4c cf 12 00       	push   $0x12cf4c                      
  10e0fb:	e8 d8 24 00 00       	call   1105d8 <_Watchdog_Adjust>      
  10e100:	83 c4 10             	add    $0x10,%esp                     
  10e103:	eb ca                	jmp    10e0cf <_TOD_Set+0x33>         
                                                                      

0010c804 <_TOD_To_seconds>: */ uint32_t _TOD_To_seconds( const rtems_time_of_day *the_tod ) {
  10c804:	55                   	push   %ebp                           
  10c805:	89 e5                	mov    %esp,%ebp                      
  10c807:	56                   	push   %esi                           
  10c808:	53                   	push   %ebx                           
  10c809:	8b 55 08             	mov    0x8(%ebp),%edx                 
  uint32_t   time;                                                    
  uint32_t   year_mod_4;                                              
                                                                      
  time = the_tod->day - 1;                                            
  10c80c:	8b 72 08             	mov    0x8(%edx),%esi                 
  10c80f:	4e                   	dec    %esi                           
  year_mod_4 = the_tod->year & 3;                                     
  10c810:	8b 02                	mov    (%edx),%eax                    
                                                                      
  if ( year_mod_4 == 0 )                                              
  10c812:	89 c3                	mov    %eax,%ebx                      
  10c814:	83 e3 03             	and    $0x3,%ebx                      
  10c817:	74 67                	je     10c880 <_TOD_To_seconds+0x7c>  
    time += _TOD_Days_to_date[ 1 ][ the_tod->month ];                 
  else                                                                
    time += _TOD_Days_to_date[ 0 ][ the_tod->month ];                 
  10c819:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10c81c:	0f b7 8c 09 e0 55 12 	movzwl 0x1255e0(%ecx,%ecx,1),%ecx     
  10c823:	00                                                          
  10c824:	8d 34 31             	lea    (%ecx,%esi,1),%esi             
                                                                      
  time += ( (the_tod->year - TOD_BASE_YEAR) / 4 ) *                   
  10c827:	0f b7 8c 1b 14 56 12 	movzwl 0x125614(%ebx,%ebx,1),%ecx     
  10c82e:	00                                                          
  10c82f:	2d c4 07 00 00       	sub    $0x7c4,%eax                    
  10c834:	c1 e8 02             	shr    $0x2,%eax                      
  10c837:	8d 1c c0             	lea    (%eax,%eax,8),%ebx             
  10c83a:	8d 1c d8             	lea    (%eax,%ebx,8),%ebx             
  10c83d:	8d 1c 9b             	lea    (%ebx,%ebx,4),%ebx             
  10c840:	8d 04 98             	lea    (%eax,%ebx,4),%eax             
  10c843:	01 c1                	add    %eax,%ecx                      
            ( (TOD_DAYS_PER_YEAR * 4) + 1);                           
                                                                      
  time += _TOD_Days_since_last_leap_year[ year_mod_4 ];               
  10c845:	01 f1                	add    %esi,%ecx                      
                                                                      
  time *= TOD_SECONDS_PER_DAY;                                        
  10c847:	8d 04 89             	lea    (%ecx,%ecx,4),%eax             
  10c84a:	8d 04 81             	lea    (%ecx,%eax,4),%eax             
  10c84d:	8d 04 c1             	lea    (%ecx,%eax,8),%eax             
  10c850:	c1 e0 02             	shl    $0x2,%eax                      
  10c853:	29 c8                	sub    %ecx,%eax                      
  10c855:	c1 e0 07             	shl    $0x7,%eax                      
                                                                      
  time += ((the_tod->hour * TOD_MINUTES_PER_HOUR) + the_tod->minute)  
  10c858:	8b 5a 14             	mov    0x14(%edx),%ebx                
             * TOD_SECONDS_PER_MINUTE;                                
                                                                      
  time += the_tod->second;                                            
  10c85b:	8b 4a 0c             	mov    0xc(%edx),%ecx                 
  10c85e:	8d 0c 49             	lea    (%ecx,%ecx,2),%ecx             
  10c861:	8d 0c 89             	lea    (%ecx,%ecx,4),%ecx             
  10c864:	c1 e1 02             	shl    $0x2,%ecx                      
  10c867:	03 4a 10             	add    0x10(%edx),%ecx                
  10c86a:	8d 14 49             	lea    (%ecx,%ecx,2),%edx             
  10c86d:	8d 14 92             	lea    (%edx,%edx,4),%edx             
  10c870:	8d 94 93 00 e5 da 21 	lea    0x21dae500(%ebx,%edx,4),%edx   
  10c877:	8d 04 02             	lea    (%edx,%eax,1),%eax             
                                                                      
  time += TOD_SECONDS_1970_THROUGH_1988;                              
                                                                      
  return( time );                                                     
}                                                                     
  10c87a:	5b                   	pop    %ebx                           
  10c87b:	5e                   	pop    %esi                           
  10c87c:	c9                   	leave                                 
  10c87d:	c3                   	ret                                   
  10c87e:	66 90                	xchg   %ax,%ax                        
                                                                      
  time = the_tod->day - 1;                                            
  year_mod_4 = the_tod->year & 3;                                     
                                                                      
  if ( year_mod_4 == 0 )                                              
    time += _TOD_Days_to_date[ 1 ][ the_tod->month ];                 
  10c880:	8b 4a 04             	mov    0x4(%edx),%ecx                 
  10c883:	0f b7 8c 09 fa 55 12 	movzwl 0x1255fa(%ecx,%ecx,1),%ecx     
  10c88a:	00                                                          
  10c88b:	8d 34 31             	lea    (%ecx,%esi,1),%esi             
  10c88e:	eb 97                	jmp    10c827 <_TOD_To_seconds+0x23>  
                                                                      

0010c890 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
  10c890:	55                   	push   %ebp                           
  10c891:	89 e5                	mov    %esp,%ebp                      
  10c893:	53                   	push   %ebx                           
  10c894:	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();                 
  10c897:	8b 1d 4c 88 12 00    	mov    0x12884c,%ebx                  
  if ((!the_tod)                                  ||                  
  10c89d:	85 c9                	test   %ecx,%ecx                      
  10c89f:	74 53                	je     10c8f4 <_TOD_Validate+0x64>    <== NEVER TAKEN
  10c8a1:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10c8a6:	31 d2                	xor    %edx,%edx                      
  10c8a8:	f7 f3                	div    %ebx                           
      (the_tod->ticks  >= ticks_per_second)       ||                  
  10c8aa:	3b 41 18             	cmp    0x18(%ecx),%eax                
  10c8ad:	76 45                	jbe    10c8f4 <_TOD_Validate+0x64>    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
  10c8af:	83 79 14 3b          	cmpl   $0x3b,0x14(%ecx)               
  10c8b3:	77 3f                	ja     10c8f4 <_TOD_Validate+0x64>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
  10c8b5:	83 79 10 3b          	cmpl   $0x3b,0x10(%ecx)               
  10c8b9:	77 39                	ja     10c8f4 <_TOD_Validate+0x64>    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
  10c8bb:	83 79 0c 17          	cmpl   $0x17,0xc(%ecx)                
  10c8bf:	77 33                	ja     10c8f4 <_TOD_Validate+0x64>    
      (the_tod->month  == 0)                      ||                  
  10c8c1:	8b 41 04             	mov    0x4(%ecx),%eax                 
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10c8c4:	85 c0                	test   %eax,%eax                      
  10c8c6:	74 2c                	je     10c8f4 <_TOD_Validate+0x64>    <== NEVER TAKEN
  10c8c8:	83 f8 0c             	cmp    $0xc,%eax                      
  10c8cb:	77 27                	ja     10c8f4 <_TOD_Validate+0x64>    
      (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)          ||                  
  10c8cd:	8b 11                	mov    (%ecx),%edx                    
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
  10c8cf:	81 fa c3 07 00 00    	cmp    $0x7c3,%edx                    
  10c8d5:	76 1d                	jbe    10c8f4 <_TOD_Validate+0x64>    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
  10c8d7:	8b 49 08             	mov    0x8(%ecx),%ecx                 
  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)                                  ||                  
  10c8da:	85 c9                	test   %ecx,%ecx                      
  10c8dc:	74 16                	je     10c8f4 <_TOD_Validate+0x64>    <== NEVER TAKEN
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
  10c8de:	83 e2 03             	and    $0x3,%edx                      
  10c8e1:	75 16                	jne    10c8f9 <_TOD_Validate+0x69>    
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  10c8e3:	8b 04 85 54 56 12 00 	mov    0x125654(,%eax,4),%eax         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  10c8ea:	39 c8                	cmp    %ecx,%eax                      
  10c8ec:	0f 93 c0             	setae  %al                            
  10c8ef:	eb 05                	jmp    10c8f6 <_TOD_Validate+0x66>    
  10c8f1:	8d 76 00             	lea    0x0(%esi),%esi                 
  10c8f4:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  10c8f6:	5b                   	pop    %ebx                           
  10c8f7:	c9                   	leave                                 
  10c8f8:	c3                   	ret                                   
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
  10c8f9:	8b 04 85 20 56 12 00 	mov    0x125620(,%eax,4),%eax         
  10c900:	eb e8                	jmp    10c8ea <_TOD_Validate+0x5a>    
                                                                      

0010d784 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
  10d784:	55                   	push   %ebp                           
  10d785:	89 e5                	mov    %esp,%ebp                      
  10d787:	57                   	push   %edi                           
  10d788:	56                   	push   %esi                           
  10d789:	53                   	push   %ebx                           
  10d78a:	83 ec 28             	sub    $0x28,%esp                     
  10d78d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d790:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10d793:	8a 45 10             	mov    0x10(%ebp),%al                 
  10d796:	88 45 e7             	mov    %al,-0x19(%ebp)                
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
  10d799:	8b 7b 10             	mov    0x10(%ebx),%edi                
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
  10d79c:	53                   	push   %ebx                           
  10d79d:	e8 92 0e 00 00       	call   10e634 <_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 )                  
  10d7a2:	83 c4 10             	add    $0x10,%esp                     
  10d7a5:	39 73 14             	cmp    %esi,0x14(%ebx)                
  10d7a8:	74 0d                	je     10d7b7 <_Thread_Change_priority+0x33>
    _Thread_Set_priority( the_thread, new_priority );                 
  10d7aa:	83 ec 08             	sub    $0x8,%esp                      
  10d7ad:	56                   	push   %esi                           
  10d7ae:	53                   	push   %ebx                           
  10d7af:	e8 38 0d 00 00       	call   10e4ec <_Thread_Set_priority>  
  10d7b4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  _ISR_Disable( level );                                              
  10d7b7:	9c                   	pushf                                 
  10d7b8:	fa                   	cli                                   
  10d7b9:	5a                   	pop    %edx                           
                                                                      
  /*                                                                  
   *  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;                                  
  10d7ba:	8b 43 10             	mov    0x10(%ebx),%eax                
  if ( state != STATES_TRANSIENT ) {                                  
  10d7bd:	83 f8 04             	cmp    $0x4,%eax                      
  10d7c0:	74 26                	je     10d7e8 <_Thread_Change_priority+0x64>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
  10d7c2:	83 e7 04             	and    $0x4,%edi                      
  10d7c5:	74 15                	je     10d7dc <_Thread_Change_priority+0x58><== ALWAYS TAKEN
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
  10d7c7:	52                   	push   %edx                           
  10d7c8:	9d                   	popf                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
  10d7c9:	a9 e0 be 03 00       	test   $0x3bee0,%eax                  
  10d7ce:	0f 85 bc 00 00 00    	jne    10d890 <_Thread_Change_priority+0x10c>
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
  10d7d4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d7d7:	5b                   	pop    %ebx                           
  10d7d8:	5e                   	pop    %esi                           
  10d7d9:	5f                   	pop    %edi                           
  10d7da:	c9                   	leave                                 
  10d7db:	c3                   	ret                                   
   */                                                                 
  state = the_thread->current_state;                                  
  if ( state != STATES_TRANSIENT ) {                                  
    /* 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 );
  10d7dc:	89 c1                	mov    %eax,%ecx                      
  10d7de:	83 e1 fb             	and    $0xfffffffb,%ecx               
  10d7e1:	89 4b 10             	mov    %ecx,0x10(%ebx)                
  10d7e4:	eb e1                	jmp    10d7c7 <_Thread_Change_priority+0x43>
  10d7e6:	66 90                	xchg   %ax,%ax                        
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
  10d7e8:	83 e7 04             	and    $0x4,%edi                      
  10d7eb:	75 45                	jne    10d832 <_Thread_Change_priority+0xae><== 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 );
  10d7ed:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10d7f4:	8b 83 90 00 00 00    	mov    0x90(%ebx),%eax                
  10d7fa:	66 8b 8b 96 00 00 00 	mov    0x96(%ebx),%cx                 
  10d801:	66 09 08             	or     %cx,(%eax)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10d804:	66 a1 ac 94 12 00    	mov    0x1294ac,%ax                   
  10d80a:	0b 83 94 00 00 00    	or     0x94(%ebx),%eax                
  10d810:	66 a3 ac 94 12 00    	mov    %ax,0x1294ac                   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
  10d816:	80 7d e7 00          	cmpb   $0x0,-0x19(%ebp)               
  10d81a:	0f 84 88 00 00 00    	je     10d8a8 <_Thread_Change_priority+0x124>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) the_chain;                                   
  10d820:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10d826:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10d829:	8b 08                	mov    (%eax),%ecx                    
  after_node->next      = the_node;                                   
  10d82b:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10d82d:	89 0b                	mov    %ecx,(%ebx)                    
  before_node->previous = the_node;                                   
  10d82f:	89 59 04             	mov    %ebx,0x4(%ecx)                 
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
  10d832:	52                   	push   %edx                           
  10d833:	9d                   	popf                                  
  10d834:	fa                   	cli                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10d835:	66 8b 1d ac 94 12 00 	mov    0x1294ac,%bx                   
  10d83c:	31 c0                	xor    %eax,%eax                      
  10d83e:	89 c1                	mov    %eax,%ecx                      
  10d840:	66 0f bc cb          	bsf    %bx,%cx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10d844:	0f b7 c9             	movzwl %cx,%ecx                       
  10d847:	66 8b 9c 09 40 95 12 	mov    0x129540(%ecx,%ecx,1),%bx      
  10d84e:	00                                                          
  10d84f:	66 0f bc c3          	bsf    %bx,%ax                        
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10d853:	c1 e1 04             	shl    $0x4,%ecx                      
  10d856:	0f b7 c0             	movzwl %ax,%eax                       
  10d859:	8d 04 01             	lea    (%ecx,%eax,1),%eax             
  10d85c:	8d 0c 40             	lea    (%eax,%eax,2),%ecx             
  10d85f:	a1 c0 93 12 00       	mov    0x1293c0,%eax                  
  10d864:	8b 04 88             	mov    (%eax,%ecx,4),%eax             
  10d867:	a3 88 94 12 00       	mov    %eax,0x129488                  
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
  10d86c:	8b 0d b8 94 12 00    	mov    0x1294b8,%ecx                  
   *  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() &&                       
  10d872:	39 c8                	cmp    %ecx,%eax                      
  10d874:	74 0d                	je     10d883 <_Thread_Change_priority+0xff>
       _Thread_Executing->is_preemptible )                            
  10d876:	80 79 75 00          	cmpb   $0x0,0x75(%ecx)                
  10d87a:	74 07                	je     10d883 <_Thread_Change_priority+0xff>
    _Context_Switch_necessary = true;                                 
  10d87c:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
  _ISR_Enable( level );                                               
  10d883:	52                   	push   %edx                           
  10d884:	9d                   	popf                                  
}                                                                     
  10d885:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d888:	5b                   	pop    %ebx                           
  10d889:	5e                   	pop    %esi                           
  10d88a:	5f                   	pop    %edi                           
  10d88b:	c9                   	leave                                 
  10d88c:	c3                   	ret                                   
  10d88d:	8d 76 00             	lea    0x0(%esi),%esi                 
    /* 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 );    
  10d890:	89 5d 0c             	mov    %ebx,0xc(%ebp)                 
  10d893:	8b 43 44             	mov    0x44(%ebx),%eax                
  10d896:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
  10d899:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d89c:	5b                   	pop    %ebx                           
  10d89d:	5e                   	pop    %esi                           
  10d89e:	5f                   	pop    %edi                           
  10d89f:	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 );    
  10d8a0:	e9 af 0b 00 00       	jmp    10e454 <_Thread_queue_Requeue> 
  10d8a5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  10d8a8:	8b 83 8c 00 00 00    	mov    0x8c(%ebx),%eax                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10d8ae:	8d 48 04             	lea    0x4(%eax),%ecx                 
  10d8b1:	89 0b                	mov    %ecx,(%ebx)                    
  old_last_node       = the_chain->last;                              
  10d8b3:	8b 48 08             	mov    0x8(%eax),%ecx                 
  the_chain->last     = the_node;                                     
  10d8b6:	89 58 08             	mov    %ebx,0x8(%eax)                 
  old_last_node->next = the_node;                                     
  10d8b9:	89 19                	mov    %ebx,(%ecx)                    
  the_node->previous  = old_last_node;                                
  10d8bb:	89 4b 04             	mov    %ecx,0x4(%ebx)                 
  10d8be:	e9 6f ff ff ff       	jmp    10d832 <_Thread_Change_priority+0xae>
                                                                      

0010d8c4 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
  10d8c4:	55                   	push   %ebp                           
  10d8c5:	89 e5                	mov    %esp,%ebp                      
  10d8c7:	53                   	push   %ebx                           
  10d8c8:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d8cb:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  10d8ce:	9c                   	pushf                                 
  10d8cf:	fa                   	cli                                   
  10d8d0:	5b                   	pop    %ebx                           
    current_state = the_thread->current_state;                        
  10d8d1:	8b 48 10             	mov    0x10(%eax),%ecx                
                                                                      
    if ( current_state & state ) {                                    
  10d8d4:	85 ca                	test   %ecx,%edx                      
  10d8d6:	74 70                	je     10d948 <_Thread_Clear_state+0x84>
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
  10d8d8:	f7 d2                	not    %edx                           
  10d8da:	21 ca                	and    %ecx,%edx                      
      current_state =                                                 
  10d8dc:	89 50 10             	mov    %edx,0x10(%eax)                
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
  10d8df:	85 d2                	test   %edx,%edx                      
  10d8e1:	75 65                	jne    10d948 <_Thread_Clear_state+0x84>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  10d8e3:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10d8e9:	66 8b 88 96 00 00 00 	mov    0x96(%eax),%cx                 
  10d8f0:	66 09 0a             	or     %cx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  10d8f3:	66 8b 15 ac 94 12 00 	mov    0x1294ac,%dx                   
  10d8fa:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  10d900:	66 89 15 ac 94 12 00 	mov    %dx,0x1294ac                   
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  10d907:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10d90d:	8d 4a 04             	lea    0x4(%edx),%ecx                 
  10d910:	89 08                	mov    %ecx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10d912:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  the_chain->last     = the_node;                                     
  10d915:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10d918:	89 01                	mov    %eax,(%ecx)                    
  the_node->previous  = old_last_node;                                
  10d91a:	89 48 04             	mov    %ecx,0x4(%eax)                 
                                                                      
        _ISR_Flash( level );                                          
  10d91d:	53                   	push   %ebx                           
  10d91e:	9d                   	popf                                  
  10d91f:	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 ) {
  10d920:	8b 50 14             	mov    0x14(%eax),%edx                
  10d923:	8b 0d 88 94 12 00    	mov    0x129488,%ecx                  
  10d929:	3b 51 14             	cmp    0x14(%ecx),%edx                
  10d92c:	73 1a                	jae    10d948 <_Thread_Clear_state+0x84>
          _Thread_Heir = the_thread;                                  
  10d92e:	a3 88 94 12 00       	mov    %eax,0x129488                  
          if ( _Thread_Executing->is_preemptible ||                   
  10d933:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  10d938:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  10d93c:	74 12                	je     10d950 <_Thread_Clear_state+0x8c>
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
  10d93e:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
  10d945:	8d 76 00             	lea    0x0(%esi),%esi                 
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
  10d948:	53                   	push   %ebx                           
  10d949:	9d                   	popf                                  
}                                                                     
  10d94a:	5b                   	pop    %ebx                           
  10d94b:	c9                   	leave                                 
  10d94c:	c3                   	ret                                   
  10d94d:	8d 76 00             	lea    0x0(%esi),%esi                 
         *    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 ) {
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
  10d950:	85 d2                	test   %edx,%edx                      
  10d952:	74 ea                	je     10d93e <_Thread_Clear_state+0x7a><== NEVER TAKEN
  10d954:	eb f2                	jmp    10d948 <_Thread_Clear_state+0x84>
                                                                      

0010d958 <_Thread_Close>: void _Thread_Close( Objects_Information *information, Thread_Control *the_thread ) {
  10d958:	55                   	push   %ebp                           
  10d959:	89 e5                	mov    %esp,%ebp                      
  10d95b:	56                   	push   %esi                           
  10d95c:	53                   	push   %ebx                           
  10d95d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10d960:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10d963:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10d967:	8b 46 1c             	mov    0x1c(%esi),%eax                
  10d96a:	c7 04 90 00 00 00 00 	movl   $0x0,(%eax,%edx,4)             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10d971:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10d976:	48                   	dec    %eax                           
  10d977:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
  10d97c:	83 ec 0c             	sub    $0xc,%esp                      
  10d97f:	53                   	push   %ebx                           
  10d980:	e8 9b 11 00 00       	call   10eb20 <_User_extensions_Thread_delete>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d985:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10d98a:	40                   	inc    %eax                           
  10d98b:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  /*                                                                  
   *  Now we are in a dispatching critical section again and we       
   *  can take the thread OUT of the published set.  It is invalid    
   *  to use this thread's Id OR name after this call.                
   */                                                                 
  _Objects_Close( information, &the_thread->Object );                 
  10d990:	59                   	pop    %ecx                           
  10d991:	58                   	pop    %eax                           
  10d992:	53                   	push   %ebx                           
  10d993:	56                   	push   %esi                           
  10d994:	e8 2b f6 ff ff       	call   10cfc4 <_Objects_Close>        
                                                                      
  /*                                                                  
   *  By setting the dormant state, the thread will not be considered 
   *  for scheduling when we remove any blocking states.              
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
  10d999:	58                   	pop    %eax                           
  10d99a:	5a                   	pop    %edx                           
  10d99b:	6a 01                	push   $0x1                           
  10d99d:	53                   	push   %ebx                           
  10d99e:	e8 b5 0b 00 00       	call   10e558 <_Thread_Set_state>     
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
  10d9a3:	89 1c 24             	mov    %ebx,(%esp)                    
  10d9a6:	e8 01 0a 00 00       	call   10e3ac <_Thread_queue_Extract_with_proxy>
  10d9ab:	83 c4 10             	add    $0x10,%esp                     
  10d9ae:	84 c0                	test   %al,%al                        
  10d9b0:	75 06                	jne    10d9b8 <_Thread_Close+0x60>    
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
  10d9b2:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10d9b6:	74 68                	je     10da20 <_Thread_Close+0xc8>    
  /*                                                                  
   *  The thread might have been FP.  So deal with that.              
   */                                                                 
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
  10d9b8:	3b 1d 80 94 12 00    	cmp    0x129480,%ebx                  
  10d9be:	74 74                	je     10da34 <_Thread_Close+0xdc>    
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
  10d9c0:	c7 83 ec 00 00 00 00 	movl   $0x0,0xec(%ebx)                
  10d9c7:	00 00 00                                                    
                                                                      
  if ( the_thread->Start.fp_context )                                 
  10d9ca:	8b 83 cc 00 00 00    	mov    0xcc(%ebx),%eax                
  10d9d0:	85 c0                	test   %eax,%eax                      
  10d9d2:	74 0c                	je     10d9e0 <_Thread_Close+0x88>    
    (void) _Workspace_Free( the_thread->Start.fp_context );           
  10d9d4:	83 ec 0c             	sub    $0xc,%esp                      
  10d9d7:	50                   	push   %eax                           
  10d9d8:	e8 4b 14 00 00       	call   10ee28 <_Workspace_Free>       
  10d9dd:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  10d9e0:	83 ec 0c             	sub    $0xc,%esp                      
  10d9e3:	53                   	push   %ebx                           
  10d9e4:	e8 23 0d 00 00       	call   10e70c <_Thread_Stack_Free>    
  the_thread->Start.stack = NULL;                                     
  10d9e9:	c7 83 d0 00 00 00 00 	movl   $0x0,0xd0(%ebx)                
  10d9f0:	00 00 00                                                    
                                                                      
  if ( the_thread->extensions )                                       
  10d9f3:	8b 83 00 01 00 00    	mov    0x100(%ebx),%eax               
  10d9f9:	83 c4 10             	add    $0x10,%esp                     
  10d9fc:	85 c0                	test   %eax,%eax                      
  10d9fe:	74 0c                	je     10da0c <_Thread_Close+0xb4>    
    (void) _Workspace_Free( the_thread->extensions );                 
  10da00:	83 ec 0c             	sub    $0xc,%esp                      
  10da03:	50                   	push   %eax                           
  10da04:	e8 1f 14 00 00       	call   10ee28 <_Workspace_Free>       
  10da09:	83 c4 10             	add    $0x10,%esp                     
  the_thread->extensions = NULL;                                      
  10da0c:	c7 83 00 01 00 00 00 	movl   $0x0,0x100(%ebx)               
  10da13:	00 00 00                                                    
}                                                                     
  10da16:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10da19:	5b                   	pop    %ebx                           
  10da1a:	5e                   	pop    %esi                           
  10da1b:	c9                   	leave                                 
  10da1c:	c3                   	ret                                   
  10da1d:	8d 76 00             	lea    0x0(%esi),%esi                 
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  10da20:	83 ec 0c             	sub    $0xc,%esp                      
  10da23:	8d 43 48             	lea    0x48(%ebx),%eax                
  10da26:	50                   	push   %eax                           
  10da27:	e8 dc 12 00 00       	call   10ed08 <_Watchdog_Remove>      
  10da2c:	83 c4 10             	add    $0x10,%esp                     
  10da2f:	eb 87                	jmp    10d9b8 <_Thread_Close+0x60>    
  10da31:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE void _Thread_Deallocate_fp( void )               
{                                                                     
  _Thread_Allocated_fp = NULL;                                        
  10da34:	c7 05 80 94 12 00 00 	movl   $0x0,0x129480                  
  10da3b:	00 00 00                                                    
  10da3e:	eb 80                	jmp    10d9c0 <_Thread_Close+0x68>    
                                                                      

0010dad4 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10dad4:	55                   	push   %ebp                           
  10dad5:	89 e5                	mov    %esp,%ebp                      
  10dad7:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10dada:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10dadd:	50                   	push   %eax                           
  10dade:	ff 75 08             	pushl  0x8(%ebp)                      
  10dae1:	e8 aa 01 00 00       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  10dae6:	83 c4 10             	add    $0x10,%esp                     
  10dae9:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10daec:	85 d2                	test   %edx,%edx                      
  10daee:	75 1c                	jne    10db0c <_Thread_Delay_ended+0x38><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
  10daf0:	83 ec 08             	sub    $0x8,%esp                      
  10daf3:	68 18 00 00 10       	push   $0x10000018                    
  10daf8:	50                   	push   %eax                           
  10daf9:	e8 c6 fd ff ff       	call   10d8c4 <_Thread_Clear_state>   
  10dafe:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10db03:	48                   	dec    %eax                           
  10db04:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  10db09:	83 c4 10             	add    $0x10,%esp                     
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10db0c:	c9                   	leave                                 
  10db0d:	c3                   	ret                                   
                                                                      

0010db10 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
  10db10:	55                   	push   %ebp                           
  10db11:	89 e5                	mov    %esp,%ebp                      
  10db13:	57                   	push   %edi                           
  10db14:	56                   	push   %esi                           
  10db15:	53                   	push   %ebx                           
  10db16:	83 ec 1c             	sub    $0x1c,%esp                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  10db19:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
  _ISR_Disable( level );                                              
  10db1f:	9c                   	pushf                                 
  10db20:	fa                   	cli                                   
  10db21:	58                   	pop    %eax                           
  while ( _Context_Switch_necessary == true ) {                       
  10db22:	8a 15 c8 94 12 00    	mov    0x1294c8,%dl                   
  10db28:	84 d2                	test   %dl,%dl                        
  10db2a:	0f 84 10 01 00 00    	je     10dc40 <_Thread_Dispatch+0x130>
  10db30:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10db33:	e9 d1 00 00 00       	jmp    10dc09 <_Thread_Dispatch+0xf9> 
    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 )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
    _ISR_Enable( level );                                             
  10db38:	50                   	push   %eax                           
  10db39:	9d                   	popf                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
  10db3a:	83 ec 0c             	sub    $0xc,%esp                      
  10db3d:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10db40:	50                   	push   %eax                           
  10db41:	e8 26 47 00 00       	call   11226c <_TOD_Get_uptime>       
        _Timestamp_Subtract(                                          
  10db46:	83 c4 0c             	add    $0xc,%esp                      
  10db49:	57                   	push   %edi                           
  10db4a:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10db4d:	50                   	push   %eax                           
  10db4e:	68 c0 94 12 00       	push   $0x1294c0                      
  10db53:	e8 b8 0d 00 00       	call   10e910 <_Timespec_Subtract>    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
  10db58:	5a                   	pop    %edx                           
  10db59:	59                   	pop    %ecx                           
  10db5a:	57                   	push   %edi                           
  10db5b:	8d 83 84 00 00 00    	lea    0x84(%ebx),%eax                
  10db61:	50                   	push   %eax                           
  10db62:	e8 6d 0d 00 00       	call   10e8d4 <_Timespec_Add_to>      
        _Thread_Time_of_last_context_switch = uptime;                 
  10db67:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10db6a:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10db6d:	a3 c0 94 12 00       	mov    %eax,0x1294c0                  
  10db72:	89 15 c4 94 12 00    	mov    %edx,0x1294c4                  
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
  10db78:	a1 84 94 12 00       	mov    0x129484,%eax                  
  10db7d:	83 c4 10             	add    $0x10,%esp                     
  10db80:	85 c0                	test   %eax,%eax                      
  10db82:	74 10                	je     10db94 <_Thread_Dispatch+0x84> <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
  10db84:	8b 10                	mov    (%eax),%edx                    
  10db86:	89 93 f0 00 00 00    	mov    %edx,0xf0(%ebx)                
      *_Thread_libc_reent = heir->libc_reent;                         
  10db8c:	8b 96 f0 00 00 00    	mov    0xf0(%esi),%edx                
  10db92:	89 10                	mov    %edx,(%eax)                    
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
  10db94:	83 ec 08             	sub    $0x8,%esp                      
  10db97:	56                   	push   %esi                           
  10db98:	53                   	push   %ebx                           
  10db99:	e8 02 10 00 00       	call   10eba0 <_User_extensions_Thread_switch>
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
  10db9e:	59                   	pop    %ecx                           
  10db9f:	58                   	pop    %eax                           
  10dba0:	81 c6 d4 00 00 00    	add    $0xd4,%esi                     
  10dba6:	56                   	push   %esi                           
  10dba7:	8d 83 d4 00 00 00    	lea    0xd4(%ebx),%eax                
  10dbad:	50                   	push   %eax                           
  10dbae:	e8 dd 12 00 00       	call   10ee90 <_CPU_Context_switch>   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
  10dbb3:	83 c4 10             	add    $0x10,%esp                     
  10dbb6:	8b 93 ec 00 00 00    	mov    0xec(%ebx),%edx                
  10dbbc:	85 d2                	test   %edx,%edx                      
  10dbbe:	74 36                	je     10dbf6 <_Thread_Dispatch+0xe6> 
#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 );                      
  10dbc0:	a1 80 94 12 00       	mov    0x129480,%eax                  
  10dbc5:	39 c3                	cmp    %eax,%ebx                      
  10dbc7:	74 2d                	je     10dbf6 <_Thread_Dispatch+0xe6> 
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
  10dbc9:	85 c0                	test   %eax,%eax                      
  10dbcb:	74 11                	je     10dbde <_Thread_Dispatch+0xce> 
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
  10dbcd:	83 ec 0c             	sub    $0xc,%esp                      
  10dbd0:	05 ec 00 00 00       	add    $0xec,%eax                     
  10dbd5:	50                   	push   %eax                           
  10dbd6:	e8 e9 12 00 00       	call   10eec4 <_CPU_Context_save_fp>  
  10dbdb:	83 c4 10             	add    $0x10,%esp                     
      _Context_Restore_fp( &executing->fp_context );                  
  10dbde:	83 ec 0c             	sub    $0xc,%esp                      
  10dbe1:	8d 83 ec 00 00 00    	lea    0xec(%ebx),%eax                
  10dbe7:	50                   	push   %eax                           
  10dbe8:	e8 e1 12 00 00       	call   10eece <_CPU_Context_restore_fp>
      _Thread_Allocated_fp = executing;                               
  10dbed:	89 1d 80 94 12 00    	mov    %ebx,0x129480                  
  10dbf3:	83 c4 10             	add    $0x10,%esp                     
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
  10dbf6:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
                                                                      
    _ISR_Disable( level );                                            
  10dbfc:	9c                   	pushf                                 
  10dbfd:	fa                   	cli                                   
  10dbfe:	58                   	pop    %eax                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
  10dbff:	8a 15 c8 94 12 00    	mov    0x1294c8,%dl                   
  10dc05:	84 d2                	test   %dl,%dl                        
  10dc07:	74 37                	je     10dc40 <_Thread_Dispatch+0x130>
    heir = _Thread_Heir;                                              
  10dc09:	8b 35 88 94 12 00    	mov    0x129488,%esi                  
    _Thread_Dispatch_disable_level = 1;                               
  10dc0f:	c7 05 f8 93 12 00 01 	movl   $0x1,0x1293f8                  
  10dc16:	00 00 00                                                    
    _Context_Switch_necessary = false;                                
  10dc19:	c6 05 c8 94 12 00 00 	movb   $0x0,0x1294c8                  
    _Thread_Executing = heir;                                         
  10dc20:	89 35 b8 94 12 00    	mov    %esi,0x1294b8                  
#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 )
  10dc26:	83 7e 7c 01          	cmpl   $0x1,0x7c(%esi)                
  10dc2a:	0f 85 08 ff ff ff    	jne    10db38 <_Thread_Dispatch+0x28> 
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
  10dc30:	8b 15 c4 93 12 00    	mov    0x1293c4,%edx                  
  10dc36:	89 56 78             	mov    %edx,0x78(%esi)                
  10dc39:	e9 fa fe ff ff       	jmp    10db38 <_Thread_Dispatch+0x28> 
  10dc3e:	66 90                	xchg   %ax,%ax                        
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
  10dc40:	c7 05 f8 93 12 00 00 	movl   $0x0,0x1293f8                  
  10dc47:	00 00 00                                                    
                                                                      
  _ISR_Enable( level );                                               
  10dc4a:	50                   	push   %eax                           
  10dc4b:	9d                   	popf                                  
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
  10dc4c:	a1 9c 94 12 00       	mov    0x12949c,%eax                  
  10dc51:	85 c0                	test   %eax,%eax                      
  10dc53:	75 06                	jne    10dc5b <_Thread_Dispatch+0x14b>
       executing->do_post_task_switch_extension ) {                   
  10dc55:	80 7b 74 00          	cmpb   $0x0,0x74(%ebx)                
  10dc59:	74 09                	je     10dc64 <_Thread_Dispatch+0x154>
    executing->do_post_task_switch_extension = false;                 
  10dc5b:	c6 43 74 00          	movb   $0x0,0x74(%ebx)                
    _API_extensions_Run_postswitch();                                 
  10dc5f:	e8 50 e8 ff ff       	call   10c4b4 <_API_extensions_Run_postswitch>
  }                                                                   
                                                                      
}                                                                     
  10dc64:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dc67:	5b                   	pop    %ebx                           
  10dc68:	5e                   	pop    %esi                           
  10dc69:	5f                   	pop    %edi                           
  10dc6a:	c9                   	leave                                 
  10dc6b:	c3                   	ret                                   
                                                                      

00114e90 <_Thread_Evaluate_mode>: * * XXX */ bool _Thread_Evaluate_mode( void ) {
  114e90:	55                   	push   %ebp                           
  114e91:	89 e5                	mov    %esp,%ebp                      
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
  114e93:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
  114e98:	8b 50 10             	mov    0x10(%eax),%edx                
  114e9b:	85 d2                	test   %edx,%edx                      
  114e9d:	75 0e                	jne    114ead <_Thread_Evaluate_mode+0x1d><== NEVER TAKEN
  114e9f:	3b 05 88 94 12 00    	cmp    0x129488,%eax                  
  114ea5:	74 11                	je     114eb8 <_Thread_Evaluate_mode+0x28>
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
  114ea7:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  114eab:	74 0b                	je     114eb8 <_Thread_Evaluate_mode+0x28><== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
  114ead:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
  114eb4:	b0 01                	mov    $0x1,%al                       
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
  114eb6:	c9                   	leave                                 
  114eb7:	c3                   	ret                                   
  executing = _Thread_Executing;                                      
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
    _Context_Switch_necessary = true;                                 
    return true;                                                      
  114eb8:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
  114eba:	c9                   	leave                                 
  114ebb:	c3                   	ret                                   
                                                                      

0010dc90 <_Thread_Get>: Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
  10dc90:	55                   	push   %ebp                           
  10dc91:	89 e5                	mov    %esp,%ebp                      
  10dc93:	53                   	push   %ebx                           
  10dc94:	83 ec 04             	sub    $0x4,%esp                      
  10dc97:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10dc9a:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
  10dc9d:	85 c0                	test   %eax,%eax                      
  10dc9f:	74 4b                	je     10dcec <_Thread_Get+0x5c>      
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
  10dca1:	89 c2                	mov    %eax,%edx                      
  10dca3:	c1 ea 18             	shr    $0x18,%edx                     
  10dca6:	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 )                      
  10dca9:	8d 5a ff             	lea    -0x1(%edx),%ebx                
  10dcac:	83 fb 03             	cmp    $0x3,%ebx                      
  10dcaf:	77 2b                	ja     10dcdc <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
  10dcb1:	89 c3                	mov    %eax,%ebx                      
  10dcb3:	c1 eb 1b             	shr    $0x1b,%ebx                     
  10dcb6:	4b                   	dec    %ebx                           
  10dcb7:	75 23                	jne    10dcdc <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
  10dcb9:	8b 14 95 cc 93 12 00 	mov    0x1293cc(,%edx,4),%edx         
  if ( !api_information ) {                                           
  10dcc0:	85 d2                	test   %edx,%edx                      
  10dcc2:	74 18                	je     10dcdc <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  10dcc4:	8b 52 04             	mov    0x4(%edx),%edx                 
  if ( !information ) {                                               
  10dcc7:	85 d2                	test   %edx,%edx                      
  10dcc9:	74 11                	je     10dcdc <_Thread_Get+0x4c>      
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
  10dccb:	53                   	push   %ebx                           
  10dccc:	51                   	push   %ecx                           
  10dccd:	50                   	push   %eax                           
  10dcce:	52                   	push   %edx                           
  10dccf:	e8 24 f7 ff ff       	call   10d3f8 <_Objects_Get>          
  10dcd4:	83 c4 10             	add    $0x10,%esp                     
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10dcd7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10dcda:	c9                   	leave                                 
  10dcdb:	c3                   	ret                                   
    goto done;                                                        
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
  10dcdc:	c7 01 01 00 00 00    	movl   $0x1,(%ecx)                    
  10dce2:	31 c0                	xor    %eax,%eax                      
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10dce4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10dce7:	c9                   	leave                                 
  10dce8:	c3                   	ret                                   
  10dce9:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10dcec:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10dcf1:	40                   	inc    %eax                           
  10dcf2:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
  10dcf7:	c7 01 00 00 00 00    	movl   $0x0,(%ecx)                    
    tp = _Thread_Executing;                                           
  10dcfd:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
  10dd02:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10dd05:	c9                   	leave                                 
  10dd06:	c3                   	ret                                   
                                                                      

00114ebc <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
  114ebc:	55                   	push   %ebp                           
  114ebd:	89 e5                	mov    %esp,%ebp                      
  114ebf:	53                   	push   %ebx                           
  114ec0:	83 ec 14             	sub    $0x14,%esp                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
  114ec3:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  114ec9:	8b 83 b8 00 00 00    	mov    0xb8(%ebx),%eax                
  _ISR_Set_level(level);                                              
  114ecf:	85 c0                	test   %eax,%eax                      
  114ed1:	74 79                	je     114f4c <_Thread_Handler+0x90>  
  114ed3:	fa                   	cli                                   
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
  114ed4:	a0 54 90 12 00       	mov    0x129054,%al                   
  114ed9:	88 45 f7             	mov    %al,-0x9(%ebp)                 
    doneConstructors = 1;                                             
  114edc:	c6 05 54 90 12 00 01 	movb   $0x1,0x129054                  
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
  114ee3:	8b 83 ec 00 00 00    	mov    0xec(%ebx),%eax                
  114ee9:	85 c0                	test   %eax,%eax                      
  114eeb:	74 24                	je     114f11 <_Thread_Handler+0x55>  
#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 );                      
  114eed:	a1 80 94 12 00       	mov    0x129480,%eax                  
  114ef2:	39 c3                	cmp    %eax,%ebx                      
  114ef4:	74 1b                	je     114f11 <_Thread_Handler+0x55>  
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
  114ef6:	85 c0                	test   %eax,%eax                      
  114ef8:	74 11                	je     114f0b <_Thread_Handler+0x4f>  
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
  114efa:	83 ec 0c             	sub    $0xc,%esp                      
  114efd:	05 ec 00 00 00       	add    $0xec,%eax                     
  114f02:	50                   	push   %eax                           
  114f03:	e8 bc 9f ff ff       	call   10eec4 <_CPU_Context_save_fp>  
  114f08:	83 c4 10             	add    $0x10,%esp                     
        _Thread_Allocated_fp = executing;                             
  114f0b:	89 1d 80 94 12 00    	mov    %ebx,0x129480                  
  /*                                                                  
   * 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 );                         
  114f11:	83 ec 0c             	sub    $0xc,%esp                      
  114f14:	53                   	push   %ebx                           
  114f15:	e8 f6 9a ff ff       	call   10ea10 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
  114f1a:	e8 4d 8d ff ff       	call   10dc6c <_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) */ {                 
  114f1f:	83 c4 10             	add    $0x10,%esp                     
  114f22:	80 7d f7 00          	cmpb   $0x0,-0x9(%ebp)                
  114f26:	74 28                	je     114f50 <_Thread_Handler+0x94>  
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  114f28:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  114f2e:	85 c0                	test   %eax,%eax                      
  114f30:	74 2d                	je     114f5f <_Thread_Handler+0xa3>  
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
  114f32:	48                   	dec    %eax                           
  114f33:	74 43                	je     114f78 <_Thread_Handler+0xbc>  <== ALWAYS TAKEN
   *  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 );                       
  114f35:	83 ec 0c             	sub    $0xc,%esp                      
  114f38:	53                   	push   %ebx                           
  114f39:	e8 0e 9b ff ff       	call   10ea4c <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
  114f3e:	83 c4 0c             	add    $0xc,%esp                      
  114f41:	6a 06                	push   $0x6                           
  114f43:	6a 01                	push   $0x1                           
  114f45:	6a 00                	push   $0x0                           
  114f47:	e8 64 7f ff ff       	call   10ceb0 <_Internal_error_Occurred>
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
  114f4c:	fb                   	sti                                   
  114f4d:	eb 85                	jmp    114ed4 <_Thread_Handler+0x18>  
  114f4f:	90                   	nop                                   
     *  _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) */ {                 
      INIT_NAME ();                                                   
  114f50:	e8 1b c0 00 00       	call   120f70 <__start_set_sysctl_set>
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
  114f55:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax                
  114f5b:	85 c0                	test   %eax,%eax                      
  114f5d:	75 d3                	jne    114f32 <_Thread_Handler+0x76>  
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
  114f5f:	83 ec 0c             	sub    $0xc,%esp                      
  114f62:	ff b3 a8 00 00 00    	pushl  0xa8(%ebx)                     
  114f68:	ff 93 9c 00 00 00    	call   *0x9c(%ebx)                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
  114f6e:	89 43 28             	mov    %eax,0x28(%ebx)                
  114f71:	83 c4 10             	add    $0x10,%esp                     
  114f74:	eb bf                	jmp    114f35 <_Thread_Handler+0x79>  
  114f76:	66 90                	xchg   %ax,%ax                        
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
  114f78:	83 ec 0c             	sub    $0xc,%esp                      
  114f7b:	ff b3 a4 00 00 00    	pushl  0xa4(%ebx)                     
  114f81:	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 =                               
  114f87:	89 43 28             	mov    %eax,0x28(%ebx)                
  114f8a:	83 c4 10             	add    $0x10,%esp                     
  114f8d:	eb a6                	jmp    114f35 <_Thread_Handler+0x79>  
                                                                      

0010dd08 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
  10dd08:	55                   	push   %ebp                           
  10dd09:	89 e5                	mov    %esp,%ebp                      
  10dd0b:	57                   	push   %edi                           
  10dd0c:	56                   	push   %esi                           
  10dd0d:	53                   	push   %ebx                           
  10dd0e:	83 ec 1c             	sub    $0x1c,%esp                     
  10dd11:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10dd14:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  10dd17:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10dd1a:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  10dd1d:	8a 55 18             	mov    0x18(%ebp),%dl                 
  10dd20:	8a 45 20             	mov    0x20(%ebp),%al                 
  10dd23:	88 45 df             	mov    %al,-0x21(%ebp)                
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
  10dd26:	c7 83 f4 00 00 00 00 	movl   $0x0,0xf4(%ebx)                
  10dd2d:	00 00 00                                                    
  10dd30:	c7 83 f8 00 00 00 00 	movl   $0x0,0xf8(%ebx)                
  10dd37:	00 00 00                                                    
  10dd3a:	c7 83 fc 00 00 00 00 	movl   $0x0,0xfc(%ebx)                
  10dd41:	00 00 00                                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
  10dd44:	c7 83 f0 00 00 00 00 	movl   $0x0,0xf0(%ebx)                
  10dd4b:	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 ) {                                              
  10dd4e:	85 c9                	test   %ecx,%ecx                      
  10dd50:	0f 84 13 02 00 00    	je     10df69 <_Thread_Initialize+0x261>
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
  10dd56:	c6 83 c0 00 00 00 00 	movb   $0x0,0xc0(%ebx)                
  10dd5d:	89 f8                	mov    %edi,%eax                      
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
  10dd5f:	89 8b c8 00 00 00    	mov    %ecx,0xc8(%ebx)                
  the_stack->size = size;                                             
  10dd65:	89 83 c4 00 00 00    	mov    %eax,0xc4(%ebx)                
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
  10dd6b:	84 d2                	test   %dl,%dl                        
  10dd6d:	0f 85 89 01 00 00    	jne    10defc <_Thread_Initialize+0x1f4>
  10dd73:	31 c0                	xor    %eax,%eax                      
  10dd75:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
  10dd7c:	89 83 ec 00 00 00    	mov    %eax,0xec(%ebx)                
    the_thread->Start.fp_context = fp_area;                           
  10dd82:	89 83 cc 00 00 00    	mov    %eax,0xcc(%ebx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10dd88:	c7 43 50 00 00 00 00 	movl   $0x0,0x50(%ebx)                
  the_watchdog->routine   = routine;                                  
  10dd8f:	c7 43 64 00 00 00 00 	movl   $0x0,0x64(%ebx)                
  the_watchdog->id        = id;                                       
  10dd96:	c7 43 68 00 00 00 00 	movl   $0x0,0x68(%ebx)                
  the_watchdog->user_data = user_data;                                
  10dd9d:	c7 43 6c 00 00 00 00 	movl   $0x0,0x6c(%ebx)                
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
  10dda4:	a1 98 94 12 00       	mov    0x129498,%eax                  
  10dda9:	85 c0                	test   %eax,%eax                      
  10ddab:	0f 85 6b 01 00 00    	jne    10df1c <_Thread_Initialize+0x214>
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10ddb1:	c7 83 00 01 00 00 00 	movl   $0x0,0x100(%ebx)               
  10ddb8:	00 00 00                                                    
  10ddbb:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  10ddc2:	8a 45 df             	mov    -0x21(%ebp),%al                
  10ddc5:	88 83 ac 00 00 00    	mov    %al,0xac(%ebx)                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  10ddcb:	8b 45 24             	mov    0x24(%ebp),%eax                
  10ddce:	89 83 b0 00 00 00    	mov    %eax,0xb0(%ebx)                
  the_thread->Start.budget_callout   = budget_callout;                
  10ddd4:	8b 45 28             	mov    0x28(%ebp),%eax                
  10ddd7:	89 83 b4 00 00 00    	mov    %eax,0xb4(%ebx)                
                                                                      
  switch ( budget_algorithm ) {                                       
  10dddd:	83 7d 24 02          	cmpl   $0x2,0x24(%ebp)                
  10dde1:	75 08                	jne    10ddeb <_Thread_Initialize+0xe3>
    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;    
  10dde3:	a1 c4 93 12 00       	mov    0x1293c4,%eax                  
  10dde8:	89 43 78             	mov    %eax,0x78(%ebx)                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
  10ddeb:	8b 45 2c             	mov    0x2c(%ebp),%eax                
  10ddee:	89 83 b8 00 00 00    	mov    %eax,0xb8(%ebx)                
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  10ddf4:	c7 43 10 01 00 00 00 	movl   $0x1,0x10(%ebx)                
  the_thread->Wait.queue              = NULL;                         
  10ddfb:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  the_thread->resource_count          = 0;                            
  10de02:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  10de09:	89 73 18             	mov    %esi,0x18(%ebx)                
  the_thread->Start.initial_priority  = priority;                     
  10de0c:	89 b3 bc 00 00 00    	mov    %esi,0xbc(%ebx)                
  _Thread_Set_priority( the_thread, priority );                       
  10de12:	83 ec 08             	sub    $0x8,%esp                      
  10de15:	56                   	push   %esi                           
  10de16:	53                   	push   %ebx                           
  10de17:	e8 d0 06 00 00       	call   10e4ec <_Thread_Set_priority>  
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
  10de1c:	c7 83 84 00 00 00 00 	movl   $0x0,0x84(%ebx)                
  10de23:	00 00 00                                                    
  10de26:	c7 83 88 00 00 00 00 	movl   $0x0,0x88(%ebx)                
  10de2d:	00 00 00                                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10de30:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  10de34:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10de37:	8b 40 1c             	mov    0x1c(%eax),%eax                
  10de3a:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10de3d:	8b 45 30             	mov    0x30(%ebp),%eax                
  10de40:	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 );    
  10de43:	89 1c 24             	mov    %ebx,(%esp)                    
  10de46:	e8 8d 0c 00 00       	call   10ead8 <_User_extensions_Thread_create>
  if ( extension_status )                                             
  10de4b:	83 c4 10             	add    $0x10,%esp                     
  10de4e:	84 c0                	test   %al,%al                        
  10de50:	0f 85 9a 00 00 00    	jne    10def0 <_Thread_Initialize+0x1e8>
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
  10de56:	8b 83 f0 00 00 00    	mov    0xf0(%ebx),%eax                
  10de5c:	85 c0                	test   %eax,%eax                      
  10de5e:	74 0c                	je     10de6c <_Thread_Initialize+0x164>
    _Workspace_Free( the_thread->libc_reent );                        
  10de60:	83 ec 0c             	sub    $0xc,%esp                      
  10de63:	50                   	push   %eax                           
  10de64:	e8 bf 0f 00 00       	call   10ee28 <_Workspace_Free>       
  10de69:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
  10de6c:	8b 83 f4 00 00 00    	mov    0xf4(%ebx),%eax                
  10de72:	85 c0                	test   %eax,%eax                      
  10de74:	74 0c                	je     10de82 <_Thread_Initialize+0x17a>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10de76:	83 ec 0c             	sub    $0xc,%esp                      
  10de79:	50                   	push   %eax                           
  10de7a:	e8 a9 0f 00 00       	call   10ee28 <_Workspace_Free>       
  10de7f:	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] )                              
  10de82:	8b 83 f8 00 00 00    	mov    0xf8(%ebx),%eax                
  10de88:	85 c0                	test   %eax,%eax                      
  10de8a:	74 0c                	je     10de98 <_Thread_Initialize+0x190>
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10de8c:	83 ec 0c             	sub    $0xc,%esp                      
  10de8f:	50                   	push   %eax                           
  10de90:	e8 93 0f 00 00       	call   10ee28 <_Workspace_Free>       
  10de95:	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] )                              
  10de98:	8b 83 fc 00 00 00    	mov    0xfc(%ebx),%eax                
  10de9e:	85 c0                	test   %eax,%eax                      
  10dea0:	74 0c                	je     10deae <_Thread_Initialize+0x1a6><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
  10dea2:	83 ec 0c             	sub    $0xc,%esp                      <== NOT EXECUTED
  10dea5:	50                   	push   %eax                           <== NOT EXECUTED
  10dea6:	e8 7d 0f 00 00       	call   10ee28 <_Workspace_Free>       <== NOT EXECUTED
  10deab:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
  10deae:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10deb1:	85 d2                	test   %edx,%edx                      
  10deb3:	74 0e                	je     10dec3 <_Thread_Initialize+0x1bb>
    (void) _Workspace_Free( extensions_area );                        
  10deb5:	83 ec 0c             	sub    $0xc,%esp                      
  10deb8:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10debb:	e8 68 0f 00 00       	call   10ee28 <_Workspace_Free>       
  10dec0:	83 c4 10             	add    $0x10,%esp                     
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
  10dec3:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10dec6:	85 c0                	test   %eax,%eax                      
  10dec8:	74 0e                	je     10ded8 <_Thread_Initialize+0x1d0>
      (void) _Workspace_Free( fp_area );                              
  10deca:	83 ec 0c             	sub    $0xc,%esp                      
  10decd:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10ded0:	e8 53 0f 00 00       	call   10ee28 <_Workspace_Free>       
  10ded5:	83 c4 10             	add    $0x10,%esp                     
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  10ded8:	83 ec 0c             	sub    $0xc,%esp                      
  10dedb:	53                   	push   %ebx                           
  10dedc:	e8 2b 08 00 00       	call   10e70c <_Thread_Stack_Free>    
  10dee1:	31 c0                	xor    %eax,%eax                      
  return false;                                                       
  10dee3:	83 c4 10             	add    $0x10,%esp                     
                                                                      
                                                                      
}                                                                     
  10dee6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10dee9:	5b                   	pop    %ebx                           
  10deea:	5e                   	pop    %esi                           
  10deeb:	5f                   	pop    %edi                           
  10deec:	c9                   	leave                                 
  10deed:	c3                   	ret                                   
  10deee:	66 90                	xchg   %ax,%ax                        
   *  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 )                                             
  10def0:	b0 01                	mov    $0x1,%al                       
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
  10def2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10def5:	5b                   	pop    %ebx                           
  10def6:	5e                   	pop    %esi                           
  10def7:	5f                   	pop    %edi                           
  10def8:	c9                   	leave                                 
  10def9:	c3                   	ret                                   
  10defa:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
  10defc:	83 ec 0c             	sub    $0xc,%esp                      
  10deff:	6a 6c                	push   $0x6c                          
  10df01:	e8 06 0f 00 00       	call   10ee0c <_Workspace_Allocate>   
  10df06:	89 45 e0             	mov    %eax,-0x20(%ebp)               
      if ( !fp_area )                                                 
  10df09:	83 c4 10             	add    $0x10,%esp                     
  10df0c:	85 c0                	test   %eax,%eax                      
  10df0e:	0f 84 89 00 00 00    	je     10df9d <_Thread_Initialize+0x295>
  10df14:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10df17:	e9 60 fe ff ff       	jmp    10dd7c <_Thread_Initialize+0x74>
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
  10df1c:	83 ec 0c             	sub    $0xc,%esp                      
  10df1f:	8d 04 85 04 00 00 00 	lea    0x4(,%eax,4),%eax              
  10df26:	50                   	push   %eax                           
  10df27:	e8 e0 0e 00 00       	call   10ee0c <_Workspace_Allocate>   
  10df2c:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
  10df2f:	83 c4 10             	add    $0x10,%esp                     
  10df32:	85 c0                	test   %eax,%eax                      
  10df34:	0f 84 1c ff ff ff    	je     10de56 <_Thread_Initialize+0x14e>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
  10df3a:	89 c1                	mov    %eax,%ecx                      
  10df3c:	89 83 00 01 00 00    	mov    %eax,0x100(%ebx)               
   * 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++ )              
  10df42:	8b 3d 98 94 12 00    	mov    0x129498,%edi                  
  10df48:	31 d2                	xor    %edx,%edx                      
  10df4a:	31 c0                	xor    %eax,%eax                      
  10df4c:	eb 08                	jmp    10df56 <_Thread_Initialize+0x24e>
  10df4e:	66 90                	xchg   %ax,%ax                        
  10df50:	8b 8b 00 01 00 00    	mov    0x100(%ebx),%ecx               
      the_thread->extensions[i] = NULL;                               
  10df56:	c7 04 91 00 00 00 00 	movl   $0x0,(%ecx,%edx,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++ )              
  10df5d:	40                   	inc    %eax                           
  10df5e:	89 c2                	mov    %eax,%edx                      
  10df60:	39 c7                	cmp    %eax,%edi                      
  10df62:	73 ec                	jae    10df50 <_Thread_Initialize+0x248>
  10df64:	e9 59 fe ff ff       	jmp    10ddc2 <_Thread_Initialize+0xba>
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
  10df69:	83 ec 08             	sub    $0x8,%esp                      
  10df6c:	57                   	push   %edi                           
  10df6d:	53                   	push   %ebx                           
  10df6e:	88 55 d8             	mov    %dl,-0x28(%ebp)                
  10df71:	e8 32 07 00 00       	call   10e6a8 <_Thread_Stack_Allocate>
      if ( !actual_stack_size || actual_stack_size < stack_size )     
  10df76:	83 c4 10             	add    $0x10,%esp                     
  10df79:	85 c0                	test   %eax,%eax                      
  10df7b:	8a 55 d8             	mov    -0x28(%ebp),%dl                
  10df7e:	74 16                	je     10df96 <_Thread_Initialize+0x28e>
  10df80:	39 c7                	cmp    %eax,%edi                      
  10df82:	77 12                	ja     10df96 <_Thread_Initialize+0x28e><== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
  10df84:	8b 8b d0 00 00 00    	mov    0xd0(%ebx),%ecx                
      the_thread->Start.core_allocated_stack = true;                  
  10df8a:	c6 83 c0 00 00 00 01 	movb   $0x1,0xc0(%ebx)                
  10df91:	e9 c9 fd ff ff       	jmp    10dd5f <_Thread_Initialize+0x57>
    if ( fp_area )                                                    
      (void) _Workspace_Free( fp_area );                              
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
  10df96:	31 c0                	xor    %eax,%eax                      
  10df98:	e9 49 ff ff ff       	jmp    10dee6 <_Thread_Initialize+0x1de>
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
  10df9d:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  10dfa4:	e9 ad fe ff ff       	jmp    10de56 <_Thread_Initialize+0x14e>
                                                                      

001135a4 <_Thread_Reset>: void _Thread_Reset( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
  1135a4:	55                   	push   %ebp                           
  1135a5:	89 e5                	mov    %esp,%ebp                      
  1135a7:	53                   	push   %ebx                           
  1135a8:	83 ec 10             	sub    $0x10,%esp                     
  1135ab:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  the_thread->resource_count   = 0;                                   
  1135ae:	c7 43 1c 00 00 00 00 	movl   $0x0,0x1c(%ebx)                
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count  = 0;                                   
  #endif                                                              
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
  1135b5:	8a 83 ac 00 00 00    	mov    0xac(%ebx),%al                 
  1135bb:	88 43 75             	mov    %al,0x75(%ebx)                 
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
  1135be:	8b 83 b0 00 00 00    	mov    0xb0(%ebx),%eax                
  1135c4:	89 43 7c             	mov    %eax,0x7c(%ebx)                
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
  1135c7:	8b 83 b4 00 00 00    	mov    0xb4(%ebx),%eax                
  1135cd:	89 83 80 00 00 00    	mov    %eax,0x80(%ebx)                
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
  1135d3:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  1135d6:	89 83 a4 00 00 00    	mov    %eax,0xa4(%ebx)                
  the_thread->Start.numeric_argument = numeric_argument;              
  1135dc:	8b 45 10             	mov    0x10(%ebp),%eax                
  1135df:	89 83 a8 00 00 00    	mov    %eax,0xa8(%ebx)                
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
  1135e5:	53                   	push   %ebx                           
  1135e6:	e8 e9 b8 ff ff       	call   10eed4 <_Thread_queue_Extract_with_proxy>
  1135eb:	83 c4 10             	add    $0x10,%esp                     
  1135ee:	84 c0                	test   %al,%al                        
  1135f0:	75 06                	jne    1135f8 <_Thread_Reset+0x54>    
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
  1135f2:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  1135f6:	74 28                	je     113620 <_Thread_Reset+0x7c>    
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
  1135f8:	8b 83 bc 00 00 00    	mov    0xbc(%ebx),%eax                
  1135fe:	39 43 14             	cmp    %eax,0x14(%ebx)                
  113601:	74 15                	je     113618 <_Thread_Reset+0x74>    
    the_thread->real_priority = the_thread->Start.initial_priority;   
  113603:	89 43 18             	mov    %eax,0x18(%ebx)                
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
  113606:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  113609:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  11360c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11360f:	c9                   	leave                                 
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
  113610:	e9 8b ba ff ff       	jmp    10f0a0 <_Thread_Set_priority>  
  113615:	8d 76 00             	lea    0x0(%esi),%esi                 
  }                                                                   
}                                                                     
  113618:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11361b:	c9                   	leave                                 
  11361c:	c3                   	ret                                   
  11361d:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  113620:	83 ec 0c             	sub    $0xc,%esp                      
  113623:	8d 43 48             	lea    0x48(%ebx),%eax                
  113626:	50                   	push   %eax                           
  113627:	e8 d0 c2 ff ff       	call   10f8fc <_Watchdog_Remove>      
  11362c:	83 c4 10             	add    $0x10,%esp                     
  11362f:	eb c7                	jmp    1135f8 <_Thread_Reset+0x54>    
                                                                      

00111870 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
  111870:	55                   	push   %ebp                           
  111871:	89 e5                	mov    %esp,%ebp                      
  111873:	53                   	push   %ebx                           
  111874:	8b 45 08             	mov    0x8(%ebp),%eax                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
  111877:	9c                   	pushf                                 
  111878:	fa                   	cli                                   
  111879:	59                   	pop    %ecx                           
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
  11187a:	8b 50 10             	mov    0x10(%eax),%edx                
  if ( current_state & STATES_SUSPENDED ) {                           
  11187d:	f6 c2 02             	test   $0x2,%dl                       
  111880:	74 6e                	je     1118f0 <_Thread_Resume+0x80>   <== NEVER TAKEN
  111882:	83 e2 fd             	and    $0xfffffffd,%edx               
    current_state =                                                   
  111885:	89 50 10             	mov    %edx,0x10(%eax)                
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
  111888:	85 d2                	test   %edx,%edx                      
  11188a:	75 64                	jne    1118f0 <_Thread_Resume+0x80>   
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
  11188c:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  111892:	66 8b 98 96 00 00 00 	mov    0x96(%eax),%bx                 
  111899:	66 09 1a             	or     %bx,(%edx)                     
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
  11189c:	66 8b 15 ec c5 12 00 	mov    0x12c5ec,%dx                   
  1118a3:	0b 90 94 00 00 00    	or     0x94(%eax),%edx                
  1118a9:	66 89 15 ec c5 12 00 	mov    %dx,0x12c5ec                   
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
  1118b0:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  1118b6:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  1118b9:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  1118bb:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  1118be:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  1118c1:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  1118c3:	89 58 04             	mov    %ebx,0x4(%eax)                 
                                                                      
      _ISR_Flash( level );                                            
  1118c6:	51                   	push   %ecx                           
  1118c7:	9d                   	popf                                  
  1118c8:	fa                   	cli                                   
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
  1118c9:	8b 50 14             	mov    0x14(%eax),%edx                
  1118cc:	8b 1d c8 c5 12 00    	mov    0x12c5c8,%ebx                  
  1118d2:	3b 53 14             	cmp    0x14(%ebx),%edx                
  1118d5:	73 19                	jae    1118f0 <_Thread_Resume+0x80>   
        _Thread_Heir = the_thread;                                    
  1118d7:	a3 c8 c5 12 00       	mov    %eax,0x12c5c8                  
        if ( _Thread_Executing->is_preemptible ||                     
  1118dc:	a1 f8 c5 12 00       	mov    0x12c5f8,%eax                  
  1118e1:	80 78 75 00          	cmpb   $0x0,0x75(%eax)                
  1118e5:	74 11                	je     1118f8 <_Thread_Resume+0x88>   
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
  1118e7:	c6 05 08 c6 12 00 01 	movb   $0x1,0x12c608                  
  1118ee:	66 90                	xchg   %ax,%ax                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  1118f0:	51                   	push   %ecx                           
  1118f1:	9d                   	popf                                  
}                                                                     
  1118f2:	5b                   	pop    %ebx                           
  1118f3:	c9                   	leave                                 
  1118f4:	c3                   	ret                                   
  1118f5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
  1118f8:	85 d2                	test   %edx,%edx                      
  1118fa:	74 eb                	je     1118e7 <_Thread_Resume+0x77>   <== NEVER TAKEN
  1118fc:	eb f2                	jmp    1118f0 <_Thread_Resume+0x80>   
                                                                      

0010e558 <_Thread_Set_state>: void _Thread_Set_state( Thread_Control *the_thread, States_Control state ) {
  10e558:	55                   	push   %ebp                           
  10e559:	89 e5                	mov    %esp,%ebp                      
  10e55b:	56                   	push   %esi                           
  10e55c:	53                   	push   %ebx                           
  10e55d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10e560:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level      level;                                               
  Chain_Control *ready;                                               
                                                                      
  ready = the_thread->ready;                                          
  10e563:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  _ISR_Disable( level );                                              
  10e569:	9c                   	pushf                                 
  10e56a:	fa                   	cli                                   
  10e56b:	59                   	pop    %ecx                           
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
  10e56c:	8b 58 10             	mov    0x10(%eax),%ebx                
  10e56f:	85 db                	test   %ebx,%ebx                      
  10e571:	75 2d                	jne    10e5a0 <_Thread_Set_state+0x48>
       _States_Set( state, the_thread->current_state );               
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_thread->current_state = state;                                  
  10e573:	89 70 10             	mov    %esi,0x10(%eax)                
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
  10e576:	8b 1a                	mov    (%edx),%ebx                    
  10e578:	3b 5a 08             	cmp    0x8(%edx),%ebx                 
  10e57b:	74 3b                	je     10e5b8 <_Thread_Set_state+0x60>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10e57d:	8b 18                	mov    (%eax),%ebx                    
  previous       = the_node->previous;                                
  10e57f:	8b 50 04             	mov    0x4(%eax),%edx                 
  next->previous = previous;                                          
  10e582:	89 53 04             	mov    %edx,0x4(%ebx)                 
  previous->next = next;                                              
  10e585:	89 1a                	mov    %ebx,(%edx)                    
    _Priority_Remove_from_bit_map( &the_thread->Priority_map );       
                                                                      
  } else                                                              
    _Chain_Extract_unprotected( &the_thread->Object.Node );           
                                                                      
  _ISR_Flash( level );                                                
  10e587:	51                   	push   %ecx                           
  10e588:	9d                   	popf                                  
  10e589:	fa                   	cli                                   
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
  10e58a:	3b 05 88 94 12 00    	cmp    0x129488,%eax                  
  10e590:	74 62                	je     10e5f4 <_Thread_Set_state+0x9c>
     _Thread_Calculate_heir();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
  10e592:	3b 05 b8 94 12 00    	cmp    0x1294b8,%eax                  
  10e598:	74 12                	je     10e5ac <_Thread_Set_state+0x54>
    _Context_Switch_necessary = true;                                 
                                                                      
  _ISR_Enable( level );                                               
  10e59a:	51                   	push   %ecx                           
  10e59b:	9d                   	popf                                  
}                                                                     
  10e59c:	5b                   	pop    %ebx                           
  10e59d:	5e                   	pop    %esi                           
  10e59e:	c9                   	leave                                 
  10e59f:	c3                   	ret                                   
  Chain_Control *ready;                                               
                                                                      
  ready = the_thread->ready;                                          
  _ISR_Disable( level );                                              
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
    the_thread->current_state =                                       
  10e5a0:	09 f3                	or     %esi,%ebx                      
  10e5a2:	89 58 10             	mov    %ebx,0x10(%eax)                
       _States_Set( state, the_thread->current_state );               
    _ISR_Enable( level );                                             
  10e5a5:	51                   	push   %ecx                           
  10e5a6:	9d                   	popf                                  
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Context_Switch_necessary = true;                                 
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
  10e5a7:	5b                   	pop    %ebx                           
  10e5a8:	5e                   	pop    %esi                           
  10e5a9:	c9                   	leave                                 
  10e5aa:	c3                   	ret                                   
  10e5ab:	90                   	nop                                   
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Thread_Calculate_heir();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Context_Switch_necessary = true;                                 
  10e5ac:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
  10e5b3:	eb e5                	jmp    10e59a <_Thread_Set_state+0x42>
  10e5b5:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10e5b8:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10e5bb:	89 1a                	mov    %ebx,(%edx)                    
  the_chain->permanent_null = NULL;                                   
  10e5bd:	c7 42 04 00 00 00 00 	movl   $0x0,0x4(%edx)                 
  the_chain->last           = _Chain_Head(the_chain);                 
  10e5c4:	89 52 08             	mov    %edx,0x8(%edx)                 
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Remove_from_bit_map (             
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
  10e5c7:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  10e5cd:	66 8b 98 9a 00 00 00 	mov    0x9a(%eax),%bx                 
  10e5d4:	66 21 1a             	and    %bx,(%edx)                     
  the_thread->current_state = state;                                  
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
                                                                      
    _Chain_Initialize_empty( ready );                                 
    _Priority_Remove_from_bit_map( &the_thread->Priority_map );       
  10e5d7:	66 83 3a 00          	cmpw   $0x0,(%edx)                    
  10e5db:	75 aa                	jne    10e587 <_Thread_Set_state+0x2f>
  if ( *the_priority_map->minor == 0 )                                
    _Priority_Major_bit_map &= the_priority_map->block_major;         
  10e5dd:	66 8b 15 ac 94 12 00 	mov    0x1294ac,%dx                   
  10e5e4:	23 90 98 00 00 00    	and    0x98(%eax),%edx                
  10e5ea:	66 89 15 ac 94 12 00 	mov    %dx,0x1294ac                   
  10e5f1:	eb 94                	jmp    10e587 <_Thread_Set_state+0x2f>
  10e5f3:	90                   	nop                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  10e5f4:	66 8b 35 ac 94 12 00 	mov    0x1294ac,%si                   
  10e5fb:	31 d2                	xor    %edx,%edx                      
  10e5fd:	89 d3                	mov    %edx,%ebx                      
  10e5ff:	66 0f bc de          	bsf    %si,%bx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  10e603:	0f b7 db             	movzwl %bx,%ebx                       
  10e606:	66 8b b4 1b 40 95 12 	mov    0x129540(%ebx,%ebx,1),%si      
  10e60d:	00                                                          
  10e60e:	66 0f bc d6          	bsf    %si,%dx                        
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  10e612:	c1 e3 04             	shl    $0x4,%ebx                      
  10e615:	0f b7 d2             	movzwl %dx,%edx                       
  10e618:	8d 14 13             	lea    (%ebx,%edx,1),%edx             
  10e61b:	8d 1c 52             	lea    (%edx,%edx,2),%ebx             
  10e61e:	8b 15 c0 93 12 00    	mov    0x1293c0,%edx                  
  10e624:	8b 14 9a             	mov    (%edx,%ebx,4),%edx             
  10e627:	89 15 88 94 12 00    	mov    %edx,0x129488                  
  10e62d:	e9 60 ff ff ff       	jmp    10e592 <_Thread_Set_state+0x3a>
                                                                      

0010e6a8 <_Thread_Stack_Allocate>: size_t _Thread_Stack_Allocate( Thread_Control *the_thread, size_t stack_size ) {
  10e6a8:	55                   	push   %ebp                           
  10e6a9:	89 e5                	mov    %esp,%ebp                      
  10e6ab:	53                   	push   %ebx                           
  10e6ac:	83 ec 04             	sub    $0x4,%esp                      
  10e6af:	a1 10 52 12 00       	mov    0x125210,%eax                  
  10e6b4:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10e6b7:	39 c3                	cmp    %eax,%ebx                      
  10e6b9:	73 02                	jae    10e6bd <_Thread_Stack_Allocate+0x15>
  10e6bb:	89 c3                	mov    %eax,%ebx                      
   * Call ONLY the CPU table stack allocate hook, _or_ the            
   * the RTEMS workspace allocate.  This is so the stack free         
   * routine can call the correct deallocation routine.               
   */                                                                 
                                                                      
  if ( Configuration.stack_allocate_hook ) {                          
  10e6bd:	a1 40 52 12 00       	mov    0x125240,%eax                  
  10e6c2:	85 c0                	test   %eax,%eax                      
  10e6c4:	74 32                	je     10e6f8 <_Thread_Stack_Allocate+0x50>
    stack_addr = (*Configuration.stack_allocate_hook)( the_stack_size );
  10e6c6:	83 ec 0c             	sub    $0xc,%esp                      
  10e6c9:	53                   	push   %ebx                           
  10e6ca:	ff d0                	call   *%eax                          
  10e6cc:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
  10e6cf:	85 c0                	test   %eax,%eax                      
  10e6d1:	74 11                	je     10e6e4 <_Thread_Stack_Allocate+0x3c>
    the_stack_size = 0;                                               
                                                                      
  the_thread->Start.stack = stack_addr;                               
  10e6d3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e6d6:	89 82 d0 00 00 00    	mov    %eax,0xd0(%edx)                
                                                                      
  return the_stack_size;                                              
}                                                                     
  10e6dc:	89 d8                	mov    %ebx,%eax                      
  10e6de:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e6e1:	c9                   	leave                                 
  10e6e2:	c3                   	ret                                   
  10e6e3:	90                   	nop                                   
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  }                                                                   
                                                                      
  if ( !stack_addr )                                                  
  10e6e4:	31 db                	xor    %ebx,%ebx                      
    the_stack_size = 0;                                               
                                                                      
  the_thread->Start.stack = stack_addr;                               
  10e6e6:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e6e9:	89 82 d0 00 00 00    	mov    %eax,0xd0(%edx)                
                                                                      
  return the_stack_size;                                              
}                                                                     
  10e6ef:	89 d8                	mov    %ebx,%eax                      
  10e6f1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e6f4:	c9                   	leave                                 
  10e6f5:	c3                   	ret                                   
  10e6f6:	66 90                	xchg   %ax,%ax                        
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Stack_Adjust_size (                  
  size_t size                                                         
)                                                                     
{                                                                     
  return size + CPU_STACK_ALIGNMENT;                                  
  10e6f8:	83 c3 10             	add    $0x10,%ebx                     
     *  get and keep the stack adjust factor, the stack alignment, and
     *  the context initialization sequence in sync.                  
     */                                                               
                                                                      
    the_stack_size = _Stack_Adjust_size( the_stack_size );            
    stack_addr = _Workspace_Allocate( the_stack_size );               
  10e6fb:	83 ec 0c             	sub    $0xc,%esp                      
  10e6fe:	53                   	push   %ebx                           
  10e6ff:	e8 08 07 00 00       	call   10ee0c <_Workspace_Allocate>   
  10e704:	83 c4 10             	add    $0x10,%esp                     
  10e707:	eb c6                	jmp    10e6cf <_Thread_Stack_Allocate+0x27>
                                                                      

0010e70c <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
  10e70c:	55                   	push   %ebp                           
  10e70d:	89 e5                	mov    %esp,%ebp                      
  10e70f:	83 ec 08             	sub    $0x8,%esp                      
  10e712:	8b 45 08             	mov    0x8(%ebp),%eax                 
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
  10e715:	80 b8 c0 00 00 00 00 	cmpb   $0x0,0xc0(%eax)                
  10e71c:	74 16                	je     10e734 <_Thread_Stack_Free+0x28><== NEVER TAKEN
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
  10e71e:	8b 15 44 52 12 00    	mov    0x125244,%edx                  
  10e724:	85 d2                	test   %edx,%edx                      
  10e726:	74 10                	je     10e738 <_Thread_Stack_Free+0x2c>
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  10e728:	8b 80 c8 00 00 00    	mov    0xc8(%eax),%eax                
  10e72e:	89 45 08             	mov    %eax,0x8(%ebp)                 
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
}                                                                     
  10e731:	c9                   	leave                                 
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  10e732:	ff e2                	jmp    *%edx                          
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
}                                                                     
  10e734:	c9                   	leave                                 <== NOT EXECUTED
  10e735:	c3                   	ret                                   <== NOT EXECUTED
  10e736:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
  10e738:	8b 80 c8 00 00 00    	mov    0xc8(%eax),%eax                
  10e73e:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  10e741:	c9                   	leave                                 
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
  10e742:	e9 e1 06 00 00       	jmp    10ee28 <_Workspace_Free>       
                                                                      

00112974 <_Thread_Suspend>: */ void _Thread_Suspend( Thread_Control *the_thread ) {
  112974:	55                   	push   %ebp                           
  112975:	89 e5                	mov    %esp,%ebp                      
  112977:	56                   	push   %esi                           
  112978:	53                   	push   %ebx                           
  112979:	8b 45 08             	mov    0x8(%ebp),%eax                 
  ISR_Level      level;                                               
  Chain_Control *ready;                                               
                                                                      
  ready = the_thread->ready;                                          
  11297c:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  _ISR_Disable( level );                                              
  112982:	9c                   	pushf                                 
  112983:	fa                   	cli                                   
  112984:	59                   	pop    %ecx                           
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count++;                                      
  #endif                                                              
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
  112985:	8b 58 10             	mov    0x10(%eax),%ebx                
  112988:	85 db                	test   %ebx,%ebx                      
  11298a:	75 34                	jne    1129c0 <_Thread_Suspend+0x4c>  
       _States_Set( STATES_SUSPENDED, the_thread->current_state );    
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_thread->current_state = STATES_SUSPENDED;                       
  11298c:	c7 40 10 02 00 00 00 	movl   $0x2,0x10(%eax)                
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
  112993:	8b 1a                	mov    (%edx),%ebx                    
  112995:	3b 5a 08             	cmp    0x8(%edx),%ebx                 
  112998:	74 3e                	je     1129d8 <_Thread_Suspend+0x64>  
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  11299a:	8b 18                	mov    (%eax),%ebx                    
  previous       = the_node->previous;                                
  11299c:	8b 50 04             	mov    0x4(%eax),%edx                 
  next->previous = previous;                                          
  11299f:	89 53 04             	mov    %edx,0x4(%ebx)                 
  previous->next = next;                                              
  1129a2:	89 1a                	mov    %ebx,(%edx)                    
    _Priority_Remove_from_bit_map( &the_thread->Priority_map );       
                                                                      
  } else                                                              
    _Chain_Extract_unprotected( &the_thread->Object.Node );           
                                                                      
  _ISR_Flash( level );                                                
  1129a4:	51                   	push   %ecx                           
  1129a5:	9d                   	popf                                  
  1129a6:	fa                   	cli                                   
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
  1129a7:	3b 05 88 94 12 00    	cmp    0x129488,%eax                  
  1129ad:	74 65                	je     112a14 <_Thread_Suspend+0xa0>  
     _Thread_Calculate_heir();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
  1129af:	3b 05 b8 94 12 00    	cmp    0x1294b8,%eax                  
  1129b5:	74 15                	je     1129cc <_Thread_Suspend+0x58>  
    _Context_Switch_necessary = true;                                 
                                                                      
  _ISR_Enable( level );                                               
  1129b7:	51                   	push   %ecx                           
  1129b8:	9d                   	popf                                  
}                                                                     
  1129b9:	5b                   	pop    %ebx                           
  1129ba:	5e                   	pop    %esi                           
  1129bb:	c9                   	leave                                 
  1129bc:	c3                   	ret                                   
  1129bd:	8d 76 00             	lea    0x0(%esi),%esi                 
  _ISR_Disable( level );                                              
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count++;                                      
  #endif                                                              
  if ( !_States_Is_ready( the_thread->current_state ) ) {             
    the_thread->current_state =                                       
  1129c0:	83 cb 02             	or     $0x2,%ebx                      
  1129c3:	89 58 10             	mov    %ebx,0x10(%eax)                
       _States_Set( STATES_SUSPENDED, the_thread->current_state );    
    _ISR_Enable( level );                                             
  1129c6:	51                   	push   %ecx                           
  1129c7:	9d                   	popf                                  
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Context_Switch_necessary = true;                                 
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
  1129c8:	5b                   	pop    %ebx                           
  1129c9:	5e                   	pop    %esi                           
  1129ca:	c9                   	leave                                 
  1129cb:	c3                   	ret                                   
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Thread_Calculate_heir();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Context_Switch_necessary = true;                                 
  1129cc:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
  1129d3:	eb e2                	jmp    1129b7 <_Thread_Suspend+0x43>  
  1129d5:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  1129d8:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  1129db:	89 1a                	mov    %ebx,(%edx)                    
  the_chain->permanent_null = NULL;                                   
  1129dd:	c7 42 04 00 00 00 00 	movl   $0x0,0x4(%edx)                 
  the_chain->last           = _Chain_Head(the_chain);                 
  1129e4:	89 52 08             	mov    %edx,0x8(%edx)                 
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Remove_from_bit_map (             
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
  1129e7:	8b 90 90 00 00 00    	mov    0x90(%eax),%edx                
  1129ed:	66 8b 98 9a 00 00 00 	mov    0x9a(%eax),%bx                 
  1129f4:	66 21 1a             	and    %bx,(%edx)                     
  the_thread->current_state = STATES_SUSPENDED;                       
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
                                                                      
    _Chain_Initialize_empty( ready );                                 
    _Priority_Remove_from_bit_map( &the_thread->Priority_map );       
  1129f7:	66 83 3a 00          	cmpw   $0x0,(%edx)                    
  1129fb:	75 a7                	jne    1129a4 <_Thread_Suspend+0x30>  
  if ( *the_priority_map->minor == 0 )                                
    _Priority_Major_bit_map &= the_priority_map->block_major;         
  1129fd:	66 8b 15 ac 94 12 00 	mov    0x1294ac,%dx                   
  112a04:	23 90 98 00 00 00    	and    0x98(%eax),%edx                
  112a0a:	66 89 15 ac 94 12 00 	mov    %dx,0x1294ac                   
  112a11:	eb 91                	jmp    1129a4 <_Thread_Suspend+0x30>  
  112a13:	90                   	nop                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  112a14:	66 8b 35 ac 94 12 00 	mov    0x1294ac,%si                   
  112a1b:	31 d2                	xor    %edx,%edx                      
  112a1d:	89 d3                	mov    %edx,%ebx                      
  112a1f:	66 0f bc de          	bsf    %si,%bx                        
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
  112a23:	0f b7 db             	movzwl %bx,%ebx                       
  112a26:	66 8b b4 1b 40 95 12 	mov    0x129540(%ebx,%ebx,1),%si      
  112a2d:	00                                                          
  112a2e:	66 0f bc d6          	bsf    %si,%dx                        
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
  112a32:	c1 e3 04             	shl    $0x4,%ebx                      
  112a35:	0f b7 d2             	movzwl %dx,%edx                       
  112a38:	8d 14 13             	lea    (%ebx,%edx,1),%edx             
  112a3b:	8d 1c 52             	lea    (%edx,%edx,2),%ebx             
  112a3e:	8b 15 c0 93 12 00    	mov    0x1293c0,%edx                  
  112a44:	8b 14 9a             	mov    (%edx,%ebx,4),%edx             
  112a47:	89 15 88 94 12 00    	mov    %edx,0x129488                  
  112a4d:	e9 5d ff ff ff       	jmp    1129af <_Thread_Suspend+0x3b>  
                                                                      

0010e804 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
  10e804:	55                   	push   %ebp                           
  10e805:	89 e5                	mov    %esp,%ebp                      
  10e807:	53                   	push   %ebx                           
  10e808:	83 ec 04             	sub    $0x4,%esp                      
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
  10e80b:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
  10e811:	80 7b 75 00          	cmpb   $0x0,0x75(%ebx)                
  10e815:	74 19                	je     10e830 <_Thread_Tickle_timeslice+0x2c>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
  10e817:	8b 43 10             	mov    0x10(%ebx),%eax                
  10e81a:	85 c0                	test   %eax,%eax                      
  10e81c:	75 12                	jne    10e830 <_Thread_Tickle_timeslice+0x2c>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
  10e81e:	8b 43 7c             	mov    0x7c(%ebx),%eax                
  10e821:	83 f8 01             	cmp    $0x1,%eax                      
  10e824:	72 0a                	jb     10e830 <_Thread_Tickle_timeslice+0x2c>
  10e826:	83 f8 02             	cmp    $0x2,%eax                      
  10e829:	76 29                	jbe    10e854 <_Thread_Tickle_timeslice+0x50>
  10e82b:	83 f8 03             	cmp    $0x3,%eax                      
  10e82e:	74 08                	je     10e838 <_Thread_Tickle_timeslice+0x34><== ALWAYS TAKEN
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
  10e830:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e833:	c9                   	leave                                 
  10e834:	c3                   	ret                                   
  10e835:	8d 76 00             	lea    0x0(%esi),%esi                 
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
  10e838:	8b 43 78             	mov    0x78(%ebx),%eax                
  10e83b:	48                   	dec    %eax                           
  10e83c:	89 43 78             	mov    %eax,0x78(%ebx)                
  10e83f:	85 c0                	test   %eax,%eax                      
  10e841:	75 ed                	jne    10e830 <_Thread_Tickle_timeslice+0x2c>
	  (*executing->budget_callout)( executing );                         
  10e843:	83 ec 0c             	sub    $0xc,%esp                      
  10e846:	53                   	push   %ebx                           
  10e847:	ff 93 80 00 00 00    	call   *0x80(%ebx)                    
  10e84d:	83 c4 10             	add    $0x10,%esp                     
  10e850:	eb de                	jmp    10e830 <_Thread_Tickle_timeslice+0x2c>
  10e852:	66 90                	xchg   %ax,%ax                        
                                                                      
    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 ) {               
  10e854:	8b 43 78             	mov    0x78(%ebx),%eax                
  10e857:	48                   	dec    %eax                           
  10e858:	89 43 78             	mov    %eax,0x78(%ebx)                
  10e85b:	85 c0                	test   %eax,%eax                      
  10e85d:	7f d1                	jg     10e830 <_Thread_Tickle_timeslice+0x2c>
        _Thread_Reset_timeslice();                                    
  10e85f:	e8 b8 40 00 00       	call   11291c <_Thread_Reset_timeslice>
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
  10e864:	a1 c4 93 12 00       	mov    0x1293c4,%eax                  
  10e869:	89 43 78             	mov    %eax,0x78(%ebx)                
  10e86c:	eb c2                	jmp    10e830 <_Thread_Tickle_timeslice+0x2c>
                                                                      

0010e870 <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
  10e870:	55                   	push   %ebp                           
  10e871:	89 e5                	mov    %esp,%ebp                      
  10e873:	56                   	push   %esi                           
  10e874:	53                   	push   %ebx                           
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  10e875:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  ready     = executing->ready;                                       
  10e87a:	8b 90 8c 00 00 00    	mov    0x8c(%eax),%edx                
  _ISR_Disable( level );                                              
  10e880:	9c                   	pushf                                 
  10e881:	fa                   	cli                                   
  10e882:	59                   	pop    %ecx                           
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
  10e883:	8b 1a                	mov    (%edx),%ebx                    
  10e885:	3b 5a 08             	cmp    0x8(%edx),%ebx                 
  10e888:	74 3e                	je     10e8c8 <_Thread_Yield_processor+0x58>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10e88a:	8b 30                	mov    (%eax),%esi                    
  previous       = the_node->previous;                                
  10e88c:	8b 58 04             	mov    0x4(%eax),%ebx                 
  next->previous = previous;                                          
  10e88f:	89 5e 04             	mov    %ebx,0x4(%esi)                 
  previous->next = next;                                              
  10e892:	89 33                	mov    %esi,(%ebx)                    
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  10e894:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10e897:	89 18                	mov    %ebx,(%eax)                    
  old_last_node       = the_chain->last;                              
  10e899:	8b 5a 08             	mov    0x8(%edx),%ebx                 
  the_chain->last     = the_node;                                     
  10e89c:	89 42 08             	mov    %eax,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  10e89f:	89 03                	mov    %eax,(%ebx)                    
  the_node->previous  = old_last_node;                                
  10e8a1:	89 58 04             	mov    %ebx,0x4(%eax)                 
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
  10e8a4:	51                   	push   %ecx                           
  10e8a5:	9d                   	popf                                  
  10e8a6:	fa                   	cli                                   
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
  10e8a7:	3b 05 88 94 12 00    	cmp    0x129488,%eax                  
  10e8ad:	74 0d                	je     10e8bc <_Thread_Yield_processor+0x4c><== ALWAYS TAKEN
        _Thread_Heir = (Thread_Control *) ready->first;               
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
      _Context_Switch_necessary = true;                               
  10e8af:	c6 05 c8 94 12 00 01 	movb   $0x1,0x1294c8                  
                                                                      
  _ISR_Enable( level );                                               
  10e8b6:	51                   	push   %ecx                           
  10e8b7:	9d                   	popf                                  
}                                                                     
  10e8b8:	5b                   	pop    %ebx                           
  10e8b9:	5e                   	pop    %esi                           
  10e8ba:	c9                   	leave                                 
  10e8bb:	c3                   	ret                                   
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) ready->first;               
  10e8bc:	8b 02                	mov    (%edx),%eax                    
  10e8be:	a3 88 94 12 00       	mov    %eax,0x129488                  
  10e8c3:	eb ea                	jmp    10e8af <_Thread_Yield_processor+0x3f>
  10e8c5:	8d 76 00             	lea    0x0(%esi),%esi                 
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
  10e8c8:	3b 05 88 94 12 00    	cmp    0x129488,%eax                  
  10e8ce:	75 df                	jne    10e8af <_Thread_Yield_processor+0x3f><== NEVER TAKEN
  10e8d0:	eb e4                	jmp    10e8b6 <_Thread_Yield_processor+0x46>
                                                                      

0010e0d4 <_Thread_queue_Dequeue_priority>: */ Thread_Control *_Thread_queue_Dequeue_priority( Thread_queue_Control *the_thread_queue ) {
  10e0d4:	55                   	push   %ebp                           
  10e0d5:	89 e5                	mov    %esp,%ebp                      
  10e0d7:	57                   	push   %edi                           
  10e0d8:	56                   	push   %esi                           
  10e0d9:	53                   	push   %ebx                           
  10e0da:	83 ec 1c             	sub    $0x1c,%esp                     
  10e0dd:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  10e0e0:	9c                   	pushf                                 
  10e0e1:	fa                   	cli                                   
  10e0e2:	58                   	pop    %eax                           
  10e0e3:	89 f2                	mov    %esi,%edx                      
  10e0e5:	31 c9                	xor    %ecx,%ecx                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e0e7:	8d 5a 04             	lea    0x4(%edx),%ebx                 
  10e0ea:	39 1a                	cmp    %ebx,(%edx)                    
  10e0ec:	75 1a                	jne    10e108 <_Thread_queue_Dequeue_priority+0x34>
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
  10e0ee:	41                   	inc    %ecx                           
  10e0ef:	83 c2 0c             	add    $0xc,%edx                      
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
  10e0f2:	83 f9 04             	cmp    $0x4,%ecx                      
  10e0f5:	75 f0                	jne    10e0e7 <_Thread_queue_Dequeue_priority+0x13>
  }                                                                   
                                                                      
  /*                                                                  
   * We did not find a thread to unblock.                             
   */                                                                 
  _ISR_Enable( level );                                               
  10e0f7:	50                   	push   %eax                           
  10e0f8:	9d                   	popf                                  
  10e0f9:	31 db                	xor    %ebx,%ebx                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
  10e0fb:	89 d8                	mov    %ebx,%eax                      
  10e0fd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e100:	5b                   	pop    %ebx                           
  10e101:	5e                   	pop    %esi                           
  10e102:	5f                   	pop    %edi                           
  10e103:	c9                   	leave                                 
  10e104:	c3                   	ret                                   
  10e105:	8d 76 00             	lea    0x0(%esi),%esi                 
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
      the_thread = (Thread_Control *)                                 
  10e108:	8d 14 49             	lea    (%ecx,%ecx,2),%edx             
  10e10b:	8b 1c 96             	mov    (%esi,%edx,4),%ebx             
   */                                                                 
  _ISR_Enable( level );                                               
  return NULL;                                                        
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
  10e10e:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
  new_first_node   = the_thread->Wait.Block2n.first;                  
  10e115:	8b 53 38             	mov    0x38(%ebx),%edx                
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
  10e118:	8b 0b                	mov    (%ebx),%ecx                    
  previous_node    = the_thread->Object.Node.previous;                
  10e11a:	8b 73 04             	mov    0x4(%ebx),%esi                 
  10e11d:	8d 7b 3c             	lea    0x3c(%ebx),%edi                
  10e120:	39 fa                	cmp    %edi,%edx                      
  10e122:	74 76                	je     10e19a <_Thread_queue_Dequeue_priority+0xc6>
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = the_thread->Wait.Block2n.last;                  
  10e124:	8b 7b 40             	mov    0x40(%ebx),%edi                
  10e127:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
    new_second_node = new_first_node->next;                           
  10e12a:	8b 3a                	mov    (%edx),%edi                    
                                                                      
    previous_node->next      = new_first_node;                        
  10e12c:	89 16                	mov    %edx,(%esi)                    
    next_node->previous      = new_first_node;                        
  10e12e:	89 51 04             	mov    %edx,0x4(%ecx)                 
    new_first_node->next     = next_node;                             
  10e131:	89 0a                	mov    %ecx,(%edx)                    
    new_first_node->previous = previous_node;                         
  10e133:	89 72 04             	mov    %esi,0x4(%edx)                 
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
  10e136:	8b 4b 38             	mov    0x38(%ebx),%ecx                
  10e139:	3b 4b 40             	cmp    0x40(%ebx),%ecx                
  10e13c:	74 14                	je     10e152 <_Thread_queue_Dequeue_priority+0x7e>
                                                /* > two threads on 2-n */
      new_second_node->previous =                                     
  10e13e:	8d 4a 38             	lea    0x38(%edx),%ecx                
  10e141:	89 4f 04             	mov    %ecx,0x4(%edi)                 
                _Chain_Head( &new_first_thread->Wait.Block2n );       
                                                                      
      new_first_thread->Wait.Block2n.first = new_second_node;         
  10e144:	89 7a 38             	mov    %edi,0x38(%edx)                
      new_first_thread->Wait.Block2n.last  = last_node;               
  10e147:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10e14a:	89 4a 40             	mov    %ecx,0x40(%edx)                
                                                                      
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
  10e14d:	83 c2 3c             	add    $0x3c,%edx                     
  10e150:	89 11                	mov    %edx,(%ecx)                    
  } else {                                                            
    previous_node->next = next_node;                                  
    next_node->previous = previous_node;                              
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  10e152:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  10e156:	74 18                	je     10e170 <_Thread_queue_Dequeue_priority+0x9c>
    _ISR_Enable( level );                                             
  10e158:	50                   	push   %eax                           
  10e159:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  10e15a:	83 ec 08             	sub    $0x8,%esp                      
  10e15d:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10e162:	53                   	push   %ebx                           
  10e163:	e8 5c f7 ff ff       	call   10d8c4 <_Thread_Clear_state>   
  10e168:	83 c4 10             	add    $0x10,%esp                     
  10e16b:	eb 8e                	jmp    10e0fb <_Thread_queue_Dequeue_priority+0x27>
  10e16d:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
  10e170:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
    _Thread_Unblock( the_thread );                                    
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  10e177:	50                   	push   %eax                           
  10e178:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  10e179:	83 ec 0c             	sub    $0xc,%esp                      
  10e17c:	8d 43 48             	lea    0x48(%ebx),%eax                
  10e17f:	50                   	push   %eax                           
  10e180:	e8 83 0b 00 00       	call   10ed08 <_Watchdog_Remove>      
  10e185:	58                   	pop    %eax                           
  10e186:	5a                   	pop    %edx                           
  10e187:	68 f8 ff 03 10       	push   $0x1003fff8                    
  10e18c:	53                   	push   %ebx                           
  10e18d:	e8 32 f7 ff ff       	call   10d8c4 <_Thread_Clear_state>   
  10e192:	83 c4 10             	add    $0x10,%esp                     
  10e195:	e9 61 ff ff ff       	jmp    10e0fb <_Thread_queue_Dequeue_priority+0x27>
      new_first_thread->Wait.Block2n.last  = last_node;               
                                                                      
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
  10e19a:	89 0e                	mov    %ecx,(%esi)                    
    next_node->previous = previous_node;                              
  10e19c:	89 71 04             	mov    %esi,0x4(%ecx)                 
  10e19f:	eb b1                	jmp    10e152 <_Thread_queue_Dequeue_priority+0x7e>
                                                                      

0011270c <_Thread_queue_Enqueue_fifo>: Thread_blocking_operation_States _Thread_queue_Enqueue_fifo ( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_Level *level_p ) {
  11270c:	55                   	push   %ebp                           
  11270d:	89 e5                	mov    %esp,%ebp                      
  11270f:	56                   	push   %esi                           
  112710:	53                   	push   %ebx                           
  112711:	8b 55 08             	mov    0x8(%ebp),%edx                 
  112714:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Thread_blocking_operation_States sync_state;                        
  ISR_Level                        level;                             
                                                                      
  _ISR_Disable( level );                                              
  112717:	9c                   	pushf                                 
  112718:	fa                   	cli                                   
  112719:	59                   	pop    %ecx                           
                                                                      
    sync_state = the_thread_queue->sync_state;                        
  11271a:	8b 42 30             	mov    0x30(%edx),%eax                
    the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  11271d:	c7 42 30 00 00 00 00 	movl   $0x0,0x30(%edx)                
    if (sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) {   
  112724:	83 f8 01             	cmp    $0x1,%eax                      
  112727:	74 0b                	je     112734 <_Thread_queue_Enqueue_fifo+0x28>
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  112729:	8b 55 10             	mov    0x10(%ebp),%edx                
  11272c:	89 0a                	mov    %ecx,(%edx)                    
  return sync_state;                                                  
}                                                                     
  11272e:	5b                   	pop    %ebx                           
  11272f:	5e                   	pop    %esi                           
  112730:	c9                   	leave                                 
  112731:	c3                   	ret                                   
  112732:	66 90                	xchg   %ax,%ax                        
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  112734:	8d 72 04             	lea    0x4(%edx),%esi                 
  112737:	89 33                	mov    %esi,(%ebx)                    
  old_last_node       = the_chain->last;                              
  112739:	8b 72 08             	mov    0x8(%edx),%esi                 
  the_chain->last     = the_node;                                     
  11273c:	89 5a 08             	mov    %ebx,0x8(%edx)                 
  old_last_node->next = the_node;                                     
  11273f:	89 1e                	mov    %ebx,(%esi)                    
  the_node->previous  = old_last_node;                                
  112741:	89 73 04             	mov    %esi,0x4(%ebx)                 
    if (sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) {   
      _Chain_Append_unprotected(                                      
        &the_thread_queue->Queues.Fifo,                               
        &the_thread->Object.Node                                      
      );                                                              
      the_thread->Wait.queue = the_thread_queue;                      
  112744:	89 53 44             	mov    %edx,0x44(%ebx)                
                                                                      
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
      _ISR_Enable( level );                                           
  112747:	51                   	push   %ecx                           
  112748:	9d                   	popf                                  
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return sync_state;                                                  
}                                                                     
  112749:	5b                   	pop    %ebx                           
  11274a:	5e                   	pop    %esi                           
  11274b:	c9                   	leave                                 
  11274c:	c3                   	ret                                   
                                                                      

0010e23c <_Thread_queue_Enqueue_priority>: Thread_blocking_operation_States _Thread_queue_Enqueue_priority ( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_Level *level_p ) {
  10e23c:	55                   	push   %ebp                           
  10e23d:	89 e5                	mov    %esp,%ebp                      
  10e23f:	57                   	push   %edi                           
  10e240:	56                   	push   %esi                           
  10e241:	53                   	push   %ebx                           
  10e242:	83 ec 08             	sub    $0x8,%esp                      
  10e245:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10e248:	8d 47 3c             	lea    0x3c(%edi),%eax                
  10e24b:	89 47 38             	mov    %eax,0x38(%edi)                
  the_chain->permanent_null = NULL;                                   
  10e24e:	c7 47 3c 00 00 00 00 	movl   $0x0,0x3c(%edi)                
  the_chain->last           = _Chain_Head(the_chain);                 
  10e255:	8d 47 38             	lea    0x38(%edi),%eax                
  10e258:	89 47 40             	mov    %eax,0x40(%edi)                
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  10e25b:	8b 57 14             	mov    0x14(%edi),%edx                
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  10e25e:	89 d0                	mov    %edx,%eax                      
  10e260:	c1 e8 06             	shr    $0x6,%eax                      
  10e263:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  10e266:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10e269:	8d 34 81             	lea    (%ecx,%eax,4),%esi             
  block_state  = the_thread_queue->state;                             
  10e26c:	8b 59 38             	mov    0x38(%ecx),%ebx                
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
  10e26f:	f6 c2 20             	test   $0x20,%dl                      
  10e272:	75 60                	jne    10e2d4 <_Thread_queue_Enqueue_priority+0x98>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10e274:	8d 46 04             	lea    0x4(%esi),%eax                 
  10e277:	89 75 f0             	mov    %esi,-0x10(%ebp)               
  10e27a:	89 7d ec             	mov    %edi,-0x14(%ebp)               
  10e27d:	89 c7                	mov    %eax,%edi                      
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  10e27f:	9c                   	pushf                                 
  10e280:	fa                   	cli                                   
  10e281:	5e                   	pop    %esi                           
  search_thread = (Thread_Control *) header->first;                   
  10e282:	8b 4d f0             	mov    -0x10(%ebp),%ecx               
  10e285:	8b 01                	mov    (%ecx),%eax                    
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10e287:	39 f8                	cmp    %edi,%eax                      
  10e289:	75 17                	jne    10e2a2 <_Thread_queue_Enqueue_priority+0x66>
  10e28b:	e9 09 01 00 00       	jmp    10e399 <_Thread_queue_Enqueue_priority+0x15d>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10e290:	56                   	push   %esi                           
  10e291:	9d                   	popf                                  
  10e292:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10e293:	85 58 10             	test   %ebx,0x10(%eax)                
  10e296:	0f 84 a8 00 00 00    	je     10e344 <_Thread_queue_Enqueue_priority+0x108><== NEVER TAKEN
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  10e29c:	8b 00                	mov    (%eax),%eax                    
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10e29e:	39 f8                	cmp    %edi,%eax                      
  10e2a0:	74 07                	je     10e2a9 <_Thread_queue_Enqueue_priority+0x6d>
    search_priority = search_thread->current_priority;                
  10e2a2:	8b 48 14             	mov    0x14(%eax),%ecx                
    if ( priority <= search_priority )                                
  10e2a5:	39 ca                	cmp    %ecx,%edx                      
  10e2a7:	77 e7                	ja     10e290 <_Thread_queue_Enqueue_priority+0x54>
  10e2a9:	89 4d f0             	mov    %ecx,-0x10(%ebp)               
  10e2ac:	8b 7d ec             	mov    -0x14(%ebp),%edi               
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10e2af:	89 f3                	mov    %esi,%ebx                      
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10e2b1:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10e2b4:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10e2b8:	0f 84 8e 00 00 00    	je     10e34c <_Thread_queue_Enqueue_priority+0x110>
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  10e2be:	8b 45 10             	mov    0x10(%ebp),%eax                
  10e2c1:	89 18                	mov    %ebx,(%eax)                    
  return the_thread_queue->sync_state;                                
  10e2c3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10e2c6:	8b 42 30             	mov    0x30(%edx),%eax                
}                                                                     
  10e2c9:	83 c4 08             	add    $0x8,%esp                      
  10e2cc:	5b                   	pop    %ebx                           
  10e2cd:	5e                   	pop    %esi                           
  10e2ce:	5f                   	pop    %edi                           
  10e2cf:	c9                   	leave                                 
  10e2d0:	c3                   	ret                                   
  10e2d1:	8d 76 00             	lea    0x0(%esi),%esi                 
  10e2d4:	89 7d f0             	mov    %edi,-0x10(%ebp)               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
  10e2d7:	0f b6 0d 14 52 12 00 	movzbl 0x125214,%ecx                  
  10e2de:	41                   	inc    %ecx                           
                                                                      
  _ISR_Disable( level );                                              
  10e2df:	9c                   	pushf                                 
  10e2e0:	fa                   	cli                                   
  10e2e1:	5f                   	pop    %edi                           
  search_thread = (Thread_Control *) header->last;                    
  10e2e2:	8b 46 08             	mov    0x8(%esi),%eax                 
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10e2e5:	39 f0                	cmp    %esi,%eax                      
  10e2e7:	75 12                	jne    10e2fb <_Thread_queue_Enqueue_priority+0xbf>
  10e2e9:	eb 17                	jmp    10e302 <_Thread_queue_Enqueue_priority+0xc6>
  10e2eb:	90                   	nop                                   
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
  10e2ec:	57                   	push   %edi                           
  10e2ed:	9d                   	popf                                  
  10e2ee:	fa                   	cli                                   
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
  10e2ef:	85 58 10             	test   %ebx,0x10(%eax)                
  10e2f2:	74 4c                	je     10e340 <_Thread_queue_Enqueue_priority+0x104>
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
  10e2f4:	8b 40 04             	mov    0x4(%eax),%eax                 
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10e2f7:	39 f0                	cmp    %esi,%eax                      
  10e2f9:	74 07                	je     10e302 <_Thread_queue_Enqueue_priority+0xc6>
    search_priority = search_thread->current_priority;                
  10e2fb:	8b 48 14             	mov    0x14(%eax),%ecx                
    if ( priority >= search_priority )                                
  10e2fe:	39 ca                	cmp    %ecx,%edx                      
  10e300:	72 ea                	jb     10e2ec <_Thread_queue_Enqueue_priority+0xb0>
  10e302:	89 fe                	mov    %edi,%esi                      
  10e304:	89 4d ec             	mov    %ecx,-0x14(%ebp)               
  10e307:	8b 7d f0             	mov    -0x10(%ebp),%edi               
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
  10e30a:	89 f3                	mov    %esi,%ebx                      
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
  10e30c:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10e30f:	83 79 30 01          	cmpl   $0x1,0x30(%ecx)                
  10e313:	75 a9                	jne    10e2be <_Thread_queue_Enqueue_priority+0x82>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10e315:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10e31c:	3b 55 ec             	cmp    -0x14(%ebp),%edx               
  10e31f:	74 56                	je     10e377 <_Thread_queue_Enqueue_priority+0x13b>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  10e321:	8b 10                	mov    (%eax),%edx                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  10e323:	89 17                	mov    %edx,(%edi)                    
  the_node->previous      = search_node;                              
  10e325:	89 47 04             	mov    %eax,0x4(%edi)                 
  search_node->next       = the_node;                                 
  10e328:	89 38                	mov    %edi,(%eax)                    
  next_node->previous    = the_node;                                  
  10e32a:	89 7a 04             	mov    %edi,0x4(%edx)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10e32d:	89 4f 44             	mov    %ecx,0x44(%edi)                
  _ISR_Enable( level );                                               
  10e330:	56                   	push   %esi                           
  10e331:	9d                   	popf                                  
  10e332:	b8 01 00 00 00       	mov    $0x1,%eax                      
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10e337:	83 c4 08             	add    $0x8,%esp                      
  10e33a:	5b                   	pop    %ebx                           
  10e33b:	5e                   	pop    %esi                           
  10e33c:	5f                   	pop    %edi                           
  10e33d:	c9                   	leave                                 
  10e33e:	c3                   	ret                                   
  10e33f:	90                   	nop                                   
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
  10e340:	57                   	push   %edi                           
  10e341:	9d                   	popf                                  
      goto restart_reverse_search;                                    
  10e342:	eb 93                	jmp    10e2d7 <_Thread_queue_Enqueue_priority+0x9b>
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
  10e344:	56                   	push   %esi                           <== NOT EXECUTED
  10e345:	9d                   	popf                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
  10e346:	e9 34 ff ff ff       	jmp    10e27f <_Thread_queue_Enqueue_priority+0x43><== NOT EXECUTED
  10e34b:	90                   	nop                                   <== NOT EXECUTED
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
  10e34c:	c7 41 30 00 00 00 00 	movl   $0x0,0x30(%ecx)                
                                                                      
  if ( priority == search_priority )                                  
  10e353:	3b 55 f0             	cmp    -0x10(%ebp),%edx               
  10e356:	74 1f                	je     10e377 <_Thread_queue_Enqueue_priority+0x13b>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
  10e358:	8b 50 04             	mov    0x4(%eax),%edx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10e35b:	89 07                	mov    %eax,(%edi)                    
  the_node->previous     = previous_node;                             
  10e35d:	89 57 04             	mov    %edx,0x4(%edi)                 
  previous_node->next    = the_node;                                  
  10e360:	89 3a                	mov    %edi,(%edx)                    
  search_node->previous  = the_node;                                  
  10e362:	89 78 04             	mov    %edi,0x4(%eax)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10e365:	89 4f 44             	mov    %ecx,0x44(%edi)                
  _ISR_Enable( level );                                               
  10e368:	56                   	push   %esi                           
  10e369:	9d                   	popf                                  
  10e36a:	b8 01 00 00 00       	mov    $0x1,%eax                      
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
  10e36f:	83 c4 08             	add    $0x8,%esp                      
  10e372:	5b                   	pop    %ebx                           
  10e373:	5e                   	pop    %esi                           
  10e374:	5f                   	pop    %edi                           
  10e375:	c9                   	leave                                 
  10e376:	c3                   	ret                                   
  10e377:	83 c0 3c             	add    $0x3c,%eax                     
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
  10e37a:	8b 50 04             	mov    0x4(%eax),%edx                 
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  10e37d:	89 07                	mov    %eax,(%edi)                    
  the_node->previous     = previous_node;                             
  10e37f:	89 57 04             	mov    %edx,0x4(%edi)                 
  previous_node->next    = the_node;                                  
  10e382:	89 3a                	mov    %edi,(%edx)                    
  search_node->previous  = the_node;                                  
  10e384:	89 78 04             	mov    %edi,0x4(%eax)                 
  the_thread->Wait.queue = the_thread_queue;                          
  10e387:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10e38a:	89 47 44             	mov    %eax,0x44(%edi)                
  _ISR_Enable( level );                                               
  10e38d:	53                   	push   %ebx                           
  10e38e:	9d                   	popf                                  
  10e38f:	b8 01 00 00 00       	mov    $0x1,%eax                      
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
  10e394:	e9 30 ff ff ff       	jmp    10e2c9 <_Thread_queue_Enqueue_priority+0x8d>
  10e399:	8b 7d ec             	mov    -0x14(%ebp),%edi               
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
  10e39c:	89 f3                	mov    %esi,%ebx                      
  10e39e:	c7 45 f0 ff ff ff ff 	movl   $0xffffffff,-0x10(%ebp)        
  10e3a5:	e9 07 ff ff ff       	jmp    10e2b1 <_Thread_queue_Enqueue_priority+0x75>
                                                                      

00112750 <_Thread_queue_Extract>: void _Thread_queue_Extract( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  112750:	55                   	push   %ebp                           
  112751:	89 e5                	mov    %esp,%ebp                      
  112753:	83 ec 08             	sub    $0x8,%esp                      
  112756:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112759:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  /*                                                                  
   * Can not use indirect function pointer here since Extract priority
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
  11275c:	83 78 34 01          	cmpl   $0x1,0x34(%eax)                
  112760:	74 0e                	je     112770 <_Thread_queue_Extract+0x20>
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
  112762:	89 55 0c             	mov    %edx,0xc(%ebp)                 
  112765:	89 45 08             	mov    %eax,0x8(%ebp)                 
                                                                      
}                                                                     
  112768:	c9                   	leave                                 
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
  112769:	e9 22 28 00 00       	jmp    114f90 <_Thread_queue_Extract_fifo>
  11276e:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   * Can not use indirect function pointer here since Extract priority
   * is a macro and the underlying methods do not have the same signature.
   */                                                                 
  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
    _Thread_queue_Extract_priority( the_thread_queue, the_thread );   
  112770:	51                   	push   %ecx                           
  112771:	6a 00                	push   $0x0                           
  112773:	52                   	push   %edx                           
  112774:	50                   	push   %eax                           
  112775:	e8 06 00 00 00       	call   112780 <_Thread_queue_Extract_priority_helper>
  11277a:	83 c4 10             	add    $0x10,%esp                     
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
    _Thread_queue_Extract_fifo( the_thread_queue, the_thread );       
                                                                      
}                                                                     
  11277d:	c9                   	leave                                 
  11277e:	c3                   	ret                                   
                                                                      

00114f90 <_Thread_queue_Extract_fifo>: void _Thread_queue_Extract_fifo( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread ) {
  114f90:	55                   	push   %ebp                           
  114f91:	89 e5                	mov    %esp,%ebp                      
  114f93:	53                   	push   %ebx                           
  114f94:	83 ec 04             	sub    $0x4,%esp                      
  114f97:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  114f9a:	9c                   	pushf                                 
  114f9b:	fa                   	cli                                   
  114f9c:	58                   	pop    %eax                           
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  114f9d:	f7 43 10 e0 be 03 00 	testl  $0x3bee0,0x10(%ebx)            
  114fa4:	74 2e                	je     114fd4 <_Thread_queue_Extract_fifo+0x44>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  114fa6:	8b 0b                	mov    (%ebx),%ecx                    
  previous       = the_node->previous;                                
  114fa8:	8b 53 04             	mov    0x4(%ebx),%edx                 
  next->previous = previous;                                          
  114fab:	89 51 04             	mov    %edx,0x4(%ecx)                 
  previous->next = next;                                              
  114fae:	89 0a                	mov    %ecx,(%edx)                    
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
  114fb0:	c7 43 44 00 00 00 00 	movl   $0x0,0x44(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  114fb7:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  114fbb:	74 1f                	je     114fdc <_Thread_queue_Extract_fifo+0x4c>
    _ISR_Enable( level );                                             
  114fbd:	50                   	push   %eax                           
  114fbe:	9d                   	popf                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
  114fbf:	c7 45 0c f8 ff 03 10 	movl   $0x1003fff8,0xc(%ebp)          
  114fc6:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
  114fc9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  114fcc:	c9                   	leave                                 
  114fcd:	e9 f2 88 ff ff       	jmp    10d8c4 <_Thread_Clear_state>   
  114fd2:	66 90                	xchg   %ax,%ax                        
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    _ISR_Enable( level );                                             
  114fd4:	50                   	push   %eax                           
  114fd5:	9d                   	popf                                  
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
  114fd6:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  114fd9:	c9                   	leave                                 
  114fda:	c3                   	ret                                   
  114fdb:	90                   	nop                                   
  114fdc:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  114fe3:	50                   	push   %eax                           
  114fe4:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  114fe5:	83 ec 0c             	sub    $0xc,%esp                      
  114fe8:	8d 43 48             	lea    0x48(%ebx),%eax                
  114feb:	50                   	push   %eax                           
  114fec:	e8 17 9d ff ff       	call   10ed08 <_Watchdog_Remove>      
  114ff1:	83 c4 10             	add    $0x10,%esp                     
  114ff4:	eb c9                	jmp    114fbf <_Thread_queue_Extract_fifo+0x2f>
                                                                      

00112780 <_Thread_queue_Extract_priority_helper>: void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue __attribute__((unused)), Thread_Control *the_thread, bool requeuing ) {
  112780:	55                   	push   %ebp                           
  112781:	89 e5                	mov    %esp,%ebp                      
  112783:	57                   	push   %edi                           
  112784:	56                   	push   %esi                           
  112785:	53                   	push   %ebx                           
  112786:	83 ec 1c             	sub    $0x1c,%esp                     
  112789:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  11278c:	8a 45 10             	mov    0x10(%ebp),%al                 
  11278f:	88 45 e3             	mov    %al,-0x1d(%ebp)                
  Chain_Node     *new_first_node;                                     
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
  112792:	9c                   	pushf                                 
  112793:	fa                   	cli                                   
  112794:	8f 45 e4             	popl   -0x1c(%ebp)                    
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  112797:	f7 43 10 e0 be 03 00 	testl  $0x3bee0,0x10(%ebx)            
  11279e:	74 60                	je     112800 <_Thread_queue_Extract_priority_helper+0x80>
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  1127a0:	8b 13                	mov    (%ebx),%edx                    
  previous_node = the_node->previous;                                 
  1127a2:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  1127a5:	8b 43 38             	mov    0x38(%ebx),%eax                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  1127a8:	8d 73 3c             	lea    0x3c(%ebx),%esi                
  1127ab:	39 f0                	cmp    %esi,%eax                      
  1127ad:	74 5d                	je     11280c <_Thread_queue_Extract_priority_helper+0x8c>
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    new_first_node   = the_thread->Wait.Block2n.first;                
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = the_thread->Wait.Block2n.last;                 
  1127af:	8b 7b 40             	mov    0x40(%ebx),%edi                
    new_second_node  = new_first_node->next;                          
  1127b2:	8b 30                	mov    (%eax),%esi                    
                                                                      
    previous_node->next      = new_first_node;                        
  1127b4:	89 01                	mov    %eax,(%ecx)                    
    next_node->previous      = new_first_node;                        
  1127b6:	89 42 04             	mov    %eax,0x4(%edx)                 
    new_first_node->next     = next_node;                             
  1127b9:	89 10                	mov    %edx,(%eax)                    
    new_first_node->previous = previous_node;                         
  1127bb:	89 48 04             	mov    %ecx,0x4(%eax)                 
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
  1127be:	8b 53 38             	mov    0x38(%ebx),%edx                
  1127c1:	3b 53 40             	cmp    0x40(%ebx),%edx                
  1127c4:	74 11                	je     1127d7 <_Thread_queue_Extract_priority_helper+0x57>
                                        /* > two threads on 2-n */    
      new_second_node->previous =                                     
  1127c6:	8d 50 38             	lea    0x38(%eax),%edx                
  1127c9:	89 56 04             	mov    %edx,0x4(%esi)                 
                _Chain_Head( &new_first_thread->Wait.Block2n );       
      new_first_thread->Wait.Block2n.first = new_second_node;         
  1127cc:	89 70 38             	mov    %esi,0x38(%eax)                
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
  1127cf:	89 78 40             	mov    %edi,0x40(%eax)                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
  1127d2:	83 c0 3c             	add    $0x3c,%eax                     
  1127d5:	89 07                	mov    %eax,(%edi)                    
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
  1127d7:	80 7d e3 00          	cmpb   $0x0,-0x1d(%ebp)               
  1127db:	75 23                	jne    112800 <_Thread_queue_Extract_priority_helper+0x80>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
  1127dd:	83 7b 50 02          	cmpl   $0x2,0x50(%ebx)                
  1127e1:	74 31                	je     112814 <_Thread_queue_Extract_priority_helper+0x94>
    _ISR_Enable( level );                                             
  1127e3:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  1127e6:	9d                   	popf                                  
  1127e7:	c7 45 0c f8 ff 03 10 	movl   $0x1003fff8,0xc(%ebp)          
  1127ee:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  1127f1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1127f4:	5b                   	pop    %ebx                           
  1127f5:	5e                   	pop    %esi                           
  1127f6:	5f                   	pop    %edi                           
  1127f7:	c9                   	leave                                 
  1127f8:	e9 c7 b0 ff ff       	jmp    10d8c4 <_Thread_Clear_state>   
  1127fd:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
    _ISR_Enable( level );                                             
  112800:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  112803:	9d                   	popf                                  
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
  112804:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  112807:	5b                   	pop    %ebx                           
  112808:	5e                   	pop    %esi                           
  112809:	5f                   	pop    %edi                           
  11280a:	c9                   	leave                                 
  11280b:	c3                   	ret                                   
                                                                      
      new_first_thread->Wait.Block2n.last = last_node;                
      last_node->next = _Chain_Tail( &new_first_thread->Wait.Block2n );
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
  11280c:	89 11                	mov    %edx,(%ecx)                    
    next_node->previous = previous_node;                              
  11280e:	89 4a 04             	mov    %ecx,0x4(%edx)                 
  112811:	eb c4                	jmp    1127d7 <_Thread_queue_Extract_priority_helper+0x57>
  112813:	90                   	nop                                   
  112814:	c7 43 50 03 00 00 00 	movl   $0x3,0x50(%ebx)                
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
  11281b:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  11281e:	9d                   	popf                                  
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  11281f:	83 ec 0c             	sub    $0xc,%esp                      
  112822:	8d 43 48             	lea    0x48(%ebx),%eax                
  112825:	50                   	push   %eax                           
  112826:	e8 dd c4 ff ff       	call   10ed08 <_Watchdog_Remove>      
  11282b:	83 c4 10             	add    $0x10,%esp                     
  11282e:	eb b7                	jmp    1127e7 <_Thread_queue_Extract_priority_helper+0x67>
                                                                      

0010e3ac <_Thread_queue_Extract_with_proxy>: */ bool _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ) {
  10e3ac:	55                   	push   %ebp                           
  10e3ad:	89 e5                	mov    %esp,%ebp                      
  10e3af:	83 ec 08             	sub    $0x8,%esp                      
  10e3b2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  States_Control                state;                                
                                                                      
  state = the_thread->current_state;                                  
  10e3b5:	f7 40 10 e0 be 03 00 	testl  $0x3bee0,0x10(%eax)            
  10e3bc:	75 06                	jne    10e3c4 <_Thread_queue_Extract_with_proxy+0x18>
  10e3be:	31 c0                	xor    %eax,%eax                      
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
                                                                      
    return true;                                                      
  }                                                                   
  return false;                                                       
}                                                                     
  10e3c0:	c9                   	leave                                 
  10e3c1:	c3                   	ret                                   
  10e3c2:	66 90                	xchg   %ax,%ax                        
                                                                      
        if ( proxy_extract_callout )                                  
          (*proxy_extract_callout)( the_thread );                     
      }                                                               
    #endif                                                            
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  10e3c4:	83 ec 08             	sub    $0x8,%esp                      
  10e3c7:	50                   	push   %eax                           
  10e3c8:	ff 70 44             	pushl  0x44(%eax)                     
  10e3cb:	e8 80 43 00 00       	call   112750 <_Thread_queue_Extract> 
  10e3d0:	b0 01                	mov    $0x1,%al                       
                                                                      
    return true;                                                      
  10e3d2:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return false;                                                       
}                                                                     
  10e3d5:	c9                   	leave                                 
  10e3d6:	c3                   	ret                                   
                                                                      

0011025c <_Thread_queue_First>: */ Thread_Control *_Thread_queue_First( Thread_queue_Control *the_thread_queue ) {
  11025c:	55                   	push   %ebp                           
  11025d:	89 e5                	mov    %esp,%ebp                      
  11025f:	83 ec 08             	sub    $0x8,%esp                      
  110262:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Thread_Control * (*first_p)(Thread_queue_Control *);                
                                                                      
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
  110265:	83 78 34 01          	cmpl   $0x1,0x34(%eax)                
  110269:	74 0d                	je     110278 <_Thread_queue_First+0x1c>
  11026b:	ba 64 48 11 00       	mov    $0x114864,%edx                 
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  110270:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  110273:	c9                   	leave                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  110274:	ff e2                	jmp    *%edx                          
  110276:	66 90                	xchg   %ax,%ax                        
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  Thread_Control * (*first_p)(Thread_queue_Control *);                
                                                                      
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
  110278:	ba 84 02 11 00       	mov    $0x110284,%edx                 
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  11027d:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  110280:	c9                   	leave                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
      first_p = _Thread_queue_First_priority;                         
  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                     
      first_p = _Thread_queue_First_fifo;                             
                                                                      
  return (*first_p)( the_thread_queue );                              
  110281:	ff e2                	jmp    *%edx                          
                                                                      

00114864 <_Thread_queue_First_fifo>: */ Thread_Control *_Thread_queue_First_fifo( Thread_queue_Control *the_thread_queue ) {
  114864:	55                   	push   %ebp                           
  114865:	89 e5                	mov    %esp,%ebp                      
  114867:	8b 55 08             	mov    0x8(%ebp),%edx                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  11486a:	8b 02                	mov    (%edx),%eax                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11486c:	83 c2 04             	add    $0x4,%edx                      
  11486f:	39 d0                	cmp    %edx,%eax                      
  114871:	74 05                	je     114878 <_Thread_queue_First_fifo+0x14>
  if ( !_Chain_Is_empty( &the_thread_queue->Queues.Fifo ) )           
    return (Thread_Control *) the_thread_queue->Queues.Fifo.first;    
                                                                      
  return NULL;                                                        
}                                                                     
  114873:	c9                   	leave                                 
  114874:	c3                   	ret                                   
  114875:	8d 76 00             	lea    0x0(%esi),%esi                 
  114878:	31 c0                	xor    %eax,%eax                      
  11487a:	c9                   	leave                                 
  11487b:	c3                   	ret                                   
                                                                      

0010e3d8 <_Thread_queue_Flush>: #else Thread_queue_Flush_callout remote_extract_callout __attribute__((unused)), #endif uint32_t status ) {
  10e3d8:	55                   	push   %ebp                           
  10e3d9:	89 e5                	mov    %esp,%ebp                      
  10e3db:	56                   	push   %esi                           
  10e3dc:	53                   	push   %ebx                           
  10e3dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10e3e0:	8b 75 10             	mov    0x10(%ebp),%esi                
  Thread_Control *the_thread;                                         
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( the_thread_queue )) ) {
  10e3e3:	eb 06                	jmp    10e3eb <_Thread_queue_Flush+0x13>
  10e3e5:	8d 76 00             	lea    0x0(%esi),%esi                 
#if defined(RTEMS_MULTIPROCESSING)                                    
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      ( *remote_extract_callout )( the_thread );                      
    else                                                              
#endif                                                                
      the_thread->Wait.return_code = status;                          
  10e3e8:	89 70 34             	mov    %esi,0x34(%eax)                
  uint32_t                    status                                  
)                                                                     
{                                                                     
  Thread_Control *the_thread;                                         
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( the_thread_queue )) ) {
  10e3eb:	83 ec 0c             	sub    $0xc,%esp                      
  10e3ee:	53                   	push   %ebx                           
  10e3ef:	e8 94 fc ff ff       	call   10e088 <_Thread_queue_Dequeue> 
  10e3f4:	83 c4 10             	add    $0x10,%esp                     
  10e3f7:	85 c0                	test   %eax,%eax                      
  10e3f9:	75 ed                	jne    10e3e8 <_Thread_queue_Flush+0x10>
      ( *remote_extract_callout )( the_thread );                      
    else                                                              
#endif                                                                
      the_thread->Wait.return_code = status;                          
  }                                                                   
}                                                                     
  10e3fb:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e3fe:	5b                   	pop    %ebx                           
  10e3ff:	5e                   	pop    %esi                           
  10e400:	c9                   	leave                                 
  10e401:	c3                   	ret                                   
                                                                      

00112830 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
  112830:	55                   	push   %ebp                           
  112831:	89 e5                	mov    %esp,%ebp                      
  112833:	83 ec 08             	sub    $0x8,%esp                      
  112836:	8b 45 08             	mov    0x8(%ebp),%eax                 
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
  112839:	8b 50 44             	mov    0x44(%eax),%edx                
   *  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.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
  11283c:	8b 4a 30             	mov    0x30(%edx),%ecx                
  11283f:	85 c9                	test   %ecx,%ecx                      
  112841:	74 08                	je     11284b <_Thread_queue_Process_timeout+0x1b>
  112843:	3b 05 b8 94 12 00    	cmp    0x1294b8,%eax                  
  112849:	74 19                	je     112864 <_Thread_queue_Process_timeout+0x34>
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
  11284b:	8b 52 3c             	mov    0x3c(%edx),%edx                
  11284e:	89 50 34             	mov    %edx,0x34(%eax)                
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  112851:	83 ec 08             	sub    $0x8,%esp                      
  112854:	50                   	push   %eax                           
  112855:	ff 70 44             	pushl  0x44(%eax)                     
  112858:	e8 f3 fe ff ff       	call   112750 <_Thread_queue_Extract> 
  11285d:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
}                                                                     
  112860:	c9                   	leave                                 
  112861:	c3                   	ret                                   
  112862:	66 90                	xchg   %ax,%ax                        
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
  112864:	83 f9 03             	cmp    $0x3,%ecx                      
  112867:	74 f7                	je     112860 <_Thread_queue_Process_timeout+0x30>
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
  112869:	8b 4a 3c             	mov    0x3c(%edx),%ecx                
  11286c:	89 48 34             	mov    %ecx,0x34(%eax)                
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
  11286f:	c7 42 30 02 00 00 00 	movl   $0x2,0x30(%edx)                
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  }                                                                   
}                                                                     
  112876:	c9                   	leave                                 
  112877:	c3                   	ret                                   
                                                                      

0010e454 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
  10e454:	55                   	push   %ebp                           
  10e455:	89 e5                	mov    %esp,%ebp                      
  10e457:	57                   	push   %edi                           
  10e458:	56                   	push   %esi                           
  10e459:	53                   	push   %ebx                           
  10e45a:	83 ec 1c             	sub    $0x1c,%esp                     
  10e45d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10e460:	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 )                                            
  10e463:	85 f6                	test   %esi,%esi                      
  10e465:	74 06                	je     10e46d <_Thread_queue_Requeue+0x19><== 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 ) {
  10e467:	83 7e 34 01          	cmpl   $0x1,0x34(%esi)                
  10e46b:	74 0b                	je     10e478 <_Thread_queue_Requeue+0x24><== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
  10e46d:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  10e470:	5b                   	pop    %ebx                           <== NOT EXECUTED
  10e471:	5e                   	pop    %esi                           <== NOT EXECUTED
  10e472:	5f                   	pop    %edi                           <== NOT EXECUTED
  10e473:	c9                   	leave                                 <== NOT EXECUTED
  10e474:	c3                   	ret                                   <== NOT EXECUTED
  10e475:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
  10e478:	9c                   	pushf                                 
  10e479:	fa                   	cli                                   
  10e47a:	5b                   	pop    %ebx                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
  10e47b:	f7 47 10 e0 be 03 00 	testl  $0x3bee0,0x10(%edi)            
  10e482:	75 0c                	jne    10e490 <_Thread_queue_Requeue+0x3c><== ALWAYS TAKEN
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  10e484:	53                   	push   %ebx                           
  10e485:	9d                   	popf                                  
  }                                                                   
}                                                                     
  10e486:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e489:	5b                   	pop    %ebx                           
  10e48a:	5e                   	pop    %esi                           
  10e48b:	5f                   	pop    %edi                           
  10e48c:	c9                   	leave                                 
  10e48d:	c3                   	ret                                   
  10e48e:	66 90                	xchg   %ax,%ax                        
  10e490:	c7 46 30 01 00 00 00 	movl   $0x1,0x30(%esi)                
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
  10e497:	50                   	push   %eax                           
  10e498:	6a 01                	push   $0x1                           
  10e49a:	57                   	push   %edi                           
  10e49b:	56                   	push   %esi                           
  10e49c:	e8 df 42 00 00       	call   112780 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
  10e4a1:	83 c4 0c             	add    $0xc,%esp                      
  10e4a4:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10e4a7:	50                   	push   %eax                           
  10e4a8:	57                   	push   %edi                           
  10e4a9:	56                   	push   %esi                           
  10e4aa:	e8 8d fd ff ff       	call   10e23c <_Thread_queue_Enqueue_priority>
  10e4af:	83 c4 10             	add    $0x10,%esp                     
  10e4b2:	eb d0                	jmp    10e484 <_Thread_queue_Requeue+0x30>
                                                                      

0010e4b4 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
  10e4b4:	55                   	push   %ebp                           
  10e4b5:	89 e5                	mov    %esp,%ebp                      
  10e4b7:	83 ec 20             	sub    $0x20,%esp                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10e4ba:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10e4bd:	50                   	push   %eax                           
  10e4be:	ff 75 08             	pushl  0x8(%ebp)                      
  10e4c1:	e8 ca f7 ff ff       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  10e4c6:	83 c4 10             	add    $0x10,%esp                     
  10e4c9:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10e4cc:	85 d2                	test   %edx,%edx                      
  10e4ce:	75 17                	jne    10e4e7 <_Thread_queue_Timeout+0x33><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
  10e4d0:	83 ec 0c             	sub    $0xc,%esp                      
  10e4d3:	50                   	push   %eax                           
  10e4d4:	e8 57 43 00 00       	call   112830 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
  10e4d9:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10e4de:	48                   	dec    %eax                           
  10e4df:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
  10e4e4:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
  10e4e7:	c9                   	leave                                 
  10e4e8:	c3                   	ret                                   
                                                                      

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

00119828 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
  119828:	55                   	push   %ebp                           
  119829:	89 e5                	mov    %esp,%ebp                      
  11982b:	57                   	push   %edi                           
  11982c:	56                   	push   %esi                           
  11982d:	53                   	push   %ebx                           
  11982e:	83 ec 4c             	sub    $0x4c,%esp                     
  119831:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  119834:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  119837:	89 45 b4             	mov    %eax,-0x4c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  11983a:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  the_chain->permanent_null = NULL;                                   
  11983d:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  119844:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  119847:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11984a:	8d 7d d0             	lea    -0x30(%ebp),%edi               
  11984d:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  119850:	89 45 b0             	mov    %eax,-0x50(%ebp)               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  119853:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  the_chain->permanent_null = NULL;                                   
  119856:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
  the_chain->last           = _Chain_Head(the_chain);                 
  11985d:	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 );  
  119860:	8d 73 30             	lea    0x30(%ebx),%esi                
    /*                                                                
     *  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 );
  119863:	8d 4b 68             	lea    0x68(%ebx),%ecx                
  119866:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
  119869:	8d 43 08             	lea    0x8(%ebx),%eax                 
  11986c:	89 45 bc             	mov    %eax,-0x44(%ebp)               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  11986f:	8d 53 40             	lea    0x40(%ebx),%edx                
  119872:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  119875:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  /*                                                                  
   *  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;                                    
  119878:	8d 4d dc             	lea    -0x24(%ebp),%ecx               
  11987b:	89 4b 78             	mov    %ecx,0x78(%ebx)                
  11987e:	66 90                	xchg   %ax,%ax                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
  119880:	a1 c4 44 14 00       	mov    0x1444c4,%eax                  
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
  119885:	8b 53 3c             	mov    0x3c(%ebx),%edx                
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  119888:	89 43 3c             	mov    %eax,0x3c(%ebx)                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
  11988b:	51                   	push   %ecx                           
  11988c:	57                   	push   %edi                           
  11988d:	29 d0                	sub    %edx,%eax                      
  11988f:	50                   	push   %eax                           
  119890:	56                   	push   %esi                           
  119891:	e8 82 3c 00 00       	call   11d518 <_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();
  119896:	a1 ec 43 14 00       	mov    0x1443ec,%eax                  
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
  11989b:	8b 53 74             	mov    0x74(%ebx),%edx                
  /*                                                                  
   *  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 ) {                                   
  11989e:	83 c4 10             	add    $0x10,%esp                     
  1198a1:	39 d0                	cmp    %edx,%eax                      
  1198a3:	77 63                	ja     119908 <_Timer_server_Body+0xe0>
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
  1198a5:	72 7d                	jb     119924 <_Timer_server_Body+0xfc>
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
  1198a7:	89 43 74             	mov    %eax,0x74(%ebx)                
  1198aa:	66 90                	xchg   %ax,%ax                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
  1198ac:	8b 43 78             	mov    0x78(%ebx),%eax                
  1198af:	83 ec 0c             	sub    $0xc,%esp                      
  1198b2:	50                   	push   %eax                           
  1198b3:	e8 74 08 00 00       	call   11a12c <_Chain_Get>            
                                                                      
    if ( timer == NULL ) {                                            
  1198b8:	83 c4 10             	add    $0x10,%esp                     
  1198bb:	85 c0                	test   %eax,%eax                      
  1198bd:	74 35                	je     1198f4 <_Timer_server_Body+0xcc>
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  1198bf:	8b 50 38             	mov    0x38(%eax),%edx                
  1198c2:	83 fa 01             	cmp    $0x1,%edx                      
  1198c5:	74 19                	je     1198e0 <_Timer_server_Body+0xb8>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  1198c7:	83 fa 03             	cmp    $0x3,%edx                      
  1198ca:	75 e0                	jne    1198ac <_Timer_server_Body+0x84><== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  1198cc:	83 ec 08             	sub    $0x8,%esp                      
  1198cf:	83 c0 10             	add    $0x10,%eax                     
  1198d2:	50                   	push   %eax                           
  1198d3:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  1198d6:	e8 d5 3c 00 00       	call   11d5b0 <_Watchdog_Insert>      
  1198db:	83 c4 10             	add    $0x10,%esp                     
  1198de:	eb cc                	jmp    1198ac <_Timer_server_Body+0x84>
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  1198e0:	83 ec 08             	sub    $0x8,%esp                      
  1198e3:	83 c0 10             	add    $0x10,%eax                     
  1198e6:	50                   	push   %eax                           
  1198e7:	56                   	push   %esi                           
  1198e8:	e8 c3 3c 00 00       	call   11d5b0 <_Watchdog_Insert>      
  1198ed:	83 c4 10             	add    $0x10,%esp                     
  1198f0:	eb ba                	jmp    1198ac <_Timer_server_Body+0x84>
  1198f2:	66 90                	xchg   %ax,%ax                        
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
  1198f4:	9c                   	pushf                                 
  1198f5:	fa                   	cli                                   
  1198f6:	58                   	pop    %eax                           
    if ( _Chain_Is_empty( insert_chain ) ) {                          
  1198f7:	8b 55 b4             	mov    -0x4c(%ebp),%edx               
  1198fa:	3b 55 dc             	cmp    -0x24(%ebp),%edx               
  1198fd:	74 41                	je     119940 <_Timer_server_Body+0x118>
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
  1198ff:	50                   	push   %eax                           
  119900:	9d                   	popf                                  
  119901:	e9 7a ff ff ff       	jmp    119880 <_Timer_server_Body+0x58>
  119906:	66 90                	xchg   %ax,%ax                        
    /*                                                                
     *  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 );
  119908:	51                   	push   %ecx                           
  119909:	57                   	push   %edi                           
  11990a:	89 c1                	mov    %eax,%ecx                      
  11990c:	29 d1                	sub    %edx,%ecx                      
  11990e:	51                   	push   %ecx                           
  11990f:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  119912:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  119915:	e8 fe 3b 00 00       	call   11d518 <_Watchdog_Adjust_to_chain>
  11991a:	83 c4 10             	add    $0x10,%esp                     
  11991d:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  119920:	eb 85                	jmp    1198a7 <_Timer_server_Body+0x7f>
  119922:	66 90                	xchg   %ax,%ax                        
     /*                                                               
      *  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 ); 
  119924:	51                   	push   %ecx                           
  119925:	29 c2                	sub    %eax,%edx                      
  119927:	52                   	push   %edx                           
  119928:	6a 01                	push   $0x1                           
  11992a:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  11992d:	89 45 b8             	mov    %eax,-0x48(%ebp)               
  119930:	e8 6b 3b 00 00       	call   11d4a0 <_Watchdog_Adjust>      
  119935:	83 c4 10             	add    $0x10,%esp                     
  119938:	8b 45 b8             	mov    -0x48(%ebp),%eax               
  11993b:	e9 67 ff ff ff       	jmp    1198a7 <_Timer_server_Body+0x7f>
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
  119940:	c7 43 78 00 00 00 00 	movl   $0x0,0x78(%ebx)                
      _ISR_Enable( level );                                           
  119947:	50                   	push   %eax                           
  119948:	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 ) ) {                          
  119949:	8b 4d b0             	mov    -0x50(%ebp),%ecx               
  11994c:	3b 4d d0             	cmp    -0x30(%ebp),%ecx               
  11994f:	75 23                	jne    119974 <_Timer_server_Body+0x14c>
  119951:	eb 33                	jmp    119986 <_Timer_server_Body+0x15e>
  119953:	90                   	nop                                   
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  119954:	8b 10                	mov    (%eax),%edx                    
  the_chain->first    = new_first;                                    
  119956:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  new_first->previous = _Chain_Head(the_chain);                       
  119959:	89 7a 04             	mov    %edi,0x4(%edx)                 
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
  11995c:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%eax)                 
          _ISR_Enable( level );                                       
  119963:	51                   	push   %ecx                           
  119964:	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 );    
  119965:	83 ec 08             	sub    $0x8,%esp                      
  119968:	ff 70 24             	pushl  0x24(%eax)                     
  11996b:	ff 70 20             	pushl  0x20(%eax)                     
  11996e:	ff 50 1c             	call   *0x1c(%eax)                    
      }                                                               
  119971:	83 c4 10             	add    $0x10,%esp                     
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
  119974:	9c                   	pushf                                 
  119975:	fa                   	cli                                   
  119976:	59                   	pop    %ecx                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  119977:	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))                                   
  11997a:	39 45 b0             	cmp    %eax,-0x50(%ebp)               
  11997d:	75 d5                	jne    119954 <_Timer_server_Body+0x12c>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
  11997f:	51                   	push   %ecx                           
  119980:	9d                   	popf                                  
  119981:	e9 f2 fe ff ff       	jmp    119878 <_Timer_server_Body+0x50>
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
  119986:	c6 43 7c 00          	movb   $0x0,0x7c(%ebx)                
  11998a:	a1 58 43 14 00       	mov    0x144358,%eax                  
  11998f:	40                   	inc    %eax                           
  119990:	a3 58 43 14 00       	mov    %eax,0x144358                  
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
  119995:	83 ec 08             	sub    $0x8,%esp                      
  119998:	6a 08                	push   $0x8                           
  11999a:	ff 33                	pushl  (%ebx)                         
  11999c:	e8 0f 33 00 00       	call   11ccb0 <_Thread_Set_state>     
        _Timer_server_Reset_interval_system_watchdog( ts );           
  1199a1:	89 d8                	mov    %ebx,%eax                      
  1199a3:	e8 e0 fd ff ff       	call   119788 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
  1199a8:	89 d8                	mov    %ebx,%eax                      
  1199aa:	e8 29 fe ff ff       	call   1197d8 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
  1199af:	e8 c8 28 00 00       	call   11c27c <_Thread_Enable_dispatch>
                                                                      
      ts->active = true;                                              
  1199b4:	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 );        
  1199b8:	58                   	pop    %eax                           
  1199b9:	ff 75 bc             	pushl  -0x44(%ebp)                    
  1199bc:	e8 17 3d 00 00       	call   11d6d8 <_Watchdog_Remove>      
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
  1199c1:	59                   	pop    %ecx                           
  1199c2:	ff 75 c0             	pushl  -0x40(%ebp)                    
  1199c5:	e8 0e 3d 00 00       	call   11d6d8 <_Watchdog_Remove>      
  1199ca:	83 c4 10             	add    $0x10,%esp                     
  1199cd:	e9 a6 fe ff ff       	jmp    119878 <_Timer_server_Body+0x50>
                                                                      

001199d4 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
  1199d4:	55                   	push   %ebp                           
  1199d5:	89 e5                	mov    %esp,%ebp                      
  1199d7:	57                   	push   %edi                           
  1199d8:	56                   	push   %esi                           
  1199d9:	53                   	push   %ebx                           
  1199da:	83 ec 2c             	sub    $0x2c,%esp                     
  1199dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1199e0:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  if ( ts->insert_chain == NULL ) {                                   
  1199e3:	8b 53 78             	mov    0x78(%ebx),%edx                
  1199e6:	85 d2                	test   %edx,%edx                      
  1199e8:	74 16                	je     119a00 <_Timer_server_Schedule_operation_method+0x2c>
     *  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 );           
  1199ea:	8b 53 78             	mov    0x78(%ebx),%edx                
  1199ed:	89 45 0c             	mov    %eax,0xc(%ebp)                 
  1199f0:	89 55 08             	mov    %edx,0x8(%ebp)                 
  }                                                                   
}                                                                     
  1199f3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1199f6:	5b                   	pop    %ebx                           
  1199f7:	5e                   	pop    %esi                           
  1199f8:	5f                   	pop    %edi                           
  1199f9:	c9                   	leave                                 
     *  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 );           
  1199fa:	e9 f1 06 00 00       	jmp    11a0f0 <_Chain_Append>         
  1199ff:	90                   	nop                                   
  119a00:	8b 15 58 43 14 00    	mov    0x144358,%edx                  
  119a06:	42                   	inc    %edx                           
  119a07:	89 15 58 43 14 00    	mov    %edx,0x144358                  
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
  119a0d:	8b 50 38             	mov    0x38(%eax),%edx                
  119a10:	83 fa 01             	cmp    $0x1,%edx                      
  119a13:	74 77                	je     119a8c <_Timer_server_Schedule_operation_method+0xb8>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
  119a15:	83 fa 03             	cmp    $0x3,%edx                      
  119a18:	74 0e                	je     119a28 <_Timer_server_Schedule_operation_method+0x54>
     *  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 );           
  }                                                                   
}                                                                     
  119a1a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  119a1d:	5b                   	pop    %ebx                           
  119a1e:	5e                   	pop    %esi                           
  119a1f:	5f                   	pop    %edi                           
  119a20:	c9                   	leave                                 
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
  119a21:	e9 56 28 00 00       	jmp    11c27c <_Thread_Enable_dispatch>
  119a26:	66 90                	xchg   %ax,%ax                        
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  119a28:	9c                   	pushf                                 
  119a29:	fa                   	cli                                   
  119a2a:	8f 45 e4             	popl   -0x1c(%ebp)                    
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
  119a2d:	8b 0d ec 43 14 00    	mov    0x1443ec,%ecx                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
  119a33:	8b 73 74             	mov    0x74(%ebx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  119a36:	8b 53 68             	mov    0x68(%ebx),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  119a39:	8d 7b 6c             	lea    0x6c(%ebx),%edi                
  119a3c:	39 fa                	cmp    %edi,%edx                      
  119a3e:	74 22                	je     119a62 <_Timer_server_Schedule_operation_method+0x8e>
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
  119a40:	8b 7a 10             	mov    0x10(%edx),%edi                
  119a43:	89 7d d4             	mov    %edi,-0x2c(%ebp)               
      if ( snapshot > last_snapshot ) {                               
  119a46:	39 f1                	cmp    %esi,%ecx                      
  119a48:	0f 86 9e 00 00 00    	jbe    119aec <_Timer_server_Schedule_operation_method+0x118>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
  119a4e:	89 cf                	mov    %ecx,%edi                      
  119a50:	29 f7                	sub    %esi,%edi                      
  119a52:	89 fe                	mov    %edi,%esi                      
        if (delta_interval > delta) {                                 
  119a54:	39 7d d4             	cmp    %edi,-0x2c(%ebp)               
  119a57:	0f 87 9b 00 00 00    	ja     119af8 <_Timer_server_Schedule_operation_method+0x124><== ALWAYS TAKEN
  119a5d:	31 ff                	xor    %edi,%edi                      <== NOT EXECUTED
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  119a5f:	89 7a 10             	mov    %edi,0x10(%edx)                
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
  119a62:	89 4b 74             	mov    %ecx,0x74(%ebx)                
    _ISR_Enable( level );                                             
  119a65:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  119a68:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
  119a69:	83 ec 08             	sub    $0x8,%esp                      
  119a6c:	83 c0 10             	add    $0x10,%eax                     
  119a6f:	50                   	push   %eax                           
  119a70:	8d 43 68             	lea    0x68(%ebx),%eax                
  119a73:	50                   	push   %eax                           
  119a74:	e8 37 3b 00 00       	call   11d5b0 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  119a79:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  119a7c:	83 c4 10             	add    $0x10,%esp                     
  119a7f:	84 c0                	test   %al,%al                        
  119a81:	75 97                	jne    119a1a <_Timer_server_Schedule_operation_method+0x46>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
  119a83:	89 d8                	mov    %ebx,%eax                      
  119a85:	e8 4e fd ff ff       	call   1197d8 <_Timer_server_Reset_tod_system_watchdog>
  119a8a:	eb 8e                	jmp    119a1a <_Timer_server_Schedule_operation_method+0x46>
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
  119a8c:	9c                   	pushf                                 
  119a8d:	fa                   	cli                                   
  119a8e:	8f 45 e4             	popl   -0x1c(%ebp)                    
    snapshot = _Watchdog_Ticks_since_boot;                            
  119a91:	8b 0d c4 44 14 00    	mov    0x1444c4,%ecx                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
  119a97:	8b 73 3c             	mov    0x3c(%ebx),%esi                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  119a9a:	8b 53 30             	mov    0x30(%ebx),%edx                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  119a9d:	8d 7b 34             	lea    0x34(%ebx),%edi                
  119aa0:	39 fa                	cmp    %edi,%edx                      
  119aa2:	74 12                	je     119ab6 <_Timer_server_Schedule_operation_method+0xe2>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
  119aa4:	89 cf                	mov    %ecx,%edi                      
  119aa6:	29 f7                	sub    %esi,%edi                      
  119aa8:	89 fe                	mov    %edi,%esi                      
                                                                      
      delta_interval = first_watchdog->delta_interval;                
  119aaa:	8b 7a 10             	mov    0x10(%edx),%edi                
      if (delta_interval > delta) {                                   
  119aad:	39 fe                	cmp    %edi,%esi                      
  119aaf:	72 37                	jb     119ae8 <_Timer_server_Schedule_operation_method+0x114>
  119ab1:	31 ff                	xor    %edi,%edi                      
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
  119ab3:	89 7a 10             	mov    %edi,0x10(%edx)                
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
  119ab6:	89 4b 3c             	mov    %ecx,0x3c(%ebx)                
    _ISR_Enable( level );                                             
  119ab9:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  119abc:	9d                   	popf                                  
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  119abd:	83 ec 08             	sub    $0x8,%esp                      
  119ac0:	83 c0 10             	add    $0x10,%eax                     
  119ac3:	50                   	push   %eax                           
  119ac4:	8d 43 30             	lea    0x30(%ebx),%eax                
  119ac7:	50                   	push   %eax                           
  119ac8:	e8 e3 3a 00 00       	call   11d5b0 <_Watchdog_Insert>      
                                                                      
    if ( !ts->active ) {                                              
  119acd:	8a 43 7c             	mov    0x7c(%ebx),%al                 
  119ad0:	83 c4 10             	add    $0x10,%esp                     
  119ad3:	84 c0                	test   %al,%al                        
  119ad5:	0f 85 3f ff ff ff    	jne    119a1a <_Timer_server_Schedule_operation_method+0x46>
      _Timer_server_Reset_interval_system_watchdog( ts );             
  119adb:	89 d8                	mov    %ebx,%eax                      
  119add:	e8 a6 fc ff ff       	call   119788 <_Timer_server_Reset_interval_system_watchdog>
  119ae2:	e9 33 ff ff ff       	jmp    119a1a <_Timer_server_Schedule_operation_method+0x46>
  119ae7:	90                   	nop                                   
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
  119ae8:	29 f7                	sub    %esi,%edi                      
  119aea:	eb c7                	jmp    119ab3 <_Timer_server_Schedule_operation_method+0xdf>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
  119aec:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  119aef:	01 f7                	add    %esi,%edi                      
        delta_interval += delta;                                      
  119af1:	29 cf                	sub    %ecx,%edi                      
  119af3:	e9 67 ff ff ff       	jmp    119a5f <_Timer_server_Schedule_operation_method+0x8b>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
  119af8:	8b 7d d4             	mov    -0x2c(%ebp),%edi               
  119afb:	29 f7                	sub    %esi,%edi                      
  119afd:	e9 5d ff ff ff       	jmp    119a5f <_Timer_server_Schedule_operation_method+0x8b>
                                                                      

0012b098 <_Timespec_Is_valid>: #include <rtems/score/tod.h> bool _Timespec_Is_valid( const struct timespec *time ) {
  12b098:	55                   	push   %ebp                           
  12b099:	89 e5                	mov    %esp,%ebp                      
  12b09b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !time )                                                        
  12b09e:	85 c0                	test   %eax,%eax                      
  12b0a0:	74 1a                	je     12b0bc <_Timespec_Is_valid+0x24>
    return false;                                                     
                                                                      
  if ( time->tv_sec < 0 )                                             
  12b0a2:	8b 10                	mov    (%eax),%edx                    
  12b0a4:	85 d2                	test   %edx,%edx                      
  12b0a6:	78 14                	js     12b0bc <_Timespec_Is_valid+0x24>
    return false;                                                     
                                                                      
  if ( time->tv_nsec < 0 )                                            
  12b0a8:	8b 40 04             	mov    0x4(%eax),%eax                 
  12b0ab:	85 c0                	test   %eax,%eax                      
  12b0ad:	78 0d                	js     12b0bc <_Timespec_Is_valid+0x24>
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Is_valid(                                              
  12b0af:	3d ff c9 9a 3b       	cmp    $0x3b9ac9ff,%eax               
  12b0b4:	0f 96 c0             	setbe  %al                            
                                                                      
  if ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND )                  
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  12b0b7:	c9                   	leave                                 
  12b0b8:	c3                   	ret                                   
  12b0b9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Is_valid(                                              
  12b0bc:	31 c0                	xor    %eax,%eax                      
                                                                      
  if ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND )                  
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
  12b0be:	c9                   	leave                                 
  12b0bf:	c3                   	ret                                   
                                                                      

0010ea88 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
  10ea88:	55                   	push   %ebp                           
  10ea89:	89 e5                	mov    %esp,%ebp                      
  10ea8b:	57                   	push   %edi                           
  10ea8c:	56                   	push   %esi                           
  10ea8d:	53                   	push   %ebx                           
  10ea8e:	83 ec 1c             	sub    $0x1c,%esp                     
  10ea91:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ea94:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10ea97:	8a 45 0c             	mov    0xc(%ebp),%al                  
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10ea9a:	8b 1d 54 96 12 00    	mov    0x129654,%ebx                  
  10eaa0:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10eaa6:	74 25                	je     10eacd <_User_extensions_Fatal+0x45><== NEVER TAKEN
        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 );
  10eaa8:	0f b6 c0             	movzbl %al,%eax                       
  10eaab:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10eaae:	66 90                	xchg   %ax,%ax                        
        !_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 )                      
  10eab0:	8b 43 30             	mov    0x30(%ebx),%eax                
  10eab3:	85 c0                	test   %eax,%eax                      
  10eab5:	74 0b                	je     10eac2 <_User_extensions_Fatal+0x3a>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  10eab7:	52                   	push   %edx                           
  10eab8:	57                   	push   %edi                           
  10eab9:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10eabc:	56                   	push   %esi                           
  10eabd:	ff d0                	call   *%eax                          
  10eabf:	83 c4 10             	add    $0x10,%esp                     
  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 ) {                             
  10eac2:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10eac5:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10eacb:	75 e3                	jne    10eab0 <_User_extensions_Fatal+0x28>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
  10eacd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ead0:	5b                   	pop    %ebx                           
  10ead1:	5e                   	pop    %esi                           
  10ead2:	5f                   	pop    %edi                           
  10ead3:	c9                   	leave                                 
  10ead4:	c3                   	ret                                   
                                                                      

0010e94c <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
  10e94c:	55                   	push   %ebp                           
  10e94d:	89 e5                	mov    %esp,%ebp                      
  10e94f:	57                   	push   %edi                           
  10e950:	56                   	push   %esi                           
  10e951:	53                   	push   %ebx                           
  10e952:	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;  
  10e955:	a1 58 52 12 00       	mov    0x125258,%eax                  
  10e95a:	89 45 dc             	mov    %eax,-0x24(%ebp)               
  initial_extensions   = Configuration.User_extension_table;          
  10e95d:	8b 35 5c 52 12 00    	mov    0x12525c,%esi                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10e963:	c7 05 4c 96 12 00 50 	movl   $0x129650,0x12964c             
  10e96a:	96 12 00                                                    
  the_chain->permanent_null = NULL;                                   
  10e96d:	c7 05 50 96 12 00 00 	movl   $0x0,0x129650                  
  10e974:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  10e977:	c7 05 54 96 12 00 4c 	movl   $0x12964c,0x129654             
  10e97e:	96 12 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  10e981:	c7 05 fc 93 12 00 00 	movl   $0x129400,0x1293fc             
  10e988:	94 12 00                                                    
  the_chain->permanent_null = NULL;                                   
  10e98b:	c7 05 00 94 12 00 00 	movl   $0x0,0x129400                  
  10e992:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  10e995:	c7 05 04 94 12 00 fc 	movl   $0x1293fc,0x129404             
  10e99c:	93 12 00                                                    
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
  10e99f:	85 f6                	test   %esi,%esi                      
  10e9a1:	74 64                	je     10ea07 <_User_extensions_Handler_initialization+0xbb>
    extension = (User_extensions_Control *)                           
  10e9a3:	89 c2                	mov    %eax,%edx                      
  10e9a5:	8d 04 40             	lea    (%eax,%eax,2),%eax             
  10e9a8:	8d 0c 82             	lea    (%edx,%eax,4),%ecx             
  10e9ab:	c1 e1 02             	shl    $0x2,%ecx                      
  10e9ae:	83 ec 0c             	sub    $0xc,%esp                      
  10e9b1:	51                   	push   %ecx                           
  10e9b2:	89 4d d8             	mov    %ecx,-0x28(%ebp)               
  10e9b5:	e8 26 04 00 00       	call   10ede0 <_Workspace_Allocate_or_fatal_error>
  10e9ba:	89 c3                	mov    %eax,%ebx                      
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
  10e9bc:	31 c0                	xor    %eax,%eax                      
  10e9be:	8b 4d d8             	mov    -0x28(%ebp),%ecx               
  10e9c1:	89 df                	mov    %ebx,%edi                      
  10e9c3:	f3 aa                	rep stos %al,%es:(%edi)               
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10e9c5:	83 c4 10             	add    $0x10,%esp                     
  10e9c8:	8b 45 dc             	mov    -0x24(%ebp),%eax               
  10e9cb:	85 c0                	test   %eax,%eax                      
  10e9cd:	74 38                	je     10ea07 <_User_extensions_Handler_initialization+0xbb><== NEVER TAKEN
  10e9cf:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
  10e9d2:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  10e9d9:	8d 76 00             	lea    0x0(%esi),%esi                 
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
  10e9dc:	8d 7b 14             	lea    0x14(%ebx),%edi                
  10e9df:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  10e9e2:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  10e9e7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  10e9e9:	83 ec 0c             	sub    $0xc,%esp                      
  10e9ec:	53                   	push   %ebx                           
  10e9ed:	e8 ae 40 00 00       	call   112aa0 <_User_extensions_Add_set>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
  10e9f2:	83 c3 34             	add    $0x34,%ebx                     
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
  10e9f5:	ff 45 e0             	incl   -0x20(%ebp)                    
  10e9f8:	83 45 e4 20          	addl   $0x20,-0x1c(%ebp)              
  10e9fc:	83 c4 10             	add    $0x10,%esp                     
  10e9ff:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10ea02:	39 45 dc             	cmp    %eax,-0x24(%ebp)               
  10ea05:	77 d5                	ja     10e9dc <_User_extensions_Handler_initialization+0x90>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
  10ea07:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ea0a:	5b                   	pop    %ebx                           
  10ea0b:	5e                   	pop    %esi                           
  10ea0c:	5f                   	pop    %edi                           
  10ea0d:	c9                   	leave                                 
  10ea0e:	c3                   	ret                                   
                                                                      

00113784 <_User_extensions_Remove_set>: #include <rtems/score/userext.h> void _User_extensions_Remove_set ( User_extensions_Control *the_extension ) {
  113784:	55                   	push   %ebp                           
  113785:	89 e5                	mov    %esp,%ebp                      
  113787:	53                   	push   %ebx                           
  113788:	83 ec 10             	sub    $0x10,%esp                     
  11378b:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  _Chain_Extract( &the_extension->Node );                             
  11378e:	53                   	push   %ebx                           
  11378f:	e8 00 db ff ff       	call   111294 <_Chain_Extract>        
                                                                      
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
  113794:	83 c4 10             	add    $0x10,%esp                     
  113797:	8b 43 24             	mov    0x24(%ebx),%eax                
  11379a:	85 c0                	test   %eax,%eax                      
  11379c:	74 12                	je     1137b0 <_User_extensions_Remove_set+0x2c>
    _Chain_Extract( &the_extension->Switch.Node );                    
  11379e:	83 c3 08             	add    $0x8,%ebx                      
  1137a1:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  1137a4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1137a7:	c9                   	leave                                 
  /*                                                                  
   * If a switch handler is present, remove it.                       
   */                                                                 
                                                                      
  if ( the_extension->Callouts.thread_switch != NULL )                
    _Chain_Extract( &the_extension->Switch.Node );                    
  1137a8:	e9 e7 da ff ff       	jmp    111294 <_Chain_Extract>        
  1137ad:	8d 76 00             	lea    0x0(%esi),%esi                 
}                                                                     
  1137b0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1137b3:	c9                   	leave                                 
  1137b4:	c3                   	ret                                   
                                                                      

0010ea10 <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
  10ea10:	55                   	push   %ebp                           
  10ea11:	89 e5                	mov    %esp,%ebp                      
  10ea13:	56                   	push   %esi                           
  10ea14:	53                   	push   %ebx                           
  10ea15:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10ea18:	8b 1d 4c 96 12 00    	mov    0x12964c,%ebx                  
  10ea1e:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10ea24:	74 1c                	je     10ea42 <_User_extensions_Thread_begin+0x32><== NEVER TAKEN
  10ea26:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
  10ea28:	8b 43 28             	mov    0x28(%ebx),%eax                
  10ea2b:	85 c0                	test   %eax,%eax                      
  10ea2d:	74 09                	je     10ea38 <_User_extensions_Thread_begin+0x28>
      (*the_extension->Callouts.thread_begin)( executing );           
  10ea2f:	83 ec 0c             	sub    $0xc,%esp                      
  10ea32:	56                   	push   %esi                           
  10ea33:	ff d0                	call   *%eax                          
  10ea35:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10ea38:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10ea3a:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10ea40:	75 e6                	jne    10ea28 <_User_extensions_Thread_begin+0x18>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
  10ea42:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ea45:	5b                   	pop    %ebx                           
  10ea46:	5e                   	pop    %esi                           
  10ea47:	c9                   	leave                                 
  10ea48:	c3                   	ret                                   
                                                                      

0010ead8 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
  10ead8:	55                   	push   %ebp                           
  10ead9:	89 e5                	mov    %esp,%ebp                      
  10eadb:	56                   	push   %esi                           
  10eadc:	53                   	push   %ebx                           
  10eadd:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10eae0:	8b 1d 4c 96 12 00    	mov    0x12964c,%ebx                  
  10eae6:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10eaec:	74 26                	je     10eb14 <_User_extensions_Thread_create+0x3c><== NEVER TAKEN
  10eaee:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
  10eaf0:	8b 43 14             	mov    0x14(%ebx),%eax                
  10eaf3:	85 c0                	test   %eax,%eax                      
  10eaf5:	74 13                	je     10eb0a <_User_extensions_Thread_create+0x32>
      status = (*the_extension->Callouts.thread_create)(              
  10eaf7:	83 ec 08             	sub    $0x8,%esp                      
  10eafa:	56                   	push   %esi                           
  10eafb:	ff 35 b8 94 12 00    	pushl  0x1294b8                       
  10eb01:	ff d0                	call   *%eax                          
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
  10eb03:	83 c4 10             	add    $0x10,%esp                     
  10eb06:	84 c0                	test   %al,%al                        
  10eb08:	74 0c                	je     10eb16 <_User_extensions_Thread_create+0x3e>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10eb0a:	8b 1b                	mov    (%ebx),%ebx                    
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10eb0c:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10eb12:	75 dc                	jne    10eaf0 <_User_extensions_Thread_create+0x18>
  10eb14:	b0 01                	mov    $0x1,%al                       
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
  10eb16:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10eb19:	5b                   	pop    %ebx                           
  10eb1a:	5e                   	pop    %esi                           
  10eb1b:	c9                   	leave                                 
  10eb1c:	c3                   	ret                                   
                                                                      

0010eb20 <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
  10eb20:	55                   	push   %ebp                           
  10eb21:	89 e5                	mov    %esp,%ebp                      
  10eb23:	56                   	push   %esi                           
  10eb24:	53                   	push   %ebx                           
  10eb25:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10eb28:	8b 1d 54 96 12 00    	mov    0x129654,%ebx                  
  10eb2e:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10eb34:	74 23                	je     10eb59 <_User_extensions_Thread_delete+0x39><== NEVER TAKEN
  10eb36:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
  10eb38:	8b 43 20             	mov    0x20(%ebx),%eax                
  10eb3b:	85 c0                	test   %eax,%eax                      
  10eb3d:	74 0f                	je     10eb4e <_User_extensions_Thread_delete+0x2e>
      (*the_extension->Callouts.thread_delete)(                       
  10eb3f:	83 ec 08             	sub    $0x8,%esp                      
  10eb42:	56                   	push   %esi                           
  10eb43:	ff 35 b8 94 12 00    	pushl  0x1294b8                       
  10eb49:	ff d0                	call   *%eax                          
  10eb4b:	83 c4 10             	add    $0x10,%esp                     
  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 ) {                             
  10eb4e:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10eb51:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10eb57:	75 df                	jne    10eb38 <_User_extensions_Thread_delete+0x18>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10eb59:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10eb5c:	5b                   	pop    %ebx                           
  10eb5d:	5e                   	pop    %esi                           
  10eb5e:	c9                   	leave                                 
  10eb5f:	c3                   	ret                                   
                                                                      

0010ea4c <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
  10ea4c:	55                   	push   %ebp                           
  10ea4d:	89 e5                	mov    %esp,%ebp                      
  10ea4f:	56                   	push   %esi                           
  10ea50:	53                   	push   %ebx                           
  10ea51:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10ea54:	8b 1d 54 96 12 00    	mov    0x129654,%ebx                  
  10ea5a:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10ea60:	74 1d                	je     10ea7f <_User_extensions_Thread_exitted+0x33><== NEVER TAKEN
  10ea62:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
  10ea64:	8b 43 2c             	mov    0x2c(%ebx),%eax                
  10ea67:	85 c0                	test   %eax,%eax                      
  10ea69:	74 09                	je     10ea74 <_User_extensions_Thread_exitted+0x28>
      (*the_extension->Callouts.thread_exitted)( executing );         
  10ea6b:	83 ec 0c             	sub    $0xc,%esp                      
  10ea6e:	56                   	push   %esi                           
  10ea6f:	ff d0                	call   *%eax                          
  10ea71:	83 c4 10             	add    $0x10,%esp                     
  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 ) {                             
  10ea74:	8b 5b 04             	mov    0x4(%ebx),%ebx                 
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
  10ea77:	81 fb 4c 96 12 00    	cmp    $0x12964c,%ebx                 
  10ea7d:	75 e5                	jne    10ea64 <_User_extensions_Thread_exitted+0x18>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
  10ea7f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ea82:	5b                   	pop    %ebx                           
  10ea83:	5e                   	pop    %esi                           
  10ea84:	c9                   	leave                                 
  10ea85:	c3                   	ret                                   
                                                                      

0010f714 <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
  10f714:	55                   	push   %ebp                           
  10f715:	89 e5                	mov    %esp,%ebp                      
  10f717:	56                   	push   %esi                           
  10f718:	53                   	push   %ebx                           
  10f719:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10f71c:	8b 1d ac a6 12 00    	mov    0x12a6ac,%ebx                  
  10f722:	81 fb b0 a6 12 00    	cmp    $0x12a6b0,%ebx                 
  10f728:	74 22                	je     10f74c <_User_extensions_Thread_restart+0x38><== NEVER TAKEN
  10f72a:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
  10f72c:	8b 43 1c             	mov    0x1c(%ebx),%eax                
  10f72f:	85 c0                	test   %eax,%eax                      
  10f731:	74 0f                	je     10f742 <_User_extensions_Thread_restart+0x2e>
      (*the_extension->Callouts.thread_restart)(                      
  10f733:	83 ec 08             	sub    $0x8,%esp                      
  10f736:	56                   	push   %esi                           
  10f737:	ff 35 18 a5 12 00    	pushl  0x12a518                       
  10f73d:	ff d0                	call   *%eax                          
  10f73f:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10f742:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10f744:	81 fb b0 a6 12 00    	cmp    $0x12a6b0,%ebx                 
  10f74a:	75 e0                	jne    10f72c <_User_extensions_Thread_restart+0x18>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10f74c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10f74f:	5b                   	pop    %ebx                           
  10f750:	5e                   	pop    %esi                           
  10f751:	c9                   	leave                                 
  10f752:	c3                   	ret                                   
                                                                      

0010eb60 <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
  10eb60:	55                   	push   %ebp                           
  10eb61:	89 e5                	mov    %esp,%ebp                      
  10eb63:	56                   	push   %esi                           
  10eb64:	53                   	push   %ebx                           
  10eb65:	8b 75 08             	mov    0x8(%ebp),%esi                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10eb68:	8b 1d 4c 96 12 00    	mov    0x12964c,%ebx                  
  10eb6e:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10eb74:	74 22                	je     10eb98 <_User_extensions_Thread_start+0x38><== NEVER TAKEN
  10eb76:	66 90                	xchg   %ax,%ax                        
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
  10eb78:	8b 43 18             	mov    0x18(%ebx),%eax                
  10eb7b:	85 c0                	test   %eax,%eax                      
  10eb7d:	74 0f                	je     10eb8e <_User_extensions_Thread_start+0x2e>
      (*the_extension->Callouts.thread_start)(                        
  10eb7f:	83 ec 08             	sub    $0x8,%esp                      
  10eb82:	56                   	push   %esi                           
  10eb83:	ff 35 b8 94 12 00    	pushl  0x1294b8                       
  10eb89:	ff d0                	call   *%eax                          
  10eb8b:	83 c4 10             	add    $0x10,%esp                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
  10eb8e:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
  10eb90:	81 fb 50 96 12 00    	cmp    $0x129650,%ebx                 
  10eb96:	75 e0                	jne    10eb78 <_User_extensions_Thread_start+0x18>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
  10eb98:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10eb9b:	5b                   	pop    %ebx                           
  10eb9c:	5e                   	pop    %esi                           
  10eb9d:	c9                   	leave                                 
  10eb9e:	c3                   	ret                                   
                                                                      

0010eba0 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
  10eba0:	55                   	push   %ebp                           
  10eba1:	89 e5                	mov    %esp,%ebp                      
  10eba3:	57                   	push   %edi                           
  10eba4:	56                   	push   %esi                           
  10eba5:	53                   	push   %ebx                           
  10eba6:	83 ec 0c             	sub    $0xc,%esp                      
  10eba9:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  10ebac:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
  10ebaf:	8b 1d fc 93 12 00    	mov    0x1293fc,%ebx                  
  10ebb5:	81 fb 00 94 12 00    	cmp    $0x129400,%ebx                 
  10ebbb:	74 18                	je     10ebd5 <_User_extensions_Thread_switch+0x35><== NEVER TAKEN
  10ebbd:	8d 76 00             	lea    0x0(%esi),%esi                 
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  10ebc0:	83 ec 08             	sub    $0x8,%esp                      
  10ebc3:	56                   	push   %esi                           
  10ebc4:	57                   	push   %edi                           
  10ebc5:	ff 53 08             	call   *0x8(%ebx)                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
  10ebc8:	8b 1b                	mov    (%ebx),%ebx                    
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
  10ebca:	83 c4 10             	add    $0x10,%esp                     
  10ebcd:	81 fb 00 94 12 00    	cmp    $0x129400,%ebx                 
  10ebd3:	75 eb                	jne    10ebc0 <_User_extensions_Thread_switch+0x20>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
  10ebd5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ebd8:	5b                   	pop    %ebx                           
  10ebd9:	5e                   	pop    %esi                           
  10ebda:	5f                   	pop    %edi                           
  10ebdb:	c9                   	leave                                 
  10ebdc:	c3                   	ret                                   
                                                                      

001105d8 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
  1105d8:	55                   	push   %ebp                           
  1105d9:	89 e5                	mov    %esp,%ebp                      
  1105db:	57                   	push   %edi                           
  1105dc:	56                   	push   %esi                           
  1105dd:	53                   	push   %ebx                           
  1105de:	83 ec 1c             	sub    $0x1c,%esp                     
  1105e1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  1105e4:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  1105e7:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  1105ea:	9c                   	pushf                                 
  1105eb:	fa                   	cli                                   
  1105ec:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  1105ed:	8b 16                	mov    (%esi),%edx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  1105ef:	8d 7e 04             	lea    0x4(%esi),%edi                 
  1105f2:	89 7d e4             	mov    %edi,-0x1c(%ebp)               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
  1105f5:	39 fa                	cmp    %edi,%edx                      
  1105f7:	74 3d                	je     110636 <_Watchdog_Adjust+0x5e> 
    switch ( direction ) {                                            
  1105f9:	85 c9                	test   %ecx,%ecx                      
  1105fb:	75 43                	jne    110640 <_Watchdog_Adjust+0x68> 
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  1105fd:	85 db                	test   %ebx,%ebx                      
  1105ff:	74 35                	je     110636 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  110601:	8b 7a 10             	mov    0x10(%edx),%edi                
  110604:	39 fb                	cmp    %edi,%ebx                      
  110606:	73 0f                	jae    110617 <_Watchdog_Adjust+0x3f> <== ALWAYS TAKEN
  110608:	eb 3e                	jmp    110648 <_Watchdog_Adjust+0x70> <== NOT EXECUTED
  11060a:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
  11060c:	29 fb                	sub    %edi,%ebx                      
  11060e:	74 26                	je     110636 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
  110610:	8b 7a 10             	mov    0x10(%edx),%edi                
  110613:	39 df                	cmp    %ebx,%edi                      
  110615:	77 31                	ja     110648 <_Watchdog_Adjust+0x70> 
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
  110617:	c7 42 10 01 00 00 00 	movl   $0x1,0x10(%edx)                
                                                                      
            _ISR_Enable( level );                                     
  11061e:	50                   	push   %eax                           
  11061f:	9d                   	popf                                  
                                                                      
            _Watchdog_Tickle( header );                               
  110620:	83 ec 0c             	sub    $0xc,%esp                      
  110623:	56                   	push   %esi                           
  110624:	e8 bb 01 00 00       	call   1107e4 <_Watchdog_Tickle>      
                                                                      
            _ISR_Disable( level );                                    
  110629:	9c                   	pushf                                 
  11062a:	fa                   	cli                                   
  11062b:	58                   	pop    %eax                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  11062c:	8b 16                	mov    (%esi),%edx                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
  11062e:	83 c4 10             	add    $0x10,%esp                     
  110631:	39 55 e4             	cmp    %edx,-0x1c(%ebp)               
  110634:	75 d6                	jne    11060c <_Watchdog_Adjust+0x34> 
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  110636:	50                   	push   %eax                           
  110637:	9d                   	popf                                  
                                                                      
}                                                                     
  110638:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11063b:	5b                   	pop    %ebx                           
  11063c:	5e                   	pop    %esi                           
  11063d:	5f                   	pop    %edi                           
  11063e:	c9                   	leave                                 
  11063f:	c3                   	ret                                   
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
  110640:	49                   	dec    %ecx                           
  110641:	75 f3                	jne    110636 <_Watchdog_Adjust+0x5e> <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
  110643:	01 5a 10             	add    %ebx,0x10(%edx)                
        break;                                                        
  110646:	eb ee                	jmp    110636 <_Watchdog_Adjust+0x5e> 
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
  110648:	29 df                	sub    %ebx,%edi                      
  11064a:	89 7a 10             	mov    %edi,0x10(%edx)                
            break;                                                    
  11064d:	eb e7                	jmp    110636 <_Watchdog_Adjust+0x5e> 
                                                                      

0011d518 <_Watchdog_Adjust_to_chain>: Chain_Control *header, Watchdog_Interval units_arg, Chain_Control *to_fire ) {
  11d518:	55                   	push   %ebp                           
  11d519:	89 e5                	mov    %esp,%ebp                      
  11d51b:	57                   	push   %edi                           
  11d51c:	56                   	push   %esi                           
  11d51d:	53                   	push   %ebx                           
  11d51e:	83 ec 0c             	sub    $0xc,%esp                      
  11d521:	8b 75 08             	mov    0x8(%ebp),%esi                 
  11d524:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11d527:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Watchdog_Interval  units = units_arg;                               
  ISR_Level          level;                                           
  Watchdog_Control  *first;                                           
                                                                      
  if ( units <= 0 ) {                                                 
  11d52a:	85 d2                	test   %edx,%edx                      
  11d52c:	74 63                	je     11d591 <_Watchdog_Adjust_to_chain+0x79>
    return;                                                           
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
  11d52e:	9c                   	pushf                                 
  11d52f:	fa                   	cli                                   
  11d530:	8f 45 ec             	popl   -0x14(%ebp)                    
  11d533:	8b 06                	mov    (%esi),%eax                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11d535:	8d 4e 04             	lea    0x4(%esi),%ecx                 
  11d538:	89 4d f0             	mov    %ecx,-0x10(%ebp)               
  11d53b:	8d 7b 04             	lea    0x4(%ebx),%edi                 
  11d53e:	89 55 e8             	mov    %edx,-0x18(%ebp)               
  11d541:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
      break;                                                          
    }                                                                 
    if ( _Chain_Is_empty( header ) ) {                                
  11d544:	39 45 f0             	cmp    %eax,-0x10(%ebp)               
  11d547:	74 44                	je     11d58d <_Watchdog_Adjust_to_chain+0x75>
                                                                      
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
  11d549:	8b 50 10             	mov    0x10(%eax),%edx                
  11d54c:	3b 55 e8             	cmp    -0x18(%ebp),%edx               
  11d54f:	77 57                	ja     11d5a8 <_Watchdog_Adjust_to_chain+0x90>
                                                                      
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
  11d551:	29 55 e8             	sub    %edx,-0x18(%ebp)               
    first->delta_interval = 0;                                        
  11d554:	c7 40 10 00 00 00 00 	movl   $0x0,0x10(%eax)                
  11d55b:	90                   	nop                                   
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  11d55c:	8b 08                	mov    (%eax),%ecx                    
  previous       = the_node->previous;                                
  11d55e:	8b 50 04             	mov    0x4(%eax),%edx                 
  next->previous = previous;                                          
  11d561:	89 51 04             	mov    %edx,0x4(%ecx)                 
  previous->next = next;                                              
  11d564:	89 0a                	mov    %ecx,(%edx)                    
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  11d566:	89 38                	mov    %edi,(%eax)                    
  old_last_node       = the_chain->last;                              
  11d568:	8b 53 08             	mov    0x8(%ebx),%edx                 
  the_chain->last     = the_node;                                     
  11d56b:	89 43 08             	mov    %eax,0x8(%ebx)                 
  old_last_node->next = the_node;                                     
  11d56e:	89 02                	mov    %eax,(%edx)                    
  the_node->previous  = old_last_node;                                
  11d570:	89 50 04             	mov    %edx,0x4(%eax)                 
                                                                      
    while ( 1 ) {                                                     
      _Chain_Extract_unprotected( &first->Node );                     
      _Chain_Append_unprotected( to_fire, &first->Node );             
                                                                      
      _ISR_Flash( level );                                            
  11d573:	ff 75 ec             	pushl  -0x14(%ebp)                    
  11d576:	9d                   	popf                                  
  11d577:	fa                   	cli                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  11d578:	8b 06                	mov    (%esi),%eax                    
                                                                      
      if ( _Chain_Is_empty( header ) )                                
  11d57a:	39 45 f0             	cmp    %eax,-0x10(%ebp)               
  11d57d:	74 1d                	je     11d59c <_Watchdog_Adjust_to_chain+0x84>
        break;                                                        
      first = _Watchdog_First( header );                              
      if ( first->delta_interval != 0 )                               
  11d57f:	8b 50 10             	mov    0x10(%eax),%edx                
  11d582:	85 d2                	test   %edx,%edx                      
  11d584:	74 d6                	je     11d55c <_Watchdog_Adjust_to_chain+0x44>
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
  11d586:	8b 4d e8             	mov    -0x18(%ebp),%ecx               
  11d589:	85 c9                	test   %ecx,%ecx                      
  11d58b:	75 b7                	jne    11d544 <_Watchdog_Adjust_to_chain+0x2c>
      if ( first->delta_interval != 0 )                               
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
  11d58d:	ff 75 ec             	pushl  -0x14(%ebp)                    
  11d590:	9d                   	popf                                  
}                                                                     
  11d591:	83 c4 0c             	add    $0xc,%esp                      
  11d594:	5b                   	pop    %ebx                           
  11d595:	5e                   	pop    %esi                           
  11d596:	5f                   	pop    %edi                           
  11d597:	c9                   	leave                                 
  11d598:	c3                   	ret                                   
  11d599:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11d59c:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
  11d59f:	8b 4d e8             	mov    -0x18(%ebp),%ecx               
  11d5a2:	85 c9                	test   %ecx,%ecx                      
  11d5a4:	75 9e                	jne    11d544 <_Watchdog_Adjust_to_chain+0x2c>
  11d5a6:	eb e5                	jmp    11d58d <_Watchdog_Adjust_to_chain+0x75>
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
      first->delta_interval -= units;                                 
  11d5a8:	2b 55 e8             	sub    -0x18(%ebp),%edx               
  11d5ab:	89 50 10             	mov    %edx,0x10(%eax)                
      break;                                                          
  11d5ae:	eb dd                	jmp    11d58d <_Watchdog_Adjust_to_chain+0x75>
                                                                      

0010ebe0 <_Watchdog_Insert>: void _Watchdog_Insert( Chain_Control *header, Watchdog_Control *the_watchdog ) {
  10ebe0:	55                   	push   %ebp                           
  10ebe1:	89 e5                	mov    %esp,%ebp                      
  10ebe3:	57                   	push   %edi                           
  10ebe4:	56                   	push   %esi                           
  10ebe5:	53                   	push   %ebx                           
  10ebe6:	83 ec 04             	sub    $0x4,%esp                      
  10ebe9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
  10ebec:	8b 3d 94 94 12 00    	mov    0x129494,%edi                  
                                                                      
  _ISR_Disable( level );                                              
  10ebf2:	9c                   	pushf                                 
  10ebf3:	fa                   	cli                                   
  10ebf4:	8f 45 f0             	popl   -0x10(%ebp)                    
  /*                                                                  
   *  Check to see if the watchdog has just been inserted by a        
   *  higher priority interrupt.  If so, abandon this insert.         
   */                                                                 
                                                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
  10ebf7:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10ebfa:	85 c0                	test   %eax,%eax                      
  10ebfc:	75 69                	jne    10ec67 <_Watchdog_Insert+0x87> 
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  10ebfe:	c7 43 08 01 00 00 00 	movl   $0x1,0x8(%ebx)                 
  _Watchdog_Sync_count++;                                             
  10ec05:	a1 60 95 12 00       	mov    0x129560,%eax                  
  10ec0a:	40                   	inc    %eax                           
  10ec0b:	a3 60 95 12 00       	mov    %eax,0x129560                  
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
  10ec10:	8b 43 0c             	mov    0xc(%ebx),%eax                 
   * cache *header!!                                                  
   *                                                                  
   *  Till Straumann, 7/2003 (gcc-3.2.2 -O4 on powerpc)               
   *                                                                  
   */                                                                 
  for ( after = (Watchdog_Control *) ((volatile Chain_Control *)header)->first ;
  10ec13:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10ec16:	8b 11                	mov    (%ecx),%edx                    
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
  10ec18:	85 c0                	test   %eax,%eax                      
  10ec1a:	74 5d                	je     10ec79 <_Watchdog_Insert+0x99> 
  10ec1c:	8b 32                	mov    (%edx),%esi                    
  10ec1e:	85 f6                	test   %esi,%esi                      
  10ec20:	74 57                	je     10ec79 <_Watchdog_Insert+0x99> 
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
  10ec22:	8b 4a 10             	mov    0x10(%edx),%ecx                
  10ec25:	39 c8                	cmp    %ecx,%eax                      
  10ec27:	73 22                	jae    10ec4b <_Watchdog_Insert+0x6b> 
  10ec29:	eb 49                	jmp    10ec74 <_Watchdog_Insert+0x94> 
  10ec2b:	90                   	nop                                   
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
  10ec2c:	8b 35 b4 94 12 00    	mov    0x1294b4,%esi                  
  10ec32:	39 f7                	cmp    %esi,%edi                      
  10ec34:	72 66                	jb     10ec9c <_Watchdog_Insert+0xbc> 
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
  10ec36:	29 c8                	sub    %ecx,%eax                      
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
  10ec38:	8b 12                	mov    (%edx),%edx                    
   */                                                                 
  for ( after = (Watchdog_Control *) ((volatile Chain_Control *)header)->first ;
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
  10ec3a:	85 c0                	test   %eax,%eax                      
  10ec3c:	74 3b                	je     10ec79 <_Watchdog_Insert+0x99> 
  10ec3e:	8b 0a                	mov    (%edx),%ecx                    
  10ec40:	85 c9                	test   %ecx,%ecx                      
  10ec42:	74 35                	je     10ec79 <_Watchdog_Insert+0x99> 
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
  10ec44:	8b 4a 10             	mov    0x10(%edx),%ecx                
  10ec47:	39 c1                	cmp    %eax,%ecx                      
  10ec49:	77 29                	ja     10ec74 <_Watchdog_Insert+0x94> 
      *  used around this flash point allowed interrupts to execute   
      *  which violated the design assumptions.  The critical section 
      *  mechanism used here WAS redesigned to address this.          
      */                                                              
                                                                      
     _ISR_Flash( level );                                             
  10ec4b:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10ec4e:	9d                   	popf                                  
  10ec4f:	fa                   	cli                                   
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
  10ec50:	83 7b 08 01          	cmpl   $0x1,0x8(%ebx)                 
  10ec54:	74 d6                	je     10ec2c <_Watchdog_Insert+0x4c> 
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  10ec56:	89 3d b4 94 12 00    	mov    %edi,0x1294b4                  
  _Watchdog_Sync_count--;                                             
  10ec5c:	a1 60 95 12 00       	mov    0x129560,%eax                  
  10ec61:	48                   	dec    %eax                           
  10ec62:	a3 60 95 12 00       	mov    %eax,0x129560                  
  _ISR_Enable( level );                                               
  10ec67:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10ec6a:	9d                   	popf                                  
}                                                                     
  10ec6b:	58                   	pop    %eax                           
  10ec6c:	5b                   	pop    %ebx                           
  10ec6d:	5e                   	pop    %esi                           
  10ec6e:	5f                   	pop    %edi                           
  10ec6f:	c9                   	leave                                 
  10ec70:	c3                   	ret                                   
  10ec71:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
  10ec74:	29 c1                	sub    %eax,%ecx                      
  10ec76:	89 4a 10             	mov    %ecx,0x10(%edx)                
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
  10ec79:	c7 43 08 02 00 00 00 	movl   $0x2,0x8(%ebx)                 
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
  10ec80:	89 43 10             	mov    %eax,0x10(%ebx)                
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
  10ec83:	8b 42 04             	mov    0x4(%edx),%eax                 
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  10ec86:	89 43 04             	mov    %eax,0x4(%ebx)                 
  before_node           = after_node->next;                           
  10ec89:	8b 10                	mov    (%eax),%edx                    
  after_node->next      = the_node;                                   
  10ec8b:	89 18                	mov    %ebx,(%eax)                    
  the_node->next        = before_node;                                
  10ec8d:	89 13                	mov    %edx,(%ebx)                    
  before_node->previous = the_node;                                   
  10ec8f:	89 5a 04             	mov    %ebx,0x4(%edx)                 
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
  10ec92:	a1 64 95 12 00       	mov    0x129564,%eax                  
  10ec97:	89 43 14             	mov    %eax,0x14(%ebx)                
  10ec9a:	eb ba                	jmp    10ec56 <_Watchdog_Insert+0x76> 
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
       _Watchdog_Sync_level = insert_isr_nest_level;                  
  10ec9c:	89 3d b4 94 12 00    	mov    %edi,0x1294b4                  
       goto restart;                                                  
  10eca2:	e9 69 ff ff ff       	jmp    10ec10 <_Watchdog_Insert+0x30> 
                                                                      

0010ed08 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
  10ed08:	55                   	push   %ebp                           
  10ed09:	89 e5                	mov    %esp,%ebp                      
  10ed0b:	56                   	push   %esi                           
  10ed0c:	53                   	push   %ebx                           
  10ed0d:	8b 55 08             	mov    0x8(%ebp),%edx                 
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  10ed10:	9c                   	pushf                                 
  10ed11:	fa                   	cli                                   
  10ed12:	59                   	pop    %ecx                           
  previous_state = the_watchdog->state;                               
  10ed13:	8b 42 08             	mov    0x8(%edx),%eax                 
  switch ( previous_state ) {                                         
  10ed16:	83 f8 01             	cmp    $0x1,%eax                      
  10ed19:	74 4d                	je     10ed68 <_Watchdog_Remove+0x60> 
  10ed1b:	73 0f                	jae    10ed2c <_Watchdog_Remove+0x24> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
  10ed1d:	8b 1d 64 95 12 00    	mov    0x129564,%ebx                  
  10ed23:	89 5a 18             	mov    %ebx,0x18(%edx)                
                                                                      
  _ISR_Enable( level );                                               
  10ed26:	51                   	push   %ecx                           
  10ed27:	9d                   	popf                                  
  return( previous_state );                                           
}                                                                     
  10ed28:	5b                   	pop    %ebx                           
  10ed29:	5e                   	pop    %esi                           
  10ed2a:	c9                   	leave                                 
  10ed2b:	c3                   	ret                                   
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
  10ed2c:	83 f8 03             	cmp    $0x3,%eax                      
  10ed2f:	77 ec                	ja     10ed1d <_Watchdog_Remove+0x15> <== NEVER TAKEN
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
  10ed31:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
  10ed38:	8b 1a                	mov    (%edx),%ebx                    
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
  10ed3a:	8b 33                	mov    (%ebx),%esi                    
  10ed3c:	85 f6                	test   %esi,%esi                      
  10ed3e:	74 06                	je     10ed46 <_Watchdog_Remove+0x3e> 
        next_watchdog->delta_interval += the_watchdog->delta_interval;
  10ed40:	8b 72 10             	mov    0x10(%edx),%esi                
  10ed43:	01 73 10             	add    %esi,0x10(%ebx)                
                                                                      
      if ( _Watchdog_Sync_count )                                     
  10ed46:	8b 35 60 95 12 00    	mov    0x129560,%esi                  
  10ed4c:	85 f6                	test   %esi,%esi                      
  10ed4e:	74 0c                	je     10ed5c <_Watchdog_Remove+0x54> 
        _Watchdog_Sync_level = _ISR_Nest_level;                       
  10ed50:	8b 35 94 94 12 00    	mov    0x129494,%esi                  
  10ed56:	89 35 b4 94 12 00    	mov    %esi,0x1294b4                  
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  10ed5c:	8b 72 04             	mov    0x4(%edx),%esi                 
  next->previous = previous;                                          
  10ed5f:	89 73 04             	mov    %esi,0x4(%ebx)                 
  previous->next = next;                                              
  10ed62:	89 1e                	mov    %ebx,(%esi)                    
  10ed64:	eb b7                	jmp    10ed1d <_Watchdog_Remove+0x15> 
  10ed66:	66 90                	xchg   %ax,%ax                        
                                                                      
      /*                                                              
       *  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;                        
  10ed68:	c7 42 08 00 00 00 00 	movl   $0x0,0x8(%edx)                 
      break;                                                          
  10ed6f:	eb ac                	jmp    10ed1d <_Watchdog_Remove+0x15> 
                                                                      

0011016c <_Watchdog_Report>: void _Watchdog_Report( const char *name, Watchdog_Control *watch ) {
  11016c:	55                   	push   %ebp                           
  11016d:	89 e5                	mov    %esp,%ebp                      
  11016f:	57                   	push   %edi                           
  110170:	56                   	push   %esi                           
  110171:	53                   	push   %ebx                           
  110172:	83 ec 2c             	sub    $0x2c,%esp                     
  110175:	8b 55 08             	mov    0x8(%ebp),%edx                 
  110178:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  printk(                                                             
  11017b:	8b 78 24             	mov    0x24(%eax),%edi                
  11017e:	8b 70 20             	mov    0x20(%eax),%esi                
  110181:	8b 58 1c             	mov    0x1c(%eax),%ebx                
  110184:	8b 48 0c             	mov    0xc(%eax),%ecx                 
  110187:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  11018a:	8b 48 10             	mov    0x10(%eax),%ecx                
  11018d:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  110190:	85 d2                	test   %edx,%edx                      
  110192:	74 2c                	je     1101c0 <_Watchdog_Report+0x54> 
  110194:	b9 e3 48 12 00       	mov    $0x1248e3,%ecx                 
  110199:	83 ec 0c             	sub    $0xc,%esp                      
  11019c:	57                   	push   %edi                           
  11019d:	56                   	push   %esi                           
  11019e:	53                   	push   %ebx                           
  11019f:	50                   	push   %eax                           
  1101a0:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  1101a3:	ff 75 e0             	pushl  -0x20(%ebp)                    
  1101a6:	51                   	push   %ecx                           
  1101a7:	52                   	push   %edx                           
  1101a8:	68 e6 52 12 00       	push   $0x1252e6                      
  1101ad:	e8 0e 9e ff ff       	call   109fc0 <printk>                
  1101b2:	83 c4 30             	add    $0x30,%esp                     
    watch,                                                            
    watch->routine,                                                   
    watch->id,                                                        
    watch->user_data                                                  
  );                                                                  
}                                                                     
  1101b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1101b8:	5b                   	pop    %ebx                           
  1101b9:	5e                   	pop    %esi                           
  1101ba:	5f                   	pop    %edi                           
  1101bb:	c9                   	leave                                 
  1101bc:	c3                   	ret                                   
  1101bd:	8d 76 00             	lea    0x0(%esi),%esi                 
void _Watchdog_Report(                                                
  const char        *name,                                            
  Watchdog_Control  *watch                                            
)                                                                     
{                                                                     
  printk(                                                             
  1101c0:	b9 35 51 12 00       	mov    $0x125135,%ecx                 
  1101c5:	89 ca                	mov    %ecx,%edx                      
  1101c7:	eb d0                	jmp    110199 <_Watchdog_Report+0x2d> 
                                                                      

001100fc <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
  1100fc:	55                   	push   %ebp                           
  1100fd:	89 e5                	mov    %esp,%ebp                      
  1100ff:	57                   	push   %edi                           
  110100:	56                   	push   %esi                           
  110101:	53                   	push   %ebx                           
  110102:	83 ec 20             	sub    $0x20,%esp                     
  110105:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110108:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
  11010b:	9c                   	pushf                                 
  11010c:	fa                   	cli                                   
  11010d:	8f 45 e4             	popl   -0x1c(%ebp)                    
    printk( "Watchdog Chain: %s %p\n", name, header );                
  110110:	56                   	push   %esi                           
  110111:	57                   	push   %edi                           
  110112:	68 b0 52 12 00       	push   $0x1252b0                      
  110117:	e8 a4 9e ff ff       	call   109fc0 <printk>                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
  11011c:	8b 1e                	mov    (%esi),%ebx                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  11011e:	83 c6 04             	add    $0x4,%esi                      
    if ( !_Chain_Is_empty( header ) ) {                               
  110121:	83 c4 10             	add    $0x10,%esp                     
  110124:	39 f3                	cmp    %esi,%ebx                      
  110126:	74 31                	je     110159 <_Watchdog_Report_chain+0x5d>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
  110128:	83 ec 08             	sub    $0x8,%esp                      
  11012b:	53                   	push   %ebx                           
  11012c:	6a 00                	push   $0x0                           
  11012e:	e8 39 00 00 00       	call   11016c <_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 )                                       
  110133:	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 ;                                    
  110135:	83 c4 10             	add    $0x10,%esp                     
  110138:	39 f3                	cmp    %esi,%ebx                      
  11013a:	75 ec                	jne    110128 <_Watchdog_Report_chain+0x2c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
  11013c:	83 ec 08             	sub    $0x8,%esp                      
  11013f:	57                   	push   %edi                           
  110140:	68 c7 52 12 00       	push   $0x1252c7                      
  110145:	e8 76 9e ff ff       	call   109fc0 <printk>                
  11014a:	83 c4 10             	add    $0x10,%esp                     
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
  11014d:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110150:	9d                   	popf                                  
}                                                                     
  110151:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110154:	5b                   	pop    %ebx                           
  110155:	5e                   	pop    %esi                           
  110156:	5f                   	pop    %edi                           
  110157:	c9                   	leave                                 
  110158:	c3                   	ret                                   
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
  110159:	83 ec 0c             	sub    $0xc,%esp                      
  11015c:	68 d6 52 12 00       	push   $0x1252d6                      
  110161:	e8 5a 9e ff ff       	call   109fc0 <printk>                
  110166:	83 c4 10             	add    $0x10,%esp                     
  110169:	eb e2                	jmp    11014d <_Watchdog_Report_chain+0x51>
                                                                      

0010ee40 <_Workspace_Handler_initialization>: /* * _Workspace_Handler_initialization */ void _Workspace_Handler_initialization(void) {
  10ee40:	55                   	push   %ebp                           
  10ee41:	89 e5                	mov    %esp,%ebp                      
  10ee43:	57                   	push   %edi                           
  10ee44:	53                   	push   %ebx                           
  uintptr_t memory_available = 0;                                     
  void *starting_address = Configuration.work_space_start;            
  10ee45:	8b 1d 20 52 12 00    	mov    0x125220,%ebx                  
  uintptr_t size = Configuration.work_space_size;                     
  10ee4b:	8b 15 24 52 12 00    	mov    0x125224,%edx                  
                                                                      
  if ( Configuration.do_zero_of_workspace )                           
  10ee51:	80 3d 48 52 12 00 00 	cmpb   $0x0,0x125248                  
  10ee58:	75 1e                	jne    10ee78 <_Workspace_Handler_initialization+0x38>
   memset( starting_address, 0, size );                               
                                                                      
  memory_available = _Heap_Initialize(                                
  10ee5a:	6a 04                	push   $0x4                           
  10ee5c:	52                   	push   %edx                           
  10ee5d:	53                   	push   %ebx                           
  10ee5e:	68 20 94 12 00       	push   $0x129420                      
  10ee63:	e8 24 dd ff ff       	call   10cb8c <_Heap_Initialize>      
    starting_address,                                                 
    size,                                                             
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
                                                                      
  if ( memory_available == 0 )                                        
  10ee68:	83 c4 10             	add    $0x10,%esp                     
  10ee6b:	85 c0                	test   %eax,%eax                      
  10ee6d:	74 13                	je     10ee82 <_Workspace_Handler_initialization+0x42>
    _Internal_error_Occurred(                                         
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_TOO_LITTLE_WORKSPACE                             
    );                                                                
}                                                                     
  10ee6f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ee72:	5b                   	pop    %ebx                           
  10ee73:	5f                   	pop    %edi                           
  10ee74:	c9                   	leave                                 
  10ee75:	c3                   	ret                                   
  10ee76:	66 90                	xchg   %ax,%ax                        
  uintptr_t memory_available = 0;                                     
  void *starting_address = Configuration.work_space_start;            
  uintptr_t size = Configuration.work_space_size;                     
                                                                      
  if ( Configuration.do_zero_of_workspace )                           
   memset( starting_address, 0, size );                               
  10ee78:	31 c0                	xor    %eax,%eax                      
  10ee7a:	89 df                	mov    %ebx,%edi                      
  10ee7c:	89 d1                	mov    %edx,%ecx                      
  10ee7e:	f3 aa                	rep stos %al,%es:(%edi)               
  10ee80:	eb d8                	jmp    10ee5a <_Workspace_Handler_initialization+0x1a>
    size,                                                             
    CPU_HEAP_ALIGNMENT                                                
  );                                                                  
                                                                      
  if ( memory_available == 0 )                                        
    _Internal_error_Occurred(                                         
  10ee82:	52                   	push   %edx                           
  10ee83:	6a 03                	push   $0x3                           
  10ee85:	6a 01                	push   $0x1                           
  10ee87:	6a 00                	push   $0x0                           
  10ee89:	e8 22 e0 ff ff       	call   10ceb0 <_Internal_error_Occurred>
                                                                      

0010bab8 <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
  10bab8:	55                   	push   %ebp                           
  10bab9:	89 e5                	mov    %esp,%ebp                      
  10babb:	57                   	push   %edi                           
  10babc:	56                   	push   %esi                           
  10babd:	53                   	push   %ebx                           
  10babe:	83 ec 1c             	sub    $0x1c,%esp                     
  10bac1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bac4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
  10bac7:	85 db                	test   %ebx,%ebx                      
  10bac9:	0f 84 f1 00 00 00    	je     10bbc0 <adjtime+0x108>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
  10bacf:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10bad2:	81 fa 3f 42 0f 00    	cmp    $0xf423f,%edx                  
  10bad8:	0f 87 e2 00 00 00    	ja     10bbc0 <adjtime+0x108>         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
  10bade:	85 f6                	test   %esi,%esi                      
  10bae0:	74 10                	je     10baf2 <adjtime+0x3a>          
    olddelta->tv_sec  = 0;                                            
  10bae2:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
    olddelta->tv_usec = 0;                                            
  10bae8:	c7 46 04 00 00 00 00 	movl   $0x0,0x4(%esi)                 
  10baef:	8b 53 04             	mov    0x4(%ebx),%edx                 
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
  10baf2:	8b 03                	mov    (%ebx),%eax                    
  10baf4:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10baf7:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bafa:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bafd:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb00:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb03:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb06:	c1 e0 06             	shl    $0x6,%eax                      
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
  10bb09:	8d 04 02             	lea    (%edx,%eax,1),%eax             
  10bb0c:	3b 05 ac 69 12 00    	cmp    0x1269ac,%eax                  
  10bb12:	73 0c                	jae    10bb20 <adjtime+0x68>          
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
  10bb14:	31 c0                	xor    %eax,%eax                      
                                                                      
  return 0;                                                           
}                                                                     
  10bb16:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bb19:	5b                   	pop    %ebx                           
  10bb1a:	5e                   	pop    %esi                           
  10bb1b:	5f                   	pop    %edi                           
  10bb1c:	c9                   	leave                                 
  10bb1d:	c3                   	ret                                   
  10bb1e:	66 90                	xchg   %ax,%ax                        
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bb20:	a1 b8 ac 12 00       	mov    0x12acb8,%eax                  
  10bb25:	40                   	inc    %eax                           
  10bb26:	a3 b8 ac 12 00       	mov    %eax,0x12acb8                  
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
  10bb2b:	83 ec 0c             	sub    $0xc,%esp                      
  10bb2e:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  10bb31:	57                   	push   %edi                           
  10bb32:	e8 59 17 00 00       	call   10d290 <_TOD_Get>              
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
  10bb37:	8b 03                	mov    (%ebx),%eax                    
  10bb39:	01 45 e0             	add    %eax,-0x20(%ebp)               
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
  10bb3c:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10bb3f:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb42:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb45:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bb48:	c1 e0 03             	shl    $0x3,%eax                      
  10bb4b:	03 45 e4             	add    -0x1c(%ebp),%eax               
  10bb4e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
  10bb51:	83 c4 10             	add    $0x10,%esp                     
  10bb54:	3d ff c9 9a 3b       	cmp    $0x3b9ac9ff,%eax               
  10bb59:	76 18                	jbe    10bb73 <adjtime+0xbb>          
  10bb5b:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10bb5e:	66 90                	xchg   %ax,%ax                        
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
  10bb60:	2d 00 ca 9a 3b       	sub    $0x3b9aca00,%eax               
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
  10bb65:	42                   	inc    %edx                           
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
  10bb66:	3d ff c9 9a 3b       	cmp    $0x3b9ac9ff,%eax               
  10bb6b:	77 f3                	ja     10bb60 <adjtime+0xa8>          <== NEVER TAKEN
  10bb6d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10bb70:	89 55 e0             	mov    %edx,-0x20(%ebp)               
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
  10bb73:	3d 00 36 65 c4       	cmp    $0xc4653600,%eax               
  10bb78:	77 19                	ja     10bb93 <adjtime+0xdb>          <== NEVER TAKEN
  10bb7a:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  10bb7d:	8d 76 00             	lea    0x0(%esi),%esi                 
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
  10bb80:	05 00 ca 9a 3b       	add    $0x3b9aca00,%eax               
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
  10bb85:	4a                   	dec    %edx                           
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
  10bb86:	3d 00 36 65 c4       	cmp    $0xc4653600,%eax               
  10bb8b:	76 f3                	jbe    10bb80 <adjtime+0xc8>          
  10bb8d:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10bb90:	89 55 e0             	mov    %edx,-0x20(%ebp)               
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
  10bb93:	83 ec 0c             	sub    $0xc,%esp                      
  10bb96:	57                   	push   %edi                           
  10bb97:	e8 80 17 00 00       	call   10d31c <_TOD_Set>              
                                                                      
  _Thread_Enable_dispatch();                                          
  10bb9c:	e8 4b 29 00 00       	call   10e4ec <_Thread_Enable_dispatch>
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
  10bba1:	83 c4 10             	add    $0x10,%esp                     
  10bba4:	85 f6                	test   %esi,%esi                      
  10bba6:	0f 84 68 ff ff ff    	je     10bb14 <adjtime+0x5c>          <== NEVER TAKEN
    *olddelta = *delta;                                               
  10bbac:	8b 03                	mov    (%ebx),%eax                    
  10bbae:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10bbb1:	89 06                	mov    %eax,(%esi)                    
  10bbb3:	89 56 04             	mov    %edx,0x4(%esi)                 
  10bbb6:	31 c0                	xor    %eax,%eax                      
                                                                      
  return 0;                                                           
}                                                                     
  10bbb8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bbbb:	5b                   	pop    %ebx                           
  10bbbc:	5e                   	pop    %esi                           
  10bbbd:	5f                   	pop    %edi                           
  10bbbe:	c9                   	leave                                 
  10bbbf:	c3                   	ret                                   
   */                                                                 
  if ( !delta )                                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10bbc0:	e8 fb 9f 00 00       	call   115bc0 <__errno>               
  10bbc5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10bbcb:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10bbd0:	e9 41 ff ff ff       	jmp    10bb16 <adjtime+0x5e>          
                                                                      

0010ba58 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
  10ba58:	55                   	push   %ebp                           
  10ba59:	89 e5                	mov    %esp,%ebp                      
  10ba5b:	83 ec 08             	sub    $0x8,%esp                      
  10ba5e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ba61:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  10ba64:	85 d2                	test   %edx,%edx                      
  10ba66:	74 14                	je     10ba7c <clock_gettime+0x24>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  10ba68:	83 f8 01             	cmp    $0x1,%eax                      
  10ba6b:	74 47                	je     10bab4 <clock_gettime+0x5c>    
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
  10ba6d:	83 f8 04             	cmp    $0x4,%eax                      
  10ba70:	74 32                	je     10baa4 <clock_gettime+0x4c>    <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
  10ba72:	83 f8 02             	cmp    $0x2,%eax                      
  10ba75:	74 2d                	je     10baa4 <clock_gettime+0x4c>    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
  10ba77:	83 f8 03             	cmp    $0x3,%eax                      
  10ba7a:	74 14                	je     10ba90 <clock_gettime+0x38>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10ba7c:	e8 cb a5 00 00       	call   11604c <__errno>               
  10ba81:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ba87:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  10ba8c:	c9                   	leave                                 
  10ba8d:	c3                   	ret                                   
  10ba8e:	66 90                	xchg   %ax,%ax                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  10ba90:	e8 b7 a5 00 00       	call   11604c <__errno>               
  10ba95:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  10ba9b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
  10baa0:	c9                   	leave                                 
  10baa1:	c3                   	ret                                   
  10baa2:	66 90                	xchg   %ax,%ax                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
    _TOD_Get_uptime_as_timespec( tp );                                
  10baa4:	83 ec 0c             	sub    $0xc,%esp                      
  10baa7:	52                   	push   %edx                           
  10baa8:	e8 67 1e 00 00       	call   10d914 <_TOD_Get_uptime_as_timespec>
  10baad:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  10baaf:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
  10bab2:	c9                   	leave                                 
  10bab3:	c3                   	ret                                   
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
  10bab4:	83 ec 0c             	sub    $0xc,%esp                      
  10bab7:	52                   	push   %edx                           
  10bab8:	e8 ff 1d 00 00       	call   10d8bc <_TOD_Get>              
  10babd:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  10babf:	83 c4 10             	add    $0x10,%esp                     
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
  10bac2:	c9                   	leave                                 
  10bac3:	c3                   	ret                                   
                                                                      

001302a0 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
  1302a0:	55                   	push   %ebp                           
  1302a1:	89 e5                	mov    %esp,%ebp                      
  1302a3:	83 ec 08             	sub    $0x8,%esp                      
  1302a6:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1302a9:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !tp )                                                          
  1302ac:	85 d2                	test   %edx,%edx                      
  1302ae:	74 0f                	je     1302bf <clock_settime+0x1f>    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
  1302b0:	83 f8 01             	cmp    $0x1,%eax                      
  1302b3:	74 1f                	je     1302d4 <clock_settime+0x34>    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
  1302b5:	83 f8 02             	cmp    $0x2,%eax                      
  1302b8:	74 42                	je     1302fc <clock_settime+0x5c>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
  1302ba:	83 f8 03             	cmp    $0x3,%eax                      
  1302bd:	74 3d                	je     1302fc <clock_settime+0x5c>    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1302bf:	e8 bc 78 01 00       	call   147b80 <__errno>               
  1302c4:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  1302ca:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
                                                                      
  return 0;                                                           
}                                                                     
  1302cf:	c9                   	leave                                 
  1302d0:	c3                   	ret                                   
  1302d1:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
  1302d4:	81 3a ff e4 da 21    	cmpl   $0x21dae4ff,(%edx)             
  1302da:	76 e3                	jbe    1302bf <clock_settime+0x1f>    
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1302dc:	a1 58 4f 17 00       	mov    0x174f58,%eax                  
  1302e1:	40                   	inc    %eax                           
  1302e2:	a3 58 4f 17 00       	mov    %eax,0x174f58                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
  1302e7:	83 ec 0c             	sub    $0xc,%esp                      
  1302ea:	52                   	push   %edx                           
  1302eb:	e8 7c 17 00 00       	call   131a6c <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  1302f0:	e8 8b 52 fe ff       	call   115580 <_Thread_Enable_dispatch>
  1302f5:	31 c0                	xor    %eax,%eax                      
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
  1302f7:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1302fa:	c9                   	leave                                 
  1302fb:	c3                   	ret                                   
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
  1302fc:	e8 7f 78 01 00       	call   147b80 <__errno>               
  130301:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
  130307:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
}                                                                     
  13030c:	c9                   	leave                                 
  13030d:	c3                   	ret                                   
                                                                      

0010b838 <getitimer>: int getitimer( int which, struct itimerval *value ) {
  10b838:	55                   	push   %ebp                           
  10b839:	89 e5                	mov    %esp,%ebp                      
  10b83b:	83 ec 08             	sub    $0x8,%esp                      
  if ( !value )                                                       
  10b83e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10b841:	85 c0                	test   %eax,%eax                      
  10b843:	74 2f                	je     10b874 <getitimer+0x3c>        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  switch ( which ) {                                                  
  10b845:	83 7d 08 02          	cmpl   $0x2,0x8(%ebp)                 
  10b849:	76 15                	jbe    10b860 <getitimer+0x28>        
    case ITIMER_PROF:                                                 
      rtems_set_errno_and_return_minus_one( ENOSYS );                 
    default:                                                          
      break;                                                          
  }                                                                   
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10b84b:	e8 d8 a0 00 00       	call   115928 <__errno>               
  10b850:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
}                                                                     
  10b856:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b85b:	c9                   	leave                                 
  10b85c:	c3                   	ret                                   
  10b85d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  switch ( which ) {                                                  
    case ITIMER_REAL:                                                 
    case ITIMER_VIRTUAL:                                              
    case ITIMER_PROF:                                                 
      rtems_set_errno_and_return_minus_one( ENOSYS );                 
  10b860:	e8 c3 a0 00 00       	call   115928 <__errno>               
  10b865:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
    default:                                                          
      break;                                                          
  }                                                                   
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b86b:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b870:	c9                   	leave                                 
  10b871:	c3                   	ret                                   
  10b872:	66 90                	xchg   %ax,%ax                        
  int               which,                                            
  struct itimerval *value                                             
)                                                                     
{                                                                     
  if ( !value )                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10b874:	e8 af a0 00 00       	call   115928 <__errno>               
  10b879:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  10b87f:	eb d5                	jmp    10b856 <getitimer+0x1e>        
                                                                      

00114460 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
  114460:	55                   	push   %ebp                           
  114461:	89 e5                	mov    %esp,%ebp                      
  114463:	57                   	push   %edi                           
  114464:	56                   	push   %esi                           
  114465:	53                   	push   %ebx                           
  114466:	83 ec 3c             	sub    $0x3c,%esp                     
  114469:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11446c:	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() )                                              
  11446f:	e8 c0 c9 ff ff       	call   110e34 <getpid>                
  114474:	3b 45 08             	cmp    0x8(%ebp),%eax                 
  114477:	0f 85 2f 02 00 00    	jne    1146ac <killinfo+0x24c>        <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
  11447d:	85 f6                	test   %esi,%esi                      
  11447f:	0f 84 3c 02 00 00    	je     1146c1 <killinfo+0x261>        <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  114485:	8d 4e ff             	lea    -0x1(%esi),%ecx                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  114488:	83 f9 1f             	cmp    $0x1f,%ecx                     
  11448b:	0f 87 30 02 00 00    	ja     1146c1 <killinfo+0x261>        <== NEVER TAKEN
    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 )          
  114491:	8d 04 76             	lea    (%esi,%esi,2),%eax             
  114494:	83 3c 85 e8 99 12 00 	cmpl   $0x1,0x1299e8(,%eax,4)         
  11449b:	01                                                          
  11449c:	0f 84 cf 00 00 00    	je     114571 <killinfo+0x111>        
  /*                                                                  
   *  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 ) )      
  1144a2:	83 fe 08             	cmp    $0x8,%esi                      
  1144a5:	0f 84 d1 00 00 00    	je     11457c <killinfo+0x11c>        
  1144ab:	83 fe 04             	cmp    $0x4,%esi                      
  1144ae:	0f 84 c8 00 00 00    	je     11457c <killinfo+0x11c>        
  1144b4:	83 fe 0b             	cmp    $0xb,%esi                      
  1144b7:	0f 84 bf 00 00 00    	je     11457c <killinfo+0x11c>        
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
  1144bd:	bb 01 00 00 00       	mov    $0x1,%ebx                      
  1144c2:	d3 e3                	shl    %cl,%ebx                       
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  1144c4:	89 75 dc             	mov    %esi,-0x24(%ebp)               
  siginfo->si_code = SI_USER;                                         
  1144c7:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  if ( !value ) {                                                     
  1144ce:	85 ff                	test   %edi,%edi                      
  1144d0:	0f 84 ca 01 00 00    	je     1146a0 <killinfo+0x240>        
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
  1144d6:	8b 07                	mov    (%edi),%eax                    
  1144d8:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1144db:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  1144e0:	40                   	inc    %eax                           
  1144e1:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
                                                                      
  /*                                                                  
   *  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;                                     
  1144e6:	8b 0d b8 94 12 00    	mov    0x1294b8,%ecx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  1144ec:	8b 81 f8 00 00 00    	mov    0xf8(%ecx),%eax                
  1144f2:	8b 80 cc 00 00 00    	mov    0xcc(%eax),%eax                
  1144f8:	f7 d0                	not    %eax                           
  1144fa:	85 c3                	test   %eax,%ebx                      
  1144fc:	75 34                	jne    114532 <killinfo+0xd2>         
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  1144fe:	a1 80 9b 12 00       	mov    0x129b80,%eax                  
  114503:	3d 84 9b 12 00       	cmp    $0x129b84,%eax                 
  114508:	75 1b                	jne    114525 <killinfo+0xc5>         
  11450a:	e9 89 00 00 00       	jmp    114598 <killinfo+0x138>        
  11450f:	90                   	nop                                   
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
  114510:	8b 92 cc 00 00 00    	mov    0xcc(%edx),%edx                
  114516:	f7 d2                	not    %edx                           
  114518:	85 d3                	test   %edx,%ebx                      
  11451a:	75 16                	jne    114532 <killinfo+0xd2>         
                                                                      
  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 ) {                                 
  11451c:	8b 00                	mov    (%eax),%eax                    
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
  11451e:	3d 84 9b 12 00       	cmp    $0x129b84,%eax                 
  114523:	74 73                	je     114598 <killinfo+0x138>        <== ALWAYS TAKEN
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
  114525:	89 c1                	mov    %eax,%ecx                      
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
  114527:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
  11452d:	85 58 30             	test   %ebx,0x30(%eax)                
  114530:	74 de                	je     114510 <killinfo+0xb0>         
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
  114532:	c6 41 74 01          	movb   $0x1,0x74(%ecx)                
                                                                      
  /*                                                                  
   *  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 ) ) {  
  114536:	50                   	push   %eax                           
  114537:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  11453a:	50                   	push   %eax                           
  11453b:	56                   	push   %esi                           
  11453c:	51                   	push   %ecx                           
  11453d:	e8 6e 03 00 00       	call   1148b0 <_POSIX_signals_Unblock_thread>
  114542:	83 c4 10             	add    $0x10,%esp                     
  114545:	84 c0                	test   %al,%al                        
  114547:	0f 85 47 01 00 00    	jne    114694 <killinfo+0x234>        
                                                                      
  /*                                                                  
   *  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 );                         
  11454d:	83 ec 0c             	sub    $0xc,%esp                      
  114550:	53                   	push   %ebx                           
  114551:	e8 36 03 00 00       	call   11488c <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
  114556:	8d 1c 76             	lea    (%esi,%esi,2),%ebx             
  114559:	c1 e3 02             	shl    $0x2,%ebx                      
  11455c:	83 c4 10             	add    $0x10,%esp                     
  11455f:	83 bb e0 99 12 00 02 	cmpl   $0x2,0x1299e0(%ebx)            
  114566:	0f 84 ec 00 00 00    	je     114658 <killinfo+0x1f8>        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  11456c:	e8 fb 96 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  114571:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  114573:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114576:	5b                   	pop    %ebx                           
  114577:	5e                   	pop    %esi                           
  114578:	5f                   	pop    %edi                           
  114579:	c9                   	leave                                 
  11457a:	c3                   	ret                                   
  11457b:	90                   	nop                                   
   *  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 ) )      
      return pthread_kill( pthread_self(), sig );                     
  11457c:	e8 1f 06 00 00       	call   114ba0 <pthread_self>          
  114581:	83 ec 08             	sub    $0x8,%esp                      
  114584:	56                   	push   %esi                           
  114585:	50                   	push   %eax                           
  114586:	e8 55 05 00 00       	call   114ae0 <pthread_kill>          
  11458b:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
  11458e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114591:	5b                   	pop    %ebx                           
  114592:	5e                   	pop    %esi                           
  114593:	5f                   	pop    %edi                           
  114594:	c9                   	leave                                 
  114595:	c3                   	ret                                   
  114596:	66 90                	xchg   %ax,%ax                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
  114598:	0f b6 05 14 52 12 00 	movzbl 0x125214,%eax                  
  11459f:	40                   	inc    %eax                           
  1145a0:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  1145a3:	c7 45 c8 00 00 00 00 	movl   $0x0,-0x38(%ebp)               
  1145aa:	c7 45 d0 02 00 00 00 	movl   $0x2,-0x30(%ebp)               
  1145b1:	89 5d cc             	mov    %ebx,-0x34(%ebp)               
  1145b4:	89 75 c0             	mov    %esi,-0x40(%ebp)               
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and ITRON is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
  1145b7:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  1145ba:	8b 04 95 cc 93 12 00 	mov    0x1293cc(,%edx,4),%eax         
  1145c1:	85 c0                	test   %eax,%eax                      
  1145c3:	74 6c                	je     114631 <killinfo+0x1d1>        
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
  1145c5:	8b 40 04             	mov    0x4(%eax),%eax                 
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
  1145c8:	0f b7 70 10          	movzwl 0x10(%eax),%esi                
    object_table = the_info->local_table;                             
  1145cc:	8b 78 1c             	mov    0x1c(%eax),%edi                
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  1145cf:	85 f6                	test   %esi,%esi                      
  1145d1:	74 5e                	je     114631 <killinfo+0x1d1>        
  1145d3:	b8 01 00 00 00       	mov    $0x1,%eax                      
      the_thread = (Thread_Control *) object_table[ index ];          
  1145d8:	8b 14 87             	mov    (%edi,%eax,4),%edx             
                                                                      
      if ( !the_thread )                                              
  1145db:	85 d2                	test   %edx,%edx                      
  1145dd:	74 4d                	je     11462c <killinfo+0x1cc>        
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
  1145df:	8b 4a 14             	mov    0x14(%edx),%ecx                
  1145e2:	3b 4d d4             	cmp    -0x2c(%ebp),%ecx               
  1145e5:	77 45                	ja     11462c <killinfo+0x1cc>        
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  1145e7:	8b 9a f8 00 00 00    	mov    0xf8(%edx),%ebx                
  1145ed:	8b 9b cc 00 00 00    	mov    0xcc(%ebx),%ebx                
  1145f3:	f7 d3                	not    %ebx                           
  1145f5:	85 5d cc             	test   %ebx,-0x34(%ebp)               
  1145f8:	74 32                	je     11462c <killinfo+0x1cc>        
       *                                                              
       *  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 ) {     
  1145fa:	3b 4d d4             	cmp    -0x2c(%ebp),%ecx               
  1145fd:	72 25                	jb     114624 <killinfo+0x1c4>        
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
  1145ff:	8b 5d c8             	mov    -0x38(%ebp),%ebx               
  114602:	8b 5b 10             	mov    0x10(%ebx),%ebx                
  114605:	89 5d c4             	mov    %ebx,-0x3c(%ebp)               
  114608:	85 db                	test   %ebx,%ebx                      
  11460a:	74 20                	je     11462c <killinfo+0x1cc>        <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
  11460c:	8b 5a 10             	mov    0x10(%edx),%ebx                
  11460f:	85 db                	test   %ebx,%ebx                      
  114611:	74 11                	je     114624 <killinfo+0x1c4>        
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
  114613:	f7 45 c4 00 00 00 10 	testl  $0x10000000,-0x3c(%ebp)        
  11461a:	75 10                	jne    11462c <killinfo+0x1cc>        
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
  11461c:	81 e3 00 00 00 10    	and    $0x10000000,%ebx               
  114622:	74 08                	je     11462c <killinfo+0x1cc>        
  114624:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  114627:	89 55 c8             	mov    %edx,-0x38(%ebp)               
  11462a:	66 90                	xchg   %ax,%ax                        
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
  11462c:	40                   	inc    %eax                           
  11462d:	39 c6                	cmp    %eax,%esi                      
  11462f:	73 a7                	jae    1145d8 <killinfo+0x178>        
   *    + 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++) {
  114631:	ff 45 d0             	incl   -0x30(%ebp)                    
  114634:	83 7d d0 05          	cmpl   $0x5,-0x30(%ebp)               
  114638:	0f 85 79 ff ff ff    	jne    1145b7 <killinfo+0x157>        
  11463e:	8b 5d cc             	mov    -0x34(%ebp),%ebx               
  114641:	8b 75 c0             	mov    -0x40(%ebp),%esi               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
  114644:	8b 55 c8             	mov    -0x38(%ebp),%edx               
  114647:	85 d2                	test   %edx,%edx                      
  114649:	0f 84 fe fe ff ff    	je     11454d <killinfo+0xed>         
  11464f:	8b 4d c8             	mov    -0x38(%ebp),%ecx               
  114652:	e9 db fe ff ff       	jmp    114532 <killinfo+0xd2>         
  114657:	90                   	nop                                   
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
  114658:	83 ec 0c             	sub    $0xc,%esp                      
  11465b:	68 60 9b 12 00       	push   $0x129b60                      
  114660:	e8 ab 7f ff ff       	call   10c610 <_Chain_Get>            
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
  114665:	83 c4 10             	add    $0x10,%esp                     
  114668:	85 c0                	test   %eax,%eax                      
  11466a:	74 6a                	je     1146d6 <killinfo+0x276>        
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
  11466c:	8d 78 08             	lea    0x8(%eax),%edi                 
  11466f:	8d 75 dc             	lea    -0x24(%ebp),%esi               
  114672:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  114677:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  114679:	83 ec 08             	sub    $0x8,%esp                      
  11467c:	50                   	push   %eax                           
  11467d:	81 c3 00 9c 12 00    	add    $0x129c00,%ebx                 
  114683:	53                   	push   %ebx                           
  114684:	e8 4b 7f ff ff       	call   10c5d4 <_Chain_Append>         
  114689:	83 c4 10             	add    $0x10,%esp                     
  11468c:	e9 db fe ff ff       	jmp    11456c <killinfo+0x10c>        
  114691:	8d 76 00             	lea    0x0(%esi),%esi                 
  /*                                                                  
   *  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 ) ) {  
    _Thread_Enable_dispatch();                                        
  114694:	e8 d3 95 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  114699:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  11469b:	e9 ee fe ff ff       	jmp    11458e <killinfo+0x12e>        
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
  1146a0:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  1146a7:	e9 2f fe ff ff       	jmp    1144db <killinfo+0x7b>         
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  1146ac:	e8 53 0a 00 00       	call   115104 <__errno>               <== NOT EXECUTED
  1146b1:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    <== NOT EXECUTED
  1146b7:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  1146bc:	e9 cd fe ff ff       	jmp    11458e <killinfo+0x12e>        <== NOT EXECUTED
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  1146c1:	e8 3e 0a 00 00       	call   115104 <__errno>               <== NOT EXECUTED
  1146c6:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   <== NOT EXECUTED
  1146cc:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  1146d1:	e9 b8 fe ff ff       	jmp    11458e <killinfo+0x12e>        <== NOT EXECUTED
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
  1146d6:	e8 91 95 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
  1146db:	e8 24 0a 00 00       	call   115104 <__errno>               
  1146e0:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  1146e6:	83 c8 ff             	or     $0xffffffff,%eax               
  1146e9:	e9 a0 fe ff ff       	jmp    11458e <killinfo+0x12e>        
                                                                      

0010ffa4 <mq_getattr>: int mq_getattr( mqd_t mqdes, struct mq_attr *mqstat ) {
  10ffa4:	55                   	push   %ebp                           
  10ffa5:	89 e5                	mov    %esp,%ebp                      
  10ffa7:	53                   	push   %ebx                           
  10ffa8:	83 ec 14             	sub    $0x14,%esp                     
  10ffab:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  POSIX_Message_queue_Control          *the_mq;                       
  POSIX_Message_queue_Control_fd       *the_mq_fd;                    
  Objects_Locations                     location;                     
  CORE_message_queue_Attributes        *the_mq_attr;                  
                                                                      
  if ( !mqstat )                                                      
  10ffae:	85 db                	test   %ebx,%ebx                      
  10ffb0:	74 54                	je     110006 <mq_getattr+0x62>       <== NEVER TAKEN
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(             
  10ffb2:	51                   	push   %ecx                           
  10ffb3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ffb6:	50                   	push   %eax                           
  10ffb7:	ff 75 08             	pushl  0x8(%ebp)                      
  10ffba:	68 40 29 13 00       	push   $0x132940                      
  10ffbf:	e8 8c 32 00 00       	call   113250 <_Objects_Get>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
  10ffc4:	83 c4 10             	add    $0x10,%esp                     
  10ffc7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ffca:	85 d2                	test   %edx,%edx                      
  10ffcc:	75 26                	jne    10fff4 <mq_getattr+0x50>       
                                                                      
    case OBJECTS_LOCAL:                                               
      the_mq = the_mq_fd->Queue;                                      
  10ffce:	8b 50 10             	mov    0x10(%eax),%edx                
       *  Return the old values.                                      
       */                                                             
                                                                      
      the_mq_attr = &the_mq->Message_queue.Attributes;                
                                                                      
      mqstat->mq_flags   = the_mq_fd->oflag;                          
  10ffd1:	8b 40 14             	mov    0x14(%eax),%eax                
  10ffd4:	89 03                	mov    %eax,(%ebx)                    
      mqstat->mq_msgsize = the_mq->Message_queue.maximum_message_size;
  10ffd6:	8b 42 68             	mov    0x68(%edx),%eax                
  10ffd9:	89 43 08             	mov    %eax,0x8(%ebx)                 
      mqstat->mq_maxmsg  = the_mq->Message_queue.maximum_pending_messages;
  10ffdc:	8b 42 60             	mov    0x60(%edx),%eax                
  10ffdf:	89 43 04             	mov    %eax,0x4(%ebx)                 
      mqstat->mq_curmsgs = the_mq->Message_queue.number_of_pending_messages;
  10ffe2:	8b 42 64             	mov    0x64(%edx),%eax                
  10ffe5:	89 43 0c             	mov    %eax,0xc(%ebx)                 
                                                                      
      _Thread_Enable_dispatch();                                      
  10ffe8:	e8 27 3b 00 00       	call   113b14 <_Thread_Enable_dispatch>
  10ffed:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
  10ffef:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10fff2:	c9                   	leave                                 
  10fff3:	c3                   	ret                                   
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
  10fff4:	e8 77 b2 00 00       	call   11b270 <__errno>               
  10fff9:	c7 00 09 00 00 00    	movl   $0x9,(%eax)                    
  10ffff:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  110004:	eb e9                	jmp    10ffef <mq_getattr+0x4b>       
  POSIX_Message_queue_Control_fd       *the_mq_fd;                    
  Objects_Locations                     location;                     
  CORE_message_queue_Attributes        *the_mq_attr;                  
                                                                      
  if ( !mqstat )                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  110006:	e8 65 b2 00 00       	call   11b270 <__errno>               
  11000b:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  110011:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  110016:	eb d7                	jmp    10ffef <mq_getattr+0x4b>       
                                                                      

001100fc <mq_open>: int oflag, ... /* mode_t mode, */ /* struct mq_attr attr */ ) {
  1100fc:	55                   	push   %ebp                           
  1100fd:	89 e5                	mov    %esp,%ebp                      
  1100ff:	57                   	push   %edi                           
  110100:	56                   	push   %esi                           
  110101:	53                   	push   %ebx                           
  110102:	83 ec 2c             	sub    $0x2c,%esp                     
  110105:	8b 75 0c             	mov    0xc(%ebp),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  110108:	a1 d8 23 13 00       	mov    0x1323d8,%eax                  
  11010d:	40                   	inc    %eax                           
  11010e:	a3 d8 23 13 00       	mov    %eax,0x1323d8                  
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
  110113:	89 f0                	mov    %esi,%eax                      
  110115:	25 00 02 00 00       	and    $0x200,%eax                    
  11011a:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  11011d:	0f 85 c9 00 00 00    	jne    1101ec <mq_open+0xf0>          
  110123:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
  11012a:	83 ec 0c             	sub    $0xc,%esp                      
  11012d:	68 40 29 13 00       	push   $0x132940                      
  110132:	e8 69 2c 00 00       	call   112da0 <_Objects_Allocate>     
  110137:	89 c3                	mov    %eax,%ebx                      
    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );        
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
  110139:	83 c4 10             	add    $0x10,%esp                     
  11013c:	85 c0                	test   %eax,%eax                      
  11013e:	0f 84 b4 00 00 00    	je     1101f8 <mq_open+0xfc>          
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
  the_mq_fd->oflag = oflag;                                           
  110144:	89 70 14             	mov    %esi,0x14(%eax)                
                                                                      
  status = _POSIX_Message_queue_Name_to_id( name, &the_mq_id );       
  110147:	83 ec 08             	sub    $0x8,%esp                      
  11014a:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11014d:	50                   	push   %eax                           
  11014e:	ff 75 08             	pushl  0x8(%ebp)                      
  110151:	e8 6e 74 00 00       	call   1175c4 <_POSIX_Message_queue_Name_to_id>
  110156:	89 c7                	mov    %eax,%edi                      
   *  If the name to id translation worked, then the message queue exists
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "message queue does not exist"
   *  or some other miscellaneous error on the name.                  
   */                                                                 
  if ( status ) {                                                     
  110158:	83 c4 10             	add    $0x10,%esp                     
  11015b:	85 c0                	test   %eax,%eax                      
  11015d:	75 59                	jne    1101b8 <mq_open+0xbc>          
                                                                      
  } else {                /* name -> ID translation succeeded */      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
  11015f:	81 e6 00 0a 00 00    	and    $0xa00,%esi                    
  110165:	81 fe 00 0a 00 00    	cmp    $0xa00,%esi                    
  11016b:	0f 84 a7 00 00 00    	je     110218 <mq_open+0x11c>         
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control *)                              
  110171:	50                   	push   %eax                           
  110172:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  110175:	50                   	push   %eax                           
  110176:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  110179:	68 a0 27 13 00       	push   $0x1327a0                      
  11017e:	e8 cd 30 00 00       	call   113250 <_Objects_Get>          
                                                                      
    /*                                                                
     * In this case we need to do an ID->pointer conversion to        
     * check the mode.                                                
     */                                                               
    the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );        
  110183:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    the_mq->open_count += 1;                                          
  110186:	ff 40 18             	incl   0x18(%eax)                     
    the_mq_fd->Queue = the_mq;                                        
  110189:	89 43 10             	mov    %eax,0x10(%ebx)                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  11018c:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  110190:	a1 5c 29 13 00       	mov    0x13295c,%eax                  
  110195:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
  110198:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
    _Objects_Open_string(                                             
      &_POSIX_Message_queue_Information_fds,                          
      &the_mq_fd->Object,                                             
      NULL                                                            
    );                                                                
    _Thread_Enable_dispatch();                                        
  11019f:	e8 70 39 00 00       	call   113b14 <_Thread_Enable_dispatch>
    _Thread_Enable_dispatch();                                        
  1101a4:	e8 6b 39 00 00       	call   113b14 <_Thread_Enable_dispatch>
    return (mqd_t)the_mq_fd->Object.id;                               
  1101a9:	8b 43 08             	mov    0x8(%ebx),%eax                 
  1101ac:	83 c4 10             	add    $0x10,%esp                     
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
  1101af:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1101b2:	5b                   	pop    %ebx                           
  1101b3:	5e                   	pop    %esi                           
  1101b4:	5f                   	pop    %edi                           
  1101b5:	c9                   	leave                                 
  1101b6:	c3                   	ret                                   
  1101b7:	90                   	nop                                   
  if ( status ) {                                                     
    /*                                                                
     * 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) ) ) {               
  1101b8:	83 f8 02             	cmp    $0x2,%eax                      
  1101bb:	0f 84 87 00 00 00    	je     110248 <mq_open+0x14c>         
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free_fd (              
  POSIX_Message_queue_Control_fd *the_mq_fd                           
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information_fds, &the_mq_fd->Object );
  1101c1:	83 ec 08             	sub    $0x8,%esp                      
  1101c4:	53                   	push   %ebx                           
  1101c5:	68 40 29 13 00       	push   $0x132940                      
  1101ca:	e8 51 2f 00 00       	call   113120 <_Objects_Free>         
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
  1101cf:	e8 40 39 00 00       	call   113b14 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
  1101d4:	e8 97 b0 00 00       	call   11b270 <__errno>               
  1101d9:	89 38                	mov    %edi,(%eax)                    
  1101db:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  1101e0:	83 c4 10             	add    $0x10,%esp                     
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
  1101e3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1101e6:	5b                   	pop    %ebx                           
  1101e7:	5e                   	pop    %esi                           
  1101e8:	5f                   	pop    %edi                           
  1101e9:	c9                   	leave                                 
  1101ea:	c3                   	ret                                   
  1101eb:	90                   	nop                                   
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );        
  1101ec:	8b 45 14             	mov    0x14(%ebp),%eax                
  1101ef:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  1101f2:	e9 33 ff ff ff       	jmp    11012a <mq_open+0x2e>          
  1101f7:	90                   	nop                                   
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
    _Thread_Enable_dispatch();                                        
  1101f8:	e8 17 39 00 00       	call   113b14 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  1101fd:	e8 6e b0 00 00       	call   11b270 <__errno>               
  110202:	c7 00 17 00 00 00    	movl   $0x17,(%eax)                   
  110208:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
  11020d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110210:	5b                   	pop    %ebx                           
  110211:	5e                   	pop    %esi                           
  110212:	5f                   	pop    %edi                           
  110213:	c9                   	leave                                 
  110214:	c3                   	ret                                   
  110215:	8d 76 00             	lea    0x0(%esi),%esi                 
  110218:	83 ec 08             	sub    $0x8,%esp                      
  11021b:	53                   	push   %ebx                           
  11021c:	68 40 29 13 00       	push   $0x132940                      
  110221:	e8 fa 2e 00 00       	call   113120 <_Objects_Free>         
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
  110226:	e8 e9 38 00 00       	call   113b14 <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( EEXIST, mqd_t );     
  11022b:	e8 40 b0 00 00       	call   11b270 <__errno>               
  110230:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  110236:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  11023b:	83 c4 10             	add    $0x10,%esp                     
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
  11023e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110241:	5b                   	pop    %ebx                           
  110242:	5e                   	pop    %esi                           
  110243:	5f                   	pop    %edi                           
  110244:	c9                   	leave                                 
  110245:	c3                   	ret                                   
  110246:	66 90                	xchg   %ax,%ax                        
  if ( status ) {                                                     
    /*                                                                
     * 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) ) ) {               
  110248:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11024b:	85 d2                	test   %edx,%edx                      
  11024d:	0f 84 6e ff ff ff    	je     1101c1 <mq_open+0xc5>          
                                                                      
  /*                                                                  
   *  At this point, the message queue does not exist and everything has been
   *  checked. We should go ahead and create a message queue.         
   */                                                                 
  status = _POSIX_Message_queue_Create_support(                       
  110253:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  110256:	50                   	push   %eax                           
  110257:	ff 75 d0             	pushl  -0x30(%ebp)                    
  11025a:	6a 01                	push   $0x1                           
  11025c:	ff 75 08             	pushl  0x8(%ebp)                      
  11025f:	e8 cc 71 00 00       	call   117430 <_POSIX_Message_queue_Create_support>
  );                                                                  
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
  110264:	83 c4 10             	add    $0x10,%esp                     
  110267:	40                   	inc    %eax                           
  110268:	74 26                	je     110290 <mq_open+0x194>         
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
    return (mqd_t) -1;                                                
  }                                                                   
                                                                      
  the_mq_fd->Queue = the_mq;                                          
  11026a:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  11026d:	89 43 10             	mov    %eax,0x10(%ebx)                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  110270:	0f b7 53 08          	movzwl 0x8(%ebx),%edx                 
  110274:	a1 5c 29 13 00       	mov    0x13295c,%eax                  
  110279:	89 1c 90             	mov    %ebx,(%eax,%edx,4)             
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
  11027c:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
    &_POSIX_Message_queue_Information_fds,                            
    &the_mq_fd->Object,                                               
    NULL                                                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
  110283:	e8 8c 38 00 00       	call   113b14 <_Thread_Enable_dispatch>
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
  110288:	8b 43 08             	mov    0x8(%ebx),%eax                 
  11028b:	e9 1f ff ff ff       	jmp    1101af <mq_open+0xb3>          
  110290:	83 ec 08             	sub    $0x8,%esp                      
  110293:	53                   	push   %ebx                           
  110294:	68 40 29 13 00       	push   $0x132940                      
  110299:	e8 82 2e 00 00       	call   113120 <_Objects_Free>         
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
  11029e:	e8 71 38 00 00       	call   113b14 <_Thread_Enable_dispatch>
  1102a3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
    return (mqd_t) -1;                                                
  1102a8:	83 c4 10             	add    $0x10,%esp                     
  1102ab:	e9 ff fe ff ff       	jmp    1101af <mq_open+0xb3>          
                                                                      

0012af24 <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
  12af24:	55                   	push   %ebp                           
  12af25:	89 e5                	mov    %esp,%ebp                      
  12af27:	56                   	push   %esi                           
  12af28:	53                   	push   %ebx                           
  12af29:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  12af2c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
  12af2f:	83 ec 0c             	sub    $0xc,%esp                      
  12af32:	53                   	push   %ebx                           
  12af33:	e8 60 01 00 00       	call   12b098 <_Timespec_Is_valid>    
  12af38:	83 c4 10             	add    $0x10,%esp                     
  12af3b:	84 c0                	test   %al,%al                        
  12af3d:	0f 84 e1 00 00 00    	je     12b024 <nanosleep+0x100>       
   *  Return EINVAL if the delay interval is negative.                
   *                                                                  
   *  NOTE:  This behavior is beyond the POSIX specification.         
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
  12af43:	8b 13                	mov    (%ebx),%edx                    
  12af45:	85 d2                	test   %edx,%edx                      
  12af47:	0f 88 d7 00 00 00    	js     12b024 <nanosleep+0x100>       <== NEVER TAKEN
  12af4d:	8b 43 04             	mov    0x4(%ebx),%eax                 
  12af50:	85 c0                	test   %eax,%eax                      
  12af52:	0f 88 cc 00 00 00    	js     12b024 <nanosleep+0x100>       <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
  12af58:	83 ec 0c             	sub    $0xc,%esp                      
  12af5b:	53                   	push   %ebx                           
  12af5c:	e8 73 f5 fe ff       	call   11a4d4 <_Timespec_To_ticks>    
  12af61:	89 c3                	mov    %eax,%ebx                      
   *  A nanosleep for zero time is implemented as a yield.            
   *  This behavior is also beyond the POSIX specification but is     
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
  12af63:	83 c4 10             	add    $0x10,%esp                     
  12af66:	85 c0                	test   %eax,%eax                      
  12af68:	75 36                	jne    12afa0 <nanosleep+0x7c>        
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  12af6a:	a1 98 73 13 00       	mov    0x137398,%eax                  
  12af6f:	40                   	inc    %eax                           
  12af70:	a3 98 73 13 00       	mov    %eax,0x137398                  
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
  12af75:	e8 2e 86 fe ff       	call   1135a8 <_Thread_Yield_processor>
    _Thread_Enable_dispatch();                                        
  12af7a:	e8 f9 79 fe ff       	call   112978 <_Thread_Enable_dispatch>
    if ( rmtp ) {                                                     
  12af7f:	85 f6                	test   %esi,%esi                      
  12af81:	0f 84 93 00 00 00    	je     12b01a <nanosleep+0xf6>        
       rmtp->tv_sec = 0;                                              
  12af87:	c7 06 00 00 00 00    	movl   $0x0,(%esi)                    
       rmtp->tv_nsec = 0;                                             
  12af8d:	c7 46 04 00 00 00 00 	movl   $0x0,0x4(%esi)                 
  12af94:	31 c0                	xor    %eax,%eax                      
          rtems_set_errno_and_return_minus_one( EINTR );              
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  12af96:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  12af99:	5b                   	pop    %ebx                           
  12af9a:	5e                   	pop    %esi                           
  12af9b:	c9                   	leave                                 
  12af9c:	c3                   	ret                                   
  12af9d:	8d 76 00             	lea    0x0(%esi),%esi                 
  12afa0:	a1 98 73 13 00       	mov    0x137398,%eax                  
  12afa5:	40                   	inc    %eax                           
  12afa6:	a3 98 73 13 00       	mov    %eax,0x137398                  
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
  12afab:	83 ec 08             	sub    $0x8,%esp                      
  12afae:	68 08 00 00 10       	push   $0x10000008                    
  12afb3:	ff 35 58 74 13 00    	pushl  0x137458                       
  12afb9:	e8 d2 82 fe ff       	call   113290 <_Thread_Set_state>     
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
  12afbe:	8b 15 58 74 13 00    	mov    0x137458,%edx                  
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
  12afc4:	8b 42 08             	mov    0x8(%edx),%eax                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  12afc7:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
  the_watchdog->routine   = routine;                                  
  12afce:	c7 42 64 e0 27 11 00 	movl   $0x1127e0,0x64(%edx)           
  the_watchdog->id        = id;                                       
  12afd5:	89 42 68             	mov    %eax,0x68(%edx)                
  the_watchdog->user_data = user_data;                                
  12afd8:	c7 42 6c 00 00 00 00 	movl   $0x0,0x6c(%edx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  12afdf:	89 5a 54             	mov    %ebx,0x54(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  12afe2:	58                   	pop    %eax                           
  12afe3:	59                   	pop    %ecx                           
  12afe4:	83 c2 48             	add    $0x48,%edx                     
  12afe7:	52                   	push   %edx                           
  12afe8:	68 78 74 13 00       	push   $0x137478                      
  12afed:	e8 96 89 fe ff       	call   113988 <_Watchdog_Insert>      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );       
  _Thread_Enable_dispatch();                                          
  12aff2:	e8 81 79 fe ff       	call   112978 <_Thread_Enable_dispatch>
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
  12aff7:	83 c4 10             	add    $0x10,%esp                     
  12affa:	85 f6                	test   %esi,%esi                      
  12affc:	74 1c                	je     12b01a <nanosleep+0xf6>        
    ticks -=                                                          
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
  12affe:	a1 58 74 13 00       	mov    0x137458,%eax                  
  _Thread_Enable_dispatch();                                          
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    ticks -=                                                          
  12b003:	03 58 5c             	add    0x5c(%eax),%ebx                
  12b006:	2b 58 60             	sub    0x60(%eax),%ebx                
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
  12b009:	83 ec 08             	sub    $0x8,%esp                      
  12b00c:	56                   	push   %esi                           
  12b00d:	53                   	push   %ebx                           
  12b00e:	e8 3d 00 00 00       	call   12b050 <_Timespec_From_ticks>  
     */                                                               
    #if defined(RTEMS_POSIX_API)                                      
        /*                                                            
         *  If there is time remaining, then we were interrupted by a signal.
         */                                                           
        if ( ticks )                                                  
  12b013:	83 c4 10             	add    $0x10,%esp                     
  12b016:	85 db                	test   %ebx,%ebx                      
  12b018:	75 1f                	jne    12b039 <nanosleep+0x115>       
          rtems_set_errno_and_return_minus_one( EINTR );              
  12b01a:	31 c0                	xor    %eax,%eax                      
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  12b01c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  12b01f:	5b                   	pop    %ebx                           
  12b020:	5e                   	pop    %esi                           
  12b021:	c9                   	leave                                 
  12b022:	c3                   	ret                                   
  12b023:	90                   	nop                                   
   *                                                                  
   *  NOTE:  This behavior is beyond the POSIX specification.         
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  12b024:	e8 17 28 ff ff       	call   11d840 <__errno>               
  12b029:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  12b02f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  12b034:	e9 5d ff ff ff       	jmp    12af96 <nanosleep+0x72>        
    #if defined(RTEMS_POSIX_API)                                      
        /*                                                            
         *  If there is time remaining, then we were interrupted by a signal.
         */                                                           
        if ( ticks )                                                  
          rtems_set_errno_and_return_minus_one( EINTR );              
  12b039:	e8 02 28 ff ff       	call   11d840 <__errno>               
  12b03e:	c7 00 04 00 00 00    	movl   $0x4,(%eax)                    
  12b044:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  12b049:	e9 48 ff ff ff       	jmp    12af96 <nanosleep+0x72>        
                                                                      

00110398 <pthread_attr_destroy>: #include <rtems/system.h> int pthread_attr_destroy( pthread_attr_t *attr ) {
  110398:	55                   	push   %ebp                           
  110399:	89 e5                	mov    %esp,%ebp                      
  11039b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || !attr->is_initialized )                               
  11039e:	85 c0                	test   %eax,%eax                      
  1103a0:	74 12                	je     1103b4 <pthread_attr_destroy+0x1c>
  1103a2:	8b 10                	mov    (%eax),%edx                    
  1103a4:	85 d2                	test   %edx,%edx                      
  1103a6:	74 0c                	je     1103b4 <pthread_attr_destroy+0x1c>
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  1103a8:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  1103ae:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  1103b0:	c9                   	leave                                 
  1103b1:	c3                   	ret                                   
  1103b2:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
  1103b4:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  1103b9:	c9                   	leave                                 
  1103ba:	c3                   	ret                                   
                                                                      

001129fc <pthread_attr_setinheritsched>: int pthread_attr_setinheritsched( pthread_attr_t *attr, int inheritsched ) {
  1129fc:	55                   	push   %ebp                           
  1129fd:	89 e5                	mov    %esp,%ebp                      
  1129ff:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112a02:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  112a05:	85 c0                	test   %eax,%eax                      
  112a07:	74 1f                	je     112a28 <pthread_attr_setinheritsched+0x2c>
  112a09:	8b 08                	mov    (%eax),%ecx                    
  112a0b:	85 c9                	test   %ecx,%ecx                      
  112a0d:	74 19                	je     112a28 <pthread_attr_setinheritsched+0x2c>
    return EINVAL;                                                    
                                                                      
  switch ( inheritsched ) {                                           
  112a0f:	8d 4a ff             	lea    -0x1(%edx),%ecx                
  112a12:	83 f9 01             	cmp    $0x1,%ecx                      
  112a15:	76 09                	jbe    112a20 <pthread_attr_setinheritsched+0x24>
  112a17:	b8 86 00 00 00       	mov    $0x86,%eax                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  112a1c:	c9                   	leave                                 
  112a1d:	c3                   	ret                                   
  112a1e:	66 90                	xchg   %ax,%ax                        
    return EINVAL;                                                    
                                                                      
  switch ( inheritsched ) {                                           
    case PTHREAD_INHERIT_SCHED:                                       
    case PTHREAD_EXPLICIT_SCHED:                                      
      attr->inheritsched = inheritsched;                              
  112a20:	89 50 10             	mov    %edx,0x10(%eax)                
  112a23:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  112a25:	c9                   	leave                                 
  112a26:	c3                   	ret                                   
  112a27:	90                   	nop                                   
                                                                      
  switch ( inheritsched ) {                                           
    case PTHREAD_INHERIT_SCHED:                                       
    case PTHREAD_EXPLICIT_SCHED:                                      
      attr->inheritsched = inheritsched;                              
      return 0;                                                       
  112a28:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  112a2d:	c9                   	leave                                 
  112a2e:	c3                   	ret                                   
                                                                      

00110568 <pthread_attr_setschedparam>: int pthread_attr_setschedparam( pthread_attr_t *attr, const struct sched_param *param ) {
  110568:	55                   	push   %ebp                           
  110569:	89 e5                	mov    %esp,%ebp                      
  11056b:	57                   	push   %edi                           
  11056c:	56                   	push   %esi                           
  11056d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  110570:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !attr || !attr->is_initialized || !param )                     
  110573:	85 ff                	test   %edi,%edi                      
  110575:	74 1d                	je     110594 <pthread_attr_setschedparam+0x2c>
  110577:	8b 07                	mov    (%edi),%eax                    
  110579:	85 c0                	test   %eax,%eax                      
  11057b:	74 17                	je     110594 <pthread_attr_setschedparam+0x2c>
  11057d:	85 f6                	test   %esi,%esi                      
  11057f:	74 13                	je     110594 <pthread_attr_setschedparam+0x2c>
    return EINVAL;                                                    
                                                                      
  attr->schedparam = *param;                                          
  110581:	83 c7 18             	add    $0x18,%edi                     
  110584:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  110589:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  11058b:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  11058d:	5e                   	pop    %esi                           
  11058e:	5f                   	pop    %edi                           
  11058f:	c9                   	leave                                 
  110590:	c3                   	ret                                   
  110591:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  if ( !attr || !attr->is_initialized || !param )                     
    return EINVAL;                                                    
                                                                      
  attr->schedparam = *param;                                          
  return 0;                                                           
  110594:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  110599:	5e                   	pop    %esi                           
  11059a:	5f                   	pop    %edi                           
  11059b:	c9                   	leave                                 
  11059c:	c3                   	ret                                   
                                                                      

001105a0 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
  1105a0:	55                   	push   %ebp                           
  1105a1:	89 e5                	mov    %esp,%ebp                      
  1105a3:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1105a6:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  1105a9:	85 c0                	test   %eax,%eax                      
  1105ab:	74 23                	je     1105d0 <pthread_attr_setschedpolicy+0x30>
  1105ad:	8b 08                	mov    (%eax),%ecx                    
  1105af:	85 c9                	test   %ecx,%ecx                      
  1105b1:	74 1d                	je     1105d0 <pthread_attr_setschedpolicy+0x30>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
  1105b3:	85 d2                	test   %edx,%edx                      
  1105b5:	78 0a                	js     1105c1 <pthread_attr_setschedpolicy+0x21>
  1105b7:	83 fa 02             	cmp    $0x2,%edx                      
  1105ba:	7e 0c                	jle    1105c8 <pthread_attr_setschedpolicy+0x28>
  1105bc:	83 fa 04             	cmp    $0x4,%edx                      
  1105bf:	74 07                	je     1105c8 <pthread_attr_setschedpolicy+0x28><== ALWAYS TAKEN
  1105c1:	b8 86 00 00 00       	mov    $0x86,%eax                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  1105c6:	c9                   	leave                                 
  1105c7:	c3                   	ret                                   
  switch ( policy ) {                                                 
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
  1105c8:	89 50 14             	mov    %edx,0x14(%eax)                
  1105cb:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  1105cd:	c9                   	leave                                 
  1105ce:	c3                   	ret                                   
  1105cf:	90                   	nop                                   
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
  1105d0:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
  1105d5:	c9                   	leave                                 
  1105d6:	c3                   	ret                                   
                                                                      

001105d8 <pthread_attr_setscope>: int pthread_attr_setscope( pthread_attr_t *attr, int contentionscope ) {
  1105d8:	55                   	push   %ebp                           
  1105d9:	89 e5                	mov    %esp,%ebp                      
  1105db:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1105de:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  1105e1:	85 c0                	test   %eax,%eax                      
  1105e3:	74 1a                	je     1105ff <pthread_attr_setscope+0x27>
  1105e5:	8b 08                	mov    (%eax),%ecx                    
  1105e7:	85 c9                	test   %ecx,%ecx                      
  1105e9:	74 14                	je     1105ff <pthread_attr_setscope+0x27>
    return EINVAL;                                                    
                                                                      
  switch ( contentionscope ) {                                        
  1105eb:	85 d2                	test   %edx,%edx                      
  1105ed:	75 0d                	jne    1105fc <pthread_attr_setscope+0x24>
    case PTHREAD_SCOPE_PROCESS:                                       
      attr->contentionscope = contentionscope;                        
  1105ef:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
  1105f6:	31 c0                	xor    %eax,%eax                      
      return ENOTSUP;                                                 
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  1105f8:	c9                   	leave                                 
  1105f9:	c3                   	ret                                   
  1105fa:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( contentionscope ) {                                        
  1105fc:	4a                   	dec    %edx                           
  1105fd:	74 09                	je     110608 <pthread_attr_setscope+0x30>
    case PTHREAD_SCOPE_PROCESS:                                       
      attr->contentionscope = contentionscope;                        
      return 0;                                                       
  1105ff:	b8 16 00 00 00       	mov    $0x16,%eax                     
      return ENOTSUP;                                                 
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  110604:	c9                   	leave                                 
  110605:	c3                   	ret                                   
  110606:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( contentionscope ) {                                        
  110608:	b8 86 00 00 00       	mov    $0x86,%eax                     
      return ENOTSUP;                                                 
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  11060d:	c9                   	leave                                 
  11060e:	c3                   	ret                                   
                                                                      

00110610 <pthread_attr_setstackaddr>: int pthread_attr_setstackaddr( pthread_attr_t *attr, void *stackaddr ) {
  110610:	55                   	push   %ebp                           
  110611:	89 e5                	mov    %esp,%ebp                      
  110613:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || !attr->is_initialized )                               
  110616:	85 c0                	test   %eax,%eax                      
  110618:	74 12                	je     11062c <pthread_attr_setstackaddr+0x1c>
  11061a:	8b 10                	mov    (%eax),%edx                    
  11061c:	85 d2                	test   %edx,%edx                      
  11061e:	74 0c                	je     11062c <pthread_attr_setstackaddr+0x1c>
    return EINVAL;                                                    
                                                                      
  attr->stackaddr = stackaddr;                                        
  110620:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  110623:	89 50 04             	mov    %edx,0x4(%eax)                 
  110626:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  110628:	c9                   	leave                                 
  110629:	c3                   	ret                                   
  11062a:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  attr->stackaddr = stackaddr;                                        
  return 0;                                                           
  11062c:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  110631:	c9                   	leave                                 
  110632:	c3                   	ret                                   
                                                                      

00112a30 <pthread_attr_setstacksize>: int pthread_attr_setstacksize( pthread_attr_t *attr, size_t stacksize ) {
  112a30:	55                   	push   %ebp                           
  112a31:	89 e5                	mov    %esp,%ebp                      
  112a33:	8b 45 08             	mov    0x8(%ebp),%eax                 
  112a36:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  112a39:	85 c0                	test   %eax,%eax                      
  112a3b:	74 23                	je     112a60 <pthread_attr_setstacksize+0x30>
  112a3d:	8b 08                	mov    (%eax),%ecx                    
  112a3f:	85 c9                	test   %ecx,%ecx                      
  112a41:	74 1d                	je     112a60 <pthread_attr_setstacksize+0x30>
    return EINVAL;                                                    
                                                                      
  if (stacksize < PTHREAD_MINIMUM_STACK_SIZE)                         
  112a43:	8b 0d 78 67 12 00    	mov    0x126778,%ecx                  
  112a49:	d1 e1                	shl    %ecx                           
  112a4b:	39 d1                	cmp    %edx,%ecx                      
  112a4d:	77 09                	ja     112a58 <pthread_attr_setstacksize+0x28>
    attr->stacksize = PTHREAD_MINIMUM_STACK_SIZE;                     
  else                                                                
    attr->stacksize = stacksize;                                      
  112a4f:	89 50 08             	mov    %edx,0x8(%eax)                 
  112a52:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  112a54:	c9                   	leave                                 
  112a55:	c3                   	ret                                   
  112a56:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  if (stacksize < PTHREAD_MINIMUM_STACK_SIZE)                         
    attr->stacksize = PTHREAD_MINIMUM_STACK_SIZE;                     
  112a58:	89 48 08             	mov    %ecx,0x8(%eax)                 
  112a5b:	31 c0                	xor    %eax,%eax                      
  else                                                                
    attr->stacksize = stacksize;                                      
  return 0;                                                           
}                                                                     
  112a5d:	c9                   	leave                                 
  112a5e:	c3                   	ret                                   
  112a5f:	90                   	nop                                   
    return EINVAL;                                                    
                                                                      
  if (stacksize < PTHREAD_MINIMUM_STACK_SIZE)                         
    attr->stacksize = PTHREAD_MINIMUM_STACK_SIZE;                     
  else                                                                
    attr->stacksize = stacksize;                                      
  112a60:	b8 16 00 00 00       	mov    $0x16,%eax                     
  return 0;                                                           
}                                                                     
  112a65:	c9                   	leave                                 
  112a66:	c3                   	ret                                   
                                                                      

0010bf5c <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
  10bf5c:	55                   	push   %ebp                           
  10bf5d:	89 e5                	mov    %esp,%ebp                      
  10bf5f:	57                   	push   %edi                           
  10bf60:	56                   	push   %esi                           
  10bf61:	53                   	push   %ebx                           
  10bf62:	83 ec 2c             	sub    $0x2c,%esp                     
  10bf65:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bf68:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10bf6b:	8b 75 10             	mov    0x10(%ebp),%esi                
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
  10bf6e:	85 db                	test   %ebx,%ebx                      
  10bf70:	0f 84 82 00 00 00    	je     10bff8 <pthread_barrier_init+0x9c>
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
  10bf76:	85 f6                	test   %esi,%esi                      
  10bf78:	74 7e                	je     10bff8 <pthread_barrier_init+0x9c>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10bf7a:	85 ff                	test   %edi,%edi                      
  10bf7c:	0f 84 92 00 00 00    	je     10c014 <pthread_barrier_init+0xb8><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10bf82:	8b 17                	mov    (%edi),%edx                    
  10bf84:	85 d2                	test   %edx,%edx                      
  10bf86:	74 70                	je     10bff8 <pthread_barrier_init+0x9c>
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10bf88:	8b 47 04             	mov    0x4(%edi),%eax                 
  10bf8b:	85 c0                	test   %eax,%eax                      
  10bf8d:	75 69                	jne    10bff8 <pthread_barrier_init+0x9c><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  10bf8f:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
  the_attributes.maximum_count = count;                               
  10bf96:	89 75 e4             	mov    %esi,-0x1c(%ebp)               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bf99:	a1 18 ae 12 00       	mov    0x12ae18,%eax                  
  10bf9e:	40                   	inc    %eax                           
  10bf9f:	a3 18 ae 12 00       	mov    %eax,0x12ae18                  
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
  10bfa4:	83 ec 0c             	sub    $0xc,%esp                      
  10bfa7:	68 60 b2 12 00       	push   $0x12b260                      
  10bfac:	e8 8b 20 00 00       	call   10e03c <_Objects_Allocate>     
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
  10bfb1:	83 c4 10             	add    $0x10,%esp                     
  10bfb4:	85 c0                	test   %eax,%eax                      
  10bfb6:	74 50                	je     10c008 <pthread_barrier_init+0xac><== NEVER TAKEN
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  10bfb8:	83 ec 08             	sub    $0x8,%esp                      
  10bfbb:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10bfbe:	52                   	push   %edx                           
  10bfbf:	8d 50 10             	lea    0x10(%eax),%edx                
  10bfc2:	52                   	push   %edx                           
  10bfc3:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10bfc6:	e8 a5 16 00 00       	call   10d670 <_CORE_barrier_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10bfcb:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10bfce:	8b 50 08             	mov    0x8(%eax),%edx                 
  10bfd1:	0f b7 f2             	movzwl %dx,%esi                       
  10bfd4:	8b 0d 7c b2 12 00    	mov    0x12b27c,%ecx                  
  10bfda:	89 04 b1             	mov    %eax,(%ecx,%esi,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10bfdd:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  10bfe4:	89 13                	mov    %edx,(%ebx)                    
  _Thread_Enable_dispatch();                                          
  10bfe6:	e8 75 2d 00 00       	call   10ed60 <_Thread_Enable_dispatch>
  10bfeb:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
  10bfed:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10bff0:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bff3:	5b                   	pop    %ebx                           
  10bff4:	5e                   	pop    %esi                           
  10bff5:	5f                   	pop    %edi                           
  10bff6:	c9                   	leave                                 
  10bff7:	c3                   	ret                                   
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
  10bff8:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10bffd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c000:	5b                   	pop    %ebx                           
  10c001:	5e                   	pop    %esi                           
  10c002:	5f                   	pop    %edi                           
  10c003:	c9                   	leave                                 
  10c004:	c3                   	ret                                   
  10c005:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
  10c008:	e8 53 2d 00 00       	call   10ed60 <_Thread_Enable_dispatch>
  10c00d:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    return EAGAIN;                                                    
  10c012:	eb e9                	jmp    10bffd <pthread_barrier_init+0xa1>
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
  10c014:	83 ec 0c             	sub    $0xc,%esp                      
  10c017:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10c01a:	57                   	push   %edi                           
  10c01b:	e8 80 fe ff ff       	call   10bea0 <pthread_barrierattr_init>
  10c020:	83 c4 10             	add    $0x10,%esp                     
  10c023:	e9 5a ff ff ff       	jmp    10bf82 <pthread_barrier_init+0x26>
                                                                      

0010c028 <pthread_barrier_wait>: */ int pthread_barrier_wait( pthread_barrier_t *barrier ) {
  10c028:	55                   	push   %ebp                           
  10c029:	89 e5                	mov    %esp,%ebp                      
  10c02b:	83 ec 18             	sub    $0x18,%esp                     
  10c02e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_Barrier_Control   *the_barrier = NULL;                        
  Objects_Locations        location;                                  
                                                                      
  if ( !barrier )                                                     
  10c031:	85 c0                	test   %eax,%eax                      
  10c033:	74 4f                	je     10c084 <pthread_barrier_wait+0x5c>
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Get (      
  pthread_barrier_t *barrier,                                         
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Barrier_Control *) _Objects_Get(                      
  10c035:	51                   	push   %ecx                           
  10c036:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10c039:	52                   	push   %edx                           
  10c03a:	ff 30                	pushl  (%eax)                         
  10c03c:	68 60 b2 12 00       	push   $0x12b260                      
  10c041:	e8 a6 24 00 00       	call   10e4ec <_Objects_Get>          
    return EINVAL;                                                    
                                                                      
  the_barrier = _POSIX_Barrier_Get( barrier, &location );             
  switch ( location ) {                                               
  10c046:	83 c4 10             	add    $0x10,%esp                     
  10c049:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10c04c:	85 d2                	test   %edx,%edx                      
  10c04e:	75 34                	jne    10c084 <pthread_barrier_wait+0x5c>
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_barrier_Wait(                                             
  10c050:	83 ec 0c             	sub    $0xc,%esp                      
  10c053:	6a 00                	push   $0x0                           
  10c055:	6a 00                	push   $0x0                           
  10c057:	6a 01                	push   $0x1                           
  10c059:	ff 70 08             	pushl  0x8(%eax)                      
  10c05c:	83 c0 10             	add    $0x10,%eax                     
  10c05f:	50                   	push   %eax                           
  10c060:	e8 3f 16 00 00       	call   10d6a4 <_CORE_barrier_Wait>    
        the_barrier->Object.id,                                       
        true,                                                         
        0,                                                            
        NULL                                                          
      );                                                              
      _Thread_Enable_dispatch();                                      
  10c065:	83 c4 20             	add    $0x20,%esp                     
  10c068:	e8 f3 2c 00 00       	call   10ed60 <_Thread_Enable_dispatch>
      return _POSIX_Barrier_Translate_core_barrier_return_code(       
  10c06d:	83 ec 0c             	sub    $0xc,%esp                      
  10c070:	a1 d8 ae 12 00       	mov    0x12aed8,%eax                  
  10c075:	ff 70 34             	pushl  0x34(%eax)                     
  10c078:	e8 8f 66 00 00       	call   11270c <_POSIX_Barrier_Translate_core_barrier_return_code>
  10c07d:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c080:	c9                   	leave                                 
  10c081:	c3                   	ret                                   
  10c082:	66 90                	xchg   %ax,%ax                        
        true,                                                         
        0,                                                            
        NULL                                                          
      );                                                              
      _Thread_Enable_dispatch();                                      
      return _POSIX_Barrier_Translate_core_barrier_return_code(       
  10c084:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c089:	c9                   	leave                                 
  10c08a:	c3                   	ret                                   
                                                                      

0010be58 <pthread_barrierattr_destroy>: */ int pthread_barrierattr_destroy( pthread_barrierattr_t *attr ) {
  10be58:	55                   	push   %ebp                           
  10be59:	89 e5                	mov    %esp,%ebp                      
  10be5b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || attr->is_initialized == false )                       
  10be5e:	85 c0                	test   %eax,%eax                      
  10be60:	74 12                	je     10be74 <pthread_barrierattr_destroy+0x1c>
  10be62:	8b 10                	mov    (%eax),%edx                    
  10be64:	85 d2                	test   %edx,%edx                      
  10be66:	74 0c                	je     10be74 <pthread_barrierattr_destroy+0x1c>
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10be68:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  10be6e:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10be70:	c9                   	leave                                 
  10be71:	c3                   	ret                                   
  10be72:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
  10be74:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10be79:	c9                   	leave                                 
  10be7a:	c3                   	ret                                   
                                                                      

0010b738 <pthread_cancel>: */ int pthread_cancel( pthread_t thread ) {
  10b738:	55                   	push   %ebp                           
  10b739:	89 e5                	mov    %esp,%ebp                      
  10b73b:	83 ec 18             	sub    $0x18,%esp                     
                                                                      
  /*                                                                  
   *  Don't even think about deleting a resource from an ISR.         
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
  10b73e:	a1 f4 aa 12 00       	mov    0x12aaf4,%eax                  
  10b743:	85 c0                	test   %eax,%eax                      
  10b745:	74 09                	je     10b750 <pthread_cancel+0x18>   
  10b747:	b8 47 00 00 00       	mov    $0x47,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b74c:	c9                   	leave                                 
  10b74d:	c3                   	ret                                   
  10b74e:	66 90                	xchg   %ax,%ax                        
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
    return EPROTO;                                                    
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  10b750:	83 ec 08             	sub    $0x8,%esp                      
  10b753:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b756:	50                   	push   %eax                           
  10b757:	ff 75 08             	pushl  0x8(%ebp)                      
  10b75a:	e8 55 29 00 00       	call   10e0b4 <_Thread_Get>           
  switch ( location ) {                                               
  10b75f:	83 c4 10             	add    $0x10,%esp                     
  10b762:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b765:	85 d2                	test   %edx,%edx                      
  10b767:	75 23                	jne    10b78c <pthread_cancel+0x54>   
                                                                      
    case OBJECTS_LOCAL:                                               
      thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];
                                                                      
      thread_support->cancelation_requested = 1;                      
  10b769:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
  10b76f:	c7 82 dc 00 00 00 01 	movl   $0x1,0xdc(%edx)                
  10b776:	00 00 00                                                    
                                                                      
      /* This enables dispatch implicitly */                          
      _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( the_thread );
  10b779:	83 ec 0c             	sub    $0xc,%esp                      
  10b77c:	50                   	push   %eax                           
  10b77d:	e8 0a 60 00 00       	call   11178c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>
  10b782:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10b784:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b787:	c9                   	leave                                 
  10b788:	c3                   	ret                                   
  10b789:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
    return EPROTO;                                                    
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
  10b78c:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10b791:	c9                   	leave                                 
  10b792:	c3                   	ret                                   
                                                                      

0010b5b8 <pthread_cleanup_pop>: */ void pthread_cleanup_pop( int execute ) {
  10b5b8:	55                   	push   %ebp                           
  10b5b9:	89 e5                	mov    %esp,%ebp                      
  10b5bb:	57                   	push   %edi                           
  10b5bc:	56                   	push   %esi                           
  10b5bd:	53                   	push   %ebx                           
  10b5be:	83 ec 1c             	sub    $0x1c,%esp                     
  10b5c1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  POSIX_Cancel_Handler_control      tmp_handler;                      
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10b5c4:	a1 78 9c 12 00       	mov    0x129c78,%eax                  
  10b5c9:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b5cf:	8b 15 b8 9b 12 00    	mov    0x129bb8,%edx                  
  10b5d5:	42                   	inc    %edx                           
  10b5d6:	89 15 b8 9b 12 00    	mov    %edx,0x129bb8                  
   * ensure that we do not get prempted and deleted while we are holding
   * memory that needs to be freed.                                   
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
  _ISR_Disable( level );                                              
  10b5dc:	9c                   	pushf                                 
  10b5dd:	fa                   	cli                                   
  10b5de:	5e                   	pop    %esi                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
  10b5df:	8d 90 e4 00 00 00    	lea    0xe4(%eax),%edx                
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
  10b5e5:	39 90 e0 00 00 00    	cmp    %edx,0xe0(%eax)                
  10b5eb:	74 4f                	je     10b63c <pthread_cleanup_pop+0x84>
      _Thread_Enable_dispatch();                                      
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
                                                                      
    handler = (POSIX_Cancel_Handler_control *)                        
  10b5ed:	8b 42 04             	mov    0x4(%edx),%eax                 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  10b5f0:	8b 08                	mov    (%eax),%ecx                    
  previous       = the_node->previous;                                
  10b5f2:	8b 50 04             	mov    0x4(%eax),%edx                 
  next->previous = previous;                                          
  10b5f5:	89 51 04             	mov    %edx,0x4(%ecx)                 
  previous->next = next;                                              
  10b5f8:	89 0a                	mov    %ecx,(%edx)                    
        _Chain_Tail( handler_stack )->previous;                       
    _Chain_Extract_unprotected( &handler->Node );                     
                                                                      
  _ISR_Enable( level );                                               
  10b5fa:	56                   	push   %esi                           
  10b5fb:	9d                   	popf                                  
                                                                      
  tmp_handler = *handler;                                             
  10b5fc:	8d 7d d8             	lea    -0x28(%ebp),%edi               
  10b5ff:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10b604:	89 c6                	mov    %eax,%esi                      
  10b606:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10b608:	8b 75 e0             	mov    -0x20(%ebp),%esi               
  10b60b:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
                                                                      
  _Workspace_Free( handler );                                         
  10b60e:	83 ec 0c             	sub    $0xc,%esp                      
  10b611:	50                   	push   %eax                           
  10b612:	e8 bd 38 00 00       	call   10eed4 <_Workspace_Free>       
                                                                      
  _Thread_Enable_dispatch();                                          
  10b617:	e8 fc 26 00 00       	call   10dd18 <_Thread_Enable_dispatch>
                                                                      
  if ( execute )                                                      
  10b61c:	83 c4 10             	add    $0x10,%esp                     
  10b61f:	85 db                	test   %ebx,%ebx                      
  10b621:	75 09                	jne    10b62c <pthread_cleanup_pop+0x74>
    (*tmp_handler.routine)( tmp_handler.arg );                        
}                                                                     
  10b623:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b626:	5b                   	pop    %ebx                           
  10b627:	5e                   	pop    %esi                           
  10b628:	5f                   	pop    %edi                           
  10b629:	c9                   	leave                                 
  10b62a:	c3                   	ret                                   
  10b62b:	90                   	nop                                   
  _Workspace_Free( handler );                                         
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( execute )                                                      
    (*tmp_handler.routine)( tmp_handler.arg );                        
  10b62c:	89 7d 08             	mov    %edi,0x8(%ebp)                 
  10b62f:	89 f0                	mov    %esi,%eax                      
}                                                                     
  10b631:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b634:	5b                   	pop    %ebx                           
  10b635:	5e                   	pop    %esi                           
  10b636:	5f                   	pop    %edi                           
  10b637:	c9                   	leave                                 
  _Workspace_Free( handler );                                         
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( execute )                                                      
    (*tmp_handler.routine)( tmp_handler.arg );                        
  10b638:	ff e0                	jmp    *%eax                          
  10b63a:	66 90                	xchg   %ax,%ax                        
                                                                      
  _Thread_Disable_dispatch();                                         
  _ISR_Disable( level );                                              
                                                                      
    if ( _Chain_Is_empty( handler_stack ) ) {                         
      _Thread_Enable_dispatch();                                      
  10b63c:	e8 d7 26 00 00       	call   10dd18 <_Thread_Enable_dispatch>
      _ISR_Enable( level );                                           
  10b641:	56                   	push   %esi                           
  10b642:	9d                   	popf                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( execute )                                                      
    (*tmp_handler.routine)( tmp_handler.arg );                        
}                                                                     
  10b643:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10b646:	5b                   	pop    %ebx                           
  10b647:	5e                   	pop    %esi                           
  10b648:	5f                   	pop    %edi                           
  10b649:	c9                   	leave                                 
  10b64a:	c3                   	ret                                   
                                                                      

0010b964 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
  10b964:	55                   	push   %ebp                           
  10b965:	89 e5                	mov    %esp,%ebp                      
  10b967:	56                   	push   %esi                           
  10b968:	53                   	push   %ebx                           
  10b969:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10b96c:	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 )                                                     
  10b96f:	85 db                	test   %ebx,%ebx                      
  10b971:	74 4d                	je     10b9c0 <pthread_cleanup_push+0x5c>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b973:	a1 98 b2 12 00       	mov    0x12b298,%eax                  
  10b978:	40                   	inc    %eax                           
  10b979:	a3 98 b2 12 00       	mov    %eax,0x12b298                  
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
  10b97e:	83 ec 0c             	sub    $0xc,%esp                      
  10b981:	6a 10                	push   $0x10                          
  10b983:	e8 ac 40 00 00       	call   10fa34 <_Workspace_Allocate>   
                                                                      
  if ( handler ) {                                                    
  10b988:	83 c4 10             	add    $0x10,%esp                     
  10b98b:	85 c0                	test   %eax,%eax                      
  10b98d:	74 25                	je     10b9b4 <pthread_cleanup_push+0x50><== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
  10b98f:	8b 15 58 b3 12 00    	mov    0x12b358,%edx                  
  10b995:	8b 92 f8 00 00 00    	mov    0xf8(%edx),%edx                
  10b99b:	81 c2 e0 00 00 00    	add    $0xe0,%edx                     
                                                                      
    handler->routine = routine;                                       
  10b9a1:	89 58 08             	mov    %ebx,0x8(%eax)                 
    handler->arg = arg;                                               
  10b9a4:	89 70 0c             	mov    %esi,0xc(%eax)                 
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  10b9a7:	83 ec 08             	sub    $0x8,%esp                      
  10b9aa:	50                   	push   %eax                           
  10b9ab:	52                   	push   %edx                           
  10b9ac:	e8 c3 17 00 00       	call   10d174 <_Chain_Append>         
  10b9b1:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
  10b9b4:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b9b7:	5b                   	pop    %ebx                           
  10b9b8:	5e                   	pop    %esi                           
  10b9b9:	c9                   	leave                                 
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
  10b9ba:	e9 4d 2e 00 00       	jmp    10e80c <_Thread_Enable_dispatch>
  10b9bf:	90                   	nop                                   
}                                                                     
  10b9c0:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10b9c3:	5b                   	pop    %ebx                           
  10b9c4:	5e                   	pop    %esi                           
  10b9c5:	c9                   	leave                                 
  10b9c6:	c3                   	ret                                   
                                                                      

0010c650 <pthread_cond_destroy>: */ int pthread_cond_destroy( pthread_cond_t *cond ) {
  10c650:	55                   	push   %ebp                           
  10c651:	89 e5                	mov    %esp,%ebp                      
  10c653:	53                   	push   %ebx                           
  10c654:	83 ec 1c             	sub    $0x1c,%esp                     
  POSIX_Condition_variables_Control *the_cond;                        
  Objects_Locations                  location;                        
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  10c657:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c65a:	50                   	push   %eax                           
  10c65b:	ff 75 08             	pushl  0x8(%ebp)                      
  10c65e:	e8 65 00 00 00       	call   10c6c8 <_POSIX_Condition_variables_Get>
  10c663:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10c665:	83 c4 10             	add    $0x10,%esp                     
  10c668:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10c66b:	85 c9                	test   %ecx,%ecx                      
  10c66d:	75 25                	jne    10c694 <pthread_cond_destroy+0x44>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( _Thread_queue_First( &the_cond->Wait_queue ) ) {           
  10c66f:	83 ec 0c             	sub    $0xc,%esp                      
  10c672:	8d 40 18             	lea    0x18(%eax),%eax                
  10c675:	50                   	push   %eax                           
  10c676:	e8 e1 3b 00 00       	call   11025c <_Thread_queue_First>   
  10c67b:	83 c4 10             	add    $0x10,%esp                     
  10c67e:	85 c0                	test   %eax,%eax                      
  10c680:	74 1e                	je     10c6a0 <pthread_cond_destroy+0x50>
        _Thread_Enable_dispatch();                                    
  10c682:	e8 69 34 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c687:	b8 10 00 00 00       	mov    $0x10,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c68c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c68f:	c9                   	leave                                 
  10c690:	c3                   	ret                                   
  10c691:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  POSIX_Condition_variables_Control *the_cond;                        
  Objects_Locations                  location;                        
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
  switch ( location ) {                                               
  10c694:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c699:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c69c:	c9                   	leave                                 
  10c69d:	c3                   	ret                                   
  10c69e:	66 90                	xchg   %ax,%ax                        
      if ( _Thread_queue_First( &the_cond->Wait_queue ) ) {           
        _Thread_Enable_dispatch();                                    
        return EBUSY;                                                 
      }                                                               
                                                                      
      _Objects_Close(                                                 
  10c6a0:	83 ec 08             	sub    $0x8,%esp                      
  10c6a3:	53                   	push   %ebx                           
  10c6a4:	68 00 c4 12 00       	push   $0x12c400                      
  10c6a9:	e8 9a 27 00 00       	call   10ee48 <_Objects_Close>        
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (           
  POSIX_Condition_variables_Control *the_condition_variable           
)                                                                     
{                                                                     
  _Objects_Free(                                                      
  10c6ae:	58                   	pop    %eax                           
  10c6af:	5a                   	pop    %edx                           
  10c6b0:	53                   	push   %ebx                           
  10c6b1:	68 00 c4 12 00       	push   $0x12c400                      
  10c6b6:	e8 91 2a 00 00       	call   10f14c <_Objects_Free>         
        &_POSIX_Condition_variables_Information,                      
        &the_cond->Object                                             
      );                                                              
                                                                      
      _POSIX_Condition_variables_Free( the_cond );                    
      _Thread_Enable_dispatch();                                      
  10c6bb:	e8 30 34 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c6c0:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10c6c2:	83 c4 10             	add    $0x10,%esp                     
  10c6c5:	eb d2                	jmp    10c699 <pthread_cond_destroy+0x49>
                                                                      

0010c71c <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
  10c71c:	55                   	push   %ebp                           
  10c71d:	89 e5                	mov    %esp,%ebp                      
  10c71f:	53                   	push   %ebx                           
  10c720:	83 ec 14             	sub    $0x14,%esp                     
  10c723:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  10c726:	85 db                	test   %ebx,%ebx                      
  10c728:	0f 84 86 00 00 00    	je     10c7b4 <pthread_cond_init+0x98>
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10c72e:	83 7b 04 01          	cmpl   $0x1,0x4(%ebx)                 
  10c732:	74 06                	je     10c73a <pthread_cond_init+0x1e><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
  10c734:	8b 03                	mov    (%ebx),%eax                    
  10c736:	85 c0                	test   %eax,%eax                      
  10c738:	75 0a                	jne    10c744 <pthread_cond_init+0x28>
                                                                      
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
  10c73a:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10c73f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c742:	c9                   	leave                                 
  10c743:	c3                   	ret                                   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c744:	a1 18 bf 12 00       	mov    0x12bf18,%eax                  
  10c749:	40                   	inc    %eax                           
  10c74a:	a3 18 bf 12 00       	mov    %eax,0x12bf18                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
  10c74f:	83 ec 0c             	sub    $0xc,%esp                      
  10c752:	68 00 c4 12 00       	push   $0x12c400                      
  10c757:	e8 70 26 00 00       	call   10edcc <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
  10c75c:	83 c4 10             	add    $0x10,%esp                     
  10c75f:	85 c0                	test   %eax,%eax                      
  10c761:	74 5d                	je     10c7c0 <pthread_cond_init+0xa4>
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
  10c763:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10c766:	89 50 10             	mov    %edx,0x10(%eax)                
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
  10c769:	c7 40 14 00 00 00 00 	movl   $0x0,0x14(%eax)                
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
  10c770:	6a 74                	push   $0x74                          
  10c772:	68 00 08 00 00       	push   $0x800                         
  10c777:	6a 00                	push   $0x0                           
  10c779:	8d 50 18             	lea    0x18(%eax),%edx                
  10c77c:	52                   	push   %edx                           
  10c77d:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  10c780:	e8 57 3b 00 00       	call   1102dc <_Thread_queue_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c785:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10c788:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c78b:	0f b7 da             	movzwl %dx,%ebx                       
  10c78e:	8b 0d 1c c4 12 00    	mov    0x12c41c,%ecx                  
  10c794:	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;                                   
  10c797:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
  10c79e:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c7a1:	89 10                	mov    %edx,(%eax)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10c7a3:	e8 48 33 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c7a8:	31 c0                	xor    %eax,%eax                      
                                                                      
  return 0;                                                           
  10c7aa:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c7ad:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c7b0:	c9                   	leave                                 
  10c7b1:	c3                   	ret                                   
  10c7b2:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  10c7b4:	bb 88 53 12 00       	mov    $0x125388,%ebx                 
  10c7b9:	e9 70 ff ff ff       	jmp    10c72e <pthread_cond_init+0x12>
  10c7be:	66 90                	xchg   %ax,%ax                        
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
  10c7c0:	e8 2b 33 00 00       	call   10faf0 <_Thread_Enable_dispatch>
  10c7c5:	b8 0c 00 00 00       	mov    $0xc,%eax                      
    return ENOMEM;                                                    
  10c7ca:	e9 70 ff ff ff       	jmp    10c73f <pthread_cond_init+0x23>
                                                                      

0010c5b4 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
  10c5b4:	55                   	push   %ebp                           
  10c5b5:	89 e5                	mov    %esp,%ebp                      
  10c5b7:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || attr->is_initialized == false )                       
  10c5ba:	85 c0                	test   %eax,%eax                      
  10c5bc:	74 12                	je     10c5d0 <pthread_condattr_destroy+0x1c>
  10c5be:	8b 10                	mov    (%eax),%edx                    
  10c5c0:	85 d2                	test   %edx,%edx                      
  10c5c2:	74 0c                	je     10c5d0 <pthread_condattr_destroy+0x1c><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10c5c4:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  10c5ca:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10c5cc:	c9                   	leave                                 
  10c5cd:	c3                   	ret                                   
  10c5ce:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
  10c5d0:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10c5d5:	c9                   	leave                                 
  10c5d6:	c3                   	ret                                   
                                                                      

0010c5d8 <pthread_condattr_getpshared>: int pthread_condattr_getpshared( const pthread_condattr_t *attr, int *pshared ) {
  10c5d8:	55                   	push   %ebp                           
  10c5d9:	89 e5                	mov    %esp,%ebp                      
  10c5db:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr )                                                        
  10c5de:	85 c0                	test   %eax,%eax                      
  10c5e0:	74 0e                	je     10c5f0 <pthread_condattr_getpshared+0x18>
    return EINVAL;                                                    
                                                                      
  *pshared = attr->process_shared;                                    
  10c5e2:	8b 50 04             	mov    0x4(%eax),%edx                 
  10c5e5:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c5e8:	89 10                	mov    %edx,(%eax)                    
  10c5ea:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10c5ec:	c9                   	leave                                 
  10c5ed:	c3                   	ret                                   
  10c5ee:	66 90                	xchg   %ax,%ax                        
int pthread_condattr_getpshared(                                      
  const pthread_condattr_t *attr,                                     
  int                      *pshared                                   
)                                                                     
{                                                                     
  if ( !attr )                                                        
  10c5f0:	b0 16                	mov    $0x16,%al                      
    return EINVAL;                                                    
                                                                      
  *pshared = attr->process_shared;                                    
  return 0;                                                           
}                                                                     
  10c5f2:	c9                   	leave                                 
  10c5f3:	c3                   	ret                                   
                                                                      

0010c618 <pthread_condattr_setpshared>: int pthread_condattr_setpshared( pthread_condattr_t *attr, int pshared ) {
  10c618:	55                   	push   %ebp                           
  10c619:	89 e5                	mov    %esp,%ebp                      
  10c61b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c61e:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr )                                                        
  10c621:	85 c0                	test   %eax,%eax                      
  10c623:	74 05                	je     10c62a <pthread_condattr_setpshared+0x12>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10c625:	83 fa 01             	cmp    $0x1,%edx                      
  10c628:	76 0a                	jbe    10c634 <pthread_condattr_setpshared+0x1c>
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
  10c62a:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10c62f:	c9                   	leave                                 
  10c630:	c3                   	ret                                   
  10c631:	8d 76 00             	lea    0x0(%esi),%esi                 
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10c634:	89 50 04             	mov    %edx,0x4(%eax)                 
  10c637:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10c639:	c9                   	leave                                 
  10c63a:	c3                   	ret                                   
                                                                      

0010bccc <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
  10bccc:	55                   	push   %ebp                           
  10bccd:	89 e5                	mov    %esp,%ebp                      
  10bccf:	57                   	push   %edi                           
  10bcd0:	56                   	push   %esi                           
  10bcd1:	53                   	push   %ebx                           
  10bcd2:	83 ec 5c             	sub    $0x5c,%esp                     
  10bcd5:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
  10bcd8:	8b 7d 10             	mov    0x10(%ebp),%edi                
  10bcdb:	85 ff                	test   %edi,%edi                      
  10bcdd:	0f 84 81 01 00 00    	je     10be64 <pthread_create+0x198>  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
  10bce3:	85 db                	test   %ebx,%ebx                      
  10bce5:	74 65                	je     10bd4c <pthread_create+0x80>   
                                                                      
  if ( !the_attr->is_initialized )                                    
  10bce7:	8b 33                	mov    (%ebx),%esi                    
  10bce9:	85 f6                	test   %esi,%esi                      
  10bceb:	74 1f                	je     10bd0c <pthread_create+0x40>   
   *  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) )
  10bced:	8b 4b 04             	mov    0x4(%ebx),%ecx                 
  10bcf0:	85 c9                	test   %ecx,%ecx                      
  10bcf2:	74 0b                	je     10bcff <pthread_create+0x33>   
  10bcf4:	8b 43 08             	mov    0x8(%ebx),%eax                 
  10bcf7:	3b 05 78 67 12 00    	cmp    0x126778,%eax                  
  10bcfd:	72 0d                	jb     10bd0c <pthread_create+0x40>   
   *  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 ) {                                 
  10bcff:	8b 43 10             	mov    0x10(%ebx),%eax                
  10bd02:	83 f8 01             	cmp    $0x1,%eax                      
  10bd05:	74 4d                	je     10bd54 <pthread_create+0x88>   
  10bd07:	83 f8 02             	cmp    $0x2,%eax                      
  10bd0a:	74 10                	je     10bd1c <pthread_create+0x50>   
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
  10bd0c:	ba 16 00 00 00       	mov    $0x16,%edx                     
}                                                                     
  10bd11:	89 d0                	mov    %edx,%eax                      
  10bd13:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd16:	5b                   	pop    %ebx                           
  10bd17:	5e                   	pop    %esi                           
  10bd18:	5f                   	pop    %edi                           
  10bd19:	c9                   	leave                                 
  10bd1a:	c3                   	ret                                   
  10bd1b:	90                   	nop                                   
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
  10bd1c:	8b 43 14             	mov    0x14(%ebx),%eax                
  10bd1f:	89 45 b0             	mov    %eax,-0x50(%ebp)               
      schedparam  = the_attr->schedparam;                             
  10bd22:	8d 4d c4             	lea    -0x3c(%ebp),%ecx               
  10bd25:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  10bd28:	8d 73 18             	lea    0x18(%ebx),%esi                
  10bd2b:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10bd30:	8b 7d b4             	mov    -0x4c(%ebp),%edi               
  10bd33:	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 )           
  10bd35:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  10bd38:	85 d2                	test   %edx,%edx                      
  10bd3a:	74 49                	je     10bd85 <pthread_create+0xb9>   <== ALWAYS TAKEN
  10bd3c:	ba 86 00 00 00       	mov    $0x86,%edx                     
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
  10bd41:	89 d0                	mov    %edx,%eax                      
  10bd43:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd46:	5b                   	pop    %ebx                           
  10bd47:	5e                   	pop    %esi                           
  10bd48:	5f                   	pop    %edi                           
  10bd49:	c9                   	leave                                 
  10bd4a:	c3                   	ret                                   
  10bd4b:	90                   	nop                                   
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
  10bd4c:	bb 00 3e 12 00       	mov    $0x123e00,%ebx                 
  10bd51:	eb 94                	jmp    10bce7 <pthread_create+0x1b>   
  10bd53:	90                   	nop                                   
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
  10bd54:	a1 18 aa 12 00       	mov    0x12aa18,%eax                  
  10bd59:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
      schedpolicy = api->schedpolicy;                                 
  10bd5f:	8b 86 80 00 00 00    	mov    0x80(%esi),%eax                
  10bd65:	89 45 b0             	mov    %eax,-0x50(%ebp)               
      schedparam  = api->schedparam;                                  
  10bd68:	8d 4d c4             	lea    -0x3c(%ebp),%ecx               
  10bd6b:	89 4d b4             	mov    %ecx,-0x4c(%ebp)               
  10bd6e:	81 c6 84 00 00 00    	add    $0x84,%esi                     
  10bd74:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10bd79:	8b 7d b4             	mov    -0x4c(%ebp),%edi               
  10bd7c:	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 )           
  10bd7e:	8b 53 0c             	mov    0xc(%ebx),%edx                 
  10bd81:	85 d2                	test   %edx,%edx                      
  10bd83:	75 b7                	jne    10bd3c <pthread_create+0x70>   
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
  10bd85:	83 ec 0c             	sub    $0xc,%esp                      
  10bd88:	ff 75 c4             	pushl  -0x3c(%ebp)                    
  10bd8b:	e8 3c 6b 00 00       	call   1128cc <_POSIX_Priority_Is_valid>
  10bd90:	83 c4 10             	add    $0x10,%esp                     
  10bd93:	84 c0                	test   %al,%al                        
  10bd95:	0f 84 71 ff ff ff    	je     10bd0c <pthread_create+0x40>   <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
  10bd9b:	8b 7d c4             	mov    -0x3c(%ebp),%edi               
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
  10bd9e:	0f b6 35 7c 67 12 00 	movzbl 0x12677c,%esi                  
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
  10bda5:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bda8:	50                   	push   %eax                           
  10bda9:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10bdac:	50                   	push   %eax                           
  10bdad:	ff 75 b4             	pushl  -0x4c(%ebp)                    
  10bdb0:	ff 75 b0             	pushl  -0x50(%ebp)                    
  10bdb3:	e8 30 6b 00 00       	call   1128e8 <_POSIX_Thread_Translate_sched_param>
  10bdb8:	89 c2                	mov    %eax,%edx                      
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10bdba:	83 c4 10             	add    $0x10,%esp                     
  10bdbd:	85 c0                	test   %eax,%eax                      
  10bdbf:	0f 85 4c ff ff ff    	jne    10bd11 <pthread_create+0x45>   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10bdc5:	83 ec 0c             	sub    $0xc,%esp                      
  10bdc8:	ff 35 10 aa 12 00    	pushl  0x12aa10                       
  10bdce:	89 45 a4             	mov    %eax,-0x5c(%ebp)               
  10bdd1:	e8 e6 17 00 00       	call   10d5bc <_API_Mutex_Lock>       
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
  10bdd6:	c7 04 24 20 ac 12 00 	movl   $0x12ac20,(%esp)               
  10bddd:	e8 c6 21 00 00       	call   10dfa8 <_Objects_Allocate>     
  10bde2:	89 45 ac             	mov    %eax,-0x54(%ebp)               
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
  10bde5:	83 c4 10             	add    $0x10,%esp                     
  10bde8:	85 c0                	test   %eax,%eax                      
  10bdea:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10bded:	0f 84 06 01 00 00    	je     10bef9 <pthread_create+0x22d>  
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
  10bdf3:	8b 4b 08             	mov    0x8(%ebx),%ecx                 
  10bdf6:	50                   	push   %eax                           
  10bdf7:	6a 00                	push   $0x0                           
  10bdf9:	6a 00                	push   $0x0                           
  10bdfb:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bdfe:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10be01:	6a 01                	push   $0x1                           
  10be03:	81 e6 ff 00 00 00    	and    $0xff,%esi                     
  10be09:	29 fe                	sub    %edi,%esi                      
  10be0b:	56                   	push   %esi                           
  10be0c:	6a 01                	push   $0x1                           
  10be0e:	a1 78 67 12 00       	mov    0x126778,%eax                  
  10be13:	d1 e0                	shl    %eax                           
  10be15:	39 c8                	cmp    %ecx,%eax                      
  10be17:	73 02                	jae    10be1b <pthread_create+0x14f>  
  10be19:	89 c8                	mov    %ecx,%eax                      
  10be1b:	50                   	push   %eax                           
  10be1c:	ff 73 04             	pushl  0x4(%ebx)                      
  10be1f:	ff 75 ac             	pushl  -0x54(%ebp)                    
  10be22:	68 20 ac 12 00       	push   $0x12ac20                      
  10be27:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10be2a:	e8 65 2f 00 00       	call   10ed94 <_Thread_Initialize>    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10be2f:	83 c4 30             	add    $0x30,%esp                     
  10be32:	84 c0                	test   %al,%al                        
  10be34:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10be37:	75 35                	jne    10be6e <pthread_create+0x1a2>  
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
  10be39:	83 ec 08             	sub    $0x8,%esp                      
  10be3c:	ff 75 ac             	pushl  -0x54(%ebp)                    
  10be3f:	68 20 ac 12 00       	push   $0x12ac20                      
  10be44:	e8 df 24 00 00       	call   10e328 <_Objects_Free>         
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
  10be49:	59                   	pop    %ecx                           
  10be4a:	ff 35 10 aa 12 00    	pushl  0x12aa10                       
  10be50:	e8 af 17 00 00       	call   10d604 <_API_Mutex_Unlock>     
  10be55:	ba 0b 00 00 00       	mov    $0xb,%edx                      
    return EAGAIN;                                                    
  10be5a:	83 c4 10             	add    $0x10,%esp                     
  10be5d:	e9 af fe ff ff       	jmp    10bd11 <pthread_create+0x45>   
  10be62:	66 90                	xchg   %ax,%ax                        
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
  10be64:	ba 0e 00 00 00       	mov    $0xe,%edx                      
  10be69:	e9 a3 fe ff ff       	jmp    10bd11 <pthread_create+0x45>   
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10be6e:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10be71:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10be77:	89 45 a8             	mov    %eax,-0x58(%ebp)               
                                                                      
  api->Attributes  = *the_attr;                                       
  10be7a:	b9 0f 00 00 00       	mov    $0xf,%ecx                      
  10be7f:	89 c7                	mov    %eax,%edi                      
  10be81:	89 de                	mov    %ebx,%esi                      
  10be83:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  api->detachstate = the_attr->detachstate;                           
  10be85:	8b 43 38             	mov    0x38(%ebx),%eax                
  10be88:	8b 4d a8             	mov    -0x58(%ebp),%ecx               
  10be8b:	89 41 3c             	mov    %eax,0x3c(%ecx)                
  api->schedpolicy = schedpolicy;                                     
  10be8e:	8b 45 b0             	mov    -0x50(%ebp),%eax               
  10be91:	89 81 80 00 00 00    	mov    %eax,0x80(%ecx)                
  api->schedparam  = schedparam;                                      
  10be97:	89 cf                	mov    %ecx,%edi                      
  10be99:	81 c7 84 00 00 00    	add    $0x84,%edi                     
  10be9f:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10bea4:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  10bea7:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
   *  This insures we evaluate the process-wide signals pending when we
   *  first run.                                                      
   *                                                                  
   *  NOTE:  Since the thread starts with all unblocked, this is necessary.
   */                                                                 
  the_thread->do_post_task_switch_extension = true;                   
  10bea9:	8b 4d ac             	mov    -0x54(%ebp),%ecx               
  10beac:	c6 41 74 01          	movb   $0x1,0x74(%ecx)                
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
  10beb0:	83 ec 0c             	sub    $0xc,%esp                      
  10beb3:	6a 00                	push   $0x0                           
  10beb5:	ff 75 14             	pushl  0x14(%ebp)                     
  10beb8:	ff 75 10             	pushl  0x10(%ebp)                     
  10bebb:	6a 01                	push   $0x1                           
  10bebd:	51                   	push   %ecx                           
  10bebe:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10bec1:	e8 6a 39 00 00       	call   10f830 <_Thread_Start>         
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
  10bec6:	83 c4 20             	add    $0x20,%esp                     
  10bec9:	83 7d b0 04          	cmpl   $0x4,-0x50(%ebp)               
  10becd:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10bed0:	74 42                	je     10bf14 <pthread_create+0x248>  
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
  10bed2:	8b 45 ac             	mov    -0x54(%ebp),%eax               
  10bed5:	8b 48 08             	mov    0x8(%eax),%ecx                 
  10bed8:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10bedb:	89 08                	mov    %ecx,(%eax)                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10bedd:	83 ec 0c             	sub    $0xc,%esp                      
  10bee0:	ff 35 10 aa 12 00    	pushl  0x12aa10                       
  10bee6:	89 55 a4             	mov    %edx,-0x5c(%ebp)               
  10bee9:	e8 16 17 00 00       	call   10d604 <_API_Mutex_Unlock>     
  return 0;                                                           
  10beee:	83 c4 10             	add    $0x10,%esp                     
  10bef1:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10bef4:	e9 18 fe ff ff       	jmp    10bd11 <pthread_create+0x45>   
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
    _RTEMS_Unlock_allocator();                                        
  10bef9:	83 ec 0c             	sub    $0xc,%esp                      
  10befc:	ff 35 10 aa 12 00    	pushl  0x12aa10                       
  10bf02:	e8 fd 16 00 00       	call   10d604 <_API_Mutex_Unlock>     
  10bf07:	ba 0b 00 00 00       	mov    $0xb,%edx                      
    return EAGAIN;                                                    
  10bf0c:	83 c4 10             	add    $0x10,%esp                     
  10bf0f:	e9 fd fd ff ff       	jmp    10bd11 <pthread_create+0x45>   
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
  10bf14:	83 ec 0c             	sub    $0xc,%esp                      
  10bf17:	8b 45 a8             	mov    -0x58(%ebp),%eax               
  10bf1a:	05 8c 00 00 00       	add    $0x8c,%eax                     
  10bf1f:	50                   	push   %eax                           
  10bf20:	e8 fb 3a 00 00       	call   10fa20 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10bf25:	8b 4d a8             	mov    -0x58(%ebp),%ecx               
  10bf28:	89 81 b0 00 00 00    	mov    %eax,0xb0(%ecx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10bf2e:	58                   	pop    %eax                           
  10bf2f:	5a                   	pop    %edx                           
  10bf30:	89 c8                	mov    %ecx,%eax                      
  10bf32:	05 a4 00 00 00       	add    $0xa4,%eax                     
  10bf37:	50                   	push   %eax                           
  10bf38:	68 38 aa 12 00       	push   $0x12aa38                      
  10bf3d:	e8 fa 3d 00 00       	call   10fd3c <_Watchdog_Insert>      
  10bf42:	83 c4 10             	add    $0x10,%esp                     
  10bf45:	8b 55 a4             	mov    -0x5c(%ebp),%edx               
  10bf48:	eb 88                	jmp    10bed2 <pthread_create+0x206>  
                                                                      

0010bde8 <pthread_detach>: #include <rtems/posix/pthread.h> int pthread_detach( pthread_t thread ) {
  10bde8:	55                   	push   %ebp                           
  10bde9:	89 e5                	mov    %esp,%ebp                      
  10bdeb:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  10bdee:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bdf1:	50                   	push   %eax                           
  10bdf2:	ff 75 08             	pushl  0x8(%ebp)                      
  10bdf5:	e8 4a 2c 00 00       	call   10ea44 <_Thread_Get>           
  switch ( location ) {                                               
  10bdfa:	83 c4 10             	add    $0x10,%esp                     
  10bdfd:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10be00:	85 d2                	test   %edx,%edx                      
  10be02:	75 18                	jne    10be1c <pthread_detach+0x34>   
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
      api->detachstate = PTHREAD_CREATE_DETACHED;                     
  10be04:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10be0a:	c7 40 3c 00 00 00 00 	movl   $0x0,0x3c(%eax)                
      _Thread_Enable_dispatch();                                      
  10be11:	e8 0a 2c 00 00       	call   10ea20 <_Thread_Enable_dispatch>
  10be16:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10be18:	c9                   	leave                                 
  10be19:	c3                   	ret                                   
  10be1a:	66 90                	xchg   %ax,%ax                        
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
  10be1c:	b8 03 00 00 00       	mov    $0x3,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10be21:	c9                   	leave                                 
  10be22:	c3                   	ret                                   
                                                                      

00114ac4 <pthread_exit>: } void pthread_exit( void *value_ptr ) {
  114ac4:	55                   	push   %ebp                           
  114ac5:	89 e5                	mov    %esp,%ebp                      
  114ac7:	83 ec 10             	sub    $0x10,%esp                     
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
  114aca:	ff 75 08             	pushl  0x8(%ebp)                      
  114acd:	ff 35 b8 94 12 00    	pushl  0x1294b8                       
  114ad3:	e8 fc fe ff ff       	call   1149d4 <_POSIX_Thread_Exit>    
  114ad8:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  114adb:	c9                   	leave                                 <== NOT EXECUTED
  114adc:	c3                   	ret                                   <== NOT EXECUTED
                                                                      

0010df18 <pthread_getschedparam>: int pthread_getschedparam( pthread_t thread, int *policy, struct sched_param *param ) {
  10df18:	55                   	push   %ebp                           
  10df19:	89 e5                	mov    %esp,%ebp                      
  10df1b:	57                   	push   %edi                           
  10df1c:	56                   	push   %esi                           
  10df1d:	53                   	push   %ebx                           
  10df1e:	83 ec 1c             	sub    $0x1c,%esp                     
  10df21:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10df24:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Objects_Locations        location;                                  
  POSIX_API_Control       *api;                                       
  register Thread_Control *the_thread;                                
                                                                      
  if ( !policy || !param  )                                           
  10df27:	85 ff                	test   %edi,%edi                      
  10df29:	74 65                	je     10df90 <pthread_getschedparam+0x78>
  10df2b:	85 db                	test   %ebx,%ebx                      
  10df2d:	74 61                	je     10df90 <pthread_getschedparam+0x78>
    return EINVAL;                                                    
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  10df2f:	83 ec 08             	sub    $0x8,%esp                      
  10df32:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10df35:	50                   	push   %eax                           
  10df36:	ff 75 08             	pushl  0x8(%ebp)                      
  10df39:	e8 26 2c 00 00       	call   110b64 <_Thread_Get>           
  switch ( location ) {                                               
  10df3e:	83 c4 10             	add    $0x10,%esp                     
  10df41:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10df44:	85 d2                	test   %edx,%edx                      
  10df46:	75 38                	jne    10df80 <pthread_getschedparam+0x68>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  10df48:	8b b0 f8 00 00 00    	mov    0xf8(%eax),%esi                
      if ( policy )                                                   
        *policy = api->schedpolicy;                                   
  10df4e:	8b 96 80 00 00 00    	mov    0x80(%esi),%edx                
  10df54:	89 17                	mov    %edx,(%edi)                    
      if ( param ) {                                                  
        *param  = api->schedparam;                                    
  10df56:	81 c6 84 00 00 00    	add    $0x84,%esi                     
  10df5c:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10df61:	89 df                	mov    %ebx,%edi                      
  10df63:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
        param->sched_priority =                                       
  10df65:	0f b6 15 7c a4 12 00 	movzbl 0x12a47c,%edx                  
  10df6c:	2b 50 14             	sub    0x14(%eax),%edx                
  10df6f:	89 13                	mov    %edx,(%ebx)                    
          _POSIX_Priority_From_core( the_thread->current_priority );  
      }                                                               
      _Thread_Enable_dispatch();                                      
  10df71:	e8 ca 2b 00 00       	call   110b40 <_Thread_Enable_dispatch>
  10df76:	31 c0                	xor    %eax,%eax                      
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
                                                                      
}                                                                     
  10df78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df7b:	5b                   	pop    %ebx                           
  10df7c:	5e                   	pop    %esi                           
  10df7d:	5f                   	pop    %edi                           
  10df7e:	c9                   	leave                                 
  10df7f:	c3                   	ret                                   
                                                                      
  if ( !policy || !param  )                                           
    return EINVAL;                                                    
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
  10df80:	b8 03 00 00 00       	mov    $0x3,%eax                      
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
                                                                      
}                                                                     
  10df85:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df88:	5b                   	pop    %ebx                           
  10df89:	5e                   	pop    %esi                           
  10df8a:	5f                   	pop    %edi                           
  10df8b:	c9                   	leave                                 
  10df8c:	c3                   	ret                                   
  10df8d:	8d 76 00             	lea    0x0(%esi),%esi                 
        *param  = api->schedparam;                                    
        param->sched_priority =                                       
          _POSIX_Priority_From_core( the_thread->current_priority );  
      }                                                               
      _Thread_Enable_dispatch();                                      
      return 0;                                                       
  10df90:	b8 16 00 00 00       	mov    $0x16,%eax                     
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
                                                                      
}                                                                     
  10df95:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10df98:	5b                   	pop    %ebx                           
  10df99:	5e                   	pop    %esi                           
  10df9a:	5f                   	pop    %edi                           
  10df9b:	c9                   	leave                                 
  10df9c:	c3                   	ret                                   
                                                                      

0010bcc4 <pthread_getspecific>: */ void *pthread_getspecific( pthread_key_t key ) {
  10bcc4:	55                   	push   %ebp                           
  10bcc5:	89 e5                	mov    %esp,%ebp                      
  10bcc7:	83 ec 2c             	sub    $0x2c,%esp                     
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (            
  pthread_key_t      id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Keys_Control *)                                       
  10bcca:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bccd:	50                   	push   %eax                           
  10bcce:	ff 75 08             	pushl  0x8(%ebp)                      
  10bcd1:	68 40 bb 12 00       	push   $0x12bb40                      
  10bcd6:	e8 b9 25 00 00       	call   10e294 <_Objects_Get>          
  uint32_t                     index;                                 
  Objects_Locations            location;                              
  void                        *key_data;                              
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
  10bcdb:	83 c4 10             	add    $0x10,%esp                     
  10bcde:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10bce1:	85 d2                	test   %edx,%edx                      
  10bce3:	75 2b                	jne    10bd10 <pthread_getspecific+0x4c>
                                                                      
    case OBJECTS_LOCAL:                                               
      api      = _Objects_Get_API( _Thread_Executing->Object.id );    
  10bce5:	8b 15 58 b7 12 00    	mov    0x12b758,%edx                  
  10bceb:	8b 4a 08             	mov    0x8(%edx),%ecx                 
      index    = _Objects_Get_index( _Thread_Executing->Object.id );  
      key_data = (void *) the_key->Values[ api ][ index ];            
  10bcee:	89 ca                	mov    %ecx,%edx                      
  10bcf0:	c1 ea 18             	shr    $0x18,%edx                     
  10bcf3:	83 e2 07             	and    $0x7,%edx                      
  10bcf6:	0f b7 c9             	movzwl %cx,%ecx                       
  10bcf9:	8b 44 90 14          	mov    0x14(%eax,%edx,4),%eax         
  10bcfd:	8b 04 88             	mov    (%eax,%ecx,4),%eax             
      _Thread_Enable_dispatch();                                      
  10bd00:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10bd03:	e8 00 2e 00 00       	call   10eb08 <_Thread_Enable_dispatch>
  10bd08:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
  10bd0b:	c9                   	leave                                 
  10bd0c:	c3                   	ret                                   
  10bd0d:	8d 76 00             	lea    0x0(%esi),%esi                 
  uint32_t                     index;                                 
  Objects_Locations            location;                              
  void                        *key_data;                              
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
  10bd10:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
  10bd12:	c9                   	leave                                 
  10bd13:	c3                   	ret                                   
                                                                      

00110b1c <pthread_join>: int pthread_join( pthread_t thread, void **value_ptr ) {
  110b1c:	55                   	push   %ebp                           
  110b1d:	89 e5                	mov    %esp,%ebp                      
  110b1f:	57                   	push   %edi                           
  110b20:	56                   	push   %esi                           
  110b21:	53                   	push   %ebx                           
  110b22:	83 ec 1c             	sub    $0x1c,%esp                     
  110b25:	8b 75 08             	mov    0x8(%ebp),%esi                 
  110b28:	8d 5d e4             	lea    -0x1c(%ebp),%ebx               
          the_thread,                                                 
          (STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_TRANSIENT)        
        );                                                            
        _Thread_Enable_dispatch();                                    
      } else {                                                        
        _Thread_Executing->Wait.return_argument = &return_pointer;    
  110b2b:	8d 7d e0             	lea    -0x20(%ebp),%edi               
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
  void                    *return_pointer;                            
                                                                      
on_EINTR:                                                             
  the_thread = _Thread_Get( thread, &location );                      
  110b2e:	83 ec 08             	sub    $0x8,%esp                      
  110b31:	53                   	push   %ebx                           
  110b32:	56                   	push   %esi                           
  110b33:	e8 5c 2c 00 00       	call   113794 <_Thread_Get>           
  switch ( location ) {                                               
  110b38:	83 c4 10             	add    $0x10,%esp                     
  110b3b:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  110b3e:	85 d2                	test   %edx,%edx                      
  110b40:	74 0e                	je     110b50 <pthread_join+0x34>     
  110b42:	b8 03 00 00 00       	mov    $0x3,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  110b47:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110b4a:	5b                   	pop    %ebx                           
  110b4b:	5e                   	pop    %esi                           
  110b4c:	5f                   	pop    %edi                           
  110b4d:	c9                   	leave                                 
  110b4e:	c3                   	ret                                   
  110b4f:	90                   	nop                                   
on_EINTR:                                                             
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  110b50:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
  110b56:	8b 4a 3c             	mov    0x3c(%edx),%ecx                
  110b59:	85 c9                	test   %ecx,%ecx                      
  110b5b:	74 5b                	je     110bb8 <pthread_join+0x9c>     <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
  110b5d:	8b 0d 58 2d 13 00    	mov    0x132d58,%ecx                  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
  110b63:	39 c8                	cmp    %ecx,%eax                      
  110b65:	74 5d                	je     110bc4 <pthread_join+0xa8>     <== NEVER TAKEN
                                                                      
      /*                                                              
       *  Put ourself on the threads join list                        
       */                                                             
                                                                      
      if ( the_thread->current_state ==                               
  110b67:	81 78 10 04 10 00 00 	cmpl   $0x1004,0x10(%eax)             
  110b6e:	74 64                	je     110bd4 <pthread_join+0xb8>     
          the_thread,                                                 
          (STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_TRANSIENT)        
        );                                                            
        _Thread_Enable_dispatch();                                    
      } else {                                                        
        _Thread_Executing->Wait.return_argument = &return_pointer;    
  110b70:	89 79 28             	mov    %edi,0x28(%ecx)                
                                                                      
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;
  110b73:	c7 42 70 01 00 00 00 	movl   $0x1,0x70(%edx)                
        _Thread_queue_Enter_critical_section( &api->Join_List );      
        _Thread_queue_Enqueue( &api->Join_List, WATCHDOG_NO_TIMEOUT );
  110b7a:	51                   	push   %ecx                           
  110b7b:	68 b8 3f 11 00       	push   $0x113fb8                      
  110b80:	6a 00                	push   $0x0                           
  110b82:	83 c2 40             	add    $0x40,%edx                     
  110b85:	52                   	push   %edx                           
  110b86:	e8 1d 31 00 00       	call   113ca8 <_Thread_queue_Enqueue_with_handler>
        _Thread_Enable_dispatch();                                    
  110b8b:	e8 e0 2b 00 00       	call   113770 <_Thread_Enable_dispatch>
                                                                      
        if ( _Thread_Executing->Wait.return_code == EINTR )           
  110b90:	83 c4 10             	add    $0x10,%esp                     
  110b93:	a1 58 2d 13 00       	mov    0x132d58,%eax                  
  110b98:	83 78 34 04          	cmpl   $0x4,0x34(%eax)                
  110b9c:	74 90                	je     110b2e <pthread_join+0x12>     
          goto on_EINTR;                                              
      }                                                               
                                                                      
      if ( value_ptr )                                                
  110b9e:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  110ba1:	85 c0                	test   %eax,%eax                      
  110ba3:	74 08                	je     110bad <pthread_join+0x91>     
        *value_ptr = return_pointer;                                  
  110ba5:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  110ba8:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  110bab:	89 02                	mov    %eax,(%edx)                    
  110bad:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  110baf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110bb2:	5b                   	pop    %ebx                           
  110bb3:	5e                   	pop    %esi                           
  110bb4:	5f                   	pop    %edi                           
  110bb5:	c9                   	leave                                 
  110bb6:	c3                   	ret                                   
  110bb7:	90                   	nop                                   
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
        _Thread_Enable_dispatch();                                    
  110bb8:	e8 b3 2b 00 00       	call   113770 <_Thread_Enable_dispatch>
  110bbd:	b8 16 00 00 00       	mov    $0x16,%eax                     
        return EINVAL;                                                
  110bc2:	eb 83                	jmp    110b47 <pthread_join+0x2b>     
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
        _Thread_Enable_dispatch();                                    
  110bc4:	e8 a7 2b 00 00       	call   113770 <_Thread_Enable_dispatch>
  110bc9:	b8 2d 00 00 00       	mov    $0x2d,%eax                     
        return EDEADLK;                                               
  110bce:	e9 74 ff ff ff       	jmp    110b47 <pthread_join+0x2b>     
  110bd3:	90                   	nop                                   
       *  Put ourself on the threads join list                        
       */                                                             
                                                                      
      if ( the_thread->current_state ==                               
             (STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_TRANSIENT) ) { 
        return_pointer = the_thread->Wait.return_argument;            
  110bd4:	8b 50 28             	mov    0x28(%eax),%edx                
  110bd7:	89 55 e0             	mov    %edx,-0x20(%ebp)               
        _Thread_Clear_state(                                          
  110bda:	83 ec 08             	sub    $0x8,%esp                      
  110bdd:	68 04 10 00 00       	push   $0x1004                        
  110be2:	50                   	push   %eax                           
  110be3:	e8 e0 27 00 00       	call   1133c8 <_Thread_Clear_state>   
          the_thread,                                                 
          (STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_TRANSIENT)        
        );                                                            
        _Thread_Enable_dispatch();                                    
  110be8:	e8 83 2b 00 00       	call   113770 <_Thread_Enable_dispatch>
  110bed:	83 c4 10             	add    $0x10,%esp                     
  110bf0:	eb ac                	jmp    110b9e <pthread_join+0x82>     
                                                                      

0010bb48 <pthread_key_create>: int pthread_key_create( pthread_key_t *key, void (*destructor)( void * ) ) {
  10bb48:	55                   	push   %ebp                           
  10bb49:	89 e5                	mov    %esp,%ebp                      
  10bb4b:	57                   	push   %edi                           
  10bb4c:	56                   	push   %esi                           
  10bb4d:	53                   	push   %ebx                           
  10bb4e:	83 ec 28             	sub    $0x28,%esp                     
  10bb51:	a1 98 b6 12 00       	mov    0x12b698,%eax                  
  10bb56:	40                   	inc    %eax                           
  10bb57:	a3 98 b6 12 00       	mov    %eax,0x12b698                  
 *  the inactive chain of free keys control blocks.                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
  10bb5c:	68 40 bb 12 00       	push   $0x12bb40                      
  10bb61:	e8 7e 22 00 00       	call   10dde4 <_Objects_Allocate>     
  10bb66:	89 c6                	mov    %eax,%esi                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
  10bb68:	83 c4 10             	add    $0x10,%esp                     
  10bb6b:	85 c0                	test   %eax,%eax                      
  10bb6d:	0f 84 81 00 00 00    	je     10bbf4 <pthread_key_create+0xac>
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
  10bb73:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10bb76:	89 46 10             	mov    %eax,0x10(%esi)                
  10bb79:	bb 01 00 00 00       	mov    $0x1,%ebx                      
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
  10bb7e:	8b 04 9d 6c b6 12 00 	mov    0x12b66c(,%ebx,4),%eax         
  10bb85:	85 c0                	test   %eax,%eax                      
  10bb87:	74 5f                	je     10bbe8 <pthread_key_create+0xa0>
            INTERNAL_ERROR_CORE,                                      
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
  10bb89:	8b 40 04             	mov    0x4(%eax),%eax                 
  10bb8c:	0f b7 40 10          	movzwl 0x10(%eax),%eax                
  10bb90:	8d 0c 85 04 00 00 00 	lea    0x4(,%eax,4),%ecx              
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
  10bb97:	83 ec 0c             	sub    $0xc,%esp                      
  10bb9a:	51                   	push   %ecx                           
  10bb9b:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10bb9e:	e8 05 42 00 00       	call   10fda8 <_Workspace_Allocate>   
      if ( !table ) {                                                 
  10bba3:	83 c4 10             	add    $0x10,%esp                     
  10bba6:	85 c0                	test   %eax,%eax                      
  10bba8:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10bbab:	74 5b                	je     10bc08 <pthread_key_create+0xc0>
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
        return ENOMEM;                                                
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
  10bbad:	89 44 9e 14          	mov    %eax,0x14(%esi,%ebx,4)         
      memset( table, '\0', bytes_to_allocate );                       
  10bbb1:	89 c7                	mov    %eax,%edi                      
  10bbb3:	31 c0                	xor    %eax,%eax                      
  10bbb5:	f3 aa                	rep stos %al,%es:(%edi)               
   *  for.  [NOTE: Currently RTEMS Classic API tasks are always enabled.]
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
  10bbb7:	43                   	inc    %ebx                           
   *  This is a bit more complex than one might initially expect because
   *  APIs are optional.  Thus there may be no ITRON tasks to have keys
   *  for.  [NOTE: Currently RTEMS Classic API tasks are always enabled.]
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
  10bbb8:	83 fb 05             	cmp    $0x5,%ebx                      
  10bbbb:	75 c1                	jne    10bb7e <pthread_key_create+0x36>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10bbbd:	8b 46 08             	mov    0x8(%esi),%eax                 
  10bbc0:	0f b7 c8             	movzwl %ax,%ecx                       
  10bbc3:	8b 15 5c bb 12 00    	mov    0x12bb5c,%edx                  
  10bbc9:	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;                                   
  10bbcc:	c7 46 0c 00 00 00 00 	movl   $0x0,0xc(%esi)                 
                                                                      
  }                                                                   
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
  10bbd3:	8b 55 08             	mov    0x8(%ebp),%edx                 
  10bbd6:	89 02                	mov    %eax,(%edx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10bbd8:	e8 2b 2f 00 00       	call   10eb08 <_Thread_Enable_dispatch>
  10bbdd:	31 c0                	xor    %eax,%eax                      
                                                                      
  return 0;                                                           
}                                                                     
  10bbdf:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bbe2:	5b                   	pop    %ebx                           
  10bbe3:	5e                   	pop    %esi                           
  10bbe4:	5f                   	pop    %edi                           
  10bbe5:	c9                   	leave                                 
  10bbe6:	c3                   	ret                                   
  10bbe7:	90                   	nop                                   
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
      memset( table, '\0', bytes_to_allocate );                       
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
  10bbe8:	c7 44 9e 14 00 00 00 	movl   $0x0,0x14(%esi,%ebx,4)         
  10bbef:	00                                                          
  10bbf0:	eb c5                	jmp    10bbb7 <pthread_key_create+0x6f>
  10bbf2:	66 90                	xchg   %ax,%ax                        
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
    _Thread_Enable_dispatch();                                        
  10bbf4:	e8 0f 2f 00 00       	call   10eb08 <_Thread_Enable_dispatch>
  10bbf9:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  *key = the_key->Object.id;                                          
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
  10bbfe:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bc01:	5b                   	pop    %ebx                           
  10bc02:	5e                   	pop    %esi                           
  10bc03:	5f                   	pop    %edi                           
  10bc04:	c9                   	leave                                 
  10bc05:	c3                   	ret                                   
  10bc06:	66 90                	xchg   %ax,%ax                        
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
  10bc08:	89 df                	mov    %ebx,%edi                      
  10bc0a:	4f                   	dec    %edi                           
  10bc0b:	74 1a                	je     10bc27 <pthread_key_create+0xdf>
  10bc0d:	8d 5c 9e 10          	lea    0x10(%esi,%ebx,4),%ebx         
  10bc11:	8d 76 00             	lea    0x0(%esi),%esi                 
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
  10bc14:	83 ec 0c             	sub    $0xc,%esp                      
  10bc17:	ff 33                	pushl  (%ebx)                         
  10bc19:	e8 a6 41 00 00       	call   10fdc4 <_Workspace_Free>       
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
  10bc1e:	83 eb 04             	sub    $0x4,%ebx                      
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
  10bc21:	83 c4 10             	add    $0x10,%esp                     
  10bc24:	4f                   	dec    %edi                           
  10bc25:	75 ed                	jne    10bc14 <pthread_key_create+0xcc>
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
  10bc27:	83 ec 08             	sub    $0x8,%esp                      
  10bc2a:	56                   	push   %esi                           
  10bc2b:	68 40 bb 12 00       	push   $0x12bb40                      
  10bc30:	e8 2f 25 00 00       	call   10e164 <_Objects_Free>         
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
  10bc35:	e8 ce 2e 00 00       	call   10eb08 <_Thread_Enable_dispatch>
  10bc3a:	b8 0c 00 00 00       	mov    $0xc,%eax                      
        return ENOMEM;                                                
  10bc3f:	83 c4 10             	add    $0x10,%esp                     
  10bc42:	eb 9b                	jmp    10bbdf <pthread_key_create+0x97>
                                                                      

00114ae0 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
  114ae0:	55                   	push   %ebp                           
  114ae1:	89 e5                	mov    %esp,%ebp                      
  114ae3:	57                   	push   %edi                           
  114ae4:	56                   	push   %esi                           
  114ae5:	53                   	push   %ebx                           
  114ae6:	83 ec 1c             	sub    $0x1c,%esp                     
  114ae9:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
  114aec:	85 db                	test   %ebx,%ebx                      
  114aee:	0f 84 84 00 00 00    	je     114b78 <pthread_kill+0x98>     <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
  114af4:	8d 7b ff             	lea    -0x1(%ebx),%edi                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  114af7:	83 ff 1f             	cmp    $0x1f,%edi                     
  114afa:	77 7c                	ja     114b78 <pthread_kill+0x98>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  114afc:	83 ec 08             	sub    $0x8,%esp                      
  114aff:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  114b02:	50                   	push   %eax                           
  114b03:	ff 75 08             	pushl  0x8(%ebp)                      
  114b06:	e8 85 91 ff ff       	call   10dc90 <_Thread_Get>           
  114b0b:	89 c6                	mov    %eax,%esi                      
  switch ( location ) {                                               
  114b0d:	83 c4 10             	add    $0x10,%esp                     
  114b10:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  114b13:	85 d2                	test   %edx,%edx                      
  114b15:	75 75                	jne    114b8c <pthread_kill+0xac>     <== NEVER TAKEN
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  If sig == 0 then just validate arguments                    
       */                                                             
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  114b17:	8b 90 f8 00 00 00    	mov    0xf8(%eax),%edx                
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
  114b1d:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  114b20:	83 3c 85 e8 99 12 00 	cmpl   $0x1,0x1299e8(,%eax,4)         
  114b27:	01                                                          
  114b28:	74 31                	je     114b5b <pthread_kill+0x7b>     <== NEVER TAKEN
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
  114b2a:	b8 01 00 00 00       	mov    $0x1,%eax                      
  114b2f:	89 f9                	mov    %edi,%ecx                      
  114b31:	d3 e0                	shl    %cl,%eax                       
  114b33:	09 82 d0 00 00 00    	or     %eax,0xd0(%edx)                
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
  114b39:	50                   	push   %eax                           
  114b3a:	6a 00                	push   $0x0                           
  114b3c:	53                   	push   %ebx                           
  114b3d:	56                   	push   %esi                           
  114b3e:	e8 6d fd ff ff       	call   1148b0 <_POSIX_signals_Unblock_thread>
                                                                      
        the_thread->do_post_task_switch_extension = true;             
  114b43:	c6 46 74 01          	movb   $0x1,0x74(%esi)                
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  114b47:	a1 94 94 12 00       	mov    0x129494,%eax                  
  114b4c:	83 c4 10             	add    $0x10,%esp                     
  114b4f:	85 c0                	test   %eax,%eax                      
  114b51:	74 08                	je     114b5b <pthread_kill+0x7b>     
  114b53:	3b 35 b8 94 12 00    	cmp    0x1294b8,%esi                  
  114b59:	74 11                	je     114b6c <pthread_kill+0x8c>     
          _ISR_Signals_to_thread_executing = true;                    
      }                                                               
      _Thread_Enable_dispatch();                                      
  114b5b:	e8 0c 91 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  114b60:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
}                                                                     
  114b62:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  114b65:	5b                   	pop    %ebx                           
  114b66:	5e                   	pop    %esi                           
  114b67:	5f                   	pop    %edi                           
  114b68:	c9                   	leave                                 
  114b69:	c3                   	ret                                   
  114b6a:	66 90                	xchg   %ax,%ax                        
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
                                                                      
        the_thread->do_post_task_switch_extension = true;             
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
          _ISR_Signals_to_thread_executing = true;                    
  114b6c:	c6 05 68 95 12 00 01 	movb   $0x1,0x129568                  
  114b73:	eb e6                	jmp    114b5b <pthread_kill+0x7b>     
  114b75:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  114b78:	e8 87 05 00 00       	call   115104 <__errno>               
  114b7d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  114b83:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  114b88:	eb d8                	jmp    114b62 <pthread_kill+0x82>     
  114b8a:	66 90                	xchg   %ax,%ax                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
  114b8c:	e8 73 05 00 00       	call   115104 <__errno>               <== NOT EXECUTED
  114b91:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    <== NOT EXECUTED
  114b97:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               <== NOT EXECUTED
  114b9c:	eb c4                	jmp    114b62 <pthread_kill+0x82>     <== NOT EXECUTED
                                                                      

0010d78c <pthread_mutex_getprioceiling>: int pthread_mutex_getprioceiling( pthread_mutex_t *mutex, int *prioceiling ) {
  10d78c:	55                   	push   %ebp                           
  10d78d:	89 e5                	mov    %esp,%ebp                      
  10d78f:	53                   	push   %ebx                           
  10d790:	83 ec 14             	sub    $0x14,%esp                     
  10d793:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register POSIX_Mutex_Control *the_mutex;                            
  Objects_Locations             location;                             
                                                                      
  if ( !prioceiling )                                                 
  10d796:	85 db                	test   %ebx,%ebx                      
  10d798:	74 19                	je     10d7b3 <pthread_mutex_getprioceiling+0x27>
    return EINVAL;                                                    
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
  10d79a:	83 ec 08             	sub    $0x8,%esp                      
  10d79d:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10d7a0:	50                   	push   %eax                           
  10d7a1:	ff 75 08             	pushl  0x8(%ebp)                      
  10d7a4:	e8 8f ff ff ff       	call   10d738 <_POSIX_Mutex_Get>      
  switch ( location ) {                                               
  10d7a9:	83 c4 10             	add    $0x10,%esp                     
  10d7ac:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10d7af:	85 d2                	test   %edx,%edx                      
  10d7b1:	74 0d                	je     10d7c0 <pthread_mutex_getprioceiling+0x34>
    case OBJECTS_LOCAL:                                               
      *prioceiling = _POSIX_Priority_From_core(                       
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      _Thread_Enable_dispatch();                                      
      return 0;                                                       
  10d7b3:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10d7b8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d7bb:	c9                   	leave                                 
  10d7bc:	c3                   	ret                                   
  10d7bd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_mutex = _POSIX_Mutex_Get( mutex, &location );                   
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *prioceiling = _POSIX_Priority_From_core(                       
  10d7c0:	0f b6 15 7c a4 12 00 	movzbl 0x12a47c,%edx                  
  10d7c7:	2b 50 60             	sub    0x60(%eax),%edx                
  10d7ca:	89 13                	mov    %edx,(%ebx)                    
        the_mutex->Mutex.Attributes.priority_ceiling                  
      );                                                              
      _Thread_Enable_dispatch();                                      
  10d7cc:	e8 6f 33 00 00       	call   110b40 <_Thread_Enable_dispatch>
  10d7d1:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10d7d3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d7d6:	c9                   	leave                                 
  10d7d7:	c3                   	ret                                   
                                                                      

0010d7d8 <pthread_mutex_init>: int pthread_mutex_init( pthread_mutex_t *mutex, const pthread_mutexattr_t *attr ) {
  10d7d8:	55                   	push   %ebp                           
  10d7d9:	89 e5                	mov    %esp,%ebp                      
  10d7db:	57                   	push   %edi                           
  10d7dc:	56                   	push   %esi                           
  10d7dd:	53                   	push   %ebx                           
  10d7de:	83 ec 1c             	sub    $0x1c,%esp                     
  10d7e1:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10d7e4:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  POSIX_Mutex_Control          *the_mutex;                            
  CORE_mutex_Attributes        *the_mutex_attr;                       
  const pthread_mutexattr_t    *the_attr;                             
  CORE_mutex_Disciplines        the_discipline;                       
                                                                      
  if ( attr ) the_attr = attr;                                        
  10d7e7:	85 db                	test   %ebx,%ebx                      
  10d7e9:	0f 84 09 01 00 00    	je     10d8f8 <pthread_mutex_init+0x120>
  else        the_attr = &_POSIX_Mutex_Default_attributes;            
                                                                      
  /* Check for NULL mutex */                                          
  if ( !mutex )                                                       
  10d7ef:	85 f6                	test   %esi,%esi                      
  10d7f1:	0f 84 e5 00 00 00    	je     10d8dc <pthread_mutex_init+0x104>
      }                                                               
    }                                                                 
  }                                                                   
  #endif                                                              
                                                                      
  if ( !the_attr->is_initialized )                                    
  10d7f7:	8b 13                	mov    (%ebx),%edx                    
  10d7f9:	85 d2                	test   %edx,%edx                      
  10d7fb:	0f 84 db 00 00 00    	je     10d8dc <pthread_mutex_init+0x104>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  We only support process private mutexes.                        
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10d801:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10d804:	83 f8 01             	cmp    $0x1,%eax                      
  10d807:	0f 84 f7 00 00 00    	je     10d904 <pthread_mutex_init+0x12c>
    return ENOSYS;                                                    
                                                                      
  if ( the_attr->process_shared != PTHREAD_PROCESS_PRIVATE )          
  10d80d:	85 c0                	test   %eax,%eax                      
  10d80f:	0f 85 c7 00 00 00    	jne    10d8dc <pthread_mutex_init+0x104>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  Determine the discipline of the mutex                           
   */                                                                 
  switch ( the_attr->protocol ) {                                     
  10d815:	8b 43 0c             	mov    0xc(%ebx),%eax                 
  10d818:	83 f8 01             	cmp    $0x1,%eax                      
  10d81b:	0f 84 e7 00 00 00    	je     10d908 <pthread_mutex_init+0x130>
  10d821:	83 f8 02             	cmp    $0x2,%eax                      
  10d824:	0f 84 c2 00 00 00    	je     10d8ec <pthread_mutex_init+0x114>
  10d82a:	85 c0                	test   %eax,%eax                      
  10d82c:	0f 85 aa 00 00 00    	jne    10d8dc <pthread_mutex_init+0x104>
  10d832:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%ebp)               
  }                                                                   
                                                                      
  /*                                                                  
   *  Validate the priority ceiling field -- should always be valid.  
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( the_attr->prio_ceiling ) )          
  10d839:	83 ec 0c             	sub    $0xc,%esp                      
  10d83c:	ff 73 08             	pushl  0x8(%ebx)                      
  10d83f:	e8 2c 03 00 00       	call   10db70 <_POSIX_Priority_Is_valid>
  10d844:	83 c4 10             	add    $0x10,%esp                     
  10d847:	84 c0                	test   %al,%al                        
  10d849:	0f 84 8d 00 00 00    	je     10d8dc <pthread_mutex_init+0x104>
#if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES)                          
  /*                                                                  
   *  Validate the mutex type and set appropriate SuperCore mutex     
   *  attributes.                                                     
   */                                                                 
  switch ( the_attr->type ) {                                         
  10d84f:	83 7b 10 03          	cmpl   $0x3,0x10(%ebx)                
  10d853:	0f 87 83 00 00 00    	ja     10d8dc <pthread_mutex_init+0x104>
  10d859:	a1 98 e6 12 00       	mov    0x12e698,%eax                  
  10d85e:	40                   	inc    %eax                           
  10d85f:	a3 98 e6 12 00       	mov    %eax,0x12e698                  
 *  _POSIX_Mutex_Allocate                                             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Allocate( void )
{                                                                     
  return (POSIX_Mutex_Control *) _Objects_Allocate( &_POSIX_Mutex_Information );
  10d864:	83 ec 0c             	sub    $0xc,%esp                      
  10d867:	68 a0 ea 12 00       	push   $0x12eaa0                      
  10d86c:	e8 ab 25 00 00       	call   10fe1c <_Objects_Allocate>     
  10d871:	89 c7                	mov    %eax,%edi                      
   */                                                                 
  _Thread_Disable_dispatch();                                         
                                                                      
  the_mutex = _POSIX_Mutex_Allocate();                                
                                                                      
  if ( !the_mutex ) {                                                 
  10d873:	83 c4 10             	add    $0x10,%esp                     
  10d876:	85 c0                	test   %eax,%eax                      
  10d878:	0f 84 96 00 00 00    	je     10d914 <pthread_mutex_init+0x13c>
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_mutex->process_shared = the_attr->process_shared;               
  10d87e:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10d881:	89 47 10             	mov    %eax,0x10(%edi)                
                                                                      
  the_mutex_attr = &the_mutex->Mutex.Attributes;                      
                                                                      
  if ( the_attr->recursive )                                          
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  10d884:	31 c0                	xor    %eax,%eax                      
  10d886:	83 7b 14 00          	cmpl   $0x0,0x14(%ebx)                
  10d88a:	0f 94 c0             	sete   %al                            
  10d88d:	89 47 54             	mov    %eax,0x54(%edi)                
  else                                                                
    the_mutex_attr->lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
  the_mutex_attr->only_owner_release = true;                          
  10d890:	c6 47 58 01          	movb   $0x1,0x58(%edi)                
  the_mutex_attr->priority_ceiling =                                  
  10d894:	0f b6 05 7c a4 12 00 	movzbl 0x12a47c,%eax                  
  10d89b:	2b 43 08             	sub    0x8(%ebx),%eax                 
  10d89e:	89 47 60             	mov    %eax,0x60(%edi)                
    _POSIX_Priority_To_core( the_attr->prio_ceiling );                
  the_mutex_attr->discipline = the_discipline;                        
  10d8a1:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10d8a4:	89 47 5c             	mov    %eax,0x5c(%edi)                
                                                                      
  /*                                                                  
   *  Must be initialized to unlocked.                                
   */                                                                 
  _CORE_mutex_Initialize(                                             
  10d8a7:	50                   	push   %eax                           
  10d8a8:	6a 01                	push   $0x1                           
  10d8aa:	8d 47 54             	lea    0x54(%edi),%eax                
  10d8ad:	50                   	push   %eax                           
  10d8ae:	8d 47 14             	lea    0x14(%edi),%eax                
  10d8b1:	50                   	push   %eax                           
  10d8b2:	e8 09 1d 00 00       	call   10f5c0 <_CORE_mutex_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10d8b7:	8b 47 08             	mov    0x8(%edi),%eax                 
  10d8ba:	0f b7 c8             	movzwl %ax,%ecx                       
  10d8bd:	8b 15 bc ea 12 00    	mov    0x12eabc,%edx                  
  10d8c3:	89 3c 8a             	mov    %edi,(%edx,%ecx,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10d8c6:	c7 47 0c 00 00 00 00 	movl   $0x0,0xc(%edi)                 
    CORE_MUTEX_UNLOCKED                                               
  );                                                                  
                                                                      
  _Objects_Open_u32( &_POSIX_Mutex_Information, &the_mutex->Object, 0 );
                                                                      
  *mutex = the_mutex->Object.id;                                      
  10d8cd:	89 06                	mov    %eax,(%esi)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10d8cf:	e8 6c 32 00 00       	call   110b40 <_Thread_Enable_dispatch>
  10d8d4:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
  10d8d6:	83 c4 10             	add    $0x10,%esp                     
  10d8d9:	eb 06                	jmp    10d8e1 <pthread_mutex_init+0x109>
  10d8db:	90                   	nop                                   
  10d8dc:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10d8e1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d8e4:	5b                   	pop    %ebx                           
  10d8e5:	5e                   	pop    %esi                           
  10d8e6:	5f                   	pop    %edi                           
  10d8e7:	c9                   	leave                                 
  10d8e8:	c3                   	ret                                   
  10d8e9:	8d 76 00             	lea    0x0(%esi),%esi                 
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  Determine the discipline of the mutex                           
   */                                                                 
  switch ( the_attr->protocol ) {                                     
  10d8ec:	c7 45 e4 03 00 00 00 	movl   $0x3,-0x1c(%ebp)               
    case PTHREAD_PRIO_INHERIT:                                        
      the_discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;       
      break;                                                          
    case PTHREAD_PRIO_PROTECT:                                        
      the_discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;       
      break;                                                          
  10d8f3:	e9 41 ff ff ff       	jmp    10d839 <pthread_mutex_init+0x61>
  POSIX_Mutex_Control          *the_mutex;                            
  CORE_mutex_Attributes        *the_mutex_attr;                       
  const pthread_mutexattr_t    *the_attr;                             
  CORE_mutex_Disciplines        the_discipline;                       
                                                                      
  if ( attr ) the_attr = attr;                                        
  10d8f8:	bb 20 eb 12 00       	mov    $0x12eb20,%ebx                 
  10d8fd:	e9 ed fe ff ff       	jmp    10d7ef <pthread_mutex_init+0x17>
  10d902:	66 90                	xchg   %ax,%ax                        
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  We only support process private mutexes.                        
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
  10d904:	b0 58                	mov    $0x58,%al                      
  10d906:	eb d9                	jmp    10d8e1 <pthread_mutex_init+0x109>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  Determine the discipline of the mutex                           
   */                                                                 
  switch ( the_attr->protocol ) {                                     
  10d908:	c7 45 e4 02 00 00 00 	movl   $0x2,-0x1c(%ebp)               
  10d90f:	e9 25 ff ff ff       	jmp    10d839 <pthread_mutex_init+0x61>
  _Thread_Disable_dispatch();                                         
                                                                      
  the_mutex = _POSIX_Mutex_Allocate();                                
                                                                      
  if ( !the_mutex ) {                                                 
    _Thread_Enable_dispatch();                                        
  10d914:	e8 27 32 00 00       	call   110b40 <_Thread_Enable_dispatch>
  10d919:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    return EAGAIN;                                                    
  10d91e:	eb c1                	jmp    10d8e1 <pthread_mutex_init+0x109>
                                                                      

0010da2c <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
  10da2c:	55                   	push   %ebp                           
  10da2d:	89 e5                	mov    %esp,%ebp                      
  10da2f:	53                   	push   %ebx                           
  10da30:	83 ec 1c             	sub    $0x1c,%esp                     
  10da33:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *                                                                  
   *  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 );       
  10da36:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10da39:	50                   	push   %eax                           
  10da3a:	ff 75 0c             	pushl  0xc(%ebp)                      
  10da3d:	e8 a6 00 00 00       	call   10dae8 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
  10da42:	83 c4 10             	add    $0x10,%esp                     
  10da45:	83 f8 03             	cmp    $0x3,%eax                      
  10da48:	74 16                	je     10da60 <pthread_mutex_timedlock+0x34>
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
  10da4a:	50                   	push   %eax                           
  10da4b:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10da4e:	6a 00                	push   $0x0                           
  10da50:	53                   	push   %ebx                           
  10da51:	e8 de fe ff ff       	call   10d934 <_POSIX_Mutex_Lock_support>
  10da56:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
  10da59:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10da5c:	c9                   	leave                                 
  10da5d:	c3                   	ret                                   
  10da5e:	66 90                	xchg   %ax,%ax                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
  10da60:	52                   	push   %edx                           
  10da61:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10da64:	6a 01                	push   $0x1                           
  10da66:	53                   	push   %ebx                           
  10da67:	e8 c8 fe ff ff       	call   10d934 <_POSIX_Mutex_Lock_support>
  10da6c:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
  10da6f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10da72:	c9                   	leave                                 
  10da73:	c3                   	ret                                   
                                                                      

0010d518 <pthread_mutexattr_destroy>: */ int pthread_mutexattr_destroy( pthread_mutexattr_t *attr ) {
  10d518:	55                   	push   %ebp                           
  10d519:	89 e5                	mov    %esp,%ebp                      
  10d51b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || !attr->is_initialized )                               
  10d51e:	85 c0                	test   %eax,%eax                      
  10d520:	74 12                	je     10d534 <pthread_mutexattr_destroy+0x1c>
  10d522:	8b 10                	mov    (%eax),%edx                    
  10d524:	85 d2                	test   %edx,%edx                      
  10d526:	74 0c                	je     10d534 <pthread_mutexattr_destroy+0x1c>
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10d528:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  10d52e:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10d530:	c9                   	leave                                 
  10d531:	c3                   	ret                                   
  10d532:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
  10d534:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10d539:	c9                   	leave                                 
  10d53a:	c3                   	ret                                   
                                                                      

0010b7e8 <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
  10b7e8:	55                   	push   %ebp                           
  10b7e9:	89 e5                	mov    %esp,%ebp                      
  10b7eb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b7ee:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr )                                                        
  10b7f1:	85 c0                	test   %eax,%eax                      
  10b7f3:	74 13                	je     10b808 <pthread_mutexattr_gettype+0x20>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
  10b7f5:	8b 08                	mov    (%eax),%ecx                    
  10b7f7:	85 c9                	test   %ecx,%ecx                      
  10b7f9:	74 0d                	je     10b808 <pthread_mutexattr_gettype+0x20>
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
  10b7fb:	85 d2                	test   %edx,%edx                      
  10b7fd:	74 09                	je     10b808 <pthread_mutexattr_gettype+0x20><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
  10b7ff:	8b 40 10             	mov    0x10(%eax),%eax                
  10b802:	89 02                	mov    %eax,(%edx)                    
  10b804:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10b806:	c9                   	leave                                 
  10b807:	c3                   	ret                                   
                                                                      
  if ( !type )                                                        
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
  return 0;                                                           
  10b808:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10b80d:	c9                   	leave                                 
  10b80e:	c3                   	ret                                   
                                                                      

0010d5dc <pthread_mutexattr_setprioceiling>: int pthread_mutexattr_setprioceiling( pthread_mutexattr_t *attr, int prioceiling ) {
  10d5dc:	55                   	push   %ebp                           
  10d5dd:	89 e5                	mov    %esp,%ebp                      
  10d5df:	56                   	push   %esi                           
  10d5e0:	53                   	push   %ebx                           
  10d5e1:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d5e4:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !attr || !attr->is_initialized )                               
  10d5e7:	85 db                	test   %ebx,%ebx                      
  10d5e9:	74 06                	je     10d5f1 <pthread_mutexattr_setprioceiling+0x15>
  10d5eb:	8b 03                	mov    (%ebx),%eax                    
  10d5ed:	85 c0                	test   %eax,%eax                      
  10d5ef:	75 0f                	jne    10d600 <pthread_mutexattr_setprioceiling+0x24>
                                                                      
  if ( !_POSIX_Priority_Is_valid( prioceiling ) )                     
    return EINVAL;                                                    
                                                                      
  attr->prio_ceiling = prioceiling;                                   
  return 0;                                                           
  10d5f1:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10d5f6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d5f9:	5b                   	pop    %ebx                           
  10d5fa:	5e                   	pop    %esi                           
  10d5fb:	c9                   	leave                                 
  10d5fc:	c3                   	ret                                   
  10d5fd:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  if ( !_POSIX_Priority_Is_valid( prioceiling ) )                     
  10d600:	83 ec 0c             	sub    $0xc,%esp                      
  10d603:	56                   	push   %esi                           
  10d604:	e8 67 05 00 00       	call   10db70 <_POSIX_Priority_Is_valid>
  10d609:	83 c4 10             	add    $0x10,%esp                     
  10d60c:	84 c0                	test   %al,%al                        
  10d60e:	74 e1                	je     10d5f1 <pthread_mutexattr_setprioceiling+0x15>
    return EINVAL;                                                    
                                                                      
  attr->prio_ceiling = prioceiling;                                   
  10d610:	89 73 08             	mov    %esi,0x8(%ebx)                 
  10d613:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10d615:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10d618:	5b                   	pop    %ebx                           
  10d619:	5e                   	pop    %esi                           
  10d61a:	c9                   	leave                                 
  10d61b:	c3                   	ret                                   
                                                                      

0010d644 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
  10d644:	55                   	push   %ebp                           
  10d645:	89 e5                	mov    %esp,%ebp                      
  10d647:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d64a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  10d64d:	85 c0                	test   %eax,%eax                      
  10d64f:	74 0b                	je     10d65c <pthread_mutexattr_setpshared+0x18>
  10d651:	8b 08                	mov    (%eax),%ecx                    
  10d653:	85 c9                	test   %ecx,%ecx                      
  10d655:	74 05                	je     10d65c <pthread_mutexattr_setpshared+0x18>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10d657:	83 fa 01             	cmp    $0x1,%edx                      
  10d65a:	76 08                	jbe    10d664 <pthread_mutexattr_setpshared+0x20><== ALWAYS TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
  10d65c:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10d661:	c9                   	leave                                 
  10d662:	c3                   	ret                                   
  10d663:	90                   	nop                                   
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10d664:	89 50 04             	mov    %edx,0x4(%eax)                 
  10d667:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10d669:	c9                   	leave                                 
  10d66a:	c3                   	ret                                   
                                                                      

0010b838 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
  10b838:	55                   	push   %ebp                           
  10b839:	89 e5                	mov    %esp,%ebp                      
  10b83b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10b83e:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr || !attr->is_initialized )                               
  10b841:	85 c0                	test   %eax,%eax                      
  10b843:	74 0b                	je     10b850 <pthread_mutexattr_settype+0x18>
  10b845:	8b 08                	mov    (%eax),%ecx                    
  10b847:	85 c9                	test   %ecx,%ecx                      
  10b849:	74 05                	je     10b850 <pthread_mutexattr_settype+0x18><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
  10b84b:	83 fa 03             	cmp    $0x3,%edx                      
  10b84e:	76 08                	jbe    10b858 <pthread_mutexattr_settype+0x20>
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
      return 0;                                                       
  10b850:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10b855:	c9                   	leave                                 
  10b856:	c3                   	ret                                   
  10b857:	90                   	nop                                   
  switch ( type ) {                                                   
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
  10b858:	89 50 10             	mov    %edx,0x10(%eax)                
  10b85b:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10b85d:	c9                   	leave                                 
  10b85e:	c3                   	ret                                   
                                                                      

0010c414 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
  10c414:	55                   	push   %ebp                           
  10c415:	89 e5                	mov    %esp,%ebp                      
  10c417:	57                   	push   %edi                           
  10c418:	56                   	push   %esi                           
  10c419:	53                   	push   %ebx                           
  10c41a:	83 ec 1c             	sub    $0x1c,%esp                     
  10c41d:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c420:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  if ( !once_control || !init_routine )                               
  10c423:	85 db                	test   %ebx,%ebx                      
  10c425:	74 51                	je     10c478 <pthread_once+0x64>     
  10c427:	85 f6                	test   %esi,%esi                      
  10c429:	74 4d                	je     10c478 <pthread_once+0x64>     
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
  10c42b:	8b 7b 04             	mov    0x4(%ebx),%edi                 
  10c42e:	85 ff                	test   %edi,%edi                      
  10c430:	74 0a                	je     10c43c <pthread_once+0x28>     
  10c432:	31 c0                	xor    %eax,%eax                      
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
  10c434:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c437:	5b                   	pop    %ebx                           
  10c438:	5e                   	pop    %esi                           
  10c439:	5f                   	pop    %edi                           
  10c43a:	c9                   	leave                                 
  10c43b:	c3                   	ret                                   
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
  10c43c:	51                   	push   %ecx                           
  10c43d:	8d 7d e4             	lea    -0x1c(%ebp),%edi               
  10c440:	57                   	push   %edi                           
  10c441:	68 00 01 00 00       	push   $0x100                         
  10c446:	68 00 01 00 00       	push   $0x100                         
  10c44b:	e8 cc 0b 00 00       	call   10d01c <rtems_task_mode>       
    if ( !once_control->init_executed ) {                             
  10c450:	83 c4 10             	add    $0x10,%esp                     
  10c453:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10c456:	85 d2                	test   %edx,%edx                      
  10c458:	74 2e                	je     10c488 <pthread_once+0x74>     <== ALWAYS TAKEN
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10c45a:	50                   	push   %eax                           
  10c45b:	57                   	push   %edi                           
  10c45c:	68 00 01 00 00       	push   $0x100                         
  10c461:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10c464:	e8 b3 0b 00 00       	call   10d01c <rtems_task_mode>       
  10c469:	31 c0                	xor    %eax,%eax                      
  10c46b:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return 0;                                                           
}                                                                     
  10c46e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c471:	5b                   	pop    %ebx                           
  10c472:	5e                   	pop    %esi                           
  10c473:	5f                   	pop    %edi                           
  10c474:	c9                   	leave                                 
  10c475:	c3                   	ret                                   
  10c476:	66 90                	xchg   %ax,%ax                        
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  10c478:	b8 16 00 00 00       	mov    $0x16,%eax                     
  }                                                                   
  return 0;                                                           
}                                                                     
  10c47d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c480:	5b                   	pop    %ebx                           
  10c481:	5e                   	pop    %esi                           
  10c482:	5f                   	pop    %edi                           
  10c483:	c9                   	leave                                 
  10c484:	c3                   	ret                                   
  10c485:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
  10c488:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)                    
      once_control->init_executed = true;                             
  10c48e:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
      (*init_routine)();                                              
  10c495:	ff d6                	call   *%esi                          
  10c497:	eb c1                	jmp    10c45a <pthread_once+0x46>     
                                                                      

0010c854 <pthread_rwlock_destroy>: */ int pthread_rwlock_destroy( pthread_rwlock_t *rwlock ) {
  10c854:	55                   	push   %ebp                           
  10c855:	89 e5                	mov    %esp,%ebp                      
  10c857:	53                   	push   %ebx                           
  10c858:	83 ec 14             	sub    $0x14,%esp                     
  10c85b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  POSIX_RWLock_Control *the_rwlock = NULL;                            
  Objects_Locations      location;                                    
                                                                      
  if ( !rwlock )                                                      
  10c85e:	85 c0                	test   %eax,%eax                      
  10c860:	74 42                	je     10c8a4 <pthread_rwlock_destroy+0x50>
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Get (        
  pthread_rwlock_t *RWLock,                                           
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_RWLock_Control *) _Objects_Get(                       
  10c862:	53                   	push   %ebx                           
  10c863:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10c866:	52                   	push   %edx                           
  10c867:	ff 30                	pushl  (%eax)                         
  10c869:	68 60 c6 12 00       	push   $0x12c660                      
  10c86e:	e8 a1 2b 00 00       	call   10f414 <_Objects_Get>          
  10c873:	89 c3                	mov    %eax,%ebx                      
    return EINVAL;                                                    
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
  10c875:	83 c4 10             	add    $0x10,%esp                     
  10c878:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10c87b:	85 c9                	test   %ecx,%ecx                      
  10c87d:	75 25                	jne    10c8a4 <pthread_rwlock_destroy+0x50>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  If there is at least one thread waiting, then do not delete it.
       */                                                             
      if ( _Thread_queue_First( &the_rwlock->RWLock.Wait_queue ) != NULL ) {
  10c87f:	83 ec 0c             	sub    $0xc,%esp                      
  10c882:	8d 40 10             	lea    0x10(%eax),%eax                
  10c885:	50                   	push   %eax                           
  10c886:	e8 49 3c 00 00       	call   1104d4 <_Thread_queue_First>   
  10c88b:	83 c4 10             	add    $0x10,%esp                     
  10c88e:	85 c0                	test   %eax,%eax                      
  10c890:	74 1e                	je     10c8b0 <pthread_rwlock_destroy+0x5c>
        _Thread_Enable_dispatch();                                    
  10c892:	e8 f1 33 00 00       	call   10fc88 <_Thread_Enable_dispatch>
  10c897:	b8 10 00 00 00       	mov    $0x10,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c89c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c89f:	c9                   	leave                                 
  10c8a0:	c3                   	ret                                   
  10c8a1:	8d 76 00             	lea    0x0(%esi),%esi                 
      _Objects_Close( &_POSIX_RWLock_Information, &the_rwlock->Object );
                                                                      
      _POSIX_RWLock_Free( the_rwlock );                               
                                                                      
      _Thread_Enable_dispatch();                                      
      return 0;                                                       
  10c8a4:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10c8a9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c8ac:	c9                   	leave                                 
  10c8ad:	c3                   	ret                                   
  10c8ae:	66 90                	xchg   %ax,%ax                        
                                                                      
      /*                                                              
       *  POSIX doesn't require behavior when it is locked.           
       */                                                             
                                                                      
      _Objects_Close( &_POSIX_RWLock_Information, &the_rwlock->Object );
  10c8b0:	83 ec 08             	sub    $0x8,%esp                      
  10c8b3:	53                   	push   %ebx                           
  10c8b4:	68 60 c6 12 00       	push   $0x12c660                      
  10c8b9:	e8 22 27 00 00       	call   10efe0 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_RWLock_Free (                        
  POSIX_RWLock_Control *the_RWLock                                    
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_RWLock_Information, &the_RWLock->Object );   
  10c8be:	58                   	pop    %eax                           
  10c8bf:	5a                   	pop    %edx                           
  10c8c0:	53                   	push   %ebx                           
  10c8c1:	68 60 c6 12 00       	push   $0x12c660                      
  10c8c6:	e8 19 2a 00 00       	call   10f2e4 <_Objects_Free>         
                                                                      
      _POSIX_RWLock_Free( the_rwlock );                               
                                                                      
      _Thread_Enable_dispatch();                                      
  10c8cb:	e8 b8 33 00 00       	call   10fc88 <_Thread_Enable_dispatch>
  10c8d0:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10c8d2:	83 c4 10             	add    $0x10,%esp                     
  10c8d5:	eb d2                	jmp    10c8a9 <pthread_rwlock_destroy+0x55>
                                                                      

0010c8d8 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
  10c8d8:	55                   	push   %ebp                           
  10c8d9:	89 e5                	mov    %esp,%ebp                      
  10c8db:	56                   	push   %esi                           
  10c8dc:	53                   	push   %ebx                           
  10c8dd:	83 ec 20             	sub    $0x20,%esp                     
  10c8e0:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c8e3:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
  10c8e6:	85 db                	test   %ebx,%ebx                      
  10c8e8:	74 15                	je     10c8ff <pthread_rwlock_init+0x27>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
  10c8ea:	85 f6                	test   %esi,%esi                      
  10c8ec:	0f 84 86 00 00 00    	je     10c978 <pthread_rwlock_init+0xa0>
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
  10c8f2:	8b 16                	mov    (%esi),%edx                    
  10c8f4:	85 d2                	test   %edx,%edx                      
  10c8f6:	74 07                	je     10c8ff <pthread_rwlock_init+0x27><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
  10c8f8:	8b 46 04             	mov    0x4(%esi),%eax                 
  10c8fb:	85 c0                	test   %eax,%eax                      
  10c8fd:	74 0d                	je     10c90c <pthread_rwlock_init+0x34><== ALWAYS TAKEN
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
  10c8ff:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10c904:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c907:	5b                   	pop    %ebx                           
  10c908:	5e                   	pop    %esi                           
  10c909:	c9                   	leave                                 
  10c90a:	c3                   	ret                                   
  10c90b:	90                   	nop                                   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c90c:	a1 d8 c3 12 00       	mov    0x12c3d8,%eax                  
  10c911:	40                   	inc    %eax                           
  10c912:	a3 d8 c3 12 00       	mov    %eax,0x12c3d8                  
 *  This function allocates a RWLock control block from               
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
  10c917:	83 ec 0c             	sub    $0xc,%esp                      
  10c91a:	68 60 c6 12 00       	push   $0x12c660                      
  10c91f:	e8 40 26 00 00       	call   10ef64 <_Objects_Allocate>     
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
  10c924:	83 c4 10             	add    $0x10,%esp                     
  10c927:	85 c0                	test   %eax,%eax                      
  10c929:	74 41                	je     10c96c <pthread_rwlock_init+0x94>
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
  10c92b:	83 ec 08             	sub    $0x8,%esp                      
  10c92e:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10c931:	52                   	push   %edx                           
  10c932:	8d 50 10             	lea    0x10(%eax),%edx                
  10c935:	52                   	push   %edx                           
  10c936:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10c939:	e8 3a 1e 00 00       	call   10e778 <_CORE_RWLock_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c93e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10c941:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c944:	0f b7 f2             	movzwl %dx,%esi                       
  10c947:	8b 0d 7c c6 12 00    	mov    0x12c67c,%ecx                  
  10c94d:	89 04 b1             	mov    %eax,(%ecx,%esi,4)             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
  10c950:	c7 40 0c 00 00 00 00 	movl   $0x0,0xc(%eax)                 
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
  10c957:	89 13                	mov    %edx,(%ebx)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  10c959:	e8 2a 33 00 00       	call   10fc88 <_Thread_Enable_dispatch>
  10c95e:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
  10c960:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c963:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c966:	5b                   	pop    %ebx                           
  10c967:	5e                   	pop    %esi                           
  10c968:	c9                   	leave                                 
  10c969:	c3                   	ret                                   
  10c96a:	66 90                	xchg   %ax,%ax                        
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    _Thread_Enable_dispatch();                                        
  10c96c:	e8 17 33 00 00       	call   10fc88 <_Thread_Enable_dispatch>
  10c971:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    return EAGAIN;                                                    
  10c976:	eb 8c                	jmp    10c904 <pthread_rwlock_init+0x2c>
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
  10c978:	83 ec 0c             	sub    $0xc,%esp                      
  10c97b:	8d 75 ec             	lea    -0x14(%ebp),%esi               
  10c97e:	56                   	push   %esi                           
  10c97f:	e8 c0 09 00 00       	call   10d344 <pthread_rwlockattr_init>
  10c984:	83 c4 10             	add    $0x10,%esp                     
  10c987:	e9 66 ff ff ff       	jmp    10c8f2 <pthread_rwlock_init+0x1a>
                                                                      

0010c9f4 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10c9f4:	55                   	push   %ebp                           
  10c9f5:	89 e5                	mov    %esp,%ebp                      
  10c9f7:	56                   	push   %esi                           
  10c9f8:	53                   	push   %ebx                           
  10c9f9:	83 ec 20             	sub    $0x20,%esp                     
  10c9fc:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10c9ff:	85 db                	test   %ebx,%ebx                      
  10ca01:	74 7d                	je     10ca80 <pthread_rwlock_timedrdlock+0x8c>
   *                                                                  
   *  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 );       
  10ca03:	83 ec 08             	sub    $0x8,%esp                      
  10ca06:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10ca09:	50                   	push   %eax                           
  10ca0a:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ca0d:	e8 9a 6d 00 00       	call   1137ac <_POSIX_Absolute_timeout_to_ticks>
  10ca12:	89 c6                	mov    %eax,%esi                      
  10ca14:	83 c4 0c             	add    $0xc,%esp                      
  10ca17:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ca1a:	50                   	push   %eax                           
  10ca1b:	ff 33                	pushl  (%ebx)                         
  10ca1d:	68 60 c6 12 00       	push   $0x12c660                      
  10ca22:	e8 ed 29 00 00       	call   10f414 <_Objects_Get>          
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
  10ca27:	83 c4 10             	add    $0x10,%esp                     
  10ca2a:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ca2d:	85 d2                	test   %edx,%edx                      
  10ca2f:	75 4f                	jne    10ca80 <pthread_rwlock_timedrdlock+0x8c>
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,                                
  10ca31:	83 fe 03             	cmp    $0x3,%esi                      
  10ca34:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
  10ca37:	83 ec 0c             	sub    $0xc,%esp                      
  10ca3a:	6a 00                	push   $0x0                           
  10ca3c:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10ca3f:	0f b6 ca             	movzbl %dl,%ecx                       
  10ca42:	51                   	push   %ecx                           
  10ca43:	ff 33                	pushl  (%ebx)                         
  10ca45:	83 c0 10             	add    $0x10,%eax                     
  10ca48:	50                   	push   %eax                           
  10ca49:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10ca4c:	e8 5b 1d 00 00       	call   10e7ac <_CORE_RWLock_Obtain_for_reading>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10ca51:	83 c4 20             	add    $0x20,%esp                     
  10ca54:	e8 2f 32 00 00       	call   10fc88 <_Thread_Enable_dispatch>
      if ( !do_wait ) {                                               
  10ca59:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10ca5c:	84 d2                	test   %dl,%dl                        
  10ca5e:	75 3c                	jne    10ca9c <pthread_rwlock_timedrdlock+0xa8>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
  10ca60:	a1 98 c4 12 00       	mov    0x12c498,%eax                  
  10ca65:	8b 40 34             	mov    0x34(%eax),%eax                
  10ca68:	83 f8 02             	cmp    $0x2,%eax                      
  10ca6b:	74 1f                	je     10ca8c <pthread_rwlock_timedrdlock+0x98>
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10ca6d:	83 ec 0c             	sub    $0xc,%esp                      
  10ca70:	50                   	push   %eax                           
  10ca71:	e8 e6 00 00 00       	call   10cb5c <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10ca76:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10ca79:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ca7c:	5b                   	pop    %ebx                           
  10ca7d:	5e                   	pop    %esi                           
  10ca7e:	c9                   	leave                                 
  10ca7f:	c3                   	ret                                   
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10ca80:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10ca85:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ca88:	5b                   	pop    %ebx                           
  10ca89:	5e                   	pop    %esi                           
  10ca8a:	c9                   	leave                                 
  10ca8b:	c3                   	ret                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
  10ca8c:	85 f6                	test   %esi,%esi                      
  10ca8e:	74 f0                	je     10ca80 <pthread_rwlock_timedrdlock+0x8c><== NEVER TAKEN
  10ca90:	83 fe 02             	cmp    $0x2,%esi                      
  10ca93:	77 d8                	ja     10ca6d <pthread_rwlock_timedrdlock+0x79><== NEVER TAKEN
  10ca95:	b0 74                	mov    $0x74,%al                      
  10ca97:	eb ec                	jmp    10ca85 <pthread_rwlock_timedrdlock+0x91>
  10ca99:	8d 76 00             	lea    0x0(%esi),%esi                 
  10ca9c:	a1 98 c4 12 00       	mov    0x12c498,%eax                  
  10caa1:	8b 40 34             	mov    0x34(%eax),%eax                
  10caa4:	eb c7                	jmp    10ca6d <pthread_rwlock_timedrdlock+0x79>
                                                                      

0010caa8 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
  10caa8:	55                   	push   %ebp                           
  10caa9:	89 e5                	mov    %esp,%ebp                      
  10caab:	56                   	push   %esi                           
  10caac:	53                   	push   %ebx                           
  10caad:	83 ec 20             	sub    $0x20,%esp                     
  10cab0:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
  10cab3:	85 db                	test   %ebx,%ebx                      
  10cab5:	74 7d                	je     10cb34 <pthread_rwlock_timedwrlock+0x8c>
   *                                                                  
   *  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 );       
  10cab7:	83 ec 08             	sub    $0x8,%esp                      
  10caba:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10cabd:	50                   	push   %eax                           
  10cabe:	ff 75 0c             	pushl  0xc(%ebp)                      
  10cac1:	e8 e6 6c 00 00       	call   1137ac <_POSIX_Absolute_timeout_to_ticks>
  10cac6:	89 c6                	mov    %eax,%esi                      
  10cac8:	83 c4 0c             	add    $0xc,%esp                      
  10cacb:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cace:	50                   	push   %eax                           
  10cacf:	ff 33                	pushl  (%ebx)                         
  10cad1:	68 60 c6 12 00       	push   $0x12c660                      
  10cad6:	e8 39 29 00 00       	call   10f414 <_Objects_Get>          
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
  10cadb:	83 c4 10             	add    $0x10,%esp                     
  10cade:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10cae1:	85 d2                	test   %edx,%edx                      
  10cae3:	75 4f                	jne    10cb34 <pthread_rwlock_timedwrlock+0x8c>
        (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,                                
  10cae5:	83 fe 03             	cmp    $0x3,%esi                      
  10cae8:	0f 94 c2             	sete   %dl                            
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
  10caeb:	83 ec 0c             	sub    $0xc,%esp                      
  10caee:	6a 00                	push   $0x0                           
  10caf0:	ff 75 f0             	pushl  -0x10(%ebp)                    
  10caf3:	0f b6 ca             	movzbl %dl,%ecx                       
  10caf6:	51                   	push   %ecx                           
  10caf7:	ff 33                	pushl  (%ebx)                         
  10caf9:	83 c0 10             	add    $0x10,%eax                     
  10cafc:	50                   	push   %eax                           
  10cafd:	88 55 e4             	mov    %dl,-0x1c(%ebp)                
  10cb00:	e8 6f 1d 00 00       	call   10e874 <_CORE_RWLock_Obtain_for_writing>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10cb05:	83 c4 20             	add    $0x20,%esp                     
  10cb08:	e8 7b 31 00 00       	call   10fc88 <_Thread_Enable_dispatch>
      if ( !do_wait &&                                                
  10cb0d:	8a 55 e4             	mov    -0x1c(%ebp),%dl                
  10cb10:	84 d2                	test   %dl,%dl                        
  10cb12:	75 3c                	jne    10cb50 <pthread_rwlock_timedwrlock+0xa8>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
  10cb14:	a1 98 c4 12 00       	mov    0x12c498,%eax                  
  10cb19:	8b 40 34             	mov    0x34(%eax),%eax                
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
  10cb1c:	83 f8 02             	cmp    $0x2,%eax                      
  10cb1f:	74 1f                	je     10cb40 <pthread_rwlock_timedwrlock+0x98>
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10cb21:	83 ec 0c             	sub    $0xc,%esp                      
  10cb24:	50                   	push   %eax                           
  10cb25:	e8 32 00 00 00       	call   10cb5c <_POSIX_RWLock_Translate_core_RWLock_return_code>
  10cb2a:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10cb2d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cb30:	5b                   	pop    %ebx                           
  10cb31:	5e                   	pop    %esi                           
  10cb32:	c9                   	leave                                 
  10cb33:	c3                   	ret                                   
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
  10cb34:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
  10cb39:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cb3c:	5b                   	pop    %ebx                           
  10cb3d:	5e                   	pop    %esi                           
  10cb3e:	c9                   	leave                                 
  10cb3f:	c3                   	ret                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
  10cb40:	85 f6                	test   %esi,%esi                      
  10cb42:	74 f0                	je     10cb34 <pthread_rwlock_timedwrlock+0x8c><== NEVER TAKEN
  10cb44:	83 fe 02             	cmp    $0x2,%esi                      
  10cb47:	77 d8                	ja     10cb21 <pthread_rwlock_timedwrlock+0x79><== NEVER TAKEN
  10cb49:	b0 74                	mov    $0x74,%al                      
  10cb4b:	eb ec                	jmp    10cb39 <pthread_rwlock_timedwrlock+0x91>
  10cb4d:	8d 76 00             	lea    0x0(%esi),%esi                 
  10cb50:	a1 98 c4 12 00       	mov    0x12c498,%eax                  
  10cb55:	8b 40 34             	mov    0x34(%eax),%eax                
  10cb58:	eb c7                	jmp    10cb21 <pthread_rwlock_timedwrlock+0x79>
                                                                      

0010d2fc <pthread_rwlockattr_destroy>: */ int pthread_rwlockattr_destroy( pthread_rwlockattr_t *attr ) {
  10d2fc:	55                   	push   %ebp                           
  10d2fd:	89 e5                	mov    %esp,%ebp                      
  10d2ff:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !attr || attr->is_initialized == false )                       
  10d302:	85 c0                	test   %eax,%eax                      
  10d304:	74 12                	je     10d318 <pthread_rwlockattr_destroy+0x1c>
  10d306:	8b 10                	mov    (%eax),%edx                    
  10d308:	85 d2                	test   %edx,%edx                      
  10d30a:	74 0c                	je     10d318 <pthread_rwlockattr_destroy+0x1c>
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  10d30c:	c7 00 00 00 00 00    	movl   $0x0,(%eax)                    
  10d312:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10d314:	c9                   	leave                                 
  10d315:	c3                   	ret                                   
  10d316:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
  10d318:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10d31d:	c9                   	leave                                 
  10d31e:	c3                   	ret                                   
                                                                      

0010d364 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
  10d364:	55                   	push   %ebp                           
  10d365:	89 e5                	mov    %esp,%ebp                      
  10d367:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10d36a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  if ( !attr )                                                        
  10d36d:	85 c0                	test   %eax,%eax                      
  10d36f:	74 0b                	je     10d37c <pthread_rwlockattr_setpshared+0x18>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
  10d371:	8b 08                	mov    (%eax),%ecx                    
  10d373:	85 c9                	test   %ecx,%ecx                      
  10d375:	74 05                	je     10d37c <pthread_rwlockattr_setpshared+0x18>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
  10d377:	83 fa 01             	cmp    $0x1,%edx                      
  10d37a:	76 08                	jbe    10d384 <pthread_rwlockattr_setpshared+0x20><== ALWAYS TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
  10d37c:	b8 16 00 00 00       	mov    $0x16,%eax                     
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10d381:	c9                   	leave                                 
  10d382:	c3                   	ret                                   
  10d383:	90                   	nop                                   
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
  10d384:	89 50 04             	mov    %edx,0x4(%eax)                 
  10d387:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
  10d389:	c9                   	leave                                 
  10d38a:	c3                   	ret                                   
                                                                      

0010b818 <pthread_setcancelstate>: int pthread_setcancelstate( int state, int *oldstate ) {
  10b818:	55                   	push   %ebp                           
  10b819:	89 e5                	mov    %esp,%ebp                      
  10b81b:	53                   	push   %ebx                           
  10b81c:	83 ec 04             	sub    $0x4,%esp                      
  10b81f:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10b822:	8b 55 0c             	mov    0xc(%ebp),%edx                 
   *  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() )                                        
  10b825:	a1 f4 aa 12 00       	mov    0x12aaf4,%eax                  
  10b82a:	85 c0                	test   %eax,%eax                      
  10b82c:	75 16                	jne    10b844 <pthread_setcancelstate+0x2c>
    return EPROTO;                                                    
                                                                      
  if ( !oldstate )                                                    
  10b82e:	85 d2                	test   %edx,%edx                      
  10b830:	74 05                	je     10b837 <pthread_setcancelstate+0x1f>
    return EINVAL;                                                    
                                                                      
  if ( state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE )
  10b832:	83 f9 01             	cmp    $0x1,%ecx                      
  10b835:	76 19                	jbe    10b850 <pthread_setcancelstate+0x38>
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
                                                                      
  return 0;                                                           
  10b837:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10b83c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b83f:	c9                   	leave                                 
  10b840:	c3                   	ret                                   
  10b841:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  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() )                                        
  10b844:	b8 47 00 00 00       	mov    $0x47,%eax                     
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
  10b849:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b84c:	c9                   	leave                                 
  10b84d:	c3                   	ret                                   
  10b84e:	66 90                	xchg   %ax,%ax                        
    return EINVAL;                                                    
                                                                      
  if ( state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE )
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10b850:	a1 18 ab 12 00       	mov    0x12ab18,%eax                  
  10b855:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10b85b:	8b 1d 58 aa 12 00    	mov    0x12aa58,%ebx                  
  10b861:	43                   	inc    %ebx                           
  10b862:	89 1d 58 aa 12 00    	mov    %ebx,0x12aa58                  
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldstate = thread_support->cancelability_state;                  
  10b868:	8b 98 d4 00 00 00    	mov    0xd4(%eax),%ebx                
  10b86e:	89 1a                	mov    %ebx,(%edx)                    
    thread_support->cancelability_state = state;                      
  10b870:	89 88 d4 00 00 00    	mov    %ecx,0xd4(%eax)                
                                                                      
    _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing);
  10b876:	83 ec 0c             	sub    $0xc,%esp                      
  10b879:	ff 35 18 ab 12 00    	pushl  0x12ab18                       
  10b87f:	e8 08 5f 00 00       	call   11178c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>
  10b884:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
                                                                      
  return 0;                                                           
  10b886:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10b889:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b88c:	c9                   	leave                                 
  10b88d:	c3                   	ret                                   
                                                                      

0010b890 <pthread_setcanceltype>: int pthread_setcanceltype( int type, int *oldtype ) {
  10b890:	55                   	push   %ebp                           
  10b891:	89 e5                	mov    %esp,%ebp                      
  10b893:	53                   	push   %ebx                           
  10b894:	83 ec 04             	sub    $0x4,%esp                      
  10b897:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10b89a:	8b 55 0c             	mov    0xc(%ebp),%edx                 
   *  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() )                                        
  10b89d:	a1 f4 aa 12 00       	mov    0x12aaf4,%eax                  
  10b8a2:	85 c0                	test   %eax,%eax                      
  10b8a4:	75 16                	jne    10b8bc <pthread_setcanceltype+0x2c>
    return EPROTO;                                                    
                                                                      
  if ( !oldtype )                                                     
  10b8a6:	85 d2                	test   %edx,%edx                      
  10b8a8:	74 05                	je     10b8af <pthread_setcanceltype+0x1f>
    return EINVAL;                                                    
                                                                      
  if ( type != PTHREAD_CANCEL_DEFERRED && type != PTHREAD_CANCEL_ASYNCHRONOUS )
  10b8aa:	83 f9 01             	cmp    $0x1,%ecx                      
  10b8ad:	76 19                	jbe    10b8c8 <pthread_setcanceltype+0x38>
    _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing);
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
  return 0;                                                           
  10b8af:	b8 16 00 00 00       	mov    $0x16,%eax                     
}                                                                     
  10b8b4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b8b7:	c9                   	leave                                 
  10b8b8:	c3                   	ret                                   
  10b8b9:	8d 76 00             	lea    0x0(%esi),%esi                 
   *  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() )                                        
  10b8bc:	b8 47 00 00 00       	mov    $0x47,%eax                     
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
  return 0;                                                           
}                                                                     
  10b8c1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b8c4:	c9                   	leave                                 
  10b8c5:	c3                   	ret                                   
  10b8c6:	66 90                	xchg   %ax,%ax                        
    return EINVAL;                                                    
                                                                      
  if ( type != PTHREAD_CANCEL_DEFERRED && type != PTHREAD_CANCEL_ASYNCHRONOUS )
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10b8c8:	a1 18 ab 12 00       	mov    0x12ab18,%eax                  
  10b8cd:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10b8d3:	8b 1d 58 aa 12 00    	mov    0x12aa58,%ebx                  
  10b8d9:	43                   	inc    %ebx                           
  10b8da:	89 1d 58 aa 12 00    	mov    %ebx,0x12aa58                  
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldtype = thread_support->cancelability_type;                    
  10b8e0:	8b 98 d8 00 00 00    	mov    0xd8(%eax),%ebx                
  10b8e6:	89 1a                	mov    %ebx,(%edx)                    
    thread_support->cancelability_type = type;                        
  10b8e8:	89 88 d8 00 00 00    	mov    %ecx,0xd8(%eax)                
                                                                      
    _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing);
  10b8ee:	83 ec 0c             	sub    $0xc,%esp                      
  10b8f1:	ff 35 18 ab 12 00    	pushl  0x12ab18                       
  10b8f7:	e8 90 5e 00 00       	call   11178c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>
  10b8fc:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
  return 0;                                                           
  10b8fe:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10b901:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b904:	c9                   	leave                                 
  10b905:	c3                   	ret                                   
                                                                      

0010e358 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
  10e358:	55                   	push   %ebp                           
  10e359:	89 e5                	mov    %esp,%ebp                      
  10e35b:	57                   	push   %edi                           
  10e35c:	56                   	push   %esi                           
  10e35d:	53                   	push   %ebx                           
  10e35e:	83 ec 2c             	sub    $0x2c,%esp                     
  10e361:	8b 75 10             	mov    0x10(%ebp),%esi                
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
  10e364:	85 f6                	test   %esi,%esi                      
  10e366:	0f 84 c8 00 00 00    	je     10e434 <pthread_setschedparam+0xdc><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
  10e36c:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10e36f:	50                   	push   %eax                           
  10e370:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10e373:	50                   	push   %eax                           
  10e374:	56                   	push   %esi                           
  10e375:	ff 75 0c             	pushl  0xc(%ebp)                      
  10e378:	e8 27 64 00 00       	call   1147a4 <_POSIX_Thread_Translate_sched_param>
  10e37d:	89 c3                	mov    %eax,%ebx                      
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
  10e37f:	83 c4 10             	add    $0x10,%esp                     
  10e382:	85 c0                	test   %eax,%eax                      
  10e384:	74 0a                	je     10e390 <pthread_setschedparam+0x38>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10e386:	89 d8                	mov    %ebx,%eax                      
  10e388:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e38b:	5b                   	pop    %ebx                           
  10e38c:	5e                   	pop    %esi                           
  10e38d:	5f                   	pop    %edi                           
  10e38e:	c9                   	leave                                 
  10e38f:	c3                   	ret                                   
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
  10e390:	83 ec 08             	sub    $0x8,%esp                      
  10e393:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10e396:	50                   	push   %eax                           
  10e397:	ff 75 08             	pushl  0x8(%ebp)                      
  10e39a:	e8 c5 27 00 00       	call   110b64 <_Thread_Get>           
  10e39f:	89 c2                	mov    %eax,%edx                      
  switch ( location ) {                                               
  10e3a1:	83 c4 10             	add    $0x10,%esp                     
  10e3a4:	8b 7d dc             	mov    -0x24(%ebp),%edi               
  10e3a7:	85 ff                	test   %edi,%edi                      
  10e3a9:	0f 85 95 00 00 00    	jne    10e444 <pthread_setschedparam+0xec><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
  10e3af:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10e3b5:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
  10e3b8:	83 b8 80 00 00 00 04 	cmpl   $0x4,0x80(%eax)                
  10e3bf:	0f 84 c7 00 00 00    	je     10e48c <pthread_setschedparam+0x134>
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
  10e3c5:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10e3c8:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10e3cb:	89 81 80 00 00 00    	mov    %eax,0x80(%ecx)                
      api->schedparam  = *param;                                      
  10e3d1:	89 cf                	mov    %ecx,%edi                      
  10e3d3:	81 c7 84 00 00 00    	add    $0x84,%edi                     
  10e3d9:	b9 07 00 00 00       	mov    $0x7,%ecx                      
  10e3de:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
      the_thread->budget_algorithm = budget_algorithm;                
  10e3e0:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10e3e3:	89 42 7c             	mov    %eax,0x7c(%edx)                
      the_thread->budget_callout   = budget_callout;                  
  10e3e6:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10e3e9:	89 82 80 00 00 00    	mov    %eax,0x80(%edx)                
                                                                      
      switch ( api->schedpolicy ) {                                   
  10e3ef:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10e3f2:	85 f6                	test   %esi,%esi                      
  10e3f4:	78 2e                	js     10e424 <pthread_setschedparam+0xcc><== NEVER TAKEN
  10e3f6:	83 7d 0c 02          	cmpl   $0x2,0xc(%ebp)                 
  10e3fa:	7f 54                	jg     10e450 <pthread_setschedparam+0xf8>
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
  10e3fc:	a1 64 e6 12 00       	mov    0x12e664,%eax                  
  10e401:	89 42 78             	mov    %eax,0x78(%edx)                
  10e404:	0f b6 05 7c a4 12 00 	movzbl 0x12a47c,%eax                  
  10e40b:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10e40e:	2b 81 84 00 00 00    	sub    0x84(%ecx),%eax                
                                                                      
          the_thread->real_priority =                                 
  10e414:	89 42 18             	mov    %eax,0x18(%edx)                
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
  10e417:	51                   	push   %ecx                           
  10e418:	6a 01                	push   $0x1                           
  10e41a:	50                   	push   %eax                           
  10e41b:	52                   	push   %edx                           
  10e41c:	e8 37 22 00 00       	call   110658 <_Thread_Change_priority>
             the_thread,                                              
             the_thread->real_priority,                               
             true                                                     
          );                                                          
          break;                                                      
  10e421:	83 c4 10             	add    $0x10,%esp                     
          _Watchdog_Remove( &api->Sporadic_timer );                   
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  10e424:	e8 17 27 00 00       	call   110b40 <_Thread_Enable_dispatch>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10e429:	89 d8                	mov    %ebx,%eax                      
  10e42b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e42e:	5b                   	pop    %ebx                           
  10e42f:	5e                   	pop    %esi                           
  10e430:	5f                   	pop    %edi                           
  10e431:	c9                   	leave                                 
  10e432:	c3                   	ret                                   
  10e433:	90                   	nop                                   
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
  10e434:	bb 16 00 00 00       	mov    $0x16,%ebx                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10e439:	89 d8                	mov    %ebx,%eax                      
  10e43b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e43e:	5b                   	pop    %ebx                           
  10e43f:	5e                   	pop    %esi                           
  10e440:	5f                   	pop    %edi                           
  10e441:	c9                   	leave                                 
  10e442:	c3                   	ret                                   
  10e443:	90                   	nop                                   
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
  10e444:	b3 03                	mov    $0x3,%bl                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
  10e446:	89 d8                	mov    %ebx,%eax                      
  10e448:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e44b:	5b                   	pop    %ebx                           
  10e44c:	5e                   	pop    %esi                           
  10e44d:	5f                   	pop    %edi                           
  10e44e:	c9                   	leave                                 
  10e44f:	c3                   	ret                                   
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
  10e450:	83 7d 0c 04          	cmpl   $0x4,0xc(%ebp)                 
  10e454:	75 ce                	jne    10e424 <pthread_setschedparam+0xcc><== NEVER TAKEN
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
  10e456:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  10e459:	8b 81 84 00 00 00    	mov    0x84(%ecx),%eax                
  10e45f:	89 81 a0 00 00 00    	mov    %eax,0xa0(%ecx)                
          _Watchdog_Remove( &api->Sporadic_timer );                   
  10e465:	83 ec 0c             	sub    $0xc,%esp                      
  10e468:	89 c8                	mov    %ecx,%eax                      
  10e46a:	05 a4 00 00 00       	add    $0xa4,%eax                     
  10e46f:	50                   	push   %eax                           
  10e470:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10e473:	e8 b0 38 00 00       	call   111d28 <_Watchdog_Remove>      
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
  10e478:	58                   	pop    %eax                           
  10e479:	5a                   	pop    %edx                           
  10e47a:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10e47d:	52                   	push   %edx                           
  10e47e:	6a 00                	push   $0x0                           
  10e480:	e8 3f fe ff ff       	call   10e2c4 <_POSIX_Threads_Sporadic_budget_TSR>
  10e485:	83 c4 10             	add    $0x10,%esp                     
  10e488:	eb 9a                	jmp    10e424 <pthread_setschedparam+0xcc>
  10e48a:	66 90                	xchg   %ax,%ax                        
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
  10e48c:	83 ec 0c             	sub    $0xc,%esp                      
  10e48f:	05 a4 00 00 00       	add    $0xa4,%eax                     
  10e494:	50                   	push   %eax                           
  10e495:	89 55 d0             	mov    %edx,-0x30(%ebp)               
  10e498:	e8 8b 38 00 00       	call   111d28 <_Watchdog_Remove>      
  10e49d:	83 c4 10             	add    $0x10,%esp                     
  10e4a0:	8b 55 d0             	mov    -0x30(%ebp),%edx               
  10e4a3:	e9 1d ff ff ff       	jmp    10e3c5 <pthread_setschedparam+0x6d>
                                                                      

00112bdc <pthread_sigmask>: int pthread_sigmask( int how, const sigset_t *set, sigset_t *oset ) {
  112bdc:	55                   	push   %ebp                           
  112bdd:	89 e5                	mov    %esp,%ebp                      
  112bdf:	57                   	push   %edi                           
  112be0:	56                   	push   %esi                           
  112be1:	53                   	push   %ebx                           
  112be2:	83 ec 0c             	sub    $0xc,%esp                      
  112be5:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  112be8:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  112beb:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
  112bee:	85 d2                	test   %edx,%edx                      
  112bf0:	0f 84 9a 00 00 00    	je     112c90 <pthread_sigmask+0xb4>  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
  112bf6:	8b 35 98 b6 12 00    	mov    0x12b698,%esi                  
  112bfc:	8b 86 f8 00 00 00    	mov    0xf8(%esi),%eax                
                                                                      
  if ( oset )                                                         
  112c02:	85 db                	test   %ebx,%ebx                      
  112c04:	74 0c                	je     112c12 <pthread_sigmask+0x36>  
    *oset = api->signals_blocked;                                     
  112c06:	8b b8 cc 00 00 00    	mov    0xcc(%eax),%edi                
  112c0c:	89 3b                	mov    %edi,(%ebx)                    
                                                                      
  if ( !set )                                                         
  112c0e:	85 d2                	test   %edx,%edx                      
  112c10:	74 42                	je     112c54 <pthread_sigmask+0x78>  
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
  112c12:	83 f9 01             	cmp    $0x1,%ecx                      
  112c15:	74 6d                	je     112c84 <pthread_sigmask+0xa8>  
  112c17:	83 f9 02             	cmp    $0x2,%ecx                      
  112c1a:	74 44                	je     112c60 <pthread_sigmask+0x84>  
  112c1c:	85 c9                	test   %ecx,%ecx                      
  112c1e:	75 4c                	jne    112c6c <pthread_sigmask+0x90>  
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
      break;                                                          
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
  112c20:	8b 12                	mov    (%edx),%edx                    
  112c22:	89 90 cc 00 00 00    	mov    %edx,0xcc(%eax)                
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
  112c28:	8b 15 c8 bd 12 00    	mov    0x12bdc8,%edx                  
  112c2e:	0b 90 d0 00 00 00    	or     0xd0(%eax),%edx                
                                                                      
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
  112c34:	8b 80 cc 00 00 00    	mov    0xcc(%eax),%eax                
  112c3a:	f7 d0                	not    %eax                           
  112c3c:	85 c2                	test   %eax,%edx                      
  112c3e:	74 14                	je     112c54 <pthread_sigmask+0x78>  
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Executing->do_post_task_switch_extension = true;          
  112c40:	c6 46 74 01          	movb   $0x1,0x74(%esi)                
    _Thread_Dispatch();                                               
  112c44:	e8 97 bd ff ff       	call   10e9e0 <_Thread_Dispatch>      
  112c49:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  112c4b:	83 c4 0c             	add    $0xc,%esp                      
  112c4e:	5b                   	pop    %ebx                           
  112c4f:	5e                   	pop    %esi                           
  112c50:	5f                   	pop    %edi                           
  112c51:	c9                   	leave                                 
  112c52:	c3                   	ret                                   
  112c53:	90                   	nop                                   
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Executing->do_post_task_switch_extension = true;          
    _Thread_Dispatch();                                               
  112c54:	31 c0                	xor    %eax,%eax                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  112c56:	83 c4 0c             	add    $0xc,%esp                      
  112c59:	5b                   	pop    %ebx                           
  112c5a:	5e                   	pop    %esi                           
  112c5b:	5f                   	pop    %edi                           
  112c5c:	c9                   	leave                                 
  112c5d:	c3                   	ret                                   
  112c5e:	66 90                	xchg   %ax,%ax                        
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
  112c60:	8b 12                	mov    (%edx),%edx                    
  112c62:	f7 d2                	not    %edx                           
  112c64:	21 90 cc 00 00 00    	and    %edx,0xcc(%eax)                
      break;                                                          
  112c6a:	eb bc                	jmp    112c28 <pthread_sigmask+0x4c>  
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  112c6c:	e8 db 33 00 00       	call   11604c <__errno>               
  112c71:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  112c77:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
    _Thread_Executing->do_post_task_switch_extension = true;          
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
  112c7c:	83 c4 0c             	add    $0xc,%esp                      
  112c7f:	5b                   	pop    %ebx                           
  112c80:	5e                   	pop    %esi                           
  112c81:	5f                   	pop    %edi                           
  112c82:	c9                   	leave                                 
  112c83:	c3                   	ret                                   
  if ( !set )                                                         
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
  112c84:	8b 12                	mov    (%edx),%edx                    
  112c86:	09 90 cc 00 00 00    	or     %edx,0xcc(%eax)                
      break;                                                          
  112c8c:	eb 9a                	jmp    112c28 <pthread_sigmask+0x4c>  
  112c8e:	66 90                	xchg   %ax,%ax                        
  sigset_t         *oset                                              
)                                                                     
{                                                                     
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
  112c90:	85 db                	test   %ebx,%ebx                      
  112c92:	74 d8                	je     112c6c <pthread_sigmask+0x90>  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
  112c94:	8b 35 98 b6 12 00    	mov    0x12b698,%esi                  
  112c9a:	8b 86 f8 00 00 00    	mov    0xf8(%esi),%eax                
  112ca0:	e9 61 ff ff ff       	jmp    112c06 <pthread_sigmask+0x2a>  
                                                                      

0010c1b8 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
  10c1b8:	55                   	push   %ebp                           
  10c1b9:	89 e5                	mov    %esp,%ebp                      
  10c1bb:	83 ec 08             	sub    $0x8,%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() )                                        
  10c1be:	a1 34 b3 12 00       	mov    0x12b334,%eax                  
  10c1c3:	85 c0                	test   %eax,%eax                      
  10c1c5:	75 44                	jne    10c20b <pthread_testcancel+0x53><== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
  10c1c7:	a1 58 b3 12 00       	mov    0x12b358,%eax                  
  10c1cc:	8b 80 f8 00 00 00    	mov    0xf8(%eax),%eax                
  10c1d2:	8b 15 98 b2 12 00    	mov    0x12b298,%edx                  
  10c1d8:	42                   	inc    %edx                           
  10c1d9:	89 15 98 b2 12 00    	mov    %edx,0x12b298                  
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
  10c1df:	8b 90 d4 00 00 00    	mov    0xd4(%eax),%edx                
  10c1e5:	85 d2                	test   %edx,%edx                      
  10c1e7:	75 27                	jne    10c210 <pthread_testcancel+0x58><== NEVER TAKEN
         thread_support->cancelation_requested )                      
  10c1e9:	8b 80 dc 00 00 00    	mov    0xdc(%eax),%eax                
  10c1ef:	85 c0                	test   %eax,%eax                      
  10c1f1:	74 1d                	je     10c210 <pthread_testcancel+0x58>
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
  10c1f3:	e8 14 26 00 00       	call   10e80c <_Thread_Enable_dispatch>
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
  10c1f8:	83 ec 08             	sub    $0x8,%esp                      
  10c1fb:	6a ff                	push   $0xffffffff                    
  10c1fd:	ff 35 58 b3 12 00    	pushl  0x12b358                       
  10c203:	e8 98 63 00 00       	call   1125a0 <_POSIX_Thread_Exit>    
  10c208:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
}                                                                     
  10c20b:	c9                   	leave                                 <== NOT EXECUTED
  10c20c:	c3                   	ret                                   <== NOT EXECUTED
  10c20d:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
  10c210:	c9                   	leave                                 
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
  10c211:	e9 f6 25 00 00       	jmp    10e80c <_Thread_Enable_dispatch>
                                                                      

00111a48 <rtems_barrier_create>: rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id ) {
  111a48:	55                   	push   %ebp                           
  111a49:	89 e5                	mov    %esp,%ebp                      
  111a4b:	57                   	push   %edi                           
  111a4c:	56                   	push   %esi                           
  111a4d:	53                   	push   %ebx                           
  111a4e:	83 ec 2c             	sub    $0x2c,%esp                     
  111a51:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  111a54:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  111a57:	8b 45 10             	mov    0x10(%ebp),%eax                
  111a5a:	8b 75 14             	mov    0x14(%ebp),%esi                
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  111a5d:	85 db                	test   %ebx,%ebx                      
  111a5f:	0f 84 87 00 00 00    	je     111aec <rtems_barrier_create+0xa4>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  111a65:	85 f6                	test   %esi,%esi                      
  111a67:	0f 84 bb 00 00 00    	je     111b28 <rtems_barrier_create+0xe0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
  111a6d:	f7 c7 10 00 00 00    	test   $0x10,%edi                     
  111a73:	0f 84 83 00 00 00    	je     111afc <rtems_barrier_create+0xb4>
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
  111a79:	85 c0                	test   %eax,%eax                      
  111a7b:	0f 84 87 00 00 00    	je     111b08 <rtems_barrier_create+0xc0>
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
  111a81:	c7 45 e0 00 00 00 00 	movl   $0x0,-0x20(%ebp)               
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
  111a88:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  111a8b:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  111a90:	40                   	inc    %eax                           
  111a91:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Allocate( void )       
{                                                                     
  return (Barrier_Control *) _Objects_Allocate( &_Barrier_Information );
  111a96:	83 ec 0c             	sub    $0xc,%esp                      
  111a99:	68 c0 9d 12 00       	push   $0x129dc0                      
  111a9e:	e8 a5 b4 ff ff       	call   10cf48 <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
  111aa3:	83 c4 10             	add    $0x10,%esp                     
  111aa6:	85 c0                	test   %eax,%eax                      
  111aa8:	74 6a                	je     111b14 <rtems_barrier_create+0xcc>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_barrier->attribute_set = attribute_set;                         
  111aaa:	89 78 10             	mov    %edi,0x10(%eax)                
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
  111aad:	83 ec 08             	sub    $0x8,%esp                      
  111ab0:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  111ab3:	52                   	push   %edx                           
  111ab4:	8d 50 14             	lea    0x14(%eax),%edx                
  111ab7:	52                   	push   %edx                           
  111ab8:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  111abb:	e8 24 05 00 00       	call   111fe4 <_CORE_barrier_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  111ac0:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  111ac3:	8b 50 08             	mov    0x8(%eax),%edx                 
  111ac6:	0f b7 fa             	movzwl %dx,%edi                       
  111ac9:	8b 0d dc 9d 12 00    	mov    0x129ddc,%ecx                  
  111acf:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  111ad2:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Barrier_Information,                                            
    &the_barrier->Object,                                             
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_barrier->Object.id;                                       
  111ad5:	89 16                	mov    %edx,(%esi)                    
                                                                      
  _Thread_Enable_dispatch();                                          
  111ad7:	e8 90 c1 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  111adc:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  111ade:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  111ae1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111ae4:	5b                   	pop    %ebx                           
  111ae5:	5e                   	pop    %esi                           
  111ae6:	5f                   	pop    %edi                           
  111ae7:	c9                   	leave                                 
  111ae8:	c3                   	ret                                   
  111ae9:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  111aec:	b8 03 00 00 00       	mov    $0x3,%eax                      
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  111af1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111af4:	5b                   	pop    %ebx                           
  111af5:	5e                   	pop    %esi                           
  111af6:	5f                   	pop    %edi                           
  111af7:	c9                   	leave                                 
  111af8:	c3                   	ret                                   
  111af9:	8d 76 00             	lea    0x0(%esi),%esi                 
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  111afc:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)               
  111b03:	eb 83                	jmp    111a88 <rtems_barrier_create+0x40>
  111b05:	8d 76 00             	lea    0x0(%esi),%esi                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
  111b08:	b0 0a                	mov    $0xa,%al                       
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  111b0a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111b0d:	5b                   	pop    %ebx                           
  111b0e:	5e                   	pop    %esi                           
  111b0f:	5f                   	pop    %edi                           
  111b10:	c9                   	leave                                 
  111b11:	c3                   	ret                                   
  111b12:	66 90                	xchg   %ax,%ax                        
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
  111b14:	e8 53 c1 ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  111b19:	b8 05 00 00 00       	mov    $0x5,%eax                      
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  111b1e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  111b21:	5b                   	pop    %ebx                           
  111b22:	5e                   	pop    %esi                           
  111b23:	5f                   	pop    %edi                           
  111b24:	c9                   	leave                                 
  111b25:	c3                   	ret                                   
  111b26:	66 90                	xchg   %ax,%ax                        
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  111b28:	b8 09 00 00 00       	mov    $0x9,%eax                      
  111b2d:	eb b2                	jmp    111ae1 <rtems_barrier_create+0x99>
                                                                      

001123c4 <rtems_clock_get>: rtems_status_code rtems_clock_get( rtems_clock_get_options option, void *time_buffer ) {
  1123c4:	55                   	push   %ebp                           
  1123c5:	89 e5                	mov    %esp,%ebp                      
  1123c7:	53                   	push   %ebx                           
  1123c8:	83 ec 04             	sub    $0x4,%esp                      
  1123cb:	8b 45 08             	mov    0x8(%ebp),%eax                 
  1123ce:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  if ( !time_buffer )                                                 
  1123d1:	85 db                	test   %ebx,%ebx                      
  1123d3:	74 3b                	je     112410 <rtems_clock_get+0x4c>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
  1123d5:	85 c0                	test   %eax,%eax                      
  1123d7:	74 2b                	je     112404 <rtems_clock_get+0x40>  
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
  1123d9:	83 f8 01             	cmp    $0x1,%eax                      
  1123dc:	74 3e                	je     11241c <rtems_clock_get+0x58>  
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
  1123de:	83 f8 02             	cmp    $0x2,%eax                      
  1123e1:	74 45                	je     112428 <rtems_clock_get+0x64>  
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
  1123e3:	83 f8 03             	cmp    $0x3,%eax                      
  1123e6:	74 4c                	je     112434 <rtems_clock_get+0x70>  
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
  1123e8:	83 f8 04             	cmp    $0x4,%eax                      
  1123eb:	74 0b                	je     1123f8 <rtems_clock_get+0x34>  
  1123ed:	b8 0a 00 00 00       	mov    $0xa,%eax                      
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  1123f2:	5a                   	pop    %edx                           
  1123f3:	5b                   	pop    %ebx                           
  1123f4:	c9                   	leave                                 
  1123f5:	c3                   	ret                                   
  1123f6:	66 90                	xchg   %ax,%ax                        
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
  1123f8:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  1123fb:	59                   	pop    %ecx                           
  1123fc:	5b                   	pop    %ebx                           
  1123fd:	c9                   	leave                                 
    *interval = rtems_clock_get_ticks_per_second();                   
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
  1123fe:	e9 49 01 00 00       	jmp    11254c <rtems_clock_get_tod_timeval>
  112403:	90                   	nop                                   
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
  112404:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  112407:	58                   	pop    %eax                           
  112408:	5b                   	pop    %ebx                           
  112409:	c9                   	leave                                 
{                                                                     
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
  11240a:	e9 7d 00 00 00       	jmp    11248c <rtems_clock_get_tod>   
  11240f:	90                   	nop                                   
rtems_status_code rtems_clock_get(                                    
  rtems_clock_get_options  option,                                    
  void                    *time_buffer                                
)                                                                     
{                                                                     
  if ( !time_buffer )                                                 
  112410:	b8 09 00 00 00       	mov    $0x9,%eax                      
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  112415:	5a                   	pop    %edx                           
  112416:	5b                   	pop    %ebx                           
  112417:	c9                   	leave                                 
  112418:	c3                   	ret                                   
  112419:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
  11241c:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
  if ( option == RTEMS_CLOCK_GET_TIME_VALUE )                         
      return rtems_clock_get_tod_timeval( (struct timeval *)time_buffer );
                                                                      
  return RTEMS_INVALID_NUMBER;                                        
                                                                      
}                                                                     
  11241f:	5b                   	pop    %ebx                           
  112420:	5b                   	pop    %ebx                           
  112421:	c9                   	leave                                 
                                                                      
  if ( option == RTEMS_CLOCK_GET_TOD )                                
    return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );   
                                                                      
  if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )                
      return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
  112422:	e9 19 00 00 00       	jmp    112440 <rtems_clock_get_seconds_since_epoch>
  112427:	90                   	nop                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_since_boot();                   
  112428:	e8 53 00 00 00       	call   112480 <rtems_clock_get_ticks_since_boot>
  11242d:	89 03                	mov    %eax,(%ebx)                    
  11242f:	31 c0                	xor    %eax,%eax                      
    return RTEMS_SUCCESSFUL;                                          
  112431:	eb bf                	jmp    1123f2 <rtems_clock_get+0x2e>  
  112433:	90                   	nop                                   
  }                                                                   
                                                                      
  if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {                 
    rtems_interval *interval = (rtems_interval *)time_buffer;         
                                                                      
    *interval = rtems_clock_get_ticks_per_second();                   
  112434:	e8 33 00 00 00       	call   11246c <rtems_clock_get_ticks_per_second>
  112439:	89 03                	mov    %eax,(%ebx)                    
  11243b:	31 c0                	xor    %eax,%eax                      
    return RTEMS_SUCCESSFUL;                                          
  11243d:	eb b3                	jmp    1123f2 <rtems_clock_get+0x2e>  
                                                                      

0010c668 <rtems_clock_get_tod>: #include <rtems/score/watchdog.h> rtems_status_code rtems_clock_get_tod( rtems_time_of_day *time_buffer ) {
  10c668:	55                   	push   %ebp                           
  10c669:	89 e5                	mov    %esp,%ebp                      
  10c66b:	56                   	push   %esi                           
  10c66c:	53                   	push   %ebx                           
  10c66d:	83 ec 50             	sub    $0x50,%esp                     
  10c670:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  rtems_time_of_day *tmbuf = time_buffer;                             
  struct tm time;                                                     
  struct timeval now;                                                 
                                                                      
  if ( !time_buffer )                                                 
  10c673:	85 db                	test   %ebx,%ebx                      
  10c675:	0f 84 a1 00 00 00    	je     10c71c <rtems_clock_get_tod+0xb4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  10c67b:	80 3d 8c ce 12 00 00 	cmpb   $0x0,0x12ce8c                  
  10c682:	75 0c                	jne    10c690 <rtems_clock_get_tod+0x28>
  10c684:	b8 0b 00 00 00       	mov    $0xb,%eax                      
  tmbuf->second = time.tm_sec;                                        
  tmbuf->ticks  = now.tv_usec /                                       
    rtems_configuration_get_microseconds_per_tick();                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c689:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c68c:	5b                   	pop    %ebx                           
  10c68d:	5e                   	pop    %esi                           
  10c68e:	c9                   	leave                                 
  10c68f:	c3                   	ret                                   
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
  10c690:	9c                   	pushf                                 
  10c691:	fa                   	cli                                   
  10c692:	5e                   	pop    %esi                           
    _TOD_Get( &now );                                                 
  10c693:	83 ec 0c             	sub    $0xc,%esp                      
  10c696:	8d 45 e8             	lea    -0x18(%ebp),%eax               
  10c699:	50                   	push   %eax                           
  10c69a:	e8 19 19 00 00       	call   10dfb8 <_TOD_Get>              
  _ISR_Enable(level);                                                 
  10c69f:	56                   	push   %esi                           
  10c6a0:	9d                   	popf                                  
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  10c6a1:	8b 4d ec             	mov    -0x14(%ebp),%ecx               
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  10c6a4:	8b 45 e8             	mov    -0x18(%ebp),%eax               
  10c6a7:	89 45 f0             	mov    %eax,-0x10(%ebp)               
  time->tv_usec = useconds;                                           
  10c6aa:	be d3 4d 62 10       	mov    $0x10624dd3,%esi               
  10c6af:	89 c8                	mov    %ecx,%eax                      
  10c6b1:	f7 ee                	imul   %esi                           
  10c6b3:	89 45 b0             	mov    %eax,-0x50(%ebp)               
  10c6b6:	89 55 b4             	mov    %edx,-0x4c(%ebp)               
  10c6b9:	8b 75 b4             	mov    -0x4c(%ebp),%esi               
  10c6bc:	c1 fe 06             	sar    $0x6,%esi                      
  10c6bf:	89 c8                	mov    %ecx,%eax                      
  10c6c1:	99                   	cltd                                  
  10c6c2:	29 d6                	sub    %edx,%esi                      
  10c6c4:	89 75 f4             	mov    %esi,-0xc(%ebp)                
                                                                      
  /* Obtain the current time */                                       
  _TOD_Get_timeval( &now );                                           
                                                                      
  /* Split it into a closer format */                                 
  gmtime_r( &now.tv_sec, &time );                                     
  10c6c7:	58                   	pop    %eax                           
  10c6c8:	5a                   	pop    %edx                           
  10c6c9:	8d 45 c4             	lea    -0x3c(%ebp),%eax               
  10c6cc:	50                   	push   %eax                           
  10c6cd:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10c6d0:	50                   	push   %eax                           
  10c6d1:	e8 0e aa 00 00       	call   1170e4 <gmtime_r>              
                                                                      
  /* Now adjust it to the RTEMS format */                             
  tmbuf->year   = time.tm_year + 1900;                                
  10c6d6:	8b 45 d8             	mov    -0x28(%ebp),%eax               
  10c6d9:	05 6c 07 00 00       	add    $0x76c,%eax                    
  10c6de:	89 03                	mov    %eax,(%ebx)                    
  tmbuf->month  = time.tm_mon + 1;                                    
  10c6e0:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  10c6e3:	40                   	inc    %eax                           
  10c6e4:	89 43 04             	mov    %eax,0x4(%ebx)                 
  tmbuf->day    = time.tm_mday;                                       
  10c6e7:	8b 45 d0             	mov    -0x30(%ebp),%eax               
  10c6ea:	89 43 08             	mov    %eax,0x8(%ebx)                 
  tmbuf->hour   = time.tm_hour;                                       
  10c6ed:	8b 45 cc             	mov    -0x34(%ebp),%eax               
  10c6f0:	89 43 0c             	mov    %eax,0xc(%ebx)                 
  tmbuf->minute = time.tm_min;                                        
  10c6f3:	8b 45 c8             	mov    -0x38(%ebp),%eax               
  10c6f6:	89 43 10             	mov    %eax,0x10(%ebx)                
  tmbuf->second = time.tm_sec;                                        
  10c6f9:	8b 45 c4             	mov    -0x3c(%ebp),%eax               
  10c6fc:	89 43 14             	mov    %eax,0x14(%ebx)                
  tmbuf->ticks  = now.tv_usec /                                       
  10c6ff:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10c702:	31 d2                	xor    %edx,%edx                      
  10c704:	f7 35 4c 88 12 00    	divl   0x12884c                       
  10c70a:	89 43 18             	mov    %eax,0x18(%ebx)                
  10c70d:	31 c0                	xor    %eax,%eax                      
    rtems_configuration_get_microseconds_per_tick();                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  10c70f:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c712:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c715:	5b                   	pop    %ebx                           
  10c716:	5e                   	pop    %esi                           
  10c717:	c9                   	leave                                 
  10c718:	c3                   	ret                                   
  10c719:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  rtems_time_of_day *tmbuf = time_buffer;                             
  struct tm time;                                                     
  struct timeval now;                                                 
                                                                      
  if ( !time_buffer )                                                 
  10c71c:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10c721:	e9 63 ff ff ff       	jmp    10c689 <rtems_clock_get_tod+0x21>
                                                                      

0011254c <rtems_clock_get_tod_timeval>: #include <rtems/score/watchdog.h> rtems_status_code rtems_clock_get_tod_timeval( struct timeval *time ) {
  11254c:	55                   	push   %ebp                           
  11254d:	89 e5                	mov    %esp,%ebp                      
  11254f:	56                   	push   %esi                           
  112550:	53                   	push   %ebx                           
  112551:	83 ec 20             	sub    $0x20,%esp                     
  112554:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  if ( !time )                                                        
  112557:	85 db                	test   %ebx,%ebx                      
  112559:	74 59                	je     1125b4 <rtems_clock_get_tod_timeval+0x68>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  11255b:	80 3d 6c 4f 17 00 00 	cmpb   $0x0,0x174f6c                  
  112562:	75 0c                	jne    112570 <rtems_clock_get_tod_timeval+0x24>
  112564:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  _TOD_Get_timeval( time );                                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  112569:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11256c:	5b                   	pop    %ebx                           
  11256d:	5e                   	pop    %esi                           
  11256e:	c9                   	leave                                 
  11256f:	c3                   	ret                                   
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
  112570:	9c                   	pushf                                 
  112571:	fa                   	cli                                   
  112572:	5e                   	pop    %esi                           
    _TOD_Get( &now );                                                 
  112573:	83 ec 0c             	sub    $0xc,%esp                      
  112576:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  112579:	50                   	push   %eax                           
  11257a:	e8 15 1c 00 00       	call   114194 <_TOD_Get>              
  _ISR_Enable(level);                                                 
  11257f:	56                   	push   %esi                           
  112580:	9d                   	popf                                  
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  112581:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  112584:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  112587:	89 03                	mov    %eax,(%ebx)                    
  time->tv_usec = useconds;                                           
  112589:	be d3 4d 62 10       	mov    $0x10624dd3,%esi               
  11258e:	89 c8                	mov    %ecx,%eax                      
  112590:	f7 ee                	imul   %esi                           
  112592:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  112595:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  112598:	8b 75 e4             	mov    -0x1c(%ebp),%esi               
  11259b:	c1 fe 06             	sar    $0x6,%esi                      
  11259e:	89 c8                	mov    %ecx,%eax                      
  1125a0:	99                   	cltd                                  
  1125a1:	29 d6                	sub    %edx,%esi                      
  1125a3:	89 73 04             	mov    %esi,0x4(%ebx)                 
  1125a6:	31 c0                	xor    %eax,%eax                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  _TOD_Get_timeval( time );                                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
  1125a8:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1125ab:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1125ae:	5b                   	pop    %ebx                           
  1125af:	5e                   	pop    %esi                           
  1125b0:	c9                   	leave                                 
  1125b1:	c3                   	ret                                   
  1125b2:	66 90                	xchg   %ax,%ax                        
                                                                      
rtems_status_code rtems_clock_get_tod_timeval(                        
  struct timeval  *time                                               
)                                                                     
{                                                                     
  if ( !time )                                                        
  1125b4:	b8 09 00 00 00       	mov    $0x9,%eax                      
  1125b9:	eb ae                	jmp    112569 <rtems_clock_get_tod_timeval+0x1d>
                                                                      

00130d40 <rtems_clock_get_uptime>: * error code - if unsuccessful */ rtems_status_code rtems_clock_get_uptime( struct timespec *uptime ) {
  130d40:	55                   	push   %ebp                           
  130d41:	89 e5                	mov    %esp,%ebp                      
  130d43:	83 ec 08             	sub    $0x8,%esp                      
  130d46:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( !uptime )                                                      
  130d49:	85 c0                	test   %eax,%eax                      
  130d4b:	74 13                	je     130d60 <rtems_clock_get_uptime+0x20>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
  130d4d:	83 ec 0c             	sub    $0xc,%esp                      
  130d50:	50                   	push   %eax                           
  130d51:	e8 f2 0c 00 00       	call   131a48 <_TOD_Get_uptime_as_timespec>
  130d56:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  130d58:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  130d5b:	c9                   	leave                                 
  130d5c:	c3                   	ret                                   
  130d5d:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
rtems_status_code rtems_clock_get_uptime(                             
  struct timespec *uptime                                             
)                                                                     
{                                                                     
  if ( !uptime )                                                      
  130d60:	b0 09                	mov    $0x9,%al                       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _TOD_Get_uptime_as_timespec( uptime );                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  130d62:	c9                   	leave                                 
  130d63:	c3                   	ret                                   
                                                                      

0010c740 <rtems_clock_set>: */ rtems_status_code rtems_clock_set( rtems_time_of_day *time_buffer ) {
  10c740:	55                   	push   %ebp                           
  10c741:	89 e5                	mov    %esp,%ebp                      
  10c743:	53                   	push   %ebx                           
  10c744:	83 ec 14             	sub    $0x14,%esp                     
  10c747:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
  10c74a:	85 db                	test   %ebx,%ebx                      
  10c74c:	74 66                	je     10c7b4 <rtems_clock_set+0x74>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
  10c74e:	83 ec 0c             	sub    $0xc,%esp                      
  10c751:	53                   	push   %ebx                           
  10c752:	e8 39 01 00 00       	call   10c890 <_TOD_Validate>         
  10c757:	83 c4 10             	add    $0x10,%esp                     
  10c75a:	84 c0                	test   %al,%al                        
  10c75c:	75 0a                	jne    10c768 <rtems_clock_set+0x28>  
  10c75e:	b8 14 00 00 00       	mov    $0x14,%eax                     
      _TOD_Set( &newtime );                                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
}                                                                     
  10c763:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c766:	c9                   	leave                                 
  10c767:	c3                   	ret                                   
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
    newtime.tv_sec = _TOD_To_seconds( time_buffer );                  
  10c768:	83 ec 0c             	sub    $0xc,%esp                      
  10c76b:	53                   	push   %ebx                           
  10c76c:	e8 93 00 00 00       	call   10c804 <_TOD_To_seconds>       
  10c771:	89 45 f0             	mov    %eax,-0x10(%ebp)               
    newtime.tv_nsec = time_buffer->ticks *                            
  10c774:	8b 43 18             	mov    0x18(%ebx),%eax                
  10c777:	0f af 05 4c 88 12 00 	imul   0x12884c,%eax                  
  10c77e:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c781:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c784:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10c787:	c1 e0 03             	shl    $0x3,%eax                      
  10c78a:	89 45 f4             	mov    %eax,-0xc(%ebp)                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c78d:	a1 78 ce 12 00       	mov    0x12ce78,%eax                  
  10c792:	40                   	inc    %eax                           
  10c793:	a3 78 ce 12 00       	mov    %eax,0x12ce78                  
      rtems_configuration_get_nanoseconds_per_tick();                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( &newtime );                                           
  10c798:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  10c79b:	89 04 24             	mov    %eax,(%esp)                    
  10c79e:	e8 f9 18 00 00       	call   10e09c <_TOD_Set>              
    _Thread_Enable_dispatch();                                        
  10c7a3:	e8 10 2c 00 00       	call   10f3b8 <_Thread_Enable_dispatch>
  10c7a8:	31 c0                	xor    %eax,%eax                      
    return RTEMS_SUCCESSFUL;                                          
  10c7aa:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
}                                                                     
  10c7ad:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c7b0:	c9                   	leave                                 
  10c7b1:	c3                   	ret                                   
  10c7b2:	66 90                	xchg   %ax,%ax                        
  rtems_time_of_day *time_buffer                                      
)                                                                     
{                                                                     
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
  10c7b4:	b8 09 00 00 00       	mov    $0x9,%eax                      
      _TOD_Set( &newtime );                                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
}                                                                     
  10c7b9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c7bc:	c9                   	leave                                 
  10c7bd:	c3                   	ret                                   
                                                                      

0010b620 <rtems_clock_tick>: * * NOTE: This routine only works for leap-years through 2099. */ rtems_status_code rtems_clock_tick( void ) {
  10b620:	55                   	push   %ebp                           
  10b621:	89 e5                	mov    %esp,%ebp                      
  10b623:	83 ec 08             	sub    $0x8,%esp                      
  _TOD_Tickle_ticks();                                                
  10b626:	e8 dd 14 00 00       	call   10cb08 <_TOD_Tickle_ticks>     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_ticks( void )              
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Ticks_chain );                         
  10b62b:	83 ec 0c             	sub    $0xc,%esp                      
  10b62e:	68 d8 94 12 00       	push   $0x1294d8                      
  10b633:	e8 3c 37 00 00       	call   10ed74 <_Watchdog_Tickle>      
                                                                      
  _Watchdog_Tickle_ticks();                                           
                                                                      
  _Thread_Tickle_timeslice();                                         
  10b638:	e8 c7 31 00 00       	call   10e804 <_Thread_Tickle_timeslice>
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void ) 
{                                                                     
  return ( _Context_Switch_necessary );                               
  10b63d:	a0 c8 94 12 00       	mov    0x1294c8,%al                   
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
  10b642:	83 c4 10             	add    $0x10,%esp                     
  10b645:	84 c0                	test   %al,%al                        
  10b647:	74 09                	je     10b652 <rtems_clock_tick+0x32> 
 *  otherwise.                                                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void )      
{                                                                     
  return ( _Thread_Dispatch_disable_level == 0 );                     
  10b649:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10b64e:	85 c0                	test   %eax,%eax                      
  10b650:	74 06                	je     10b658 <rtems_clock_tick+0x38> 
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b652:	31 c0                	xor    %eax,%eax                      
  10b654:	c9                   	leave                                 
  10b655:	c3                   	ret                                   
  10b656:	66 90                	xchg   %ax,%ax                        
                                                                      
  _Thread_Tickle_timeslice();                                         
                                                                      
  if ( _Thread_Is_context_switch_necessary() &&                       
       _Thread_Is_dispatching_enabled() )                             
    _Thread_Dispatch();                                               
  10b658:	e8 b3 24 00 00       	call   10db10 <_Thread_Dispatch>      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10b65d:	31 c0                	xor    %eax,%eax                      
  10b65f:	c9                   	leave                                 
  10b660:	c3                   	ret                                   
                                                                      

0010b7e8 <rtems_event_send>: rtems_status_code rtems_event_send( rtems_id id, rtems_event_set event_in ) {
  10b7e8:	55                   	push   %ebp                           
  10b7e9:	89 e5                	mov    %esp,%ebp                      
  10b7eb:	53                   	push   %ebx                           
  10b7ec:	83 ec 1c             	sub    $0x1c,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10b7ef:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b7f2:	50                   	push   %eax                           
  10b7f3:	ff 75 08             	pushl  0x8(%ebp)                      
  10b7f6:	e8 95 24 00 00       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  10b7fb:	83 c4 10             	add    $0x10,%esp                     
  10b7fe:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10b801:	85 d2                	test   %edx,%edx                      
  10b803:	75 2b                	jne    10b830 <rtems_event_send+0x48> 
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  10b805:	8b 90 f4 00 00 00    	mov    0xf4(%eax),%edx                
  rtems_event_set *the_event_set                                      
)                                                                     
{                                                                     
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
  10b80b:	9c                   	pushf                                 
  10b80c:	fa                   	cli                                   
  10b80d:	59                   	pop    %ecx                           
    *the_event_set |= the_new_events;                                 
  10b80e:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10b811:	09 1a                	or     %ebx,(%edx)                    
  _ISR_Enable( level );                                               
  10b813:	51                   	push   %ecx                           
  10b814:	9d                   	popf                                  
      _Event_sets_Post( event_in, &api->pending_events );             
      _Event_Surrender( the_thread );                                 
  10b815:	83 ec 0c             	sub    $0xc,%esp                      
  10b818:	50                   	push   %eax                           
  10b819:	e8 1e 00 00 00       	call   10b83c <_Event_Surrender>      
      _Thread_Enable_dispatch();                                      
  10b81e:	e8 49 24 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10b823:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10b825:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b828:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b82b:	c9                   	leave                                 
  10b82c:	c3                   	ret                                   
  10b82d:	8d 76 00             	lea    0x0(%esi),%esi                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
  10b830:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10b835:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10b838:	c9                   	leave                                 
  10b839:	c3                   	ret                                   
                                                                      

00110e60 <rtems_extension_create>: rtems_status_code rtems_extension_create( rtems_name name, const rtems_extensions_table *extension_table, rtems_id *id ) {
  110e60:	55                   	push   %ebp                           
  110e61:	89 e5                	mov    %esp,%ebp                      
  110e63:	57                   	push   %edi                           
  110e64:	56                   	push   %esi                           
  110e65:	53                   	push   %ebx                           
  110e66:	83 ec 1c             	sub    $0x1c,%esp                     
  110e69:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  110e6c:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Extension_Control *the_extension;                                   
                                                                      
  if ( !id )                                                          
  110e6f:	85 db                	test   %ebx,%ebx                      
  110e71:	0f 84 85 00 00 00    	je     110efc <rtems_extension_create+0x9c><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  110e77:	8b 45 08             	mov    0x8(%ebp),%eax                 
  110e7a:	85 c0                	test   %eax,%eax                      
  110e7c:	75 0e                	jne    110e8c <rtems_extension_create+0x2c>
  110e7e:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_extension->Object.id;                                     
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  110e83:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110e86:	5b                   	pop    %ebx                           
  110e87:	5e                   	pop    %esi                           
  110e88:	5f                   	pop    %edi                           
  110e89:	c9                   	leave                                 
  110e8a:	c3                   	ret                                   
  110e8b:	90                   	nop                                   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  110e8c:	a1 98 73 13 00       	mov    0x137398,%eax                  
  110e91:	40                   	inc    %eax                           
  110e92:	a3 98 73 13 00       	mov    %eax,0x137398                  
#ifndef __EXTENSION_MANAGER_inl                                       
#define __EXTENSION_MANAGER_inl                                       
                                                                      
RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )   
{                                                                     
  return (Extension_Control *) _Objects_Allocate( &_Extension_Information );
  110e97:	83 ec 0c             	sub    $0xc,%esp                      
  110e9a:	68 20 76 13 00       	push   $0x137620                      
  110e9f:	e8 40 0d 00 00       	call   111be4 <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_extension = _Extension_Allocate();                              
                                                                      
  if ( !the_extension ) {                                             
  110ea4:	83 c4 10             	add    $0x10,%esp                     
  110ea7:	85 c0                	test   %eax,%eax                      
  110ea9:	74 45                	je     110ef0 <rtems_extension_create+0x90>
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
  110eab:	8d 78 24             	lea    0x24(%eax),%edi                
  110eae:	b9 08 00 00 00       	mov    $0x8,%ecx                      
  110eb3:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _User_extensions_Add_set( extension );                              
  110eb5:	83 ec 0c             	sub    $0xc,%esp                      
  110eb8:	8d 50 10             	lea    0x10(%eax),%edx                
  110ebb:	52                   	push   %edx                           
  110ebc:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  110ebf:	e8 c0 27 00 00       	call   113684 <_User_extensions_Add_set>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  110ec4:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  110ec7:	8b 50 08             	mov    0x8(%eax),%edx                 
  110eca:	0f b7 f2             	movzwl %dx,%esi                       
  110ecd:	8b 0d 3c 76 13 00    	mov    0x13763c,%ecx                  
  110ed3:	89 04 b1             	mov    %eax,(%ecx,%esi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  110ed6:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  110ed9:	89 48 0c             	mov    %ecx,0xc(%eax)                 
    &_Extension_Information,                                          
    &the_extension->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_extension->Object.id;                                     
  110edc:	89 13                	mov    %edx,(%ebx)                    
  _Thread_Enable_dispatch();                                          
  110ede:	e8 95 1a 00 00       	call   112978 <_Thread_Enable_dispatch>
  110ee3:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  110ee5:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  110ee8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  110eeb:	5b                   	pop    %ebx                           
  110eec:	5e                   	pop    %esi                           
  110eed:	5f                   	pop    %edi                           
  110eee:	c9                   	leave                                 
  110eef:	c3                   	ret                                   
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_extension = _Extension_Allocate();                              
                                                                      
  if ( !the_extension ) {                                             
    _Thread_Enable_dispatch();                                        
  110ef0:	e8 83 1a 00 00       	call   112978 <_Thread_Enable_dispatch>
  110ef5:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  110efa:	eb 87                	jmp    110e83 <rtems_extension_create+0x23>
  rtems_id                     *id                                    
)                                                                     
{                                                                     
  Extension_Control *the_extension;                                   
                                                                      
  if ( !id )                                                          
  110efc:	b8 09 00 00 00       	mov    $0x9,%eax                      
  110f01:	eb 80                	jmp    110e83 <rtems_extension_create+0x23>
                                                                      

00110f04 <rtems_extension_delete>: #include <rtems/extension.h> rtems_status_code rtems_extension_delete( rtems_id id ) {
  110f04:	55                   	push   %ebp                           
  110f05:	89 e5                	mov    %esp,%ebp                      
  110f07:	53                   	push   %ebx                           
  110f08:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Extension_Control *)                                        
  110f0b:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  110f0e:	50                   	push   %eax                           
  110f0f:	ff 75 08             	pushl  0x8(%ebp)                      
  110f12:	68 20 76 13 00       	push   $0x137620                      
  110f17:	e8 78 11 00 00       	call   112094 <_Objects_Get>          
  110f1c:	89 c3                	mov    %eax,%ebx                      
  Extension_Control   *the_extension;                                 
  Objects_Locations    location;                                      
                                                                      
  the_extension = _Extension_Get( id, &location );                    
  switch ( location ) {                                               
  110f1e:	83 c4 10             	add    $0x10,%esp                     
  110f21:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  110f24:	85 d2                	test   %edx,%edx                      
  110f26:	75 38                	jne    110f60 <rtems_extension_delete+0x5c>
    case OBJECTS_LOCAL:                                               
      _User_extensions_Remove_set( &the_extension->Extension );       
  110f28:	83 ec 0c             	sub    $0xc,%esp                      
  110f2b:	8d 40 10             	lea    0x10(%eax),%eax                
  110f2e:	50                   	push   %eax                           
  110f2f:	e8 50 28 00 00       	call   113784 <_User_extensions_Remove_set>
      _Objects_Close( &_Extension_Information, &the_extension->Object );
  110f34:	59                   	pop    %ecx                           
  110f35:	58                   	pop    %eax                           
  110f36:	53                   	push   %ebx                           
  110f37:	68 20 76 13 00       	push   $0x137620                      
  110f3c:	e8 1f 0d 00 00       	call   111c60 <_Objects_Close>        
                                                                      
RTEMS_INLINE_ROUTINE void _Extension_Free (                           
  Extension_Control *the_extension                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Extension_Information, &the_extension->Object );   
  110f41:	58                   	pop    %eax                           
  110f42:	5a                   	pop    %edx                           
  110f43:	53                   	push   %ebx                           
  110f44:	68 20 76 13 00       	push   $0x137620                      
  110f49:	e8 16 10 00 00       	call   111f64 <_Objects_Free>         
      _Extension_Free( the_extension );                               
      _Thread_Enable_dispatch();                                      
  110f4e:	e8 25 1a 00 00       	call   112978 <_Thread_Enable_dispatch>
  110f53:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  110f55:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  110f58:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110f5b:	c9                   	leave                                 
  110f5c:	c3                   	ret                                   
  110f5d:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Extension_Control   *the_extension;                                 
  Objects_Locations    location;                                      
                                                                      
  the_extension = _Extension_Get( id, &location );                    
  switch ( location ) {                                               
  110f60:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  110f65:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  110f68:	c9                   	leave                                 
  110f69:	c3                   	ret                                   
                                                                      

00114d00 <rtems_io_close>: rtems_status_code rtems_io_close( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  114d00:	55                   	push   %ebp                           
  114d01:	89 e5                	mov    %esp,%ebp                      
  114d03:	56                   	push   %esi                           
  114d04:	53                   	push   %ebx                           
  114d05:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114d08:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  114d0b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114d0e:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  114d14:	76 22                	jbe    114d38 <rtems_io_close+0x38>   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  114d16:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  114d19:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  114d1f:	8b 54 f2 08          	mov    0x8(%edx,%esi,8),%edx          
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d23:	85 d2                	test   %edx,%edx                      
  114d25:	74 1d                	je     114d44 <rtems_io_close+0x44>   
  114d27:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  114d2a:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  114d2d:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  114d30:	5b                   	pop    %ebx                           
  114d31:	5e                   	pop    %esi                           
  114d32:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d33:	ff e2                	jmp    *%edx                          
  114d35:	8d 76 00             	lea    0x0(%esi),%esi                 
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114d38:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  114d3d:	5b                   	pop    %ebx                           
  114d3e:	5e                   	pop    %esi                           
  114d3f:	c9                   	leave                                 
  114d40:	c3                   	ret                                   
  114d41:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d44:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114d46:	5b                   	pop    %ebx                           
  114d47:	5e                   	pop    %esi                           
  114d48:	c9                   	leave                                 
  114d49:	c3                   	ret                                   
                                                                      

00114d4c <rtems_io_control>: rtems_status_code rtems_io_control( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  114d4c:	55                   	push   %ebp                           
  114d4d:	89 e5                	mov    %esp,%ebp                      
  114d4f:	56                   	push   %esi                           
  114d50:	53                   	push   %ebx                           
  114d51:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114d54:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  114d57:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114d5a:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  114d60:	76 22                	jbe    114d84 <rtems_io_control+0x38> 
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  114d62:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  114d65:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  114d6b:	8b 54 f2 14          	mov    0x14(%edx,%esi,8),%edx         
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d6f:	85 d2                	test   %edx,%edx                      
  114d71:	74 1d                	je     114d90 <rtems_io_control+0x44> 
  114d73:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  114d76:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  114d79:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  114d7c:	5b                   	pop    %ebx                           
  114d7d:	5e                   	pop    %esi                           
  114d7e:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d7f:	ff e2                	jmp    *%edx                          
  114d81:	8d 76 00             	lea    0x0(%esi),%esi                 
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114d84:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  114d89:	5b                   	pop    %ebx                           
  114d8a:	5e                   	pop    %esi                           
  114d8b:	c9                   	leave                                 
  114d8c:	c3                   	ret                                   
  114d8d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].control_entry;            
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114d90:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114d92:	5b                   	pop    %ebx                           
  114d93:	5e                   	pop    %esi                           
  114d94:	c9                   	leave                                 
  114d95:	c3                   	ret                                   
                                                                      

00111f5c <rtems_io_initialize>: rtems_status_code rtems_io_initialize( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  111f5c:	55                   	push   %ebp                           
  111f5d:	89 e5                	mov    %esp,%ebp                      
  111f5f:	56                   	push   %esi                           
  111f60:	53                   	push   %ebx                           
  111f61:	8b 45 08             	mov    0x8(%ebp),%eax                 
  111f64:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  111f67:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  111f6a:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  111f70:	76 1e                	jbe    111f90 <rtems_io_initialize+0x34>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  111f72:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  111f75:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  111f7b:	8b 14 f2             	mov    (%edx,%esi,8),%edx             
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  111f7e:	85 d2                	test   %edx,%edx                      
  111f80:	74 1a                	je     111f9c <rtems_io_initialize+0x40>
  111f82:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  111f85:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  111f88:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  111f8b:	5b                   	pop    %ebx                           
  111f8c:	5e                   	pop    %esi                           
  111f8d:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  111f8e:	ff e2                	jmp    *%edx                          
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  111f90:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  111f95:	5b                   	pop    %ebx                           
  111f96:	5e                   	pop    %esi                           
  111f97:	c9                   	leave                                 
  111f98:	c3                   	ret                                   
  111f99:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].initialization_entry;     
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  111f9c:	31 c0                	xor    %eax,%eax                      
}                                                                     
  111f9e:	5b                   	pop    %ebx                           
  111f9f:	5e                   	pop    %esi                           
  111fa0:	c9                   	leave                                 
  111fa1:	c3                   	ret                                   
                                                                      

00114d98 <rtems_io_open>: rtems_status_code rtems_io_open( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  114d98:	55                   	push   %ebp                           
  114d99:	89 e5                	mov    %esp,%ebp                      
  114d9b:	56                   	push   %esi                           
  114d9c:	53                   	push   %ebx                           
  114d9d:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114da0:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  114da3:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114da6:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  114dac:	76 22                	jbe    114dd0 <rtems_io_open+0x38>    
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  114dae:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  114db1:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  114db7:	8b 54 f2 04          	mov    0x4(%edx,%esi,8),%edx          
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114dbb:	85 d2                	test   %edx,%edx                      
  114dbd:	74 1d                	je     114ddc <rtems_io_open+0x44>    
  114dbf:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  114dc2:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  114dc5:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  114dc8:	5b                   	pop    %ebx                           
  114dc9:	5e                   	pop    %esi                           
  114dca:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114dcb:	ff e2                	jmp    *%edx                          
  114dcd:	8d 76 00             	lea    0x0(%esi),%esi                 
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114dd0:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  114dd5:	5b                   	pop    %ebx                           
  114dd6:	5e                   	pop    %esi                           
  114dd7:	c9                   	leave                                 
  114dd8:	c3                   	ret                                   
  114dd9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].open_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114ddc:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114dde:	5b                   	pop    %ebx                           
  114ddf:	5e                   	pop    %esi                           
  114de0:	c9                   	leave                                 
  114de1:	c3                   	ret                                   
                                                                      

00114de4 <rtems_io_read>: rtems_status_code rtems_io_read( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  114de4:	55                   	push   %ebp                           
  114de5:	89 e5                	mov    %esp,%ebp                      
  114de7:	56                   	push   %esi                           
  114de8:	53                   	push   %ebx                           
  114de9:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114dec:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  114def:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114df2:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  114df8:	76 22                	jbe    114e1c <rtems_io_read+0x38>    
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  114dfa:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  114dfd:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  114e03:	8b 54 f2 0c          	mov    0xc(%edx,%esi,8),%edx          
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e07:	85 d2                	test   %edx,%edx                      
  114e09:	74 1d                	je     114e28 <rtems_io_read+0x44>    
  114e0b:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  114e0e:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  114e11:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  114e14:	5b                   	pop    %ebx                           
  114e15:	5e                   	pop    %esi                           
  114e16:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e17:	ff e2                	jmp    *%edx                          
  114e19:	8d 76 00             	lea    0x0(%esi),%esi                 
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114e1c:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  114e21:	5b                   	pop    %ebx                           
  114e22:	5e                   	pop    %esi                           
  114e23:	c9                   	leave                                 
  114e24:	c3                   	ret                                   
  114e25:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].read_entry;               
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e28:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114e2a:	5b                   	pop    %ebx                           
  114e2b:	5e                   	pop    %esi                           
  114e2c:	c9                   	leave                                 
  114e2d:	c3                   	ret                                   
                                                                      

0010d530 <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 ) {
  10d530:	55                   	push   %ebp                           
  10d531:	89 e5                	mov    %esp,%ebp                      
  10d533:	57                   	push   %edi                           
  10d534:	56                   	push   %esi                           
  10d535:	53                   	push   %ebx                           
  10d536:	83 ec 0c             	sub    $0xc,%esp                      
  10d539:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10d53c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10d53f:	8b 55 10             	mov    0x10(%ebp),%edx                
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
  10d542:	a1 80 cf 12 00       	mov    0x12cf80,%eax                  
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10d547:	8b 0d b4 c5 12 00    	mov    0x12c5b4,%ecx                  
  10d54d:	85 c9                	test   %ecx,%ecx                      
  10d54f:	0f 85 ab 00 00 00    	jne    10d600 <rtems_io_register_driver+0xd0>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
  10d555:	85 d2                	test   %edx,%edx                      
  10d557:	0f 84 e3 00 00 00    	je     10d640 <rtems_io_register_driver+0x110>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
  10d55d:	89 02                	mov    %eax,(%edx)                    
                                                                      
  if ( driver_table == NULL )                                         
  10d55f:	85 f6                	test   %esi,%esi                      
  10d561:	0f 84 d9 00 00 00    	je     10d640 <rtems_io_register_driver+0x110>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10d567:	8b 3e                	mov    (%esi),%edi                    
  10d569:	85 ff                	test   %edi,%edi                      
  10d56b:	0f 84 c3 00 00 00    	je     10d634 <rtems_io_register_driver+0x104>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10d571:	39 d8                	cmp    %ebx,%eax                      
  10d573:	76 7b                	jbe    10d5f0 <rtems_io_register_driver+0xc0>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10d575:	a1 18 c5 12 00       	mov    0x12c518,%eax                  
  10d57a:	40                   	inc    %eax                           
  10d57b:	a3 18 c5 12 00       	mov    %eax,0x12c518                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
  10d580:	85 db                	test   %ebx,%ebx                      
  10d582:	0f 85 88 00 00 00    	jne    10d610 <rtems_io_register_driver+0xe0>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
  10d588:	8b 0d 80 cf 12 00    	mov    0x12cf80,%ecx                  
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
  10d58e:	85 c9                	test   %ecx,%ecx                      
  10d590:	0f 84 b7 00 00 00    	je     10d64d <rtems_io_register_driver+0x11d><== NEVER TAKEN
  10d596:	8b 3d 84 cf 12 00    	mov    0x12cf84,%edi                  
  10d59c:	89 f8                	mov    %edi,%eax                      
  10d59e:	eb 08                	jmp    10d5a8 <rtems_io_register_driver+0x78>
  10d5a0:	43                   	inc    %ebx                           
  10d5a1:	83 c0 18             	add    $0x18,%eax                     
  10d5a4:	39 d9                	cmp    %ebx,%ecx                      
  10d5a6:	76 0b                	jbe    10d5b3 <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;
  10d5a8:	83 38 00             	cmpl   $0x0,(%eax)                    
  10d5ab:	75 f3                	jne    10d5a0 <rtems_io_register_driver+0x70>
  10d5ad:	83 78 04 00          	cmpl   $0x0,0x4(%eax)                 
  10d5b1:	75 ed                	jne    10d5a0 <rtems_io_register_driver+0x70>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10d5b3:	89 1a                	mov    %ebx,(%edx)                    
                                                                      
  if ( m != n )                                                       
  10d5b5:	39 d9                	cmp    %ebx,%ecx                      
  10d5b7:	0f 84 97 00 00 00    	je     10d654 <rtems_io_register_driver+0x124>
  10d5bd:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  10d5c0:	8d 04 c7             	lea    (%edi,%eax,8),%eax             
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
  10d5c3:	b9 06 00 00 00       	mov    $0x6,%ecx                      
  10d5c8:	89 c7                	mov    %eax,%edi                      
  10d5ca:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  _Thread_Enable_dispatch();                                          
  10d5cc:	e8 1b 1a 00 00       	call   10efec <_Thread_Enable_dispatch>
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10d5d1:	c7 45 10 00 00 00 00 	movl   $0x0,0x10(%ebp)                
  10d5d8:	c7 45 0c 00 00 00 00 	movl   $0x0,0xc(%ebp)                 
  10d5df:	89 5d 08             	mov    %ebx,0x8(%ebp)                 
}                                                                     
  10d5e2:	83 c4 0c             	add    $0xc,%esp                      
  10d5e5:	5b                   	pop    %ebx                           
  10d5e6:	5e                   	pop    %esi                           
  10d5e7:	5f                   	pop    %edi                           
  10d5e8:	c9                   	leave                                 
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10d5e9:	e9 32 87 00 00       	jmp    115d20 <rtems_io_initialize>   
  10d5ee:	66 90                	xchg   %ax,%ax                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
  10d5f0:	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 );                       
}                                                                     
  10d5f5:	83 c4 0c             	add    $0xc,%esp                      
  10d5f8:	5b                   	pop    %ebx                           
  10d5f9:	5e                   	pop    %esi                           
  10d5fa:	5f                   	pop    %edi                           
  10d5fb:	c9                   	leave                                 
  10d5fc:	c3                   	ret                                   
  10d5fd:	8d 76 00             	lea    0x0(%esi),%esi                 
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
  10d600:	b8 12 00 00 00       	mov    $0x12,%eax                     
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10d605:	83 c4 0c             	add    $0xc,%esp                      
  10d608:	5b                   	pop    %ebx                           
  10d609:	5e                   	pop    %esi                           
  10d60a:	5f                   	pop    %edi                           
  10d60b:	c9                   	leave                                 
  10d60c:	c3                   	ret                                   
  10d60d:	8d 76 00             	lea    0x0(%esi),%esi                 
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
  10d610:	8d 04 5b             	lea    (%ebx,%ebx,2),%eax             
  10d613:	c1 e0 03             	shl    $0x3,%eax                      
  10d616:	03 05 84 cf 12 00    	add    0x12cf84,%eax                  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10d61c:	8b 38                	mov    (%eax),%edi                    
  10d61e:	85 ff                	test   %edi,%edi                      
  10d620:	74 3e                	je     10d660 <rtems_io_register_driver+0x130>
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
  10d622:	e8 c5 19 00 00       	call   10efec <_Thread_Enable_dispatch>
  10d627:	b8 0c 00 00 00       	mov    $0xc,%eax                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
  10d62c:	83 c4 0c             	add    $0xc,%esp                      
  10d62f:	5b                   	pop    %ebx                           
  10d630:	5e                   	pop    %esi                           
  10d631:	5f                   	pop    %edi                           
  10d632:	c9                   	leave                                 
  10d633:	c3                   	ret                                   
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10d634:	8b 4e 04             	mov    0x4(%esi),%ecx                 
  10d637:	85 c9                	test   %ecx,%ecx                      
  10d639:	0f 85 32 ff ff ff    	jne    10d571 <rtems_io_register_driver+0x41>
  10d63f:	90                   	nop                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
  10d640:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  10d645:	83 c4 0c             	add    $0xc,%esp                      
  10d648:	5b                   	pop    %ebx                           
  10d649:	5e                   	pop    %esi                           
  10d64a:	5f                   	pop    %edi                           
  10d64b:	c9                   	leave                                 
  10d64c:	c3                   	ret                                   
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
  10d64d:	c7 02 00 00 00 00    	movl   $0x0,(%edx)                    <== NOT EXECUTED
  10d653:	90                   	nop                                   <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
  10d654:	e8 93 19 00 00       	call   10efec <_Thread_Enable_dispatch>
  10d659:	b8 05 00 00 00       	mov    $0x5,%eax                      
      return sc;                                                      
  10d65e:	eb 95                	jmp    10d5f5 <rtems_io_register_driver+0xc5>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
  10d660:	8b 48 04             	mov    0x4(%eax),%ecx                 
  10d663:	85 c9                	test   %ecx,%ecx                      
  10d665:	75 bb                	jne    10d622 <rtems_io_register_driver+0xf2>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
  10d667:	89 1a                	mov    %ebx,(%edx)                    
  10d669:	e9 55 ff ff ff       	jmp    10d5c3 <rtems_io_register_driver+0x93>
                                                                      

0010d670 <rtems_io_unregister_driver>: */ rtems_status_code rtems_io_unregister_driver( rtems_device_major_number major ) {
  10d670:	55                   	push   %ebp                           
  10d671:	89 e5                	mov    %esp,%ebp                      
  10d673:	57                   	push   %edi                           
  10d674:	83 ec 04             	sub    $0x4,%esp                      
  10d677:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( rtems_interrupt_is_in_progress() )                             
  10d67a:	8b 15 b4 c5 12 00    	mov    0x12c5b4,%edx                  
  10d680:	85 d2                	test   %edx,%edx                      
  10d682:	75 44                	jne    10d6c8 <rtems_io_unregister_driver+0x58>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
  10d684:	39 05 80 cf 12 00    	cmp    %eax,0x12cf80                  
  10d68a:	77 0c                	ja     10d698 <rtems_io_unregister_driver+0x28>
  10d68c:	b8 0d 00 00 00       	mov    $0xd,%eax                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
  10d691:	5a                   	pop    %edx                           
  10d692:	5f                   	pop    %edi                           
  10d693:	c9                   	leave                                 
  10d694:	c3                   	ret                                   
  10d695:	8d 76 00             	lea    0x0(%esi),%esi                 
  10d698:	8b 15 18 c5 12 00    	mov    0x12c518,%edx                  
  10d69e:	42                   	inc    %edx                           
  10d69f:	89 15 18 c5 12 00    	mov    %edx,0x12c518                  
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( major < _IO_Number_of_drivers ) {                              
    _Thread_Disable_dispatch();                                       
    memset(                                                           
  10d6a5:	8d 14 40             	lea    (%eax,%eax,2),%edx             
  10d6a8:	c1 e2 03             	shl    $0x3,%edx                      
  10d6ab:	03 15 84 cf 12 00    	add    0x12cf84,%edx                  
  10d6b1:	b9 18 00 00 00       	mov    $0x18,%ecx                     
  10d6b6:	31 c0                	xor    %eax,%eax                      
  10d6b8:	89 d7                	mov    %edx,%edi                      
  10d6ba:	f3 aa                	rep stos %al,%es:(%edi)               
      &_IO_Driver_address_table[major],                               
      0,                                                              
      sizeof( rtems_driver_address_table )                            
    );                                                                
    _Thread_Enable_dispatch();                                        
  10d6bc:	e8 2b 19 00 00       	call   10efec <_Thread_Enable_dispatch>
  10d6c1:	31 c0                	xor    %eax,%eax                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
  10d6c3:	5a                   	pop    %edx                           
  10d6c4:	5f                   	pop    %edi                           
  10d6c5:	c9                   	leave                                 
  10d6c6:	c3                   	ret                                   
  10d6c7:	90                   	nop                                   
                                                                      
rtems_status_code rtems_io_unregister_driver(                         
  rtems_device_major_number major                                     
)                                                                     
{                                                                     
  if ( rtems_interrupt_is_in_progress() )                             
  10d6c8:	b8 12 00 00 00       	mov    $0x12,%eax                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
  10d6cd:	5a                   	pop    %edx                           
  10d6ce:	5f                   	pop    %edi                           
  10d6cf:	c9                   	leave                                 
  10d6d0:	c3                   	ret                                   
                                                                      

00114e30 <rtems_io_write>: rtems_status_code rtems_io_write( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
  114e30:	55                   	push   %ebp                           
  114e31:	89 e5                	mov    %esp,%ebp                      
  114e33:	56                   	push   %esi                           
  114e34:	53                   	push   %ebx                           
  114e35:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114e38:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  114e3b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114e3e:	39 05 60 9e 12 00    	cmp    %eax,0x129e60                  
  114e44:	76 22                	jbe    114e68 <rtems_io_write+0x38>   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  114e46:	8d 34 40             	lea    (%eax,%eax,2),%esi             
  114e49:	8b 15 64 9e 12 00    	mov    0x129e64,%edx                  
  114e4f:	8b 54 f2 10          	mov    0x10(%edx,%esi,8),%edx         
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e53:	85 d2                	test   %edx,%edx                      
  114e55:	74 1d                	je     114e74 <rtems_io_write+0x44>   
  114e57:	89 5d 10             	mov    %ebx,0x10(%ebp)                
  114e5a:	89 4d 0c             	mov    %ecx,0xc(%ebp)                 
  114e5d:	89 45 08             	mov    %eax,0x8(%ebp)                 
}                                                                     
  114e60:	5b                   	pop    %ebx                           
  114e61:	5e                   	pop    %esi                           
  114e62:	c9                   	leave                                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e63:	ff e2                	jmp    *%edx                          
  114e65:	8d 76 00             	lea    0x0(%esi),%esi                 
  void                      *argument                                 
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
  114e68:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
}                                                                     
  114e6d:	5b                   	pop    %ebx                           
  114e6e:	5e                   	pop    %esi                           
  114e6f:	c9                   	leave                                 
  114e70:	c3                   	ret                                   
  114e71:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].write_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
  114e74:	31 c0                	xor    %eax,%eax                      
}                                                                     
  114e76:	5b                   	pop    %ebx                           
  114e77:	5e                   	pop    %esi                           
  114e78:	c9                   	leave                                 
  114e79:	c3                   	ret                                   
                                                                      

0010e548 <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) {
  10e548:	55                   	push   %ebp                           
  10e549:	89 e5                	mov    %esp,%ebp                      
  10e54b:	57                   	push   %edi                           
  10e54c:	56                   	push   %esi                           
  10e54d:	53                   	push   %ebx                           
  10e54e:	83 ec 1c             	sub    $0x1c,%esp                     
  10e551:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
  10e554:	85 ff                	test   %edi,%edi                      
  10e556:	74 4d                	je     10e5a5 <rtems_iterate_over_all_threads+0x5d><== NEVER TAKEN
  10e558:	c7 45 e4 01 00 00 00 	movl   $0x1,-0x1c(%ebp)               
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
  10e55f:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10e562:	8b 04 95 4c ce 12 00 	mov    0x12ce4c(,%edx,4),%eax         
  10e569:	85 c0                	test   %eax,%eax                      
  10e56b:	74 2f                	je     10e59c <rtems_iterate_over_all_threads+0x54>
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
  10e56d:	8b 70 04             	mov    0x4(%eax),%esi                 
    if ( !information )                                               
  10e570:	85 f6                	test   %esi,%esi                      
  10e572:	74 28                	je     10e59c <rtems_iterate_over_all_threads+0x54>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10e574:	66 83 7e 10 00       	cmpw   $0x0,0x10(%esi)                
  10e579:	74 21                	je     10e59c <rtems_iterate_over_all_threads+0x54>
  10e57b:	bb 01 00 00 00       	mov    $0x1,%ebx                      
      the_thread = (Thread_Control *)information->local_table[ i ];   
  10e580:	8b 46 1c             	mov    0x1c(%esi),%eax                
  10e583:	8b 04 98             	mov    (%eax,%ebx,4),%eax             
                                                                      
      if ( !the_thread )                                              
  10e586:	85 c0                	test   %eax,%eax                      
  10e588:	74 09                	je     10e593 <rtems_iterate_over_all_threads+0x4b><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
  10e58a:	83 ec 0c             	sub    $0xc,%esp                      
  10e58d:	50                   	push   %eax                           
  10e58e:	ff d7                	call   *%edi                          
  10e590:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
  10e593:	43                   	inc    %ebx                           
  10e594:	0f b7 46 10          	movzwl 0x10(%esi),%eax                
  10e598:	39 d8                	cmp    %ebx,%eax                      
  10e59a:	73 e4                	jae    10e580 <rtems_iterate_over_all_threads+0x38>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
  10e59c:	ff 45 e4             	incl   -0x1c(%ebp)                    
  10e59f:	83 7d e4 05          	cmpl   $0x5,-0x1c(%ebp)               
  10e5a3:	75 ba                	jne    10e55f <rtems_iterate_over_all_threads+0x17>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
  10e5a5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10e5a8:	5b                   	pop    %ebx                           
  10e5a9:	5e                   	pop    %esi                           
  10e5aa:	5f                   	pop    %edi                           
  10e5ab:	c9                   	leave                                 
  10e5ac:	c3                   	ret                                   
                                                                      

00116c74 <rtems_message_queue_broadcast>: rtems_id id, const void *buffer, size_t size, uint32_t *count ) {
  116c74:	55                   	push   %ebp                           
  116c75:	89 e5                	mov    %esp,%ebp                      
  116c77:	57                   	push   %edi                           
  116c78:	56                   	push   %esi                           
  116c79:	53                   	push   %ebx                           
  116c7a:	83 ec 1c             	sub    $0x1c,%esp                     
  116c7d:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  116c80:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  116c83:	8b 75 14             	mov    0x14(%ebp),%esi                
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  CORE_message_queue_Status       core_status;                        
                                                                      
  if ( !buffer )                                                      
  116c86:	85 db                	test   %ebx,%ebx                      
  116c88:	74 62                	je     116cec <rtems_message_queue_broadcast+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !count )                                                       
  116c8a:	85 f6                	test   %esi,%esi                      
  116c8c:	74 5e                	je     116cec <rtems_message_queue_broadcast+0x78>
RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get (      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
  116c8e:	51                   	push   %ecx                           
  116c8f:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  116c92:	50                   	push   %eax                           
  116c93:	57                   	push   %edi                           
  116c94:	68 80 4d 14 00       	push   $0x144d80                      
  116c99:	e8 fa 4c 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  116c9e:	83 c4 10             	add    $0x10,%esp                     
  116ca1:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  116ca4:	85 d2                	test   %edx,%edx                      
  116ca6:	74 10                	je     116cb8 <rtems_message_queue_broadcast+0x44>
  116ca8:	b8 04 00 00 00       	mov    $0x4,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116cad:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116cb0:	5b                   	pop    %ebx                           
  116cb1:	5e                   	pop    %esi                           
  116cb2:	5f                   	pop    %edi                           
  116cb3:	c9                   	leave                                 
  116cb4:	c3                   	ret                                   
  116cb5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      core_status = _CORE_message_queue_Broadcast(                    
  116cb8:	83 ec 08             	sub    $0x8,%esp                      
  116cbb:	56                   	push   %esi                           
  116cbc:	6a 00                	push   $0x0                           
  116cbe:	57                   	push   %edi                           
  116cbf:	ff 75 10             	pushl  0x10(%ebp)                     
  116cc2:	53                   	push   %ebx                           
  116cc3:	83 c0 14             	add    $0x14,%eax                     
  116cc6:	50                   	push   %eax                           
  116cc7:	e8 c4 34 00 00       	call   11a190 <_CORE_message_queue_Broadcast>
  116ccc:	89 c3                	mov    %eax,%ebx                      
                        NULL,                                         
                      #endif                                          
                      count                                           
                    );                                                
                                                                      
      _Thread_Enable_dispatch();                                      
  116cce:	83 c4 20             	add    $0x20,%esp                     
  116cd1:	e8 a6 55 00 00       	call   11c27c <_Thread_Enable_dispatch>
      return                                                          
        _Message_queue_Translate_core_message_queue_return_code( core_status );
  116cd6:	83 ec 0c             	sub    $0xc,%esp                      
  116cd9:	53                   	push   %ebx                           
  116cda:	e8 69 03 00 00       	call   117048 <_Message_queue_Translate_core_message_queue_return_code>
                      #endif                                          
                      count                                           
                    );                                                
                                                                      
      _Thread_Enable_dispatch();                                      
      return                                                          
  116cdf:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116ce2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116ce5:	5b                   	pop    %ebx                           
  116ce6:	5e                   	pop    %esi                           
  116ce7:	5f                   	pop    %edi                           
  116ce8:	c9                   	leave                                 
  116ce9:	c3                   	ret                                   
  116cea:	66 90                	xchg   %ax,%ax                        
                      #endif                                          
                      count                                           
                    );                                                
                                                                      
      _Thread_Enable_dispatch();                                      
      return                                                          
  116cec:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116cf1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  116cf4:	5b                   	pop    %ebx                           
  116cf5:	5e                   	pop    %esi                           
  116cf6:	5f                   	pop    %edi                           
  116cf7:	c9                   	leave                                 
  116cf8:	c3                   	ret                                   
                                                                      

00114178 <rtems_message_queue_create>: uint32_t count, size_t max_message_size, rtems_attribute attribute_set, rtems_id *id ) {
  114178:	55                   	push   %ebp                           
  114179:	89 e5                	mov    %esp,%ebp                      
  11417b:	57                   	push   %edi                           
  11417c:	56                   	push   %esi                           
  11417d:	53                   	push   %ebx                           
  11417e:	83 ec 2c             	sub    $0x2c,%esp                     
  114181:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  114184:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  114187:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  11418a:	8b 7d 18             	mov    0x18(%ebp),%edi                
  CORE_message_queue_Attributes   the_msgq_attributes;                
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  11418d:	85 db                	test   %ebx,%ebx                      
  11418f:	74 2f                	je     1141c0 <rtems_message_queue_create+0x48>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  114191:	85 ff                	test   %edi,%edi                      
  114193:	0f 84 a3 00 00 00    	je     11423c <rtems_message_queue_create+0xc4>
  if ( (is_global = _Attributes_Is_global( attribute_set ) ) &&       
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
  114199:	85 f6                	test   %esi,%esi                      
  11419b:	74 13                	je     1141b0 <rtems_message_queue_create+0x38>
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  if ( max_message_size == 0 )                                        
  11419d:	85 c9                	test   %ecx,%ecx                      
  11419f:	75 2f                	jne    1141d0 <rtems_message_queue_create+0x58>
  1141a1:	b8 08 00 00 00       	mov    $0x8,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1141a6:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1141a9:	5b                   	pop    %ebx                           
  1141aa:	5e                   	pop    %esi                           
  1141ab:	5f                   	pop    %edi                           
  1141ac:	c9                   	leave                                 
  1141ad:	c3                   	ret                                   
  1141ae:	66 90                	xchg   %ax,%ax                        
  if ( (is_global = _Attributes_Is_global( attribute_set ) ) &&       
       !_System_state_Is_multiprocessing )                            
    return RTEMS_MP_NOT_CONFIGURED;                                   
#endif                                                                
                                                                      
  if ( count == 0 )                                                   
  1141b0:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1141b5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1141b8:	5b                   	pop    %ebx                           
  1141b9:	5e                   	pop    %esi                           
  1141ba:	5f                   	pop    %edi                           
  1141bb:	c9                   	leave                                 
  1141bc:	c3                   	ret                                   
  1141bd:	8d 76 00             	lea    0x0(%esi),%esi                 
  CORE_message_queue_Attributes   the_msgq_attributes;                
#if defined(RTEMS_MULTIPROCESSING)                                    
  bool                            is_global;                          
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  1141c0:	b8 03 00 00 00       	mov    $0x3,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1141c5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1141c8:	5b                   	pop    %ebx                           
  1141c9:	5e                   	pop    %esi                           
  1141ca:	5f                   	pop    %edi                           
  1141cb:	c9                   	leave                                 
  1141cc:	c3                   	ret                                   
  1141cd:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  1141d0:	a1 f8 2f 13 00       	mov    0x132ff8,%eax                  
  1141d5:	40                   	inc    %eax                           
  1141d6:	a3 f8 2f 13 00       	mov    %eax,0x132ff8                  
#endif                                                                
#endif                                                                
                                                                      
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
  1141db:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  1141de:	e8 75 6a 00 00       	call   11ac58 <_Message_queue_Allocate>
  1141e3:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( !the_message_queue ) {                                         
  1141e5:	85 c0                	test   %eax,%eax                      
  1141e7:	8b 4d d4             	mov    -0x2c(%ebp),%ecx               
  1141ea:	74 7c                	je     114268 <rtems_message_queue_create+0xf0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_message_queue->attribute_set = attribute_set;                   
  1141ec:	8b 45 14             	mov    0x14(%ebp),%eax                
  1141ef:	89 42 10             	mov    %eax,0x10(%edx)                
                                                                      
  if (_Attributes_Is_priority( attribute_set ) )                      
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_PRIORITY;
  1141f2:	a8 04                	test   $0x4,%al                       
  1141f4:	0f 95 c0             	setne  %al                            
  1141f7:	0f b6 c0             	movzbl %al,%eax                       
  1141fa:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  else                                                                
    the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;
                                                                      
  if ( ! _CORE_message_queue_Initialize(                              
  1141fd:	51                   	push   %ecx                           
  1141fe:	56                   	push   %esi                           
  1141ff:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  114202:	50                   	push   %eax                           
  114203:	8d 42 14             	lea    0x14(%edx),%eax                
  114206:	50                   	push   %eax                           
  114207:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  11420a:	e8 f1 10 00 00       	call   115300 <_CORE_message_queue_Initialize>
  11420f:	83 c4 10             	add    $0x10,%esp                     
  114212:	84 c0                	test   %al,%al                        
  114214:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  114217:	75 2f                	jne    114248 <rtems_message_queue_create+0xd0>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Message_queue_Free (                       
  Message_queue_Control *the_message_queue                            
)                                                                     
{                                                                     
  _Objects_Free( &_Message_queue_Information, &the_message_queue->Object );
  114219:	83 ec 08             	sub    $0x8,%esp                      
  11421c:	52                   	push   %edx                           
  11421d:	68 20 3a 13 00       	push   $0x133a20                      
  114222:	e8 59 1f 00 00       	call   116180 <_Objects_Free>         
        _Objects_MP_Close(                                            
          &_Message_queue_Information, the_message_queue->Object.id); 
#endif                                                                
                                                                      
    _Message_queue_Free( the_message_queue );                         
    _Thread_Enable_dispatch();                                        
  114227:	e8 78 29 00 00       	call   116ba4 <_Thread_Enable_dispatch>
  11422c:	b8 0d 00 00 00       	mov    $0xd,%eax                      
    return RTEMS_UNSATISFIED;                                         
  114231:	83 c4 10             	add    $0x10,%esp                     
  114234:	e9 6d ff ff ff       	jmp    1141a6 <rtems_message_queue_create+0x2e>
  114239:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  11423c:	b8 09 00 00 00       	mov    $0x9,%eax                      
  114241:	e9 60 ff ff ff       	jmp    1141a6 <rtems_message_queue_create+0x2e>
  114246:	66 90                	xchg   %ax,%ax                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  114248:	8b 42 08             	mov    0x8(%edx),%eax                 
  11424b:	0f b7 f0             	movzwl %ax,%esi                       
  11424e:	8b 0d 3c 3a 13 00    	mov    0x133a3c,%ecx                  
  114254:	89 14 b1             	mov    %edx,(%ecx,%esi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  114257:	89 5a 0c             	mov    %ebx,0xc(%edx)                 
    &_Message_queue_Information,                                      
    &the_message_queue->Object,                                       
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_message_queue->Object.id;                                 
  11425a:	89 07                	mov    %eax,(%edi)                    
      name,                                                           
      0                                                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  11425c:	e8 43 29 00 00       	call   116ba4 <_Thread_Enable_dispatch>
  114261:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  114263:	e9 3e ff ff ff       	jmp    1141a6 <rtems_message_queue_create+0x2e>
  _Thread_Disable_dispatch();              /* protects object pointer */
                                                                      
  the_message_queue = _Message_queue_Allocate();                      
                                                                      
  if ( !the_message_queue ) {                                         
    _Thread_Enable_dispatch();                                        
  114268:	e8 37 29 00 00       	call   116ba4 <_Thread_Enable_dispatch>
  11426d:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  114272:	e9 2f ff ff ff       	jmp    1141a6 <rtems_message_queue_create+0x2e>
                                                                      

00119218 <rtems_message_queue_delete>: */ rtems_status_code rtems_message_queue_delete( rtems_id id ) {
  119218:	55                   	push   %ebp                           
  119219:	89 e5                	mov    %esp,%ebp                      
  11921b:	53                   	push   %ebx                           
  11921c:	83 ec 18             	sub    $0x18,%esp                     
  11921f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  119222:	50                   	push   %eax                           
  119223:	ff 75 08             	pushl  0x8(%ebp)                      
  119226:	68 20 7e 13 00       	push   $0x137e20                      
  11922b:	e8 64 8e ff ff       	call   112094 <_Objects_Get>          
  119230:	89 c3                	mov    %eax,%ebx                      
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  119232:	83 c4 10             	add    $0x10,%esp                     
  119235:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  119238:	85 c9                	test   %ecx,%ecx                      
  11923a:	75 3c                	jne    119278 <rtems_message_queue_delete+0x60>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Message_queue_Information,                    
  11923c:	83 ec 08             	sub    $0x8,%esp                      
  11923f:	50                   	push   %eax                           
  119240:	68 20 7e 13 00       	push   $0x137e20                      
  119245:	e8 16 8a ff ff       	call   111c60 <_Objects_Close>        
                      &the_message_queue->Object );                   
                                                                      
      _CORE_message_queue_Close(                                      
  11924a:	83 c4 0c             	add    $0xc,%esp                      
  11924d:	6a 05                	push   $0x5                           
  11924f:	6a 00                	push   $0x0                           
  119251:	8d 43 14             	lea    0x14(%ebx),%eax                
  119254:	50                   	push   %eax                           
  119255:	e8 de 05 00 00       	call   119838 <_CORE_message_queue_Close>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Message_queue_Free (                       
  Message_queue_Control *the_message_queue                            
)                                                                     
{                                                                     
  _Objects_Free( &_Message_queue_Information, &the_message_queue->Object );
  11925a:	58                   	pop    %eax                           
  11925b:	5a                   	pop    %edx                           
  11925c:	53                   	push   %ebx                           
  11925d:	68 20 7e 13 00       	push   $0x137e20                      
  119262:	e8 fd 8c ff ff       	call   111f64 <_Objects_Free>         
          0,                                 /* Not used */           
          0                                                           
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
  119267:	e8 0c 97 ff ff       	call   112978 <_Thread_Enable_dispatch>
  11926c:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  11926e:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  119271:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  119274:	c9                   	leave                                 
  119275:	c3                   	ret                                   
  119276:	66 90                	xchg   %ax,%ax                        
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  119278:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11927d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  119280:	c9                   	leave                                 
  119281:	c3                   	ret                                   
                                                                      

00116e68 <rtems_message_queue_flush>: rtems_status_code rtems_message_queue_flush( rtems_id id, uint32_t *count ) {
  116e68:	55                   	push   %ebp                           
  116e69:	89 e5                	mov    %esp,%ebp                      
  116e6b:	53                   	push   %ebx                           
  116e6c:	83 ec 14             	sub    $0x14,%esp                     
  116e6f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  116e72:	85 db                	test   %ebx,%ebx                      
  116e74:	74 46                	je     116ebc <rtems_message_queue_flush+0x54>
RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get (      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
  116e76:	51                   	push   %ecx                           
  116e77:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  116e7a:	50                   	push   %eax                           
  116e7b:	ff 75 08             	pushl  0x8(%ebp)                      
  116e7e:	68 80 4d 14 00       	push   $0x144d80                      
  116e83:	e8 10 4b 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  116e88:	83 c4 10             	add    $0x10,%esp                     
  116e8b:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  116e8e:	85 d2                	test   %edx,%edx                      
  116e90:	74 0a                	je     116e9c <rtems_message_queue_flush+0x34>
  116e92:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116e97:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116e9a:	c9                   	leave                                 
  116e9b:	c3                   	ret                                   
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *count = _CORE_message_queue_Flush( &the_message_queue->message_queue );
  116e9c:	83 ec 0c             	sub    $0xc,%esp                      
  116e9f:	83 c0 14             	add    $0x14,%eax                     
  116ea2:	50                   	push   %eax                           
  116ea3:	e8 a8 33 00 00       	call   11a250 <_CORE_message_queue_Flush>
  116ea8:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  116eaa:	e8 cd 53 00 00       	call   11c27c <_Thread_Enable_dispatch>
  116eaf:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  116eb1:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116eb4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116eb7:	c9                   	leave                                 
  116eb8:	c3                   	ret                                   
  116eb9:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  116ebc:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116ec1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116ec4:	c9                   	leave                                 
  116ec5:	c3                   	ret                                   
                                                                      

00116ec8 <rtems_message_queue_get_number_pending>: rtems_status_code rtems_message_queue_get_number_pending( rtems_id id, uint32_t *count ) {
  116ec8:	55                   	push   %ebp                           
  116ec9:	89 e5                	mov    %esp,%ebp                      
  116ecb:	53                   	push   %ebx                           
  116ecc:	83 ec 14             	sub    $0x14,%esp                     
  116ecf:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  116ed2:	85 db                	test   %ebx,%ebx                      
  116ed4:	74 3a                	je     116f10 <rtems_message_queue_get_number_pending+0x48>
  116ed6:	51                   	push   %ecx                           
  116ed7:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  116eda:	50                   	push   %eax                           
  116edb:	ff 75 08             	pushl  0x8(%ebp)                      
  116ede:	68 80 4d 14 00       	push   $0x144d80                      
  116ee3:	e8 b0 4a 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  116ee8:	83 c4 10             	add    $0x10,%esp                     
  116eeb:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  116eee:	85 d2                	test   %edx,%edx                      
  116ef0:	74 0a                	je     116efc <rtems_message_queue_get_number_pending+0x34>
  116ef2:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116ef7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116efa:	c9                   	leave                                 
  116efb:	c3                   	ret                                   
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *count = the_message_queue->message_queue.number_of_pending_messages;
  116efc:	8b 40 5c             	mov    0x5c(%eax),%eax                
  116eff:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  116f01:	e8 76 53 00 00       	call   11c27c <_Thread_Enable_dispatch>
  116f06:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116f08:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116f0b:	c9                   	leave                                 
  116f0c:	c3                   	ret                                   
  116f0d:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
                                                                      
  if ( !count )                                                       
  116f10:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116f15:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  116f18:	c9                   	leave                                 
  116f19:	c3                   	ret                                   
                                                                      

0011429c <rtems_message_queue_receive>: void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout ) {
  11429c:	55                   	push   %ebp                           
  11429d:	89 e5                	mov    %esp,%ebp                      
  11429f:	56                   	push   %esi                           
  1142a0:	53                   	push   %ebx                           
  1142a1:	83 ec 10             	sub    $0x10,%esp                     
  1142a4:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1142a7:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Message_queue_Control *the_message_queue;                  
  Objects_Locations               location;                           
  bool                            wait;                               
                                                                      
  if ( !buffer )                                                      
  1142aa:	85 db                	test   %ebx,%ebx                      
  1142ac:	74 6e                	je     11431c <rtems_message_queue_receive+0x80>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
  1142ae:	85 f6                	test   %esi,%esi                      
  1142b0:	74 6a                	je     11431c <rtems_message_queue_receive+0x80>
RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get (      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
  1142b2:	51                   	push   %ecx                           
  1142b3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1142b6:	50                   	push   %eax                           
  1142b7:	ff 75 08             	pushl  0x8(%ebp)                      
  1142ba:	68 20 3a 13 00       	push   $0x133a20                      
  1142bf:	e8 ec 1f 00 00       	call   1162b0 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  1142c4:	83 c4 10             	add    $0x10,%esp                     
  1142c7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1142ca:	85 d2                	test   %edx,%edx                      
  1142cc:	75 42                	jne    114310 <rtems_message_queue_receive+0x74>
      if ( _Options_Is_no_wait( option_set ) )                        
        wait = false;                                                 
      else                                                            
        wait = true;                                                  
                                                                      
      _CORE_message_queue_Seize(                                      
  1142ce:	83 ec 08             	sub    $0x8,%esp                      
  1142d1:	ff 75 18             	pushl  0x18(%ebp)                     
  1142d4:	8b 55 14             	mov    0x14(%ebp),%edx                
  1142d7:	83 e2 01             	and    $0x1,%edx                      
  1142da:	83 f2 01             	xor    $0x1,%edx                      
  1142dd:	52                   	push   %edx                           
  1142de:	56                   	push   %esi                           
  1142df:	53                   	push   %ebx                           
  1142e0:	ff 70 08             	pushl  0x8(%eax)                      
  1142e3:	83 c0 14             	add    $0x14,%eax                     
  1142e6:	50                   	push   %eax                           
  1142e7:	e8 d4 10 00 00       	call   1153c0 <_CORE_message_queue_Seize>
        buffer,                                                       
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
  1142ec:	83 c4 20             	add    $0x20,%esp                     
  1142ef:	e8 b0 28 00 00       	call   116ba4 <_Thread_Enable_dispatch>
      return _Message_queue_Translate_core_message_queue_return_code( 
  1142f4:	83 ec 0c             	sub    $0xc,%esp                      
  1142f7:	a1 b8 30 13 00       	mov    0x1330b8,%eax                  
  1142fc:	ff 70 34             	pushl  0x34(%eax)                     
  1142ff:	e8 a0 00 00 00       	call   1143a4 <_Message_queue_Translate_core_message_queue_return_code>
  114304:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  114307:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11430a:	5b                   	pop    %ebx                           
  11430b:	5e                   	pop    %esi                           
  11430c:	c9                   	leave                                 
  11430d:	c3                   	ret                                   
  11430e:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  114310:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  114315:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  114318:	5b                   	pop    %ebx                           
  114319:	5e                   	pop    %esi                           
  11431a:	c9                   	leave                                 
  11431b:	c3                   	ret                                   
        size,                                                         
        wait,                                                         
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
      return _Message_queue_Translate_core_message_queue_return_code( 
  11431c:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  114321:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  114324:	5b                   	pop    %ebx                           
  114325:	5e                   	pop    %esi                           
  114326:	c9                   	leave                                 
  114327:	c3                   	ret                                   
                                                                      

0010b9e0 <rtems_message_queue_send>: rtems_status_code rtems_message_queue_send( rtems_id id, const void *buffer, size_t size ) {
  10b9e0:	55                   	push   %ebp                           
  10b9e1:	89 e5                	mov    %esp,%ebp                      
  10b9e3:	56                   	push   %esi                           
  10b9e4:	53                   	push   %ebx                           
  10b9e5:	83 ec 10             	sub    $0x10,%esp                     
  10b9e8:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10b9eb:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  10b9ee:	85 db                	test   %ebx,%ebx                      
  10b9f0:	74 5e                	je     10ba50 <rtems_message_queue_send+0x70><== NEVER TAKEN
RTEMS_INLINE_ROUTINE Message_queue_Control *_Message_queue_Get (      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Message_queue_Control *)                                    
  10b9f2:	51                   	push   %ecx                           
  10b9f3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10b9f6:	50                   	push   %eax                           
  10b9f7:	56                   	push   %esi                           
  10b9f8:	68 20 9e 12 00       	push   $0x129e20                      
  10b9fd:	e8 f6 19 00 00       	call   10d3f8 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  10ba02:	83 c4 10             	add    $0x10,%esp                     
  10ba05:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ba08:	85 d2                	test   %edx,%edx                      
  10ba0a:	74 0c                	je     10ba18 <rtems_message_queue_send+0x38>
  10ba0c:	b8 04 00 00 00       	mov    $0x4,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ba11:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ba14:	5b                   	pop    %ebx                           
  10ba15:	5e                   	pop    %esi                           
  10ba16:	c9                   	leave                                 
  10ba17:	c3                   	ret                                   
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  bool                                    wait,                       
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
  return _CORE_message_queue_Submit(                                  
  10ba18:	6a 00                	push   $0x0                           
  10ba1a:	6a 00                	push   $0x0                           
  10ba1c:	68 ff ff ff 7f       	push   $0x7fffffff                    
  10ba21:	6a 00                	push   $0x0                           
  10ba23:	56                   	push   %esi                           
  10ba24:	ff 75 10             	pushl  0x10(%ebp)                     
  10ba27:	53                   	push   %ebx                           
  10ba28:	83 c0 14             	add    $0x14,%eax                     
  10ba2b:	50                   	push   %eax                           
  10ba2c:	e8 03 0c 00 00       	call   10c634 <_CORE_message_queue_Submit>
  10ba31:	89 c3                	mov    %eax,%ebx                      
        MESSAGE_QUEUE_MP_HANDLER,                                     
        false,   /* sender does not block */                          
        0        /* no timeout */                                     
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
  10ba33:	83 c4 20             	add    $0x20,%esp                     
  10ba36:	e8 31 22 00 00       	call   10dc6c <_Thread_Enable_dispatch>
      /*                                                              
       *  Since this API does not allow for blocking sends, we can directly
       *  return the returned status.                                 
       */                                                             
                                                                      
      return _Message_queue_Translate_core_message_queue_return_code(status);
  10ba3b:	83 ec 0c             	sub    $0xc,%esp                      
  10ba3e:	53                   	push   %ebx                           
  10ba3f:	e8 18 00 00 00       	call   10ba5c <_Message_queue_Translate_core_message_queue_return_code>
  10ba44:	83 c4 10             	add    $0x10,%esp                     
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ba47:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ba4a:	5b                   	pop    %ebx                           
  10ba4b:	5e                   	pop    %esi                           
  10ba4c:	c9                   	leave                                 
  10ba4d:	c3                   	ret                                   
  10ba4e:	66 90                	xchg   %ax,%ax                        
{                                                                     
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  10ba50:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10ba55:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10ba58:	5b                   	pop    %ebx                           
  10ba59:	5e                   	pop    %esi                           
  10ba5a:	c9                   	leave                                 
  10ba5b:	c3                   	ret                                   
                                                                      

00117058 <rtems_message_queue_urgent>: rtems_status_code rtems_message_queue_urgent( rtems_id id, const void *buffer, size_t size ) {
  117058:	55                   	push   %ebp                           
  117059:	89 e5                	mov    %esp,%ebp                      
  11705b:	56                   	push   %esi                           
  11705c:	53                   	push   %ebx                           
  11705d:	83 ec 10             	sub    $0x10,%esp                     
  117060:	8b 75 08             	mov    0x8(%ebp),%esi                 
  117063:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  117066:	85 db                	test   %ebx,%ebx                      
  117068:	74 5e                	je     1170c8 <rtems_message_queue_urgent+0x70>
  11706a:	51                   	push   %ecx                           
  11706b:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11706e:	50                   	push   %eax                           
  11706f:	56                   	push   %esi                           
  117070:	68 80 4d 14 00       	push   $0x144d80                      
  117075:	e8 1e 49 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_message_queue = _Message_queue_Get( id, &location );            
  switch ( location ) {                                               
  11707a:	83 c4 10             	add    $0x10,%esp                     
  11707d:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  117080:	85 d2                	test   %edx,%edx                      
  117082:	74 0c                	je     117090 <rtems_message_queue_urgent+0x38>
  117084:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117089:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11708c:	5b                   	pop    %ebx                           
  11708d:	5e                   	pop    %esi                           
  11708e:	c9                   	leave                                 
  11708f:	c3                   	ret                                   
  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
  bool                                    wait,                       
  Watchdog_Interval                          timeout                  
)                                                                     
{                                                                     
  return _CORE_message_queue_Submit(                                  
  117090:	6a 00                	push   $0x0                           
  117092:	6a 00                	push   $0x0                           
  117094:	68 00 00 00 80       	push   $0x80000000                    
  117099:	6a 00                	push   $0x0                           
  11709b:	56                   	push   %esi                           
  11709c:	ff 75 10             	pushl  0x10(%ebp)                     
  11709f:	53                   	push   %ebx                           
  1170a0:	83 c0 14             	add    $0x14,%eax                     
  1170a3:	50                   	push   %eax                           
  1170a4:	e8 fb 33 00 00       	call   11a4a4 <_CORE_message_queue_Submit>
  1170a9:	89 c3                	mov    %eax,%ebx                      
        id,                                                           
        MESSAGE_QUEUE_MP_HANDLER,                                     
        false,   /* sender does not block */                          
        0        /* no timeout */                                     
      );                                                              
      _Thread_Enable_dispatch();                                      
  1170ab:	83 c4 20             	add    $0x20,%esp                     
  1170ae:	e8 c9 51 00 00       	call   11c27c <_Thread_Enable_dispatch>
      /*                                                              
       *  Since this API does not allow for blocking sends, we can directly
       *  return the returned status.                                 
       */                                                             
                                                                      
      return _Message_queue_Translate_core_message_queue_return_code(status);
  1170b3:	83 ec 0c             	sub    $0xc,%esp                      
  1170b6:	53                   	push   %ebx                           
  1170b7:	e8 8c ff ff ff       	call   117048 <_Message_queue_Translate_core_message_queue_return_code>
  1170bc:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1170bf:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1170c2:	5b                   	pop    %ebx                           
  1170c3:	5e                   	pop    %esi                           
  1170c4:	c9                   	leave                                 
  1170c5:	c3                   	ret                                   
  1170c6:	66 90                	xchg   %ax,%ax                        
{                                                                     
  register Message_queue_Control  *the_message_queue;                 
  Objects_Locations                location;                          
  CORE_message_queue_Status        status;                            
                                                                      
  if ( !buffer )                                                      
  1170c8:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1170cd:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1170d0:	5b                   	pop    %ebx                           
  1170d1:	5e                   	pop    %esi                           
  1170d2:	c9                   	leave                                 
  1170d3:	c3                   	ret                                   
                                                                      

0010bf54 <rtems_object_get_api_name>: }; const char *rtems_object_get_api_name( int api ) {
  10bf54:	55                   	push   %ebp                           
  10bf55:	89 e5                	mov    %esp,%ebp                      
  10bf57:	83 ec 10             	sub    $0x10,%esp                     
  const rtems_assoc_t *api_assoc;                                     
                                                                      
  api_assoc = rtems_assoc_ptr_by_local( rtems_objects_api_assoc, api );
  10bf5a:	ff 75 08             	pushl  0x8(%ebp)                      
  10bf5d:	68 e0 81 12 00       	push   $0x1281e0                      
  10bf62:	e8 91 54 00 00       	call   1113f8 <rtems_assoc_ptr_by_local>
  if ( api_assoc )                                                    
  10bf67:	83 c4 10             	add    $0x10,%esp                     
  10bf6a:	85 c0                	test   %eax,%eax                      
  10bf6c:	74 06                	je     10bf74 <rtems_object_get_api_name+0x20>
    return api_assoc->name;                                           
  10bf6e:	8b 00                	mov    (%eax),%eax                    
  return "BAD CLASS";                                                 
}                                                                     
  10bf70:	c9                   	leave                                 
  10bf71:	c3                   	ret                                   
  10bf72:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  const rtems_assoc_t *api_assoc;                                     
                                                                      
  api_assoc = rtems_assoc_ptr_by_local( rtems_objects_api_assoc, api );
  if ( api_assoc )                                                    
  10bf74:	b8 4f 3f 12 00       	mov    $0x123f4f,%eax                 
    return api_assoc->name;                                           
  return "BAD CLASS";                                                 
}                                                                     
  10bf79:	c9                   	leave                                 
  10bf7a:	c3                   	ret                                   
                                                                      

0010d4dc <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
  10d4dc:	55                   	push   %ebp                           
  10d4dd:	89 e5                	mov    %esp,%ebp                      
  10d4df:	57                   	push   %edi                           
  10d4e0:	56                   	push   %esi                           
  10d4e1:	53                   	push   %ebx                           
  10d4e2:	83 ec 0c             	sub    $0xc,%esp                      
  10d4e5:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
  10d4e8:	85 db                	test   %ebx,%ebx                      
  10d4ea:	74 5c                	je     10d548 <rtems_object_get_class_information+0x6c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  10d4ec:	83 ec 08             	sub    $0x8,%esp                      
  10d4ef:	ff 75 0c             	pushl  0xc(%ebp)                      
  10d4f2:	ff 75 08             	pushl  0x8(%ebp)                      
  10d4f5:	e8 fe 1a 00 00       	call   10eff8 <_Objects_Get_information>
  if ( !obj_info )                                                    
  10d4fa:	83 c4 10             	add    $0x10,%esp                     
  10d4fd:	85 c0                	test   %eax,%eax                      
  10d4ff:	74 57                	je     10d558 <rtems_object_get_class_information+0x7c>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  10d501:	8b 50 08             	mov    0x8(%eax),%edx                 
  10d504:	89 13                	mov    %edx,(%ebx)                    
  info->maximum_id  = obj_info->maximum_id;                           
  10d506:	8b 50 0c             	mov    0xc(%eax),%edx                 
  10d509:	89 53 04             	mov    %edx,0x4(%ebx)                 
  info->auto_extend = obj_info->auto_extend;                          
  10d50c:	8a 50 12             	mov    0x12(%eax),%dl                 
  10d50f:	88 53 0c             	mov    %dl,0xc(%ebx)                  
  info->maximum     = obj_info->maximum;                              
  10d512:	0f b7 70 10          	movzwl 0x10(%eax),%esi                
  10d516:	89 73 08             	mov    %esi,0x8(%ebx)                 
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10d519:	85 f6                	test   %esi,%esi                      
  10d51b:	74 3f                	je     10d55c <rtems_object_get_class_information+0x80><== NEVER TAKEN
  10d51d:	8b 78 1c             	mov    0x1c(%eax),%edi                
  10d520:	b9 01 00 00 00       	mov    $0x1,%ecx                      
  10d525:	b8 01 00 00 00       	mov    $0x1,%eax                      
  10d52a:	31 d2                	xor    %edx,%edx                      
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
  10d52c:	83 3c 8f 01          	cmpl   $0x1,(%edi,%ecx,4)             
  10d530:	83 d2 00             	adc    $0x0,%edx                      
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10d533:	40                   	inc    %eax                           
  10d534:	89 c1                	mov    %eax,%ecx                      
  10d536:	39 c6                	cmp    %eax,%esi                      
  10d538:	73 f2                	jae    10d52c <rtems_object_get_class_information+0x50>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
  10d53a:	89 53 10             	mov    %edx,0x10(%ebx)                
  10d53d:	31 c0                	xor    %eax,%eax                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10d53f:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d542:	5b                   	pop    %ebx                           
  10d543:	5e                   	pop    %esi                           
  10d544:	5f                   	pop    %edi                           
  10d545:	c9                   	leave                                 
  10d546:	c3                   	ret                                   
  10d547:	90                   	nop                                   
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
  10d548:	b8 09 00 00 00       	mov    $0x9,%eax                      
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10d54d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10d550:	5b                   	pop    %ebx                           
  10d551:	5e                   	pop    %esi                           
  10d552:	5f                   	pop    %edi                           
  10d553:	c9                   	leave                                 
  10d554:	c3                   	ret                                   
  10d555:	8d 76 00             	lea    0x0(%esi),%esi                 
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
  10d558:	b0 0a                	mov    $0xa,%al                       
  10d55a:	eb e3                	jmp    10d53f <rtems_object_get_class_information+0x63>
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
  10d55c:	31 d2                	xor    %edx,%edx                      <== NOT EXECUTED
  10d55e:	eb da                	jmp    10d53a <rtems_object_get_class_information+0x5e><== NOT EXECUTED
                                                                      

00110398 <rtems_object_get_classic_name>: rtems_status_code rtems_object_get_classic_name( rtems_id id, rtems_name *name ) {
  110398:	55                   	push   %ebp                           
  110399:	89 e5                	mov    %esp,%ebp                      
  11039b:	53                   	push   %ebx                           
  11039c:	83 ec 14             	sub    $0x14,%esp                     
  11039f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Name                      name_u;                           
                                                                      
  if ( !name )                                                        
  1103a2:	85 db                	test   %ebx,%ebx                      
  1103a4:	74 26                	je     1103cc <rtems_object_get_classic_name+0x34>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  status = _Objects_Id_to_name( id, &name_u );                        
  1103a6:	83 ec 08             	sub    $0x8,%esp                      
  1103a9:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1103ac:	50                   	push   %eax                           
  1103ad:	ff 75 08             	pushl  0x8(%ebp)                      
  1103b0:	e8 47 1d 00 00       	call   1120fc <_Objects_Id_to_name>   
                                                                      
  *name = name_u.name_u32;                                            
  1103b5:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1103b8:	89 13                	mov    %edx,(%ebx)                    
  return _Status_Object_name_errors_to_status[ status ];              
  1103ba:	8b 04 85 ec df 12 00 	mov    0x12dfec(,%eax,4),%eax         
  1103c1:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  1103c4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1103c7:	c9                   	leave                                 
  1103c8:	c3                   	ret                                   
  1103c9:	8d 76 00             	lea    0x0(%esi),%esi                 
)                                                                     
{                                                                     
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Name                      name_u;                           
                                                                      
  if ( !name )                                                        
  1103cc:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
  status = _Objects_Id_to_name( id, &name_u );                        
                                                                      
  *name = name_u.name_u32;                                            
  return _Status_Object_name_errors_to_status[ status ];              
}                                                                     
  1103d1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1103d4:	c9                   	leave                                 
  1103d5:	c3                   	ret                                   
                                                                      

0010bf88 <rtems_object_set_name>: */ rtems_status_code rtems_object_set_name( rtems_id id, const char *name ) {
  10bf88:	55                   	push   %ebp                           
  10bf89:	89 e5                	mov    %esp,%ebp                      
  10bf8b:	57                   	push   %edi                           
  10bf8c:	56                   	push   %esi                           
  10bf8d:	53                   	push   %ebx                           
  10bf8e:	83 ec 1c             	sub    $0x1c,%esp                     
  10bf91:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10bf94:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  Objects_Information *information;                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
  10bf97:	85 ff                	test   %edi,%edi                      
  10bf99:	74 61                	je     10bffc <rtems_object_set_name+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10bf9b:	85 f6                	test   %esi,%esi                      
  10bf9d:	74 35                	je     10bfd4 <rtems_object_set_name+0x4c>
                                                                      
  information  = _Objects_Get_information_id( tmpId );                
  10bf9f:	83 ec 0c             	sub    $0xc,%esp                      
  10bfa2:	56                   	push   %esi                           
  10bfa3:	e8 dc 18 00 00       	call   10d884 <_Objects_Get_information_id>
  10bfa8:	89 c3                	mov    %eax,%ebx                      
  if ( !information )                                                 
  10bfaa:	83 c4 10             	add    $0x10,%esp                     
  10bfad:	85 c0                	test   %eax,%eax                      
  10bfaf:	74 16                	je     10bfc7 <rtems_object_set_name+0x3f>
    return RTEMS_INVALID_ID;                                          
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  10bfb1:	50                   	push   %eax                           
  10bfb2:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10bfb5:	50                   	push   %eax                           
  10bfb6:	56                   	push   %esi                           
  10bfb7:	53                   	push   %ebx                           
  10bfb8:	e8 6b 1a 00 00       	call   10da28 <_Objects_Get>          
  switch ( location ) {                                               
  10bfbd:	83 c4 10             	add    $0x10,%esp                     
  10bfc0:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10bfc3:	85 c9                	test   %ecx,%ecx                      
  10bfc5:	74 19                	je     10bfe0 <rtems_object_set_name+0x58>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Set_name( information, the_object, name );             
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
  10bfc7:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bfcc:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bfcf:	5b                   	pop    %ebx                           
  10bfd0:	5e                   	pop    %esi                           
  10bfd1:	5f                   	pop    %edi                           
  10bfd2:	c9                   	leave                                 
  10bfd3:	c3                   	ret                                   
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
  10bfd4:	a1 78 a6 12 00       	mov    0x12a678,%eax                  
  10bfd9:	8b 70 08             	mov    0x8(%eax),%esi                 
  10bfdc:	eb c1                	jmp    10bf9f <rtems_object_set_name+0x17>
  10bfde:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Set_name( information, the_object, name );             
  10bfe0:	52                   	push   %edx                           
  10bfe1:	57                   	push   %edi                           
  10bfe2:	50                   	push   %eax                           
  10bfe3:	53                   	push   %ebx                           
  10bfe4:	e8 3b 1c 00 00       	call   10dc24 <_Objects_Set_name>     
      _Thread_Enable_dispatch();                                      
  10bfe9:	e8 82 23 00 00       	call   10e370 <_Thread_Enable_dispatch>
  10bfee:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10bff0:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bff3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bff6:	5b                   	pop    %ebx                           
  10bff7:	5e                   	pop    %esi                           
  10bff8:	5f                   	pop    %edi                           
  10bff9:	c9                   	leave                                 
  10bffa:	c3                   	ret                                   
  10bffb:	90                   	nop                                   
  Objects_Information *information;                                   
  Objects_Locations    location;                                      
  Objects_Control     *the_object;                                    
  Objects_Id           tmpId;                                         
                                                                      
  if ( !name )                                                        
  10bffc:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10c001:	eb c9                	jmp    10bfcc <rtems_object_set_name+0x44>
                                                                      

001170d4 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
  1170d4:	55                   	push   %ebp                           
  1170d5:	89 e5                	mov    %esp,%ebp                      
  1170d7:	57                   	push   %edi                           
  1170d8:	56                   	push   %esi                           
  1170d9:	53                   	push   %ebx                           
  1170da:	83 ec 1c             	sub    $0x1c,%esp                     
  1170dd:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  1170e0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1170e3:	8b 55 10             	mov    0x10(%ebp),%edx                
  1170e6:	8b 7d 14             	mov    0x14(%ebp),%edi                
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  1170e9:	85 db                	test   %ebx,%ebx                      
  1170eb:	74 47                	je     117134 <rtems_partition_create+0x60>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  1170ed:	85 f6                	test   %esi,%esi                      
  1170ef:	74 23                	je     117114 <rtems_partition_create+0x40>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  1170f1:	8b 45 1c             	mov    0x1c(%ebp),%eax                
  1170f4:	85 c0                	test   %eax,%eax                      
  1170f6:	74 1c                	je     117114 <rtems_partition_create+0x40><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
  1170f8:	85 d2                	test   %edx,%edx                      
  1170fa:	74 28                	je     117124 <rtems_partition_create+0x50>
  1170fc:	85 ff                	test   %edi,%edi                      
  1170fe:	74 24                	je     117124 <rtems_partition_create+0x50>
  117100:	39 fa                	cmp    %edi,%edx                      
  117102:	72 20                	jb     117124 <rtems_partition_create+0x50>
  117104:	f7 c7 03 00 00 00    	test   $0x3,%edi                      
  11710a:	75 18                	jne    117124 <rtems_partition_create+0x50>
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  11710c:	f7 c6 03 00 00 00    	test   $0x3,%esi                      
  117112:	74 30                	je     117144 <rtems_partition_create+0x70>
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
  117114:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  117119:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11711c:	5b                   	pop    %ebx                           
  11711d:	5e                   	pop    %esi                           
  11711e:	5f                   	pop    %edi                           
  11711f:	c9                   	leave                                 
  117120:	c3                   	ret                                   
  117121:	8d 76 00             	lea    0x0(%esi),%esi                 
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
  117124:	b8 08 00 00 00       	mov    $0x8,%eax                      
}                                                                     
  117129:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11712c:	5b                   	pop    %ebx                           
  11712d:	5e                   	pop    %esi                           
  11712e:	5f                   	pop    %edi                           
  11712f:	c9                   	leave                                 
  117130:	c3                   	ret                                   
  117131:	8d 76 00             	lea    0x0(%esi),%esi                 
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  117134:	b8 03 00 00 00       	mov    $0x3,%eax                      
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  117139:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11713c:	5b                   	pop    %ebx                           
  11713d:	5e                   	pop    %esi                           
  11713e:	5f                   	pop    %edi                           
  11713f:	c9                   	leave                                 
  117140:	c3                   	ret                                   
  117141:	8d 76 00             	lea    0x0(%esi),%esi                 
  117144:	a1 58 43 14 00       	mov    0x144358,%eax                  
  117149:	40                   	inc    %eax                           
  11714a:	a3 58 43 14 00       	mov    %eax,0x144358                  
 *  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 );
  11714f:	83 ec 0c             	sub    $0xc,%esp                      
  117152:	68 e0 41 14 00       	push   $0x1441e0                      
  117157:	89 55 e0             	mov    %edx,-0x20(%ebp)               
  11715a:	e8 4d 43 00 00       	call   11b4ac <_Objects_Allocate>     
  11715f:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
  117162:	83 c4 10             	add    $0x10,%esp                     
  117165:	85 c0                	test   %eax,%eax                      
  117167:	8b 55 e0             	mov    -0x20(%ebp),%edx               
  11716a:	74 58                	je     1171c4 <rtems_partition_create+0xf0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  11716c:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  11716f:	89 70 10             	mov    %esi,0x10(%eax)                
  the_partition->length                = length;                      
  117172:	89 50 14             	mov    %edx,0x14(%eax)                
  the_partition->buffer_size           = buffer_size;                 
  117175:	89 78 18             	mov    %edi,0x18(%eax)                
  the_partition->attribute_set         = attribute_set;               
  117178:	8b 4d 18             	mov    0x18(%ebp),%ecx                
  11717b:	89 48 1c             	mov    %ecx,0x1c(%eax)                
  the_partition->number_of_used_blocks = 0;                           
  11717e:	c7 40 20 00 00 00 00 	movl   $0x0,0x20(%eax)                
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
  117185:	57                   	push   %edi                           
  117186:	89 d0                	mov    %edx,%eax                      
  117188:	31 d2                	xor    %edx,%edx                      
  11718a:	f7 f7                	div    %edi                           
  11718c:	50                   	push   %eax                           
  11718d:	56                   	push   %esi                           
  11718e:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  117191:	83 c0 24             	add    $0x24,%eax                     
  117194:	50                   	push   %eax                           
  117195:	e8 b6 2f 00 00       	call   11a150 <_Chain_Initialize>     
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  11719a:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  11719d:	8b 47 08             	mov    0x8(%edi),%eax                 
  1171a0:	0f b7 f0             	movzwl %ax,%esi                       
  1171a3:	8b 15 fc 41 14 00    	mov    0x1441fc,%edx                  
  1171a9:	89 3c b2             	mov    %edi,(%edx,%esi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1171ac:	89 5f 0c             	mov    %ebx,0xc(%edi)                 
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
  1171af:	8b 55 1c             	mov    0x1c(%ebp),%edx                
  1171b2:	89 02                	mov    %eax,(%edx)                    
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  1171b4:	e8 c3 50 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1171b9:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  1171bb:	83 c4 10             	add    $0x10,%esp                     
  1171be:	e9 66 ff ff ff       	jmp    117129 <rtems_partition_create+0x55>
  1171c3:	90                   	nop                                   
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
  1171c4:	e8 b3 50 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1171c9:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  1171ce:	e9 56 ff ff ff       	jmp    117129 <rtems_partition_create+0x55>
                                                                      

00117240 <rtems_partition_get_buffer>: rtems_status_code rtems_partition_get_buffer( rtems_id id, void **buffer ) {
  117240:	55                   	push   %ebp                           
  117241:	89 e5                	mov    %esp,%ebp                      
  117243:	56                   	push   %esi                           
  117244:	53                   	push   %ebx                           
  117245:	83 ec 20             	sub    $0x20,%esp                     
  117248:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
  void                       *the_buffer;                             
                                                                      
  if ( !buffer )                                                      
  11724b:	85 db                	test   %ebx,%ebx                      
  11724d:	74 59                	je     1172a8 <rtems_partition_get_buffer+0x68>
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
  11724f:	52                   	push   %edx                           
  117250:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117253:	50                   	push   %eax                           
  117254:	ff 75 08             	pushl  0x8(%ebp)                      
  117257:	68 e0 41 14 00       	push   $0x1441e0                      
  11725c:	e8 37 47 00 00       	call   11b998 <_Objects_Get>          
  117261:	89 c6                	mov    %eax,%esi                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
  117263:	83 c4 10             	add    $0x10,%esp                     
  117266:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  117269:	85 c0                	test   %eax,%eax                      
  11726b:	75 2f                	jne    11729c <rtems_partition_get_buffer+0x5c>
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Partition_Allocate_buffer (               
   Partition_Control *the_partition                                   
)                                                                     
{                                                                     
  return _Chain_Get( &the_partition->Memory );                        
  11726d:	83 ec 0c             	sub    $0xc,%esp                      
  117270:	8d 46 24             	lea    0x24(%esi),%eax                
  117273:	50                   	push   %eax                           
  117274:	e8 b3 2e 00 00       	call   11a12c <_Chain_Get>            
                                                                      
    case OBJECTS_LOCAL:                                               
      the_buffer = _Partition_Allocate_buffer( the_partition );       
      if ( the_buffer ) {                                             
  117279:	83 c4 10             	add    $0x10,%esp                     
  11727c:	85 c0                	test   %eax,%eax                      
  11727e:	74 34                	je     1172b4 <rtems_partition_get_buffer+0x74>
        the_partition->number_of_used_blocks += 1;                    
  117280:	ff 46 20             	incl   0x20(%esi)                     
        _Thread_Enable_dispatch();                                    
  117283:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117286:	e8 f1 4f 00 00       	call   11c27c <_Thread_Enable_dispatch>
        *buffer = the_buffer;                                         
  11728b:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  11728e:	89 03                	mov    %eax,(%ebx)                    
  117290:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117292:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117295:	5b                   	pop    %ebx                           
  117296:	5e                   	pop    %esi                           
  117297:	c9                   	leave                                 
  117298:	c3                   	ret                                   
  117299:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !buffer )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
  11729c:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1172a1:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1172a4:	5b                   	pop    %ebx                           
  1172a5:	5e                   	pop    %esi                           
  1172a6:	c9                   	leave                                 
  1172a7:	c3                   	ret                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
  void                       *the_buffer;                             
                                                                      
  if ( !buffer )                                                      
  1172a8:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1172ad:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1172b0:	5b                   	pop    %ebx                           
  1172b1:	5e                   	pop    %esi                           
  1172b2:	c9                   	leave                                 
  1172b3:	c3                   	ret                                   
        the_partition->number_of_used_blocks += 1;                    
        _Thread_Enable_dispatch();                                    
        *buffer = the_buffer;                                         
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  1172b4:	e8 c3 4f 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1172b9:	b8 0d 00 00 00       	mov    $0xd,%eax                      
      return RTEMS_UNSATISFIED;                                       
  1172be:	eb e1                	jmp    1172a1 <rtems_partition_get_buffer+0x61>
                                                                      

001172e4 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
  1172e4:	55                   	push   %ebp                           
  1172e5:	89 e5                	mov    %esp,%ebp                      
  1172e7:	56                   	push   %esi                           
  1172e8:	53                   	push   %ebx                           
  1172e9:	83 ec 14             	sub    $0x14,%esp                     
  1172ec:	8b 75 0c             	mov    0xc(%ebp),%esi                 
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
  1172ef:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1172f2:	50                   	push   %eax                           
  1172f3:	ff 75 08             	pushl  0x8(%ebp)                      
  1172f6:	68 e0 41 14 00       	push   $0x1441e0                      
  1172fb:	e8 98 46 00 00       	call   11b998 <_Objects_Get>          
  117300:	89 c3                	mov    %eax,%ebx                      
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
  117302:	83 c4 10             	add    $0x10,%esp                     
  117305:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  117308:	85 c0                	test   %eax,%eax                      
  11730a:	74 0c                	je     117318 <rtems_partition_return_buffer+0x34>
  11730c:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117311:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117314:	5b                   	pop    %ebx                           
  117315:	5e                   	pop    %esi                           
  117316:	c9                   	leave                                 
  117317:	c3                   	ret                                   
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
  117318:	8b 43 10             	mov    0x10(%ebx),%eax                
  ending   = _Addresses_Add_offset( starting, the_partition->length );
  11731b:	8b 53 14             	mov    0x14(%ebx),%edx                
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
  11731e:	39 c6                	cmp    %eax,%esi                      
  117320:	72 3a                	jb     11735c <rtems_partition_return_buffer+0x78>
  117322:	8d 14 10             	lea    (%eax,%edx,1),%edx             
  117325:	39 d6                	cmp    %edx,%esi                      
  117327:	77 33                	ja     11735c <rtems_partition_return_buffer+0x78><== NEVER TAKEN
                                                                      
  return (                                                            
  117329:	89 f2                	mov    %esi,%edx                      
  11732b:	29 c2                	sub    %eax,%edx                      
  11732d:	89 d0                	mov    %edx,%eax                      
  11732f:	31 d2                	xor    %edx,%edx                      
  117331:	f7 73 18             	divl   0x18(%ebx)                     
  117334:	85 d2                	test   %edx,%edx                      
  117336:	75 24                	jne    11735c <rtems_partition_return_buffer+0x78>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
  117338:	83 ec 08             	sub    $0x8,%esp                      
  11733b:	56                   	push   %esi                           
  11733c:	8d 43 24             	lea    0x24(%ebx),%eax                
  11733f:	50                   	push   %eax                           
  117340:	e8 ab 2d 00 00       	call   11a0f0 <_Chain_Append>         
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
  117345:	ff 4b 20             	decl   0x20(%ebx)                     
        _Thread_Enable_dispatch();                                    
  117348:	e8 2f 4f 00 00       	call   11c27c <_Thread_Enable_dispatch>
  11734d:	31 c0                	xor    %eax,%eax                      
        return RTEMS_SUCCESSFUL;                                      
  11734f:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117352:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117355:	5b                   	pop    %ebx                           
  117356:	5e                   	pop    %esi                           
  117357:	c9                   	leave                                 
  117358:	c3                   	ret                                   
  117359:	8d 76 00             	lea    0x0(%esi),%esi                 
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  11735c:	e8 1b 4f 00 00       	call   11c27c <_Thread_Enable_dispatch>
  117361:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117366:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117369:	5b                   	pop    %ebx                           
  11736a:	5e                   	pop    %esi                           
  11736b:	c9                   	leave                                 
  11736c:	c3                   	ret                                   
                                                                      

00116720 <rtems_port_create>: void *internal_start, void *external_start, uint32_t length, rtems_id *id ) {
  116720:	55                   	push   %ebp                           
  116721:	89 e5                	mov    %esp,%ebp                      
  116723:	57                   	push   %edi                           
  116724:	56                   	push   %esi                           
  116725:	53                   	push   %ebx                           
  116726:	83 ec 1c             	sub    $0x1c,%esp                     
  116729:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  11672c:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  11672f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  116732:	8b 75 18             	mov    0x18(%ebp),%esi                
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  116735:	85 db                	test   %ebx,%ebx                      
  116737:	74 1b                	je     116754 <rtems_port_create+0x34>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  116739:	85 f6                	test   %esi,%esi                      
  11673b:	74 08                	je     116745 <rtems_port_create+0x25>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_Addresses_Is_aligned( internal_start ) ||                    
  11673d:	89 f8                	mov    %edi,%eax                      
  11673f:	09 d0                	or     %edx,%eax                      
  116741:	a8 03                	test   $0x3,%al                       
  116743:	74 1f                	je     116764 <rtems_port_create+0x44>
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
  116745:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  11674a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11674d:	5b                   	pop    %ebx                           
  11674e:	5e                   	pop    %esi                           
  11674f:	5f                   	pop    %edi                           
  116750:	c9                   	leave                                 
  116751:	c3                   	ret                                   
  116752:	66 90                	xchg   %ax,%ax                        
  rtems_id     *id                                                    
)                                                                     
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  116754:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  116759:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11675c:	5b                   	pop    %ebx                           
  11675d:	5e                   	pop    %esi                           
  11675e:	5f                   	pop    %edi                           
  11675f:	c9                   	leave                                 
  116760:	c3                   	ret                                   
  116761:	8d 76 00             	lea    0x0(%esi),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  116764:	a1 58 43 14 00       	mov    0x144358,%eax                  
  116769:	40                   	inc    %eax                           
  11676a:	a3 58 43 14 00       	mov    %eax,0x144358                  
 *  of free port control blocks.                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control                       
   *_Dual_ported_memory_Allocate ( void )                             
{                                                                     
  return (Dual_ported_memory_Control *)                               
  11676f:	83 ec 0c             	sub    $0xc,%esp                      
  116772:	68 a0 41 14 00       	push   $0x1441a0                      
  116777:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  11677a:	e8 2d 4d 00 00       	call   11b4ac <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
  11677f:	83 c4 10             	add    $0x10,%esp                     
  116782:	85 c0                	test   %eax,%eax                      
  116784:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  116787:	74 33                	je     1167bc <rtems_port_create+0x9c>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_port->internal_base = internal_start;                           
  116789:	89 50 10             	mov    %edx,0x10(%eax)                
  the_port->external_base = external_start;                           
  11678c:	89 78 14             	mov    %edi,0x14(%eax)                
  the_port->length        = length - 1;                               
  11678f:	8b 55 14             	mov    0x14(%ebp),%edx                
  116792:	4a                   	dec    %edx                           
  116793:	89 50 18             	mov    %edx,0x18(%eax)                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  116796:	8b 50 08             	mov    0x8(%eax),%edx                 
  116799:	0f b7 fa             	movzwl %dx,%edi                       
  11679c:	8b 0d bc 41 14 00    	mov    0x1441bc,%ecx                  
  1167a2:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  1167a5:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Dual_ported_memory_Information,                                 
    &the_port->Object,                                                
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_port->Object.id;                                          
  1167a8:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  1167aa:	e8 cd 5a 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1167af:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  1167b1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1167b4:	5b                   	pop    %ebx                           
  1167b5:	5e                   	pop    %esi                           
  1167b6:	5f                   	pop    %edi                           
  1167b7:	c9                   	leave                                 
  1167b8:	c3                   	ret                                   
  1167b9:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();             /* to prevent deletion */   
                                                                      
  the_port = _Dual_ported_memory_Allocate();                          
                                                                      
  if ( !the_port ) {                                                  
    _Thread_Enable_dispatch();                                        
  1167bc:	e8 bb 5a 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1167c1:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  1167c6:	eb 82                	jmp    11674a <rtems_port_create+0x2a>
                                                                      

001167c8 <rtems_port_delete>: */ rtems_status_code rtems_port_delete( rtems_id id ) {
  1167c8:	55                   	push   %ebp                           
  1167c9:	89 e5                	mov    %esp,%ebp                      
  1167cb:	83 ec 2c             	sub    $0x2c,%esp                     
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get (
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Dual_ported_memory_Control *)                               
  1167ce:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1167d1:	50                   	push   %eax                           
  1167d2:	ff 75 08             	pushl  0x8(%ebp)                      
  1167d5:	68 a0 41 14 00       	push   $0x1441a0                      
  1167da:	e8 b9 51 00 00       	call   11b998 <_Objects_Get>          
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
  1167df:	83 c4 10             	add    $0x10,%esp                     
  1167e2:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  1167e5:	85 c9                	test   %ecx,%ecx                      
  1167e7:	75 2f                	jne    116818 <rtems_port_delete+0x50>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Dual_ported_memory_Information, &the_port->Object );
  1167e9:	83 ec 08             	sub    $0x8,%esp                      
  1167ec:	50                   	push   %eax                           
  1167ed:	68 a0 41 14 00       	push   $0x1441a0                      
  1167f2:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1167f5:	e8 2e 4d 00 00       	call   11b528 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Dual_ported_memory_Free (                  
   Dual_ported_memory_Control *the_port                               
)                                                                     
{                                                                     
  _Objects_Free( &_Dual_ported_memory_Information, &the_port->Object );
  1167fa:	58                   	pop    %eax                           
  1167fb:	5a                   	pop    %edx                           
  1167fc:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1167ff:	50                   	push   %eax                           
  116800:	68 a0 41 14 00       	push   $0x1441a0                      
  116805:	e8 22 50 00 00       	call   11b82c <_Objects_Free>         
      _Dual_ported_memory_Free( the_port );                           
      _Thread_Enable_dispatch();                                      
  11680a:	e8 6d 5a 00 00       	call   11c27c <_Thread_Enable_dispatch>
  11680f:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  116811:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116814:	c9                   	leave                                 
  116815:	c3                   	ret                                   
  116816:	66 90                	xchg   %ax,%ax                        
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
  116818:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11681d:	c9                   	leave                                 
  11681e:	c3                   	ret                                   
                                                                      

00116820 <rtems_port_external_to_internal>: rtems_status_code rtems_port_external_to_internal( rtems_id id, void *external, void **internal ) {
  116820:	55                   	push   %ebp                           
  116821:	89 e5                	mov    %esp,%ebp                      
  116823:	56                   	push   %esi                           
  116824:	53                   	push   %ebx                           
  116825:	83 ec 10             	sub    $0x10,%esp                     
  116828:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  11682b:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !internal )                                                    
  11682e:	85 db                	test   %ebx,%ebx                      
  116830:	74 4e                	je     116880 <rtems_port_external_to_internal+0x60>
RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get (
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Dual_ported_memory_Control *)                               
  116832:	51                   	push   %ecx                           
  116833:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  116836:	50                   	push   %eax                           
  116837:	ff 75 08             	pushl  0x8(%ebp)                      
  11683a:	68 a0 41 14 00       	push   $0x1441a0                      
  11683f:	e8 54 51 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
  116844:	83 c4 10             	add    $0x10,%esp                     
  116847:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  11684a:	85 d2                	test   %edx,%edx                      
  11684c:	74 0e                	je     11685c <rtems_port_external_to_internal+0x3c>
  11684e:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116853:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116856:	5b                   	pop    %ebx                           
  116857:	5e                   	pop    %esi                           
  116858:	c9                   	leave                                 
  116859:	c3                   	ret                                   
  11685a:	66 90                	xchg   %ax,%ax                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( external, the_port->external_base );
  11685c:	89 f2                	mov    %esi,%edx                      
  11685e:	2b 50 14             	sub    0x14(%eax),%edx                
      if ( ending > the_port->length )                                
  116861:	3b 50 18             	cmp    0x18(%eax),%edx                
  116864:	77 16                	ja     11687c <rtems_port_external_to_internal+0x5c>
        *internal = external;                                         
      else                                                            
        *internal = _Addresses_Add_offset( the_port->internal_base,   
  116866:	03 50 10             	add    0x10(%eax),%edx                
  116869:	89 13                	mov    %edx,(%ebx)                    
                                           ending );                  
      _Thread_Enable_dispatch();                                      
  11686b:	e8 0c 5a 00 00       	call   11c27c <_Thread_Enable_dispatch>
  116870:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116872:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116875:	5b                   	pop    %ebx                           
  116876:	5e                   	pop    %esi                           
  116877:	c9                   	leave                                 
  116878:	c3                   	ret                                   
  116879:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( external, the_port->external_base );
      if ( ending > the_port->length )                                
        *internal = external;                                         
  11687c:	89 33                	mov    %esi,(%ebx)                    
  11687e:	eb eb                	jmp    11686b <rtems_port_external_to_internal+0x4b>
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !internal )                                                    
  116880:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116885:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116888:	5b                   	pop    %ebx                           
  116889:	5e                   	pop    %esi                           
  11688a:	c9                   	leave                                 
  11688b:	c3                   	ret                                   
                                                                      

001168b0 <rtems_port_internal_to_external>: rtems_status_code rtems_port_internal_to_external( rtems_id id, void *internal, void **external ) {
  1168b0:	55                   	push   %ebp                           
  1168b1:	89 e5                	mov    %esp,%ebp                      
  1168b3:	56                   	push   %esi                           
  1168b4:	53                   	push   %ebx                           
  1168b5:	83 ec 10             	sub    $0x10,%esp                     
  1168b8:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  1168bb:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !external )                                                    
  1168be:	85 db                	test   %ebx,%ebx                      
  1168c0:	74 4e                	je     116910 <rtems_port_internal_to_external+0x60>
  1168c2:	51                   	push   %ecx                           
  1168c3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1168c6:	50                   	push   %eax                           
  1168c7:	ff 75 08             	pushl  0x8(%ebp)                      
  1168ca:	68 a0 41 14 00       	push   $0x1441a0                      
  1168cf:	e8 c4 50 00 00       	call   11b998 <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
  1168d4:	83 c4 10             	add    $0x10,%esp                     
  1168d7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1168da:	85 d2                	test   %edx,%edx                      
  1168dc:	74 0e                	je     1168ec <rtems_port_internal_to_external+0x3c>
  1168de:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1168e3:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1168e6:	5b                   	pop    %ebx                           
  1168e7:	5e                   	pop    %esi                           
  1168e8:	c9                   	leave                                 
  1168e9:	c3                   	ret                                   
  1168ea:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_port = _Dual_ported_memory_Get( id, &location );                
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( internal, the_port->internal_base );
  1168ec:	89 f2                	mov    %esi,%edx                      
  1168ee:	2b 50 10             	sub    0x10(%eax),%edx                
      if ( ending > the_port->length )                                
  1168f1:	3b 50 18             	cmp    0x18(%eax),%edx                
  1168f4:	77 16                	ja     11690c <rtems_port_internal_to_external+0x5c>
        *external = internal;                                         
      else                                                            
        *external = _Addresses_Add_offset( the_port->external_base,   
  1168f6:	03 50 14             	add    0x14(%eax),%edx                
  1168f9:	89 13                	mov    %edx,(%ebx)                    
                                           ending );                  
      _Thread_Enable_dispatch();                                      
  1168fb:	e8 7c 59 00 00       	call   11c27c <_Thread_Enable_dispatch>
  116900:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116902:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116905:	5b                   	pop    %ebx                           
  116906:	5e                   	pop    %esi                           
  116907:	c9                   	leave                                 
  116908:	c3                   	ret                                   
  116909:	8d 76 00             	lea    0x0(%esi),%esi                 
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      ending = _Addresses_Subtract( internal, the_port->internal_base );
      if ( ending > the_port->length )                                
        *external = internal;                                         
  11690c:	89 33                	mov    %esi,(%ebx)                    
  11690e:	eb eb                	jmp    1168fb <rtems_port_internal_to_external+0x4b>
{                                                                     
  register Dual_ported_memory_Control *the_port;                      
  Objects_Locations                    location;                      
  uint32_t                             ending;                        
                                                                      
  if ( !external )                                                    
  116910:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  116915:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  116918:	5b                   	pop    %ebx                           
  116919:	5e                   	pop    %esi                           
  11691a:	c9                   	leave                                 
  11691b:	c3                   	ret                                   
                                                                      

00117370 <rtems_rate_monotonic_cancel>: */ rtems_status_code rtems_rate_monotonic_cancel( rtems_id id ) {
  117370:	55                   	push   %ebp                           
  117371:	89 e5                	mov    %esp,%ebp                      
  117373:	53                   	push   %ebx                           
  117374:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
  117377:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11737a:	50                   	push   %eax                           
  11737b:	ff 75 08             	pushl  0x8(%ebp)                      
  11737e:	68 20 42 14 00       	push   $0x144220                      
  117383:	e8 10 46 00 00       	call   11b998 <_Objects_Get>          
  117388:	89 c3                	mov    %eax,%ebx                      
  Rate_monotonic_Control *the_period;                                 
  Objects_Locations       location;                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  11738a:	83 c4 10             	add    $0x10,%esp                     
  11738d:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  117390:	85 c0                	test   %eax,%eax                      
  117392:	74 0c                	je     1173a0 <rtems_rate_monotonic_cancel+0x30>
  117394:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  117399:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11739c:	c9                   	leave                                 
  11739d:	c3                   	ret                                   
  11739e:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  1173a0:	8b 43 40             	mov    0x40(%ebx),%eax                
  1173a3:	3b 05 18 44 14 00    	cmp    0x144418,%eax                  
  1173a9:	74 11                	je     1173bc <rtems_rate_monotonic_cancel+0x4c>
        _Thread_Enable_dispatch();                                    
  1173ab:	e8 cc 4e 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1173b0:	b8 17 00 00 00       	mov    $0x17,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1173b5:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1173b8:	c9                   	leave                                 
  1173b9:	c3                   	ret                                   
  1173ba:	66 90                	xchg   %ax,%ax                        
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
      (void) _Watchdog_Remove( &the_period->Timer );                  
  1173bc:	83 ec 0c             	sub    $0xc,%esp                      
  1173bf:	8d 43 10             	lea    0x10(%ebx),%eax                
  1173c2:	50                   	push   %eax                           
  1173c3:	e8 10 63 00 00       	call   11d6d8 <_Watchdog_Remove>      
      the_period->state = RATE_MONOTONIC_INACTIVE;                    
  1173c8:	c7 43 38 00 00 00 00 	movl   $0x0,0x38(%ebx)                
      _Thread_Enable_dispatch();                                      
  1173cf:	e8 a8 4e 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1173d4:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  1173d6:	83 c4 10             	add    $0x10,%esp                     
  1173d9:	eb be                	jmp    117399 <rtems_rate_monotonic_cancel+0x29>
                                                                      

0010c96c <rtems_rate_monotonic_create>: rtems_status_code rtems_rate_monotonic_create( rtems_name name, rtems_id *id ) {
  10c96c:	55                   	push   %ebp                           
  10c96d:	89 e5                	mov    %esp,%ebp                      
  10c96f:	57                   	push   %edi                           
  10c970:	56                   	push   %esi                           
  10c971:	53                   	push   %ebx                           
  10c972:	83 ec 1c             	sub    $0x1c,%esp                     
  10c975:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c978:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10c97b:	85 db                	test   %ebx,%ebx                      
  10c97d:	0f 84 a9 00 00 00    	je     10ca2c <rtems_rate_monotonic_create+0xc0>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10c983:	85 f6                	test   %esi,%esi                      
  10c985:	0f 84 c5 00 00 00    	je     10ca50 <rtems_rate_monotonic_create+0xe4>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c98b:	a1 38 c5 12 00       	mov    0x12c538,%eax                  
  10c990:	40                   	inc    %eax                           
  10c991:	a3 38 c5 12 00       	mov    %eax,0x12c538                  
 *  This function allocates a period control block from               
 *  the inactive chain of free period control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Allocate( void )
{                                                                     
  return (Rate_monotonic_Control *)                                   
  10c996:	83 ec 0c             	sub    $0xc,%esp                      
  10c999:	68 40 c4 12 00       	push   $0x12c440                      
  10c99e:	e8 85 1e 00 00       	call   10e828 <_Objects_Allocate>     
  10c9a3:	89 c2                	mov    %eax,%edx                      
                                                                      
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
  10c9a5:	83 c4 10             	add    $0x10,%esp                     
  10c9a8:	85 c0                	test   %eax,%eax                      
  10c9aa:	0f 84 8c 00 00 00    	je     10ca3c <rtems_rate_monotonic_create+0xd0>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_period->owner = _Thread_Executing;                              
  10c9b0:	a1 f8 c5 12 00       	mov    0x12c5f8,%eax                  
  10c9b5:	89 42 40             	mov    %eax,0x40(%edx)                
  the_period->state = RATE_MONOTONIC_INACTIVE;                        
  10c9b8:	c7 42 38 00 00 00 00 	movl   $0x0,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c9bf:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  10c9c6:	c7 42 2c 00 00 00 00 	movl   $0x0,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  10c9cd:	c7 42 30 00 00 00 00 	movl   $0x0,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  10c9d4:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
                                                                      
  _Watchdog_Initialize( &the_period->Timer, NULL, 0, NULL );          
                                                                      
  _Rate_monotonic_Reset_statistics( the_period );                     
  10c9db:	8d 42 54             	lea    0x54(%edx),%eax                
  10c9de:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  10c9e1:	b9 38 00 00 00       	mov    $0x38,%ecx                     
  10c9e6:	31 c0                	xor    %eax,%eax                      
  10c9e8:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10c9eb:	f3 aa                	rep stos %al,%es:(%edi)               
  10c9ed:	c7 42 5c ff ff ff 7f 	movl   $0x7fffffff,0x5c(%edx)         
  10c9f4:	c7 42 60 ff ff ff 7f 	movl   $0x7fffffff,0x60(%edx)         
  10c9fb:	c7 42 74 ff ff ff 7f 	movl   $0x7fffffff,0x74(%edx)         
  10ca02:	c7 42 78 ff ff ff 7f 	movl   $0x7fffffff,0x78(%edx)         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10ca09:	8b 42 08             	mov    0x8(%edx),%eax                 
  10ca0c:	0f b7 f8             	movzwl %ax,%edi                       
  10ca0f:	8b 0d 5c c4 12 00    	mov    0x12c45c,%ecx                  
  10ca15:	89 14 b9             	mov    %edx,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10ca18:	89 5a 0c             	mov    %ebx,0xc(%edx)                 
    &_Rate_monotonic_Information,                                     
    &the_period->Object,                                              
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  10ca1b:	89 06                	mov    %eax,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10ca1d:	e8 0e 2c 00 00       	call   10f630 <_Thread_Enable_dispatch>
  10ca22:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca24:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ca27:	5b                   	pop    %ebx                           
  10ca28:	5e                   	pop    %esi                           
  10ca29:	5f                   	pop    %edi                           
  10ca2a:	c9                   	leave                                 
  10ca2b:	c3                   	ret                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10ca2c:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca31:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ca34:	5b                   	pop    %ebx                           
  10ca35:	5e                   	pop    %esi                           
  10ca36:	5f                   	pop    %edi                           
  10ca37:	c9                   	leave                                 
  10ca38:	c3                   	ret                                   
  10ca39:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();            /* to prevent deletion */    
                                                                      
  the_period = _Rate_monotonic_Allocate();                            
                                                                      
  if ( !the_period ) {                                                
    _Thread_Enable_dispatch();                                        
  10ca3c:	e8 ef 2b 00 00       	call   10f630 <_Thread_Enable_dispatch>
  10ca41:	b8 05 00 00 00       	mov    $0x5,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca46:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ca49:	5b                   	pop    %ebx                           
  10ca4a:	5e                   	pop    %esi                           
  10ca4b:	5f                   	pop    %edi                           
  10ca4c:	c9                   	leave                                 
  10ca4d:	c3                   	ret                                   
  10ca4e:	66 90                	xchg   %ax,%ax                        
  Rate_monotonic_Control *the_period;                                 
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10ca50:	b8 09 00 00 00       	mov    $0x9,%eax                      
  );                                                                  
                                                                      
  *id = the_period->Object.id;                                        
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10ca55:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ca58:	5b                   	pop    %ebx                           
  10ca59:	5e                   	pop    %esi                           
  10ca5a:	5f                   	pop    %edi                           
  10ca5b:	c9                   	leave                                 
  10ca5c:	c3                   	ret                                   
                                                                      

00144a6c <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( rtems_id id, rtems_rate_monotonic_period_status *status ) {
  144a6c:	55                   	push   %ebp                           
  144a6d:	89 e5                	mov    %esp,%ebp                      
  144a6f:	53                   	push   %ebx                           
  144a70:	83 ec 24             	sub    $0x24,%esp                     
  144a73:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
  144a76:	85 db                	test   %ebx,%ebx                      
  144a78:	0f 84 92 00 00 00    	je     144b10 <rtems_rate_monotonic_get_status+0xa4>
  144a7e:	50                   	push   %eax                           
  144a7f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  144a82:	50                   	push   %eax                           
  144a83:	ff 75 08             	pushl  0x8(%ebp)                      
  144a86:	68 60 5b 17 00       	push   $0x175b60                      
  144a8b:	e8 cc 01 fd ff       	call   114c5c <_Objects_Get>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  144a90:	83 c4 10             	add    $0x10,%esp                     
  144a93:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  144a96:	85 c9                	test   %ecx,%ecx                      
  144a98:	74 0a                	je     144aa4 <rtems_rate_monotonic_get_status+0x38>
  144a9a:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  144a9f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  144aa2:	c9                   	leave                                 
  144aa3:	c3                   	ret                                   
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
  144aa4:	8b 50 40             	mov    0x40(%eax),%edx                
  144aa7:	8b 52 08             	mov    0x8(%edx),%edx                 
  144aaa:	89 13                	mov    %edx,(%ebx)                    
      status->state = the_period->state;                              
  144aac:	8b 50 38             	mov    0x38(%eax),%edx                
  144aaf:	89 53 04             	mov    %edx,0x4(%ebx)                 
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
  144ab2:	85 d2                	test   %edx,%edx                      
  144ab4:	75 2a                	jne    144ae0 <rtems_rate_monotonic_get_status+0x74>
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timespec_Set_to_zero( &status->since_last_period );        
  144ab6:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
  144abd:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
          _Timespec_Set_to_zero( &status->executed_since_last_period );
  144ac4:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
  144acb:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
          status->since_last_period = since_last_period;              
          status->executed_since_last_period = executed;              
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
  144ad2:	e8 a9 0a fd ff       	call   115580 <_Thread_Enable_dispatch>
  144ad7:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  144ad9:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  144adc:	c9                   	leave                                 
  144add:	c3                   	ret                                   
  144ade:	66 90                	xchg   %ax,%ax                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
          _Rate_monotonic_Get_status(                                 
  144ae0:	52                   	push   %edx                           
  144ae1:	8d 55 ec             	lea    -0x14(%ebp),%edx               
  144ae4:	52                   	push   %edx                           
  144ae5:	8d 55 e4             	lea    -0x1c(%ebp),%edx               
  144ae8:	52                   	push   %edx                           
  144ae9:	50                   	push   %eax                           
  144aea:	e8 b1 00 00 00       	call   144ba0 <_Rate_monotonic_Get_status>
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
  144aef:	83 c4 10             	add    $0x10,%esp                     
  144af2:	84 c0                	test   %al,%al                        
  144af4:	74 26                	je     144b1c <rtems_rate_monotonic_get_status+0xb0>
          _Thread_Enable_dispatch();                                  
          return RTEMS_NOT_DEFINED;                                   
        }                                                             
                                                                      
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timestamp_To_timespec(                                     
  144af6:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  144af9:	8b 55 e8             	mov    -0x18(%ebp),%edx               
  144afc:	89 43 08             	mov    %eax,0x8(%ebx)                 
  144aff:	89 53 0c             	mov    %edx,0xc(%ebx)                 
            &since_last_period, &status->since_last_period            
          );                                                          
          _Timestamp_To_timespec(                                     
  144b02:	8b 45 ec             	mov    -0x14(%ebp),%eax               
  144b05:	8b 55 f0             	mov    -0x10(%ebp),%edx               
  144b08:	89 43 10             	mov    %eax,0x10(%ebx)                
  144b0b:	89 53 14             	mov    %edx,0x14(%ebx)                
  144b0e:	eb c2                	jmp    144ad2 <rtems_rate_monotonic_get_status+0x66>
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
  144b10:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  144b15:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  144b18:	c9                   	leave                                 
  144b19:	c3                   	ret                                   
  144b1a:	66 90                	xchg   %ax,%ax                        
        valid_status =                                                
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
          _Thread_Enable_dispatch();                                  
  144b1c:	e8 5f 0a fd ff       	call   115580 <_Thread_Enable_dispatch>
  144b21:	b8 0b 00 00 00       	mov    $0xb,%eax                      
          return RTEMS_NOT_DEFINED;                                   
  144b26:	e9 74 ff ff ff       	jmp    144a9f <rtems_rate_monotonic_get_status+0x33>
                                                                      

00144d28 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
  144d28:	55                   	push   %ebp                           
  144d29:	89 e5                	mov    %esp,%ebp                      
  144d2b:	57                   	push   %edi                           
  144d2c:	56                   	push   %esi                           
  144d2d:	53                   	push   %ebx                           
  144d2e:	83 ec 30             	sub    $0x30,%esp                     
  144d31:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  144d34:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  144d37:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  144d3a:	50                   	push   %eax                           
  144d3b:	53                   	push   %ebx                           
  144d3c:	68 60 5b 17 00       	push   $0x175b60                      
  144d41:	e8 16 ff fc ff       	call   114c5c <_Objects_Get>          
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
  144d46:	83 c4 10             	add    $0x10,%esp                     
  144d49:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  144d4c:	85 ff                	test   %edi,%edi                      
  144d4e:	74 10                	je     144d60 <rtems_rate_monotonic_period+0x38>
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
          return RTEMS_TIMEOUT;                                       
  144d50:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  144d55:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144d58:	5b                   	pop    %ebx                           
  144d59:	5e                   	pop    %esi                           
  144d5a:	5f                   	pop    %edi                           
  144d5b:	c9                   	leave                                 
  144d5c:	c3                   	ret                                   
  144d5d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
  144d60:	8b 50 40             	mov    0x40(%eax),%edx                
  144d63:	3b 15 18 50 17 00    	cmp    0x175018,%edx                  
  144d69:	74 15                	je     144d80 <rtems_rate_monotonic_period+0x58>
        _Thread_Enable_dispatch();                                    
  144d6b:	e8 10 08 fd ff       	call   115580 <_Thread_Enable_dispatch>
  144d70:	b8 17 00 00 00       	mov    $0x17,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  144d75:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  144d78:	5b                   	pop    %ebx                           
  144d79:	5e                   	pop    %esi                           
  144d7a:	5f                   	pop    %edi                           
  144d7b:	c9                   	leave                                 
  144d7c:	c3                   	ret                                   
  144d7d:	8d 76 00             	lea    0x0(%esi),%esi                 
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
  144d80:	85 f6                	test   %esi,%esi                      
  144d82:	0f 84 b0 00 00 00    	je     144e38 <rtems_rate_monotonic_period+0x110>
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
  144d88:	9c                   	pushf                                 
  144d89:	fa                   	cli                                   
  144d8a:	5f                   	pop    %edi                           
      switch ( the_period->state ) {                                  
  144d8b:	8b 50 38             	mov    0x38(%eax),%edx                
  144d8e:	83 fa 02             	cmp    $0x2,%edx                      
  144d91:	0f 84 bd 00 00 00    	je     144e54 <rtems_rate_monotonic_period+0x12c>
  144d97:	83 fa 04             	cmp    $0x4,%edx                      
  144d9a:	74 5c                	je     144df8 <rtems_rate_monotonic_period+0xd0>
  144d9c:	85 d2                	test   %edx,%edx                      
  144d9e:	75 b0                	jne    144d50 <rtems_rate_monotonic_period+0x28><== NEVER TAKEN
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
  144da0:	57                   	push   %edi                           
  144da1:	9d                   	popf                                  
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
  144da2:	83 ec 0c             	sub    $0xc,%esp                      
  144da5:	50                   	push   %eax                           
  144da6:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  144da9:	e8 7e fd ff ff       	call   144b2c <_Rate_monotonic_Initiate_statistics>
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  144dae:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  144db1:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  144db8:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  144dbf:	c7 40 2c d8 4e 14 00 	movl   $0x144ed8,0x2c(%eax)           
  the_watchdog->id        = id;                                       
  144dc6:	89 58 30             	mov    %ebx,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  144dc9:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
  144dd0:	89 70 3c             	mov    %esi,0x3c(%eax)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  144dd3:	89 70 1c             	mov    %esi,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  144dd6:	5a                   	pop    %edx                           
  144dd7:	59                   	pop    %ecx                           
  144dd8:	83 c0 10             	add    $0x10,%eax                     
  144ddb:	50                   	push   %eax                           
  144ddc:	68 38 50 17 00       	push   $0x175038                      
  144de1:	e8 3a 17 fd ff       	call   116520 <_Watchdog_Insert>      
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
  144de6:	e8 95 07 fd ff       	call   115580 <_Thread_Enable_dispatch>
  144deb:	31 c0                	xor    %eax,%eax                      
          return RTEMS_SUCCESSFUL;                                    
  144ded:	83 c4 10             	add    $0x10,%esp                     
  144df0:	e9 60 ff ff ff       	jmp    144d55 <rtems_rate_monotonic_period+0x2d>
  144df5:	8d 76 00             	lea    0x0(%esi),%esi                 
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  144df8:	83 ec 0c             	sub    $0xc,%esp                      
  144dfb:	50                   	push   %eax                           
  144dfc:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  144dff:	e8 34 fe ff ff       	call   144c38 <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
  144e04:	57                   	push   %edi                           
  144e05:	9d                   	popf                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
  144e06:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  144e09:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
          the_period->next_length = length;                           
  144e10:	89 70 3c             	mov    %esi,0x3c(%eax)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  144e13:	89 70 1c             	mov    %esi,0x1c(%eax)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  144e16:	59                   	pop    %ecx                           
  144e17:	5b                   	pop    %ebx                           
  144e18:	83 c0 10             	add    $0x10,%eax                     
  144e1b:	50                   	push   %eax                           
  144e1c:	68 38 50 17 00       	push   $0x175038                      
  144e21:	e8 fa 16 fd ff       	call   116520 <_Watchdog_Insert>      
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
  144e26:	e8 55 07 fd ff       	call   115580 <_Thread_Enable_dispatch>
  144e2b:	b8 06 00 00 00       	mov    $0x6,%eax                      
          return RTEMS_TIMEOUT;                                       
  144e30:	83 c4 10             	add    $0x10,%esp                     
  144e33:	e9 1d ff ff ff       	jmp    144d55 <rtems_rate_monotonic_period+0x2d>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
  144e38:	8b 40 38             	mov    0x38(%eax),%eax                
  144e3b:	83 f8 04             	cmp    $0x4,%eax                      
  144e3e:	76 74                	jbe    144eb4 <rtems_rate_monotonic_period+0x18c><== ALWAYS TAKEN
  144e40:	31 c0                	xor    %eax,%eax                      
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
  144e42:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  144e45:	e8 36 07 fd ff       	call   115580 <_Thread_Enable_dispatch>
        return( return_value );                                       
  144e4a:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  144e4d:	e9 03 ff ff ff       	jmp    144d55 <rtems_rate_monotonic_period+0x2d>
  144e52:	66 90                	xchg   %ax,%ax                        
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
  144e54:	83 ec 0c             	sub    $0xc,%esp                      
  144e57:	50                   	push   %eax                           
  144e58:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  144e5b:	e8 d8 fd ff ff       	call   144c38 <_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;       
  144e60:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  144e63:	c7 40 38 01 00 00 00 	movl   $0x1,0x38(%eax)                
          the_period->next_length = length;                           
  144e6a:	89 70 3c             	mov    %esi,0x3c(%eax)                
                                                                      
          _ISR_Enable( level );                                       
  144e6d:	57                   	push   %edi                           
  144e6e:	9d                   	popf                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
  144e6f:	8b 15 18 50 17 00    	mov    0x175018,%edx                  
  144e75:	8b 48 08             	mov    0x8(%eax),%ecx                 
  144e78:	89 4a 20             	mov    %ecx,0x20(%edx)                
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  144e7b:	5e                   	pop    %esi                           
  144e7c:	5f                   	pop    %edi                           
  144e7d:	68 00 40 00 00       	push   $0x4000                        
  144e82:	52                   	push   %edx                           
  144e83:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  144e86:	e8 0d 10 fd ff       	call   115e98 <_Thread_Set_state>     
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
  144e8b:	9c                   	pushf                                 
  144e8c:	fa                   	cli                                   
  144e8d:	59                   	pop    %ecx                           
            local_state = the_period->state;                          
  144e8e:	8b 45 d4             	mov    -0x2c(%ebp),%eax               
  144e91:	8b 50 38             	mov    0x38(%eax),%edx                
            the_period->state = RATE_MONOTONIC_ACTIVE;                
  144e94:	c7 40 38 02 00 00 00 	movl   $0x2,0x38(%eax)                
          _ISR_Enable( level );                                       
  144e9b:	51                   	push   %ecx                           
  144e9c:	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 ) 
  144e9d:	83 c4 10             	add    $0x10,%esp                     
  144ea0:	83 fa 03             	cmp    $0x3,%edx                      
  144ea3:	74 18                	je     144ebd <rtems_rate_monotonic_period+0x195>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
          _Thread_Enable_dispatch();                                  
  144ea5:	e8 d6 06 fd ff       	call   115580 <_Thread_Enable_dispatch>
  144eaa:	31 c0                	xor    %eax,%eax                      
          return RTEMS_SUCCESSFUL;                                    
  144eac:	e9 a4 fe ff ff       	jmp    144d55 <rtems_rate_monotonic_period+0x2d>
  144eb1:	8d 76 00             	lea    0x0(%esi),%esi                 
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
  144eb4:	8b 04 85 ec 9b 16 00 	mov    0x169bec(,%eax,4),%eax         
  144ebb:	eb 85                	jmp    144e42 <rtems_rate_monotonic_period+0x11a>
          /*                                                          
           *  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 ) 
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
  144ebd:	83 ec 08             	sub    $0x8,%esp                      
  144ec0:	68 00 40 00 00       	push   $0x4000                        
  144ec5:	ff 35 18 50 17 00    	pushl  0x175018                       
  144ecb:	e8 08 03 fd ff       	call   1151d8 <_Thread_Clear_state>   
  144ed0:	83 c4 10             	add    $0x10,%esp                     
  144ed3:	eb d0                	jmp    144ea5 <rtems_rate_monotonic_period+0x17d>
                                                                      

00130f20 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
  130f20:	55                   	push   %ebp                           
  130f21:	89 e5                	mov    %esp,%ebp                      
  130f23:	57                   	push   %edi                           
  130f24:	56                   	push   %esi                           
  130f25:	53                   	push   %ebx                           
  130f26:	83 ec 7c             	sub    $0x7c,%esp                     
  130f29:	8b 7d 08             	mov    0x8(%ebp),%edi                 
  130f2c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
  130f2f:	85 f6                	test   %esi,%esi                      
  130f31:	0f 84 bd 00 00 00    	je     130ff4 <rtems_rate_monotonic_report_statistics_with_plugin+0xd4><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  130f37:	83 ec 08             	sub    $0x8,%esp                      
  130f3a:	68 68 5f 16 00       	push   $0x165f68                      
  130f3f:	57                   	push   %edi                           
  130f40:	ff d6                	call   *%esi                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
  130f42:	59                   	pop    %ecx                           
  130f43:	5b                   	pop    %ebx                           
  130f44:	68 a0 5f 16 00       	push   $0x165fa0                      
  130f49:	57                   	push   %edi                           
  130f4a:	ff d6                	call   *%esi                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
  130f4c:	58                   	pop    %eax                           
  130f4d:	5a                   	pop    %edx                           
  130f4e:	68 c4 5f 16 00       	push   $0x165fc4                      
  130f53:	57                   	push   %edi                           
  130f54:	ff d6                	call   *%esi                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
  130f56:	59                   	pop    %ecx                           
  130f57:	5b                   	pop    %ebx                           
  130f58:	68 e8 5f 16 00       	push   $0x165fe8                      
  130f5d:	57                   	push   %edi                           
  130f5e:	ff d6                	call   *%esi                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
  130f60:	58                   	pop    %eax                           
  130f61:	5a                   	pop    %edx                           
  130f62:	68 34 60 16 00       	push   $0x166034                      
  130f67:	57                   	push   %edi                           
  130f68:	ff d6                	call   *%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 ;                   
  130f6a:	8b 1d 68 5b 17 00    	mov    0x175b68,%ebx                  
  130f70:	83 c4 10             	add    $0x10,%esp                     
  130f73:	3b 1d 6c 5b 17 00    	cmp    0x175b6c,%ebx                  
  130f79:	77 79                	ja     130ff4 <rtems_rate_monotonic_report_statistics_with_plugin+0xd4><== NEVER TAKEN
      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);
  130f7b:	89 75 84             	mov    %esi,-0x7c(%ebp)               
  130f7e:	eb 09                	jmp    130f89 <rtems_rate_monotonic_report_statistics_with_plugin+0x69>
   * 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++ ) {                                                      
  130f80:	43                   	inc    %ebx                           
                                                                      
  /*                                                                  
   * 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 ;                   
  130f81:	39 1d 6c 5b 17 00    	cmp    %ebx,0x175b6c                  
  130f87:	72 6b                	jb     130ff4 <rtems_rate_monotonic_report_statistics_with_plugin+0xd4>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
  130f89:	83 ec 08             	sub    $0x8,%esp                      
  130f8c:	8d 45 88             	lea    -0x78(%ebp),%eax               
  130f8f:	50                   	push   %eax                           
  130f90:	53                   	push   %ebx                           
  130f91:	e8 2a 3a 01 00       	call   1449c0 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
  130f96:	83 c4 10             	add    $0x10,%esp                     
  130f99:	85 c0                	test   %eax,%eax                      
  130f9b:	75 e3                	jne    130f80 <rtems_rate_monotonic_report_statistics_with_plugin+0x60>
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
  130f9d:	83 ec 08             	sub    $0x8,%esp                      
  130fa0:	8d 55 c0             	lea    -0x40(%ebp),%edx               
  130fa3:	52                   	push   %edx                           
  130fa4:	53                   	push   %ebx                           
  130fa5:	e8 c2 3a 01 00       	call   144a6c <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 );    
  130faa:	83 c4 0c             	add    $0xc,%esp                      
  130fad:	8d 45 e3             	lea    -0x1d(%ebp),%eax               
  130fb0:	50                   	push   %eax                           
  130fb1:	6a 05                	push   $0x5                           
  130fb3:	ff 75 c0             	pushl  -0x40(%ebp)                    
  130fb6:	e8 5d 1c fe ff       	call   112c18 <rtems_object_get_name> 
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
  130fbb:	59                   	pop    %ecx                           
  130fbc:	5e                   	pop    %esi                           
  130fbd:	ff 75 8c             	pushl  -0x74(%ebp)                    
  130fc0:	ff 75 88             	pushl  -0x78(%ebp)                    
  130fc3:	8d 55 e3             	lea    -0x1d(%ebp),%edx               
  130fc6:	52                   	push   %edx                           
  130fc7:	53                   	push   %ebx                           
  130fc8:	68 86 5f 16 00       	push   $0x165f86                      
  130fcd:	57                   	push   %edi                           
  130fce:	ff 55 84             	call   *-0x7c(%ebp)                   
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
  130fd1:	8b 45 88             	mov    -0x78(%ebp),%eax               
  130fd4:	83 c4 20             	add    $0x20,%esp                     
  130fd7:	85 c0                	test   %eax,%eax                      
  130fd9:	75 21                	jne    130ffc <rtems_rate_monotonic_report_statistics_with_plugin+0xdc>
      (*print)( context, "\n" );                                      
  130fdb:	83 ec 08             	sub    $0x8,%esp                      
  130fde:	68 69 7d 16 00       	push   $0x167d69                      
  130fe3:	57                   	push   %edi                           
  130fe4:	ff 55 84             	call   *-0x7c(%ebp)                   
      continue;                                                       
  130fe7:	83 c4 10             	add    $0x10,%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++ ) {                                                      
  130fea:	43                   	inc    %ebx                           
                                                                      
  /*                                                                  
   * 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 ;                   
  130feb:	39 1d 6c 5b 17 00    	cmp    %ebx,0x175b6c                  
  130ff1:	73 96                	jae    130f89 <rtems_rate_monotonic_report_statistics_with_plugin+0x69><== ALWAYS TAKEN
  130ff3:	90                   	nop                                   
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
  130ff4:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  130ff7:	5b                   	pop    %ebx                           
  130ff8:	5e                   	pop    %esi                           
  130ff9:	5f                   	pop    %edi                           
  130ffa:	c9                   	leave                                 
  130ffb:	c3                   	ret                                   
      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 );
  130ffc:	52                   	push   %edx                           
  130ffd:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  131000:	52                   	push   %edx                           
  131001:	50                   	push   %eax                           
  131002:	8d 45 a0             	lea    -0x60(%ebp),%eax               
  131005:	50                   	push   %eax                           
  131006:	e8 65 14 00 00       	call   132470 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  13100b:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  13100e:	be d3 4d 62 10       	mov    $0x10624dd3,%esi               
  131013:	89 c8                	mov    %ecx,%eax                      
  131015:	f7 ee                	imul   %esi                           
  131017:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  13101d:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax               
  131023:	c1 f8 06             	sar    $0x6,%eax                      
  131026:	c1 f9 1f             	sar    $0x1f,%ecx                     
  131029:	29 c8                	sub    %ecx,%eax                      
  13102b:	50                   	push   %eax                           
  13102c:	ff 75 d8             	pushl  -0x28(%ebp)                    
  13102f:	8b 4d 9c             	mov    -0x64(%ebp),%ecx               
  131032:	89 c8                	mov    %ecx,%eax                      
  131034:	f7 ee                	imul   %esi                           
  131036:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  13103c:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax               
  131042:	c1 f8 06             	sar    $0x6,%eax                      
  131045:	c1 f9 1f             	sar    $0x1f,%ecx                     
  131048:	29 c8                	sub    %ecx,%eax                      
  13104a:	50                   	push   %eax                           
  13104b:	ff 75 98             	pushl  -0x68(%ebp)                    
  13104e:	8b 4d 94             	mov    -0x6c(%ebp),%ecx               
  131051:	89 c8                	mov    %ecx,%eax                      
  131053:	f7 ee                	imul   %esi                           
  131055:	89 85 78 ff ff ff    	mov    %eax,-0x88(%ebp)               
  13105b:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  131061:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax               
  131067:	c1 f8 06             	sar    $0x6,%eax                      
  13106a:	c1 f9 1f             	sar    $0x1f,%ecx                     
  13106d:	29 c8                	sub    %ecx,%eax                      
  13106f:	50                   	push   %eax                           
  131070:	ff 75 90             	pushl  -0x70(%ebp)                    
  131073:	68 80 60 16 00       	push   $0x166080                      
  131078:	57                   	push   %edi                           
  131079:	ff 55 84             	call   *-0x7c(%ebp)                   
      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);
  13107c:	83 c4 2c             	add    $0x2c,%esp                     
  13107f:	8d 55 d8             	lea    -0x28(%ebp),%edx               
  131082:	52                   	push   %edx                           
  131083:	ff 75 88             	pushl  -0x78(%ebp)                    
  131086:	8d 45 b8             	lea    -0x48(%ebp),%eax               
  131089:	50                   	push   %eax                           
  13108a:	e8 e1 13 00 00       	call   132470 <_Timespec_Divide_by_integer>
      (*print)( context,                                              
  13108f:	8b 4d dc             	mov    -0x24(%ebp),%ecx               
  131092:	89 c8                	mov    %ecx,%eax                      
  131094:	f7 ee                	imul   %esi                           
  131096:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  13109c:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax               
  1310a2:	c1 f8 06             	sar    $0x6,%eax                      
  1310a5:	c1 f9 1f             	sar    $0x1f,%ecx                     
  1310a8:	29 c8                	sub    %ecx,%eax                      
  1310aa:	50                   	push   %eax                           
  1310ab:	ff 75 d8             	pushl  -0x28(%ebp)                    
  1310ae:	8b 4d b4             	mov    -0x4c(%ebp),%ecx               
  1310b1:	89 c8                	mov    %ecx,%eax                      
  1310b3:	f7 ee                	imul   %esi                           
  1310b5:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  1310bb:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax               
  1310c1:	c1 f8 06             	sar    $0x6,%eax                      
  1310c4:	c1 f9 1f             	sar    $0x1f,%ecx                     
  1310c7:	29 c8                	sub    %ecx,%eax                      
  1310c9:	50                   	push   %eax                           
  1310ca:	ff 75 b0             	pushl  -0x50(%ebp)                    
  1310cd:	8b 4d ac             	mov    -0x54(%ebp),%ecx               
  1310d0:	89 c8                	mov    %ecx,%eax                      
  1310d2:	f7 ee                	imul   %esi                           
  1310d4:	89 85 78 ff ff ff    	mov    %eax,-0x88(%ebp)               
  1310da:	89 95 7c ff ff ff    	mov    %edx,-0x84(%ebp)               
  1310e0:	8b b5 7c ff ff ff    	mov    -0x84(%ebp),%esi               
  1310e6:	c1 fe 06             	sar    $0x6,%esi                      
  1310e9:	89 c8                	mov    %ecx,%eax                      
  1310eb:	99                   	cltd                                  
  1310ec:	29 d6                	sub    %edx,%esi                      
  1310ee:	56                   	push   %esi                           
  1310ef:	ff 75 a8             	pushl  -0x58(%ebp)                    
  1310f2:	68 a0 60 16 00       	push   $0x1660a0                      
  1310f7:	57                   	push   %edi                           
  1310f8:	ff 55 84             	call   *-0x7c(%ebp)                   
  1310fb:	83 c4 30             	add    $0x30,%esp                     
  1310fe:	e9 7d fe ff ff       	jmp    130f80 <rtems_rate_monotonic_report_statistics_with_plugin+0x60>
                                                                      

0013111c <rtems_rate_monotonic_reset_all_statistics>: /* * rtems_rate_monotonic_reset_all_statistics */ void rtems_rate_monotonic_reset_all_statistics( void ) {
  13111c:	55                   	push   %ebp                           
  13111d:	89 e5                	mov    %esp,%ebp                      
  13111f:	53                   	push   %ebx                           
  131120:	83 ec 04             	sub    $0x4,%esp                      
  131123:	a1 58 4f 17 00       	mov    0x174f58,%eax                  
  131128:	40                   	inc    %eax                           
  131129:	a3 58 4f 17 00       	mov    %eax,0x174f58                  
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset 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 ;                 
  13112e:	8b 1d 68 5b 17 00    	mov    0x175b68,%ebx                  
  131134:	3b 1d 6c 5b 17 00    	cmp    0x175b6c,%ebx                  
  13113a:	77 15                	ja     131151 <rtems_rate_monotonic_reset_all_statistics+0x35><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      status = rtems_rate_monotonic_reset_statistics( id );           
  13113c:	83 ec 0c             	sub    $0xc,%esp                      
  13113f:	53                   	push   %ebx                           
  131140:	e8 17 00 00 00       	call   13115c <rtems_rate_monotonic_reset_statistics>
     * Cycle through all possible ids and try to reset 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++ ) {                                                    
  131145:	43                   	inc    %ebx                           
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset 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 ;                 
  131146:	83 c4 10             	add    $0x10,%esp                     
  131149:	39 1d 6c 5b 17 00    	cmp    %ebx,0x175b6c                  
  13114f:	73 eb                	jae    13113c <rtems_rate_monotonic_reset_all_statistics+0x20>
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
  131151:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  131154:	c9                   	leave                                 
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
  131155:	e9 26 44 fe ff       	jmp    115580 <_Thread_Enable_dispatch>
                                                                      

0013115c <rtems_rate_monotonic_reset_statistics>: */ rtems_status_code rtems_rate_monotonic_reset_statistics( rtems_id id ) {
  13115c:	55                   	push   %ebp                           
  13115d:	89 e5                	mov    %esp,%ebp                      
  13115f:	57                   	push   %edi                           
  131160:	53                   	push   %ebx                           
  131161:	83 ec 14             	sub    $0x14,%esp                     
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
  131164:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  131167:	50                   	push   %eax                           
  131168:	ff 75 08             	pushl  0x8(%ebp)                      
  13116b:	68 60 5b 17 00       	push   $0x175b60                      
  131170:	e8 e7 3a fe ff       	call   114c5c <_Objects_Get>          
  131175:	89 c2                	mov    %eax,%edx                      
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  131177:	83 c4 10             	add    $0x10,%esp                     
  13117a:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  13117d:	85 c0                	test   %eax,%eax                      
  13117f:	75 3b                	jne    1311bc <rtems_rate_monotonic_reset_statistics+0x60>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Rate_monotonic_Reset_statistics( the_period );                 
  131181:	8d 5a 54             	lea    0x54(%edx),%ebx                
  131184:	b9 38 00 00 00       	mov    $0x38,%ecx                     
  131189:	31 c0                	xor    %eax,%eax                      
  13118b:	89 df                	mov    %ebx,%edi                      
  13118d:	f3 aa                	rep stos %al,%es:(%edi)               
  13118f:	c7 42 5c ff ff ff 7f 	movl   $0x7fffffff,0x5c(%edx)         
  131196:	c7 42 60 ff ff ff 7f 	movl   $0x7fffffff,0x60(%edx)         
  13119d:	c7 42 74 ff ff ff 7f 	movl   $0x7fffffff,0x74(%edx)         
  1311a4:	c7 42 78 ff ff ff 7f 	movl   $0x7fffffff,0x78(%edx)         
      _Thread_Enable_dispatch();                                      
  1311ab:	e8 d0 43 fe ff       	call   115580 <_Thread_Enable_dispatch>
  1311b0:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1311b2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1311b5:	5b                   	pop    %ebx                           
  1311b6:	5f                   	pop    %edi                           
  1311b7:	c9                   	leave                                 
  1311b8:	c3                   	ret                                   
  1311b9:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Objects_Locations              location;                            
  Rate_monotonic_Control        *the_period;                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
  1311bc:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1311c1:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1311c4:	5b                   	pop    %ebx                           
  1311c5:	5f                   	pop    %edi                           
  1311c6:	c9                   	leave                                 
  1311c7:	c3                   	ret                                   
                                                                      

00117b14 <rtems_region_create>: uintptr_t length, uintptr_t page_size, rtems_attribute attribute_set, rtems_id *id ) {
  117b14:	55                   	push   %ebp                           
  117b15:	89 e5                	mov    %esp,%ebp                      
  117b17:	57                   	push   %edi                           
  117b18:	56                   	push   %esi                           
  117b19:	53                   	push   %ebx                           
  117b1a:	83 ec 1c             	sub    $0x1c,%esp                     
  117b1d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  117b20:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  117b23:	8b 7d 1c             	mov    0x1c(%ebp),%edi                
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  117b26:	85 f6                	test   %esi,%esi                      
  117b28:	0f 84 92 00 00 00    	je     117bc0 <rtems_region_create+0xac>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
  117b2e:	85 db                	test   %ebx,%ebx                      
  117b30:	74 09                	je     117b3b <rtems_region_create+0x27>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
  117b32:	85 ff                	test   %edi,%edi                      
  117b34:	74 05                	je     117b3b <rtems_region_create+0x27>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
  117b36:	f6 c3 03             	test   $0x3,%bl                       
  117b39:	74 0d                	je     117b48 <rtems_region_create+0x34>
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
  117b3b:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  117b40:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117b43:	5b                   	pop    %ebx                           
  117b44:	5e                   	pop    %esi                           
  117b45:	5f                   	pop    %edi                           
  117b46:	c9                   	leave                                 
  117b47:	c3                   	ret                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
  117b48:	83 ec 0c             	sub    $0xc,%esp                      
  117b4b:	ff 35 10 44 14 00    	pushl  0x144410                       
  117b51:	e8 22 25 00 00       	call   11a078 <_API_Mutex_Lock>       
 *  This function allocates a region control block from               
 *  the inactive chain of free region control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void )         
{                                                                     
  return (Region_Control *) _Objects_Allocate( &_Region_Information );
  117b56:	c7 04 24 60 42 14 00 	movl   $0x144260,(%esp)               
  117b5d:	e8 4a 39 00 00       	call   11b4ac <_Objects_Allocate>     
  117b62:	89 c2                	mov    %eax,%edx                      
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
  117b64:	83 c4 10             	add    $0x10,%esp                     
  117b67:	85 c0                	test   %eax,%eax                      
  117b69:	74 65                	je     117bd0 <rtems_region_create+0xbc>
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
  117b6b:	ff 75 14             	pushl  0x14(%ebp)                     
  117b6e:	ff 75 10             	pushl  0x10(%ebp)                     
  117b71:	53                   	push   %ebx                           
  117b72:	8d 40 68             	lea    0x68(%eax),%eax                
  117b75:	50                   	push   %eax                           
  117b76:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  117b79:	e8 12 34 00 00       	call   11af90 <_Heap_Initialize>      
  117b7e:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  117b81:	89 42 5c             	mov    %eax,0x5c(%edx)                
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
  117b84:	83 c4 10             	add    $0x10,%esp                     
  117b87:	85 c0                	test   %eax,%eax                      
  117b89:	75 4d                	jne    117bd8 <rtems_region_create+0xc4>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
  117b8b:	83 ec 08             	sub    $0x8,%esp                      
  117b8e:	52                   	push   %edx                           
  117b8f:	68 60 42 14 00       	push   $0x144260                      
  117b94:	e8 93 3c 00 00       	call   11b82c <_Objects_Free>         
  117b99:	b8 08 00 00 00       	mov    $0x8,%eax                      
  117b9e:	83 c4 10             	add    $0x10,%esp                     
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117ba1:	83 ec 0c             	sub    $0xc,%esp                      
  117ba4:	ff 35 10 44 14 00    	pushl  0x144410                       
  117baa:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117bad:	e8 0e 25 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  117bb2:	83 c4 10             	add    $0x10,%esp                     
  117bb5:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
}                                                                     
  117bb8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117bbb:	5b                   	pop    %ebx                           
  117bbc:	5e                   	pop    %esi                           
  117bbd:	5f                   	pop    %edi                           
  117bbe:	c9                   	leave                                 
  117bbf:	c3                   	ret                                   
)                                                                     
{                                                                     
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  117bc0:	b8 03 00 00 00       	mov    $0x3,%eax                      
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117bc5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117bc8:	5b                   	pop    %ebx                           
  117bc9:	5e                   	pop    %esi                           
  117bca:	5f                   	pop    %edi                           
  117bcb:	c9                   	leave                                 
  117bcc:	c3                   	ret                                   
  117bcd:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
  117bd0:	b8 05 00 00 00       	mov    $0x5,%eax                      
  117bd5:	eb ca                	jmp    117ba1 <rtems_region_create+0x8d>
  117bd7:	90                   	nop                                   
        return_status = RTEMS_INVALID_SIZE;                           
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
  117bd8:	89 5a 50             	mov    %ebx,0x50(%edx)                
        the_region->length                = length;                   
  117bdb:	8b 45 10             	mov    0x10(%ebp),%eax                
  117bde:	89 42 54             	mov    %eax,0x54(%edx)                
        the_region->page_size             = page_size;                
  117be1:	8b 45 14             	mov    0x14(%ebp),%eax                
  117be4:	89 42 58             	mov    %eax,0x58(%edx)                
        the_region->attribute_set         = attribute_set;            
  117be7:	8b 45 18             	mov    0x18(%ebp),%eax                
  117bea:	89 42 60             	mov    %eax,0x60(%edx)                
        the_region->number_of_used_blocks = 0;                        
  117bed:	c7 42 64 00 00 00 00 	movl   $0x0,0x64(%edx)                
                                                                      
        _Thread_queue_Initialize(                                     
  117bf4:	6a 06                	push   $0x6                           
  117bf6:	6a 40                	push   $0x40                          
  117bf8:	8b 45 18             	mov    0x18(%ebp),%eax                
  117bfb:	c1 e8 02             	shr    $0x2,%eax                      
  117bfe:	83 e0 01             	and    $0x1,%eax                      
  117c01:	50                   	push   %eax                           
  117c02:	8d 42 10             	lea    0x10(%edx),%eax                
  117c05:	50                   	push   %eax                           
  117c06:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  117c09:	e8 32 4e 00 00       	call   11ca40 <_Thread_queue_Initialize>
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  117c0e:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  117c11:	8b 42 08             	mov    0x8(%edx),%eax                 
  117c14:	0f b7 d8             	movzwl %ax,%ebx                       
  117c17:	8b 0d 7c 42 14 00    	mov    0x14427c,%ecx                  
  117c1d:	89 14 99             	mov    %edx,(%ecx,%ebx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  117c20:	89 72 0c             	mov    %esi,0xc(%edx)                 
          &_Region_Information,                                       
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
  117c23:	89 07                	mov    %eax,(%edi)                    
  117c25:	31 c0                	xor    %eax,%eax                      
  117c27:	83 c4 10             	add    $0x10,%esp                     
  117c2a:	e9 72 ff ff ff       	jmp    117ba1 <rtems_region_create+0x8d>
                                                                      

00117c30 <rtems_region_delete>: */ rtems_status_code rtems_region_delete( rtems_id id ) {
  117c30:	55                   	push   %ebp                           
  117c31:	89 e5                	mov    %esp,%ebp                      
  117c33:	53                   	push   %ebx                           
  117c34:	83 ec 30             	sub    $0x30,%esp                     
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  117c37:	ff 35 10 44 14 00    	pushl  0x144410                       
  117c3d:	e8 36 24 00 00       	call   11a078 <_API_Mutex_Lock>       
RTEMS_INLINE_ROUTINE Region_Control *_Region_Get (                    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
  117c42:	83 c4 0c             	add    $0xc,%esp                      
  117c45:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117c48:	50                   	push   %eax                           
  117c49:	ff 75 08             	pushl  0x8(%ebp)                      
  117c4c:	68 60 42 14 00       	push   $0x144260                      
  117c51:	e8 06 3d 00 00       	call   11b95c <_Objects_Get_no_protection>
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  117c56:	83 c4 10             	add    $0x10,%esp                     
  117c59:	8b 5d f4             	mov    -0xc(%ebp),%ebx                
  117c5c:	85 db                	test   %ebx,%ebx                      
  117c5e:	74 1c                	je     117c7c <rtems_region_delete+0x4c>
  117c60:	bb 04 00 00 00       	mov    $0x4,%ebx                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117c65:	83 ec 0c             	sub    $0xc,%esp                      
  117c68:	ff 35 10 44 14 00    	pushl  0x144410                       
  117c6e:	e8 4d 24 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
}                                                                     
  117c73:	89 d8                	mov    %ebx,%eax                      
  117c75:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117c78:	c9                   	leave                                 
  117c79:	c3                   	ret                                   
  117c7a:	66 90                	xchg   %ax,%ax                        
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        _Region_Debug_Walk( the_region, 5 );                          
        if ( the_region->number_of_used_blocks != 0 )                 
  117c7c:	8b 48 64             	mov    0x64(%eax),%ecx                
  117c7f:	85 c9                	test   %ecx,%ecx                      
  117c81:	74 09                	je     117c8c <rtems_region_delete+0x5c>
  117c83:	bb 0c 00 00 00       	mov    $0xc,%ebx                      
  117c88:	eb db                	jmp    117c65 <rtems_region_delete+0x35>
  117c8a:	66 90                	xchg   %ax,%ax                        
          return_status = RTEMS_RESOURCE_IN_USE;                      
        else {                                                        
          _Objects_Close( &_Region_Information, &the_region->Object );
  117c8c:	83 ec 08             	sub    $0x8,%esp                      
  117c8f:	50                   	push   %eax                           
  117c90:	68 60 42 14 00       	push   $0x144260                      
  117c95:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117c98:	e8 8b 38 00 00       	call   11b528 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
  117c9d:	58                   	pop    %eax                           
  117c9e:	5a                   	pop    %edx                           
  117c9f:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  117ca2:	50                   	push   %eax                           
  117ca3:	68 60 42 14 00       	push   $0x144260                      
  117ca8:	e8 7f 3b 00 00       	call   11b82c <_Objects_Free>         
  117cad:	31 db                	xor    %ebx,%ebx                      
  117caf:	83 c4 10             	add    $0x10,%esp                     
  117cb2:	eb b1                	jmp    117c65 <rtems_region_delete+0x35>
                                                                      

00117cb4 <rtems_region_extend>: rtems_status_code rtems_region_extend( rtems_id id, void *starting_address, uintptr_t length ) {
  117cb4:	55                   	push   %ebp                           
  117cb5:	89 e5                	mov    %esp,%ebp                      
  117cb7:	56                   	push   %esi                           
  117cb8:	53                   	push   %ebx                           
  117cb9:	83 ec 10             	sub    $0x10,%esp                     
  117cbc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Heap_Extend_status  heap_status;                                    
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
  117cbf:	85 db                	test   %ebx,%ebx                      
  117cc1:	74 71                	je     117d34 <rtems_region_extend+0x80>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
  117cc3:	83 ec 0c             	sub    $0xc,%esp                      
  117cc6:	ff 35 10 44 14 00    	pushl  0x144410                       
  117ccc:	e8 a7 23 00 00       	call   11a078 <_API_Mutex_Lock>       
RTEMS_INLINE_ROUTINE Region_Control *_Region_Get (                    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
  117cd1:	83 c4 0c             	add    $0xc,%esp                      
  117cd4:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  117cd7:	50                   	push   %eax                           
  117cd8:	ff 75 08             	pushl  0x8(%ebp)                      
  117cdb:	68 60 42 14 00       	push   $0x144260                      
  117ce0:	e8 77 3c 00 00       	call   11b95c <_Objects_Get_no_protection>
  117ce5:	89 c6                	mov    %eax,%esi                      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  117ce7:	83 c4 10             	add    $0x10,%esp                     
  117cea:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  117ced:	85 c0                	test   %eax,%eax                      
  117cef:	74 1f                	je     117d10 <rtems_region_extend+0x5c>
  117cf1:	bb 04 00 00 00       	mov    $0x4,%ebx                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117cf6:	83 ec 0c             	sub    $0xc,%esp                      
  117cf9:	ff 35 10 44 14 00    	pushl  0x144410                       
  117cff:	e8 bc 23 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  117d04:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  117d07:	89 d8                	mov    %ebx,%eax                      
  117d09:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117d0c:	5b                   	pop    %ebx                           
  117d0d:	5e                   	pop    %esi                           
  117d0e:	c9                   	leave                                 
  117d0f:	c3                   	ret                                   
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        heap_status = _Heap_Extend(                                   
  117d10:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117d13:	50                   	push   %eax                           
  117d14:	ff 75 10             	pushl  0x10(%ebp)                     
  117d17:	53                   	push   %ebx                           
  117d18:	8d 46 68             	lea    0x68(%esi),%eax                
  117d1b:	50                   	push   %eax                           
  117d1c:	e8 77 2f 00 00       	call   11ac98 <_Heap_Extend>          
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( heap_status == HEAP_EXTEND_SUCCESSFUL ) {                
  117d21:	83 c4 10             	add    $0x10,%esp                     
  117d24:	85 c0                	test   %eax,%eax                      
  117d26:	74 18                	je     117d40 <rtems_region_extend+0x8c>
          the_region->length                += amount_extended;       
          the_region->maximum_segment_size  += amount_extended;       
          return_status = RTEMS_SUCCESSFUL;                           
        } else if ( heap_status == HEAP_EXTEND_ERROR ) {              
  117d28:	48                   	dec    %eax                           
  117d29:	74 25                	je     117d50 <rtems_region_extend+0x9c>
  117d2b:	bb 18 00 00 00       	mov    $0x18,%ebx                     
  117d30:	eb c4                	jmp    117cf6 <rtems_region_extend+0x42>
  117d32:	66 90                	xchg   %ax,%ax                        
  Heap_Extend_status  heap_status;                                    
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
  117d34:	b3 09                	mov    $0x9,%bl                       
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117d36:	89 d8                	mov    %ebx,%eax                      
  117d38:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117d3b:	5b                   	pop    %ebx                           
  117d3c:	5e                   	pop    %esi                           
  117d3d:	c9                   	leave                                 
  117d3e:	c3                   	ret                                   
  117d3f:	90                   	nop                                   
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( heap_status == HEAP_EXTEND_SUCCESSFUL ) {                
          the_region->length                += amount_extended;       
  117d40:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  117d43:	01 46 54             	add    %eax,0x54(%esi)                
          the_region->maximum_segment_size  += amount_extended;       
  117d46:	01 46 5c             	add    %eax,0x5c(%esi)                
  117d49:	31 db                	xor    %ebx,%ebx                      
  117d4b:	eb a9                	jmp    117cf6 <rtems_region_extend+0x42>
  117d4d:	8d 76 00             	lea    0x0(%esi),%esi                 
          return_status = RTEMS_SUCCESSFUL;                           
        } else if ( heap_status == HEAP_EXTEND_ERROR ) {              
  117d50:	bb 09 00 00 00       	mov    $0x9,%ebx                      
  117d55:	eb 9f                	jmp    117cf6 <rtems_region_extend+0x42>
                                                                      

00117d58 <rtems_region_get_free_information>: rtems_status_code rtems_region_get_free_information( rtems_id id, Heap_Information_block *the_info ) {
  117d58:	55                   	push   %ebp                           
  117d59:	89 e5                	mov    %esp,%ebp                      
  117d5b:	53                   	push   %ebx                           
  117d5c:	83 ec 14             	sub    $0x14,%esp                     
  117d5f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
  117d62:	85 db                	test   %ebx,%ebx                      
  117d64:	74 76                	je     117ddc <rtems_region_get_free_information+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  117d66:	83 ec 0c             	sub    $0xc,%esp                      
  117d69:	ff 35 10 44 14 00    	pushl  0x144410                       
  117d6f:	e8 04 23 00 00       	call   11a078 <_API_Mutex_Lock>       
  117d74:	83 c4 0c             	add    $0xc,%esp                      
  117d77:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117d7a:	50                   	push   %eax                           
  117d7b:	ff 75 08             	pushl  0x8(%ebp)                      
  117d7e:	68 60 42 14 00       	push   $0x144260                      
  117d83:	e8 d4 3b 00 00       	call   11b95c <_Objects_Get_no_protection>
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  117d88:	83 c4 10             	add    $0x10,%esp                     
  117d8b:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  117d8e:	85 d2                	test   %edx,%edx                      
  117d90:	74 1e                	je     117db0 <rtems_region_get_free_information+0x58>
  117d92:	bb 04 00 00 00       	mov    $0x4,%ebx                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117d97:	83 ec 0c             	sub    $0xc,%esp                      
  117d9a:	ff 35 10 44 14 00    	pushl  0x144410                       
  117da0:	e8 1b 23 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  117da5:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  117da8:	89 d8                	mov    %ebx,%eax                      
  117daa:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117dad:	c9                   	leave                                 
  117dae:	c3                   	ret                                   
  117daf:	90                   	nop                                   
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        the_info->Used.number   = 0;                                  
  117db0:	c7 43 0c 00 00 00 00 	movl   $0x0,0xc(%ebx)                 
        the_info->Used.total    = 0;                                  
  117db7:	c7 43 14 00 00 00 00 	movl   $0x0,0x14(%ebx)                
        the_info->Used.largest  = 0;                                  
  117dbe:	c7 43 10 00 00 00 00 	movl   $0x0,0x10(%ebx)                
                                                                      
        _Heap_Get_free_information( &the_region->Memory, &the_info->Free );
  117dc5:	83 ec 08             	sub    $0x8,%esp                      
  117dc8:	53                   	push   %ebx                           
  117dc9:	83 c0 68             	add    $0x68,%eax                     
  117dcc:	50                   	push   %eax                           
  117dcd:	e8 d6 30 00 00       	call   11aea8 <_Heap_Get_free_information>
  117dd2:	31 db                	xor    %ebx,%ebx                      
                                                                      
        return_status = RTEMS_SUCCESSFUL;                             
        break;                                                        
  117dd4:	83 c4 10             	add    $0x10,%esp                     
  117dd7:	eb be                	jmp    117d97 <rtems_region_get_free_information+0x3f>
  117dd9:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status;                             
  register Region_Control *the_region;                                
                                                                      
  if ( !the_info )                                                    
  117ddc:	b3 09                	mov    $0x9,%bl                       
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117dde:	89 d8                	mov    %ebx,%eax                      
  117de0:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  117de3:	c9                   	leave                                 
  117de4:	c3                   	ret                                   
                                                                      

00117e60 <rtems_region_get_segment>: uintptr_t size, rtems_option option_set, rtems_interval timeout, void **segment ) {
  117e60:	55                   	push   %ebp                           
  117e61:	89 e5                	mov    %esp,%ebp                      
  117e63:	57                   	push   %edi                           
  117e64:	56                   	push   %esi                           
  117e65:	53                   	push   %ebx                           
  117e66:	83 ec 2c             	sub    $0x2c,%esp                     
  117e69:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  117e6c:	8b 5d 18             	mov    0x18(%ebp),%ebx                
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
  void               *the_segment;                                    
                                                                      
  if ( !segment )                                                     
  117e6f:	85 db                	test   %ebx,%ebx                      
  117e71:	0f 84 a1 00 00 00    	je     117f18 <rtems_region_get_segment+0xb8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  *segment = NULL;                                                    
  117e77:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)                    
                                                                      
  if ( size == 0 )                                                    
  117e7d:	85 f6                	test   %esi,%esi                      
  117e7f:	75 0f                	jne    117e90 <rtems_region_get_segment+0x30>
  117e81:	b8 08 00 00 00       	mov    $0x8,%eax                      
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  117e86:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117e89:	5b                   	pop    %ebx                           
  117e8a:	5e                   	pop    %esi                           
  117e8b:	5f                   	pop    %edi                           
  117e8c:	c9                   	leave                                 
  117e8d:	c3                   	ret                                   
  117e8e:	66 90                	xchg   %ax,%ax                        
  *segment = NULL;                                                    
                                                                      
  if ( size == 0 )                                                    
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  _RTEMS_Lock_allocator();                                            
  117e90:	83 ec 0c             	sub    $0xc,%esp                      
  117e93:	ff 35 10 44 14 00    	pushl  0x144410                       
  117e99:	e8 da 21 00 00       	call   11a078 <_API_Mutex_Lock>       
                                                                      
    executing  = _Thread_Executing;                                   
  117e9e:	a1 18 44 14 00       	mov    0x144418,%eax                  
  117ea3:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  117ea6:	83 c4 0c             	add    $0xc,%esp                      
  117ea9:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  117eac:	50                   	push   %eax                           
  117ead:	ff 75 08             	pushl  0x8(%ebp)                      
  117eb0:	68 60 42 14 00       	push   $0x144260                      
  117eb5:	e8 a2 3a 00 00       	call   11b95c <_Objects_Get_no_protection>
  117eba:	89 c7                	mov    %eax,%edi                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  117ebc:	83 c4 10             	add    $0x10,%esp                     
  117ebf:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  117ec2:	85 c0                	test   %eax,%eax                      
  117ec4:	75 2a                	jne    117ef0 <rtems_region_get_segment+0x90>
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( size > the_region->maximum_segment_size )                
  117ec6:	3b 77 5c             	cmp    0x5c(%edi),%esi                
  117ec9:	76 2d                	jbe    117ef8 <rtems_region_get_segment+0x98>
  117ecb:	b8 08 00 00 00       	mov    $0x8,%eax                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117ed0:	83 ec 0c             	sub    $0xc,%esp                      
  117ed3:	ff 35 10 44 14 00    	pushl  0x144410                       
  117ed9:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  117edc:	e8 df 21 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  117ee1:	83 c4 10             	add    $0x10,%esp                     
  117ee4:	8b 45 d0             	mov    -0x30(%ebp),%eax               
}                                                                     
  117ee7:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  117eea:	5b                   	pop    %ebx                           
  117eeb:	5e                   	pop    %esi                           
  117eec:	5f                   	pop    %edi                           
  117eed:	c9                   	leave                                 
  117eee:	c3                   	ret                                   
  117eef:	90                   	nop                                   
                                                                      
            _Thread_queue_Enqueue( &the_region->Wait_queue, timeout );
                                                                      
            _Thread_Enable_dispatch();                                
                                                                      
            return (rtems_status_code) executing->Wait.return_code;   
  117ef0:	b8 04 00 00 00       	mov    $0x4,%eax                      
  117ef5:	eb d9                	jmp    117ed0 <rtems_region_get_segment+0x70>
  117ef7:	90                   	nop                                   
 * @brief See _Heap_Allocate_aligned_with_boundary() with alignment and
 * boundary equals zero.                                              
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Heap_Allocate( Heap_Control *heap, uintptr_t size )
{                                                                     
  return _Heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );    
  117ef8:	6a 00                	push   $0x0                           
  117efa:	6a 00                	push   $0x0                           
  117efc:	56                   	push   %esi                           
  117efd:	8d 47 68             	lea    0x68(%edi),%eax                
  117f00:	50                   	push   %eax                           
  117f01:	e8 de 2b 00 00       	call   11aae4 <_Heap_Allocate_aligned_with_boundary>
                                                                      
          the_segment = _Region_Allocate_segment( the_region, size ); 
                                                                      
          _Region_Debug_Walk( the_region, 2 );                        
                                                                      
          if ( the_segment ) {                                        
  117f06:	83 c4 10             	add    $0x10,%esp                     
  117f09:	85 c0                	test   %eax,%eax                      
  117f0b:	74 17                	je     117f24 <rtems_region_get_segment+0xc4>
            the_region->number_of_used_blocks += 1;                   
  117f0d:	ff 47 64             	incl   0x64(%edi)                     
            *segment = the_segment;                                   
  117f10:	89 03                	mov    %eax,(%ebx)                    
  117f12:	31 c0                	xor    %eax,%eax                      
  117f14:	eb ba                	jmp    117ed0 <rtems_region_get_segment+0x70>
  117f16:	66 90                	xchg   %ax,%ax                        
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
  void               *the_segment;                                    
                                                                      
  if ( !segment )                                                     
  117f18:	b8 09 00 00 00       	mov    $0x9,%eax                      
  117f1d:	e9 64 ff ff ff       	jmp    117e86 <rtems_region_get_segment+0x26>
  117f22:	66 90                	xchg   %ax,%ax                        
                                                                      
          if ( the_segment ) {                                        
            the_region->number_of_used_blocks += 1;                   
            *segment = the_segment;                                   
            return_status = RTEMS_SUCCESSFUL;                         
          } else if ( _Options_Is_no_wait( option_set ) ) {           
  117f24:	f6 45 10 01          	testb  $0x1,0x10(%ebp)                
  117f28:	74 07                	je     117f31 <rtems_region_get_segment+0xd1>
  117f2a:	b8 0d 00 00 00       	mov    $0xd,%eax                      
  117f2f:	eb 9f                	jmp    117ed0 <rtems_region_get_segment+0x70>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  117f31:	a1 58 43 14 00       	mov    0x144358,%eax                  
  117f36:	40                   	inc    %eax                           
  117f37:	a3 58 43 14 00       	mov    %eax,0x144358                  
             *  Switch from using the memory allocation mutex to using a
             *  dispatching disabled critical section.  We have to do this
             *  because this thread is going to block.                
             */                                                       
            _Thread_Disable_dispatch();                               
            _RTEMS_Unlock_allocator();                                
  117f3c:	83 ec 0c             	sub    $0xc,%esp                      
  117f3f:	ff 35 10 44 14 00    	pushl  0x144410                       
  117f45:	e8 76 21 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
                                                                      
            executing->Wait.queue           = &the_region->Wait_queue;
  117f4a:	8d 47 10             	lea    0x10(%edi),%eax                
  117f4d:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  117f50:	89 42 44             	mov    %eax,0x44(%edx)                
            executing->Wait.id              = id;                     
  117f53:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  117f56:	89 4a 20             	mov    %ecx,0x20(%edx)                
            executing->Wait.count           = size;                   
  117f59:	89 72 24             	mov    %esi,0x24(%edx)                
            executing->Wait.return_argument = segment;                
  117f5c:	89 5a 28             	mov    %ebx,0x28(%edx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
  117f5f:	c7 47 40 01 00 00 00 	movl   $0x1,0x40(%edi)                
                                                                      
            _Thread_queue_Enter_critical_section( &the_region->Wait_queue );
                                                                      
            _Thread_queue_Enqueue( &the_region->Wait_queue, timeout );
  117f66:	83 c4 0c             	add    $0xc,%esp                      
  117f69:	68 f0 ca 11 00       	push   $0x11caf0                      
  117f6e:	ff 75 14             	pushl  0x14(%ebp)                     
  117f71:	50                   	push   %eax                           
  117f72:	e8 69 48 00 00       	call   11c7e0 <_Thread_queue_Enqueue_with_handler>
                                                                      
            _Thread_Enable_dispatch();                                
  117f77:	e8 00 43 00 00       	call   11c27c <_Thread_Enable_dispatch>
                                                                      
            return (rtems_status_code) executing->Wait.return_code;   
  117f7c:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  117f7f:	8b 42 34             	mov    0x34(%edx),%eax                
  117f82:	83 c4 10             	add    $0x10,%esp                     
  117f85:	e9 fc fe ff ff       	jmp    117e86 <rtems_region_get_segment+0x26>
                                                                      

00117f8c <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
  117f8c:	55                   	push   %ebp                           
  117f8d:	89 e5                	mov    %esp,%ebp                      
  117f8f:	56                   	push   %esi                           
  117f90:	53                   	push   %ebx                           
  117f91:	83 ec 20             	sub    $0x20,%esp                     
  117f94:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  117f97:	8b 75 10             	mov    0x10(%ebp),%esi                
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
  117f9a:	85 db                	test   %ebx,%ebx                      
  117f9c:	74 72                	je     118010 <rtems_region_get_segment_size+0x84><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
  117f9e:	85 f6                	test   %esi,%esi                      
  117fa0:	74 6e                	je     118010 <rtems_region_get_segment_size+0x84><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  117fa2:	83 ec 0c             	sub    $0xc,%esp                      
  117fa5:	ff 35 10 44 14 00    	pushl  0x144410                       
  117fab:	e8 c8 20 00 00       	call   11a078 <_API_Mutex_Lock>       
  117fb0:	83 c4 0c             	add    $0xc,%esp                      
  117fb3:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  117fb6:	50                   	push   %eax                           
  117fb7:	ff 75 08             	pushl  0x8(%ebp)                      
  117fba:	68 60 42 14 00       	push   $0x144260                      
  117fbf:	e8 98 39 00 00       	call   11b95c <_Objects_Get_no_protection>
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  117fc4:	83 c4 10             	add    $0x10,%esp                     
  117fc7:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  117fca:	85 d2                	test   %edx,%edx                      
  117fcc:	75 36                	jne    118004 <rtems_region_get_segment_size+0x78><== NEVER TAKEN
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
  117fce:	52                   	push   %edx                           
  117fcf:	56                   	push   %esi                           
  117fd0:	53                   	push   %ebx                           
  117fd1:	83 c0 68             	add    $0x68,%eax                     
  117fd4:	50                   	push   %eax                           
  117fd5:	e8 e6 33 00 00       	call   11b3c0 <_Heap_Size_of_alloc_area>
  117fda:	83 c4 10             	add    $0x10,%esp                     
  117fdd:	84 c0                	test   %al,%al                        
  117fdf:	74 3b                	je     11801c <rtems_region_get_segment_size+0x90><== NEVER TAKEN
  117fe1:	31 c0                	xor    %eax,%eax                      
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  117fe3:	83 ec 0c             	sub    $0xc,%esp                      
  117fe6:	ff 35 10 44 14 00    	pushl  0x144410                       
  117fec:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  117fef:	e8 cc 20 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  117ff4:	83 c4 10             	add    $0x10,%esp                     
  117ff7:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
}                                                                     
  117ffa:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  117ffd:	5b                   	pop    %ebx                           
  117ffe:	5e                   	pop    %esi                           
  117fff:	c9                   	leave                                 
  118000:	c3                   	ret                                   
  118001:	8d 76 00             	lea    0x0(%esi),%esi                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  118004:	4a                   	dec    %edx                           
  118005:	75 da                	jne    117fe1 <rtems_region_get_segment_size+0x55><== NEVER TAKEN
  118007:	b8 04 00 00 00       	mov    $0x4,%eax                      
  11800c:	eb d5                	jmp    117fe3 <rtems_region_get_segment_size+0x57>
  11800e:	66 90                	xchg   %ax,%ax                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
  118010:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  118015:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  118018:	5b                   	pop    %ebx                           
  118019:	5e                   	pop    %esi                           
  11801a:	c9                   	leave                                 
  11801b:	c3                   	ret                                   
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
  11801c:	b8 09 00 00 00       	mov    $0x9,%eax                      <== NOT EXECUTED
  118021:	eb c0                	jmp    117fe3 <rtems_region_get_segment_size+0x57><== NOT EXECUTED
                                                                      

00118048 <rtems_region_resize_segment>: rtems_id id, void *segment, uintptr_t size, uintptr_t *old_size ) {
  118048:	55                   	push   %ebp                           
  118049:	89 e5                	mov    %esp,%ebp                      
  11804b:	56                   	push   %esi                           
  11804c:	53                   	push   %ebx                           
  11804d:	83 ec 20             	sub    $0x20,%esp                     
  118050:	8b 5d 14             	mov    0x14(%ebp),%ebx                
  uintptr_t                osize;                                     
  rtems_status_code        return_status;                             
  Heap_Resize_status       status;                                    
  register Region_Control *the_region;                                
                                                                      
  if ( !old_size )                                                    
  118053:	85 db                	test   %ebx,%ebx                      
  118055:	0f 84 a5 00 00 00    	je     118100 <rtems_region_resize_segment+0xb8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
  11805b:	83 ec 0c             	sub    $0xc,%esp                      
  11805e:	ff 35 10 44 14 00    	pushl  0x144410                       
  118064:	e8 0f 20 00 00       	call   11a078 <_API_Mutex_Lock>       
  118069:	83 c4 0c             	add    $0xc,%esp                      
  11806c:	8d 45 f0             	lea    -0x10(%ebp),%eax               
  11806f:	50                   	push   %eax                           
  118070:	ff 75 08             	pushl  0x8(%ebp)                      
  118073:	68 60 42 14 00       	push   $0x144260                      
  118078:	e8 df 38 00 00       	call   11b95c <_Objects_Get_no_protection>
  11807d:	89 c6                	mov    %eax,%esi                      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  11807f:	83 c4 10             	add    $0x10,%esp                     
  118082:	8b 45 f0             	mov    -0x10(%ebp),%eax               
  118085:	85 c0                	test   %eax,%eax                      
  118087:	74 1f                	je     1180a8 <rtems_region_resize_segment+0x60>
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  118089:	83 ec 0c             	sub    $0xc,%esp                      
  11808c:	ff 35 10 44 14 00    	pushl  0x144410                       
  118092:	e8 29 20 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  118097:	b8 04 00 00 00       	mov    $0x4,%eax                      
  return return_status;                                               
  11809c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  11809f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1180a2:	5b                   	pop    %ebx                           
  1180a3:	5e                   	pop    %esi                           
  1180a4:	c9                   	leave                                 
  1180a5:	c3                   	ret                                   
  1180a6:	66 90                	xchg   %ax,%ax                        
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        _Region_Debug_Walk( the_region, 7 );                          
                                                                      
        status = _Heap_Resize_block(                                  
  1180a8:	83 ec 0c             	sub    $0xc,%esp                      
  1180ab:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1180ae:	50                   	push   %eax                           
  1180af:	8d 45 ec             	lea    -0x14(%ebp),%eax               
  1180b2:	50                   	push   %eax                           
  1180b3:	ff 75 10             	pushl  0x10(%ebp)                     
  1180b6:	ff 75 0c             	pushl  0xc(%ebp)                      
  1180b9:	8d 46 68             	lea    0x68(%esi),%eax                
  1180bc:	50                   	push   %eax                           
  1180bd:	e8 f2 31 00 00       	call   11b2b4 <_Heap_Resize_block>    
          segment,                                                    
          (uint32_t) size,                                            
          &osize,                                                     
          &avail_size                                                 
        );                                                            
        *old_size = (uint32_t) osize;                                 
  1180c2:	8b 55 ec             	mov    -0x14(%ebp),%edx               
  1180c5:	89 13                	mov    %edx,(%ebx)                    
                                                                      
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
  1180c7:	83 c4 20             	add    $0x20,%esp                     
  1180ca:	85 c0                	test   %eax,%eax                      
  1180cc:	75 16                	jne    1180e4 <rtems_region_resize_segment+0x9c>
          _Region_Process_queue( the_region );    /* unlocks allocator */
  1180ce:	83 ec 0c             	sub    $0xc,%esp                      
  1180d1:	56                   	push   %esi                           
  1180d2:	e8 cd 86 00 00       	call   1207a4 <_Region_Process_queue> 
  1180d7:	31 c0                	xor    %eax,%eax                      
  1180d9:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  1180dc:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1180df:	5b                   	pop    %ebx                           
  1180e0:	5e                   	pop    %esi                           
  1180e1:	c9                   	leave                                 
  1180e2:	c3                   	ret                                   
  1180e3:	90                   	nop                                   
        _Region_Debug_Walk( the_region, 8 );                          
                                                                      
        if ( status == HEAP_RESIZE_SUCCESSFUL )                       
          _Region_Process_queue( the_region );    /* unlocks allocator */
        else                                                          
          _RTEMS_Unlock_allocator();                                  
  1180e4:	83 ec 0c             	sub    $0xc,%esp                      
  1180e7:	ff 35 10 44 14 00    	pushl  0x144410                       
  1180ed:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1180f0:	e8 cb 1f 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
        if (status == HEAP_RESIZE_UNSATISFIED)                        
  1180f5:	83 c4 10             	add    $0x10,%esp                     
  1180f8:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1180fb:	83 f8 01             	cmp    $0x1,%eax                      
  1180fe:	74 0c                	je     11810c <rtems_region_resize_segment+0xc4>
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
  118100:	b8 09 00 00 00       	mov    $0x9,%eax                      
}                                                                     
  118105:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  118108:	5b                   	pop    %ebx                           
  118109:	5e                   	pop    %esi                           
  11810a:	c9                   	leave                                 
  11810b:	c3                   	ret                                   
          _RTEMS_Unlock_allocator();                                  
                                                                      
                                                                      
        if (status == HEAP_RESIZE_SUCCESSFUL)                         
          return RTEMS_SUCCESSFUL;                                    
        if (status == HEAP_RESIZE_UNSATISFIED)                        
  11810c:	b0 0d                	mov    $0xd,%al                       
  11810e:	eb 8f                	jmp    11809f <rtems_region_resize_segment+0x57>
                                                                      

00118110 <rtems_region_return_segment>: rtems_status_code rtems_region_return_segment( rtems_id id, void *segment ) {
  118110:	55                   	push   %ebp                           
  118111:	89 e5                	mov    %esp,%ebp                      
  118113:	53                   	push   %ebx                           
  118114:	83 ec 20             	sub    $0x20,%esp                     
  uint32_t                 size;                                      
#endif                                                                
  int                      status;                                    
  register Region_Control *the_region;                                
                                                                      
  _RTEMS_Lock_allocator();                                            
  118117:	ff 35 10 44 14 00    	pushl  0x144410                       
  11811d:	e8 56 1f 00 00       	call   11a078 <_API_Mutex_Lock>       
  118122:	83 c4 0c             	add    $0xc,%esp                      
  118125:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  118128:	50                   	push   %eax                           
  118129:	ff 75 08             	pushl  0x8(%ebp)                      
  11812c:	68 60 42 14 00       	push   $0x144260                      
  118131:	e8 26 38 00 00       	call   11b95c <_Objects_Get_no_protection>
  118136:	89 c3                	mov    %eax,%ebx                      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
  118138:	83 c4 10             	add    $0x10,%esp                     
  11813b:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  11813e:	85 c0                	test   %eax,%eax                      
  118140:	74 1e                	je     118160 <rtems_region_return_segment+0x50>
  118142:	bb 04 00 00 00       	mov    $0x4,%ebx                      
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  118147:	83 ec 0c             	sub    $0xc,%esp                      
  11814a:	ff 35 10 44 14 00    	pushl  0x144410                       
  118150:	e8 6b 1f 00 00       	call   11a0c0 <_API_Mutex_Unlock>     
  return return_status;                                               
  118155:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  118158:	89 d8                	mov    %ebx,%eax                      
  11815a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11815d:	c9                   	leave                                 
  11815e:	c3                   	ret                                   
  11815f:	90                   	nop                                   
RTEMS_INLINE_ROUTINE bool _Region_Free_segment (                      
  Region_Control *the_region,                                         
  void           *the_segment                                         
)                                                                     
{                                                                     
  return _Heap_Free( &the_region->Memory, the_segment );              
  118160:	83 ec 08             	sub    $0x8,%esp                      
  118163:	ff 75 0c             	pushl  0xc(%ebp)                      
  118166:	8d 43 68             	lea    0x68(%ebx),%eax                
  118169:	50                   	push   %eax                           
  11816a:	e8 c9 2b 00 00       	call   11ad38 <_Heap_Free>            
#endif                                                                
          status = _Region_Free_segment( the_region, segment );       
                                                                      
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
  11816f:	83 c4 10             	add    $0x10,%esp                     
  118172:	84 c0                	test   %al,%al                        
  118174:	75 0a                	jne    118180 <rtems_region_return_segment+0x70>
          else {                                                      
            the_region->number_of_used_blocks -= 1;                   
                                                                      
            _Region_Process_queue(the_region); /* unlocks allocator */
                                                                      
            return RTEMS_SUCCESSFUL;                                  
  118176:	bb 09 00 00 00       	mov    $0x9,%ebx                      
  11817b:	eb ca                	jmp    118147 <rtems_region_return_segment+0x37>
  11817d:	8d 76 00             	lea    0x0(%esi),%esi                 
          _Region_Debug_Walk( the_region, 4 );                        
                                                                      
          if ( !status )                                              
            return_status = RTEMS_INVALID_ADDRESS;                    
          else {                                                      
            the_region->number_of_used_blocks -= 1;                   
  118180:	ff 4b 64             	decl   0x64(%ebx)                     
                                                                      
            _Region_Process_queue(the_region); /* unlocks allocator */
  118183:	83 ec 0c             	sub    $0xc,%esp                      
  118186:	53                   	push   %ebx                           
  118187:	e8 18 86 00 00       	call   1207a4 <_Region_Process_queue> 
  11818c:	31 db                	xor    %ebx,%ebx                      
                                                                      
            return RTEMS_SUCCESSFUL;                                  
  11818e:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
  118191:	89 d8                	mov    %ebx,%eax                      
  118193:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  118196:	c9                   	leave                                 
  118197:	c3                   	ret                                   
                                                                      

0010ba6c <rtems_semaphore_create>: uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, rtems_id *id ) {
  10ba6c:	55                   	push   %ebp                           
  10ba6d:	89 e5                	mov    %esp,%ebp                      
  10ba6f:	57                   	push   %edi                           
  10ba70:	56                   	push   %esi                           
  10ba71:	53                   	push   %ebx                           
  10ba72:	83 ec 3c             	sub    $0x3c,%esp                     
  10ba75:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10ba78:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  10ba7b:	8b 7d 18             	mov    0x18(%ebp),%edi                
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10ba7e:	85 f6                	test   %esi,%esi                      
  10ba80:	74 4a                	je     10bacc <rtems_semaphore_create+0x60>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10ba82:	85 ff                	test   %edi,%edi                      
  10ba84:	0f 84 f6 00 00 00    	je     10bb80 <rtems_semaphore_create+0x114>
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  } else                                                              
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
  10ba8a:	89 da                	mov    %ebx,%edx                      
  10ba8c:	81 e2 c0 00 00 00    	and    $0xc0,%edx                     
  10ba92:	74 48                	je     10badc <rtems_semaphore_create+0x70>
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
  10ba94:	89 d8                	mov    %ebx,%eax                      
  10ba96:	83 e0 30             	and    $0x30,%eax                     
  10ba99:	83 f8 10             	cmp    $0x10,%eax                     
  10ba9c:	74 0e                	je     10baac <rtems_semaphore_create+0x40>
      name,                                                           
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
  10ba9e:	b8 0b 00 00 00       	mov    $0xb,%eax                      
}                                                                     
  10baa3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10baa6:	5b                   	pop    %ebx                           
  10baa7:	5e                   	pop    %esi                           
  10baa8:	5f                   	pop    %edi                           
  10baa9:	c9                   	leave                                 
  10baaa:	c3                   	ret                                   
  10baab:	90                   	nop                                   
#endif                                                                
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) ||            
              _Attributes_Is_priority_ceiling( attribute_set ) ) {    
                                                                      
    if ( ! (_Attributes_Is_binary_semaphore( attribute_set ) &&       
  10baac:	f6 c3 04             	test   $0x4,%bl                       
  10baaf:	74 ed                	je     10ba9e <rtems_semaphore_create+0x32>
            _Attributes_Is_priority( attribute_set ) ) )              
      return RTEMS_NOT_DEFINED;                                       
                                                                      
  }                                                                   
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
  10bab1:	81 fa c0 00 00 00    	cmp    $0xc0,%edx                     
  10bab7:	74 e5                	je     10ba9e <rtems_semaphore_create+0x32>
  10bab9:	b9 10 00 00 00       	mov    $0x10,%ecx                     
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
  10babe:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)                 
  10bac2:	76 1f                	jbe    10bae3 <rtems_semaphore_create+0x77>
  10bac4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
  10bac9:	eb d8                	jmp    10baa3 <rtems_semaphore_create+0x37>
  10bacb:	90                   	nop                                   
  register Semaphore_Control *the_semaphore;                          
  CORE_mutex_Attributes       the_mutex_attr;                         
  CORE_semaphore_Attributes   the_semaphore_attr;                     
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10bacc:	b8 03 00 00 00       	mov    $0x3,%eax                      
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10bad1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bad4:	5b                   	pop    %ebx                           
  10bad5:	5e                   	pop    %esi                           
  10bad6:	5f                   	pop    %edi                           
  10bad7:	c9                   	leave                                 
  10bad8:	c3                   	ret                                   
  10bad9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( _Attributes_Is_inherit_priority( attribute_set ) &&            
       _Attributes_Is_priority_ceiling( attribute_set ) )             
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
  10badc:	89 d9                	mov    %ebx,%ecx                      
  10bade:	83 e1 30             	and    $0x30,%ecx                     
  10bae1:	75 db                	jne    10babe <rtems_semaphore_create+0x52>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bae3:	a1 f8 93 12 00       	mov    0x1293f8,%eax                  
  10bae8:	40                   	inc    %eax                           
  10bae9:	a3 f8 93 12 00       	mov    %eax,0x1293f8                  
 *  This function allocates a semaphore control block from            
 *  the inactive chain of free semaphore control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Allocate( void )   
{                                                                     
  return (Semaphore_Control *) _Objects_Allocate( &_Semaphore_Information );
  10baee:	83 ec 0c             	sub    $0xc,%esp                      
  10baf1:	68 40 93 12 00       	push   $0x129340                      
  10baf6:	89 4d c4             	mov    %ecx,-0x3c(%ebp)               
  10baf9:	e8 4a 14 00 00       	call   10cf48 <_Objects_Allocate>     
  10bafe:	89 c2                	mov    %eax,%edx                      
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
  10bb00:	83 c4 10             	add    $0x10,%esp                     
  10bb03:	85 c0                	test   %eax,%eax                      
  10bb05:	8b 4d c4             	mov    -0x3c(%ebp),%ecx               
  10bb08:	0f 84 ba 00 00 00    	je     10bbc8 <rtems_semaphore_create+0x15c>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_semaphore->attribute_set = attribute_set;                       
  10bb0e:	89 58 10             	mov    %ebx,0x10(%eax)                
                                                                      
  /*                                                                  
   *  Initialize it as a counting semaphore.                          
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
  10bb11:	85 c9                	test   %ecx,%ecx                      
  10bb13:	74 77                	je     10bb8c <rtems_semaphore_create+0x120>
    /*                                                                
     *  It is either simple binary semaphore or a more powerful mutex 
     *  style binary semaphore.  This is the mutex style.             
     */                                                               
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
  10bb15:	31 c0                	xor    %eax,%eax                      
  10bb17:	f6 c3 04             	test   $0x4,%bl                       
  10bb1a:	0f 95 c0             	setne  %al                            
  10bb1d:	89 45 d8             	mov    %eax,-0x28(%ebp)               
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
  10bb20:	83 f9 10             	cmp    $0x10,%ecx                     
  10bb23:	0f 84 ae 00 00 00    	je     10bbd7 <rtems_semaphore_create+0x16b>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
          the_mutex_attr.only_owner_release = true;                   
        }                                                             
      }                                                               
    } else /* must be simple binary semaphore */ {                    
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
  10bb29:	c7 45 d0 02 00 00 00 	movl   $0x2,-0x30(%ebp)               
      the_mutex_attr.only_owner_release = false;                      
  10bb30:	c6 45 d4 00          	movb   $0x0,-0x2c(%ebp)               
    }                                                                 
                                                                      
    mutex_status = _CORE_mutex_Initialize(                            
  10bb34:	50                   	push   %eax                           
  10bb35:	31 c0                	xor    %eax,%eax                      
  10bb37:	83 7d 0c 01          	cmpl   $0x1,0xc(%ebp)                 
  10bb3b:	0f 94 c0             	sete   %al                            
  10bb3e:	50                   	push   %eax                           
  10bb3f:	8d 45 d0             	lea    -0x30(%ebp),%eax               
  10bb42:	50                   	push   %eax                           
  10bb43:	8d 42 14             	lea    0x14(%edx),%eax                
  10bb46:	50                   	push   %eax                           
  10bb47:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10bb4a:	e8 09 0c 00 00       	call   10c758 <_CORE_mutex_Initialize>
      &the_semaphore->Core_control.mutex,                             
      &the_mutex_attr,                                                
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
  10bb4f:	83 c4 10             	add    $0x10,%esp                     
  10bb52:	83 f8 06             	cmp    $0x6,%eax                      
  10bb55:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10bb58:	0f 84 a9 00 00 00    	je     10bc07 <rtems_semaphore_create+0x19b><== NEVER TAKEN
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10bb5e:	8b 42 08             	mov    0x8(%edx),%eax                 
  10bb61:	0f b7 d8             	movzwl %ax,%ebx                       
  10bb64:	8b 0d 5c 93 12 00    	mov    0x12935c,%ecx                  
  10bb6a:	89 14 99             	mov    %edx,(%ecx,%ebx,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10bb6d:	89 72 0c             	mov    %esi,0xc(%edx)                 
    &_Semaphore_Information,                                          
    &the_semaphore->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_semaphore->Object.id;                                     
  10bb70:	89 07                	mov    %eax,(%edi)                    
      the_semaphore->Object.id,                                       
      name,                                                           
      0                          /* Not used */                       
    );                                                                
#endif                                                                
  _Thread_Enable_dispatch();                                          
  10bb72:	e8 f5 20 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bb77:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  10bb79:	e9 25 ff ff ff       	jmp    10baa3 <rtems_semaphore_create+0x37>
  10bb7e:	66 90                	xchg   %ax,%ax                        
  CORE_mutex_Status           mutex_status;                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10bb80:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10bb85:	e9 19 ff ff ff       	jmp    10baa3 <rtems_semaphore_create+0x37>
  10bb8a:	66 90                	xchg   %ax,%ax                        
   */                                                                 
  if ( _Attributes_Is_counting_semaphore( attribute_set ) ) {         
    /*                                                                
     *  This effectively disables limit checking.                     
     */                                                               
    the_semaphore_attr.maximum_count = 0xFFFFFFFF;                    
  10bb8c:	c7 45 e0 ff ff ff ff 	movl   $0xffffffff,-0x20(%ebp)        
                                                                      
    if ( _Attributes_Is_priority( attribute_set ) )                   
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
  10bb93:	31 c0                	xor    %eax,%eax                      
  10bb95:	f6 c3 04             	test   $0x4,%bl                       
  10bb98:	0f 95 c0             	setne  %al                            
  10bb9b:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
      the_semaphore_attr.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
                                                                      
    /*                                                                
     *  The following are just to make Purify happy.                  
     */                                                               
    the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  10bb9e:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
    the_mutex_attr.priority_ceiling = PRIORITY_MINIMUM;               
  10bba5:	c7 45 dc 00 00 00 00 	movl   $0x0,-0x24(%ebp)               
                                                                      
    _CORE_semaphore_Initialize(                                       
  10bbac:	51                   	push   %ecx                           
  10bbad:	ff 75 0c             	pushl  0xc(%ebp)                      
  10bbb0:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bbb3:	50                   	push   %eax                           
  10bbb4:	8d 42 14             	lea    0x14(%edx),%eax                
  10bbb7:	50                   	push   %eax                           
  10bbb8:	89 55 c4             	mov    %edx,-0x3c(%ebp)               
  10bbbb:	e8 3c 0e 00 00       	call   10c9fc <_CORE_semaphore_Initialize>
  10bbc0:	83 c4 10             	add    $0x10,%esp                     
  10bbc3:	8b 55 c4             	mov    -0x3c(%ebp),%edx               
  10bbc6:	eb 96                	jmp    10bb5e <rtems_semaphore_create+0xf2>
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_semaphore = _Semaphore_Allocate();                              
                                                                      
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
  10bbc8:	e8 9f 20 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bbcd:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  10bbd2:	e9 cc fe ff ff       	jmp    10baa3 <rtems_semaphore_create+0x37>
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY;    
    else                                                              
      the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO;        
                                                                      
    if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {         
      the_mutex_attr.priority_ceiling      = priority_ceiling;        
  10bbd7:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bbda:	89 45 dc             	mov    %eax,-0x24(%ebp)               
      the_mutex_attr.lock_nesting_behavior = CORE_MUTEX_NESTING_ACQUIRES;
  10bbdd:	c7 45 d0 00 00 00 00 	movl   $0x0,-0x30(%ebp)               
      the_mutex_attr.only_owner_release    = false;                   
  10bbe4:	c6 45 d4 00          	movb   $0x0,-0x2c(%ebp)               
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
  10bbe8:	83 7d d8 01          	cmpl   $0x1,-0x28(%ebp)               
  10bbec:	0f 85 42 ff ff ff    	jne    10bb34 <rtems_semaphore_create+0xc8>
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
  10bbf2:	f6 c3 40             	test   $0x40,%bl                      
  10bbf5:	74 30                	je     10bc27 <rtems_semaphore_create+0x1bb>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
  10bbf7:	c7 45 d8 02 00 00 00 	movl   $0x2,-0x28(%ebp)               
          the_mutex_attr.only_owner_release = true;                   
  10bbfe:	c6 45 d4 01          	movb   $0x1,-0x2c(%ebp)               
  10bc02:	e9 2d ff ff ff       	jmp    10bb34 <rtems_semaphore_create+0xc8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
  10bc07:	83 ec 08             	sub    $0x8,%esp                      
  10bc0a:	52                   	push   %edx                           
  10bc0b:	68 40 93 12 00       	push   $0x129340                      
  10bc10:	e8 b3 16 00 00       	call   10d2c8 <_Objects_Free>         
      (count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED          
    );                                                                
                                                                      
    if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {       
      _Semaphore_Free( the_semaphore );                               
      _Thread_Enable_dispatch();                                      
  10bc15:	e8 52 20 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bc1a:	b8 13 00 00 00       	mov    $0x13,%eax                     
      return RTEMS_INVALID_PRIORITY;                                  
  10bc1f:	83 c4 10             	add    $0x10,%esp                     
  10bc22:	e9 7c fe ff ff       	jmp    10baa3 <rtems_semaphore_create+0x37>
                                                                      
      if ( the_mutex_attr.discipline == CORE_MUTEX_DISCIPLINES_PRIORITY ) {
        if ( _Attributes_Is_inherit_priority( attribute_set ) ) {     
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT;
          the_mutex_attr.only_owner_release = true;                   
        } else if ( _Attributes_Is_priority_ceiling( attribute_set ) ) {
  10bc27:	84 db                	test   %bl,%bl                        
  10bc29:	0f 89 05 ff ff ff    	jns    10bb34 <rtems_semaphore_create+0xc8>
          the_mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
  10bc2f:	c7 45 d8 03 00 00 00 	movl   $0x3,-0x28(%ebp)               
          the_mutex_attr.only_owner_release = true;                   
  10bc36:	c6 45 d4 01          	movb   $0x1,-0x2c(%ebp)               
  10bc3a:	e9 f5 fe ff ff       	jmp    10bb34 <rtems_semaphore_create+0xc8>
                                                                      

0010bc40 <rtems_semaphore_delete>: #endif rtems_status_code rtems_semaphore_delete( rtems_id id ) {
  10bc40:	55                   	push   %ebp                           
  10bc41:	89 e5                	mov    %esp,%ebp                      
  10bc43:	53                   	push   %ebx                           
  10bc44:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
  10bc47:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bc4a:	50                   	push   %eax                           
  10bc4b:	ff 75 08             	pushl  0x8(%ebp)                      
  10bc4e:	68 40 93 12 00       	push   $0x129340                      
  10bc53:	e8 a0 17 00 00       	call   10d3f8 <_Objects_Get>          
  10bc58:	89 c3                	mov    %eax,%ebx                      
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
  10bc5a:	83 c4 10             	add    $0x10,%esp                     
  10bc5d:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10bc60:	85 c9                	test   %ecx,%ecx                      
  10bc62:	74 0c                	je     10bc70 <rtems_semaphore_delete+0x30>
  10bc64:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bc69:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bc6c:	c9                   	leave                                 
  10bc6d:	c3                   	ret                                   
  10bc6e:	66 90                	xchg   %ax,%ax                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Attributes_Is_counting_semaphore(          
  rtems_attribute attribute_set                                       
)                                                                     
{                                                                     
  return ((attribute_set & RTEMS_SEMAPHORE_CLASS) == RTEMS_COUNTING_SEMAPHORE);
  10bc70:	8b 40 10             	mov    0x10(%eax),%eax                
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10bc73:	83 e0 30             	and    $0x30,%eax                     
  10bc76:	74 58                	je     10bcd0 <rtems_semaphore_delete+0x90>
        if ( _CORE_mutex_Is_locked( &the_semaphore->Core_control.mutex ) &&
  10bc78:	8b 53 64             	mov    0x64(%ebx),%edx                
  10bc7b:	85 d2                	test   %edx,%edx                      
  10bc7d:	75 15                	jne    10bc94 <rtems_semaphore_delete+0x54>
  10bc7f:	83 f8 20             	cmp    $0x20,%eax                     
  10bc82:	74 10                	je     10bc94 <rtems_semaphore_delete+0x54>
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
  10bc84:	e8 e3 1f 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bc89:	b8 0c 00 00 00       	mov    $0xc,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bc8e:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bc91:	c9                   	leave                                 
  10bc92:	c3                   	ret                                   
  10bc93:	90                   	nop                                   
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_RESOURCE_IN_USE;                               
        }                                                             
        _CORE_mutex_Flush(                                            
  10bc94:	50                   	push   %eax                           
  10bc95:	6a 04                	push   $0x4                           
  10bc97:	6a 00                	push   $0x0                           
  10bc99:	8d 43 14             	lea    0x14(%ebx),%eax                
  10bc9c:	50                   	push   %eax                           
  10bc9d:	e8 aa 0a 00 00       	call   10c74c <_CORE_mutex_Flush>     
  10bca2:	83 c4 10             	add    $0x10,%esp                     
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_SEMAPHORE_WAS_DELETED                                  
        );                                                            
     }                                                                
                                                                      
      _Objects_Close( &_Semaphore_Information, &the_semaphore->Object );
  10bca5:	83 ec 08             	sub    $0x8,%esp                      
  10bca8:	53                   	push   %ebx                           
  10bca9:	68 40 93 12 00       	push   $0x129340                      
  10bcae:	e8 11 13 00 00       	call   10cfc4 <_Objects_Close>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
  10bcb3:	58                   	pop    %eax                           
  10bcb4:	5a                   	pop    %edx                           
  10bcb5:	53                   	push   %ebx                           
  10bcb6:	68 40 93 12 00       	push   $0x129340                      
  10bcbb:	e8 08 16 00 00       	call   10d2c8 <_Objects_Free>         
          0,                         /* Not used */                   
          0                          /* Not used */                   
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
  10bcc0:	e8 a7 1f 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bcc5:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10bcc7:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bcca:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10bccd:	c9                   	leave                                 
  10bcce:	c3                   	ret                                   
  10bccf:	90                   	nop                                   
          &the_semaphore->Core_control.mutex,                         
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_MUTEX_WAS_DELETED                                      
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
  10bcd0:	51                   	push   %ecx                           
  10bcd1:	6a 02                	push   $0x2                           
  10bcd3:	6a 00                	push   $0x0                           
  10bcd5:	8d 43 14             	lea    0x14(%ebx),%eax                
  10bcd8:	50                   	push   %eax                           
  10bcd9:	e8 12 0d 00 00       	call   10c9f0 <_CORE_semaphore_Flush> 
  10bcde:	83 c4 10             	add    $0x10,%esp                     
  10bce1:	eb c2                	jmp    10bca5 <rtems_semaphore_delete+0x65>
                                                                      

0010bce4 <rtems_semaphore_obtain>: rtems_status_code rtems_semaphore_obtain( rtems_id id, rtems_option option_set, rtems_interval timeout ) {
  10bce4:	55                   	push   %ebp                           
  10bce5:	89 e5                	mov    %esp,%ebp                      
  10bce7:	57                   	push   %edi                           
  10bce8:	56                   	push   %esi                           
  10bce9:	53                   	push   %ebx                           
  10bcea:	83 ec 1c             	sub    $0x1c,%esp                     
  10bced:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10bcf0:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10bcf3:	8b 7d 10             	mov    0x10(%ebp),%edi                
  Objects_Id         id,                                              
  Objects_Locations *location,                                        
  ISR_Level         *level                                            
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
  10bcf6:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10bcf9:	50                   	push   %eax                           
  10bcfa:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10bcfd:	50                   	push   %eax                           
  10bcfe:	53                   	push   %ebx                           
  10bcff:	68 40 93 12 00       	push   $0x129340                      
  10bd04:	e8 97 16 00 00       	call   10d3a0 <_Objects_Get_isr_disable>
  register Semaphore_Control     *the_semaphore;                      
  Objects_Locations               location;                           
  ISR_Level                       level;                              
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
  10bd09:	83 c4 10             	add    $0x10,%esp                     
  10bd0c:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10bd0f:	85 c9                	test   %ecx,%ecx                      
  10bd11:	74 0d                	je     10bd20 <rtems_semaphore_obtain+0x3c>
  10bd13:	b8 04 00 00 00       	mov    $0x4,%eax                      
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bd18:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd1b:	5b                   	pop    %ebx                           
  10bd1c:	5e                   	pop    %esi                           
  10bd1d:	5f                   	pop    %edi                           
  10bd1e:	c9                   	leave                                 
  10bd1f:	c3                   	ret                                   
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10bd20:	f6 40 10 30          	testb  $0x30,0x10(%eax)               
  10bd24:	74 36                	je     10bd5c <rtems_semaphore_obtain+0x78>
        _CORE_mutex_Seize(                                            
  10bd26:	83 ec 0c             	sub    $0xc,%esp                      
  10bd29:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bd2c:	57                   	push   %edi                           
  10bd2d:	83 e6 01             	and    $0x1,%esi                      
  10bd30:	83 f6 01             	xor    $0x1,%esi                      
  10bd33:	56                   	push   %esi                           
  10bd34:	53                   	push   %ebx                           
  10bd35:	83 c0 14             	add    $0x14,%eax                     
  10bd38:	50                   	push   %eax                           
  10bd39:	e8 12 0b 00 00       	call   10c850 <_CORE_mutex_Seize>     
          id,                                                         
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
  10bd3e:	83 c4 14             	add    $0x14,%esp                     
  10bd41:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  10bd46:	ff 70 34             	pushl  0x34(%eax)                     
  10bd49:	e8 12 01 00 00       	call   10be60 <_Semaphore_Translate_core_mutex_return_code>
  10bd4e:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bd51:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd54:	5b                   	pop    %ebx                           
  10bd55:	5e                   	pop    %esi                           
  10bd56:	5f                   	pop    %edi                           
  10bd57:	c9                   	leave                                 
  10bd58:	c3                   	ret                                   
  10bd59:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  10bd5c:	8b 15 b8 94 12 00    	mov    0x1294b8,%edx                  
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  10bd62:	c7 42 34 00 00 00 00 	movl   $0x0,0x34(%edx)                
  if ( the_semaphore->count != 0 ) {                                  
  10bd69:	8b 48 5c             	mov    0x5c(%eax),%ecx                
  10bd6c:	85 c9                	test   %ecx,%ecx                      
  10bd6e:	75 2c                	jne    10bd9c <rtems_semaphore_obtain+0xb8>
    the_semaphore->count -= 1;                                        
    _ISR_Enable( *level_p );                                          
    return;                                                           
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
  10bd70:	83 e6 01             	and    $0x1,%esi                      
  10bd73:	74 33                	je     10bda8 <rtems_semaphore_obtain+0xc4>
    _ISR_Enable( *level_p );                                          
  10bd75:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bd78:	9d                   	popf                                  
    executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT;
  10bd79:	c7 42 34 01 00 00 00 	movl   $0x1,0x34(%edx)                
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
  10bd80:	83 ec 0c             	sub    $0xc,%esp                      
  10bd83:	a1 b8 94 12 00       	mov    0x1294b8,%eax                  
  10bd88:	ff 70 34             	pushl  0x34(%eax)                     
  10bd8b:	e8 e0 00 00 00       	call   10be70 <_Semaphore_Translate_core_semaphore_return_code>
  10bd90:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10bd93:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd96:	5b                   	pop    %ebx                           
  10bd97:	5e                   	pop    %esi                           
  10bd98:	5f                   	pop    %edi                           
  10bd99:	c9                   	leave                                 
  10bd9a:	c3                   	ret                                   
  10bd9b:	90                   	nop                                   
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
    the_semaphore->count -= 1;                                        
  10bd9c:	49                   	dec    %ecx                           
  10bd9d:	89 48 5c             	mov    %ecx,0x5c(%eax)                
    _ISR_Enable( *level_p );                                          
  10bda0:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bda3:	9d                   	popf                                  
  10bda4:	eb da                	jmp    10bd80 <rtems_semaphore_obtain+0x9c>
  10bda6:	66 90                	xchg   %ax,%ax                        
  10bda8:	8b 0d f8 93 12 00    	mov    0x1293f8,%ecx                  
  10bdae:	41                   	inc    %ecx                           
  10bdaf:	89 0d f8 93 12 00    	mov    %ecx,0x1293f8                  
                                                                      
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;
  10bdb5:	c7 40 44 01 00 00 00 	movl   $0x1,0x44(%eax)                
    return;                                                           
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue          = &the_semaphore->Wait_queue;        
  10bdbc:	83 c0 14             	add    $0x14,%eax                     
  10bdbf:	89 42 44             	mov    %eax,0x44(%edx)                
  executing->Wait.id             = id;                                
  10bdc2:	89 5a 20             	mov    %ebx,0x20(%edx)                
  _ISR_Enable( *level_p );                                            
  10bdc5:	ff 75 e0             	pushl  -0x20(%ebp)                    
  10bdc8:	9d                   	popf                                  
                                                                      
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
  10bdc9:	52                   	push   %edx                           
  10bdca:	68 b4 e4 10 00       	push   $0x10e4b4                      
  10bdcf:	57                   	push   %edi                           
  10bdd0:	50                   	push   %eax                           
  10bdd1:	e8 ce 23 00 00       	call   10e1a4 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10bdd6:	e8 91 1e 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10bddb:	83 c4 10             	add    $0x10,%esp                     
  10bdde:	eb a0                	jmp    10bd80 <rtems_semaphore_obtain+0x9c>
                                                                      

0010bde0 <rtems_semaphore_release>: #endif rtems_status_code rtems_semaphore_release( rtems_id id ) {
  10bde0:	55                   	push   %ebp                           
  10bde1:	89 e5                	mov    %esp,%ebp                      
  10bde3:	53                   	push   %ebx                           
  10bde4:	83 ec 18             	sub    $0x18,%esp                     
  10bde7:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
  10bdea:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bded:	50                   	push   %eax                           
  10bdee:	53                   	push   %ebx                           
  10bdef:	68 40 93 12 00       	push   $0x129340                      
  10bdf4:	e8 ff 15 00 00       	call   10d3f8 <_Objects_Get>          
  Objects_Locations           location;                               
  CORE_mutex_Status           mutex_status;                           
  CORE_semaphore_Status       semaphore_status;                       
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
  10bdf9:	83 c4 10             	add    $0x10,%esp                     
  10bdfc:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10bdff:	85 d2                	test   %edx,%edx                      
  10be01:	74 0d                	je     10be10 <rtems_semaphore_release+0x30>
  10be03:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10be08:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10be0b:	c9                   	leave                                 
  10be0c:	c3                   	ret                                   
  10be0d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
  10be10:	f6 40 10 30          	testb  $0x30,0x10(%eax)               
  10be14:	75 26                	jne    10be3c <rtems_semaphore_release+0x5c>
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
        return _Semaphore_Translate_core_mutex_return_code( mutex_status );
      } else {                                                        
        semaphore_status = _CORE_semaphore_Surrender(                 
  10be16:	52                   	push   %edx                           
  10be17:	6a 00                	push   $0x0                           
  10be19:	53                   	push   %ebx                           
  10be1a:	83 c0 14             	add    $0x14,%eax                     
  10be1d:	50                   	push   %eax                           
  10be1e:	e8 19 0c 00 00       	call   10ca3c <_CORE_semaphore_Surrender>
  10be23:	89 c3                	mov    %eax,%ebx                      
          &the_semaphore->Core_control.semaphore,                     
          id,                                                         
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
  10be25:	e8 42 1e 00 00       	call   10dc6c <_Thread_Enable_dispatch>
        return                                                        
          _Semaphore_Translate_core_semaphore_return_code( semaphore_status );
  10be2a:	89 1c 24             	mov    %ebx,(%esp)                    
  10be2d:	e8 3e 00 00 00       	call   10be70 <_Semaphore_Translate_core_semaphore_return_code>
          &the_semaphore->Core_control.semaphore,                     
          id,                                                         
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
        return                                                        
  10be32:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10be35:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10be38:	c9                   	leave                                 
  10be39:	c3                   	ret                                   
  10be3a:	66 90                	xchg   %ax,%ax                        
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
        mutex_status = _CORE_mutex_Surrender(                         
  10be3c:	51                   	push   %ecx                           
  10be3d:	6a 00                	push   $0x0                           
  10be3f:	53                   	push   %ebx                           
  10be40:	83 c0 14             	add    $0x14,%eax                     
  10be43:	50                   	push   %eax                           
  10be44:	e8 a7 0a 00 00       	call   10c8f0 <_CORE_mutex_Surrender> 
  10be49:	89 c3                	mov    %eax,%ebx                      
          &the_semaphore->Core_control.mutex,                         
          id,                                                         
          MUTEX_MP_SUPPORT                                            
        );                                                            
        _Thread_Enable_dispatch();                                    
  10be4b:	e8 1c 1e 00 00       	call   10dc6c <_Thread_Enable_dispatch>
        return _Semaphore_Translate_core_mutex_return_code( mutex_status );
  10be50:	89 1c 24             	mov    %ebx,(%esp)                    
  10be53:	e8 08 00 00 00       	call   10be60 <_Semaphore_Translate_core_mutex_return_code>
  10be58:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10be5b:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10be5e:	c9                   	leave                                 
  10be5f:	c3                   	ret                                   
                                                                      

0011866c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
  11866c:	55                   	push   %ebp                           
  11866d:	89 e5                	mov    %esp,%ebp                      
  11866f:	53                   	push   %ebx                           
  118670:	83 ec 14             	sub    $0x14,%esp                     
  118673:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
  118676:	85 db                	test   %ebx,%ebx                      
  118678:	75 0a                	jne    118684 <rtems_signal_send+0x18>
  11867a:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11867f:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  118682:	c9                   	leave                                 
  118683:	c3                   	ret                                   
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  118684:	83 ec 08             	sub    $0x8,%esp                      
  118687:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11868a:	50                   	push   %eax                           
  11868b:	ff 75 08             	pushl  0x8(%ebp)                      
  11868e:	e8 39 3c 00 00       	call   11c2cc <_Thread_Get>           
  switch ( location ) {                                               
  118693:	83 c4 10             	add    $0x10,%esp                     
  118696:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  118699:	85 d2                	test   %edx,%edx                      
  11869b:	74 0b                	je     1186a8 <rtems_signal_send+0x3c>
  11869d:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1186a2:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1186a5:	c9                   	leave                                 
  1186a6:	c3                   	ret                                   
  1186a7:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
  1186a8:	8b 90 f4 00 00 00    	mov    0xf4(%eax),%edx                
      asr = &api->Signal;                                             
  1186ae:	8b 4a 0c             	mov    0xc(%edx),%ecx                 
  1186b1:	85 c9                	test   %ecx,%ecx                      
  1186b3:	74 43                	je     1186f8 <rtems_signal_send+0x8c>
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
  1186b5:	80 7a 08 00          	cmpb   $0x0,0x8(%edx)                 
  1186b9:	74 29                	je     1186e4 <rtems_signal_send+0x78>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  1186bb:	9c                   	pushf                                 
  1186bc:	fa                   	cli                                   
  1186bd:	59                   	pop    %ecx                           
    *signal_set |= signals;                                           
  1186be:	09 5a 14             	or     %ebx,0x14(%edx)                
  _ISR_Enable( _level );                                              
  1186c1:	51                   	push   %ecx                           
  1186c2:	9d                   	popf                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
  1186c3:	c6 40 74 01          	movb   $0x1,0x74(%eax)                
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
  1186c7:	8b 15 f4 43 14 00    	mov    0x1443f4,%edx                  
  1186cd:	85 d2                	test   %edx,%edx                      
  1186cf:	74 1b                	je     1186ec <rtems_signal_send+0x80>
  1186d1:	3b 05 18 44 14 00    	cmp    0x144418,%eax                  
  1186d7:	75 13                	jne    1186ec <rtems_signal_send+0x80><== NEVER TAKEN
            _ISR_Signals_to_thread_executing = true;                  
  1186d9:	c6 05 c8 44 14 00 01 	movb   $0x1,0x1444c8                  
  1186e0:	eb 0a                	jmp    1186ec <rtems_signal_send+0x80>
  1186e2:	66 90                	xchg   %ax,%ax                        
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
  1186e4:	9c                   	pushf                                 
  1186e5:	fa                   	cli                                   
  1186e6:	58                   	pop    %eax                           
    *signal_set |= signals;                                           
  1186e7:	09 5a 18             	or     %ebx,0x18(%edx)                
  _ISR_Enable( _level );                                              
  1186ea:	50                   	push   %eax                           
  1186eb:	9d                   	popf                                  
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
  1186ec:	e8 8b 3b 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1186f1:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1186f3:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1186f6:	c9                   	leave                                 
  1186f7:	c3                   	ret                                   
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  1186f8:	e8 7f 3b 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1186fd:	b8 0b 00 00 00       	mov    $0xb,%eax                      
      return RTEMS_NOT_DEFINED;                                       
  118702:	e9 78 ff ff ff       	jmp    11867f <rtems_signal_send+0x13>
                                                                      

0010be80 <rtems_task_create>: size_t stack_size, rtems_mode initial_modes, rtems_attribute attribute_set, rtems_id *id ) {
  10be80:	55                   	push   %ebp                           
  10be81:	89 e5                	mov    %esp,%ebp                      
  10be83:	57                   	push   %edi                           
  10be84:	56                   	push   %esi                           
  10be85:	53                   	push   %ebx                           
  10be86:	83 ec 1c             	sub    $0x1c,%esp                     
  10be89:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10be8c:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10be8f:	8b 7d 18             	mov    0x18(%ebp),%edi                
  10be92:	8b 75 1c             	mov    0x1c(%ebp),%esi                
  Priority_Control         core_priority;                             
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
  10be95:	85 f6                	test   %esi,%esi                      
  10be97:	0f 84 37 01 00 00    	je     10bfd4 <rtems_task_create+0x154>
   return RTEMS_INVALID_ADDRESS;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10be9d:	85 db                	test   %ebx,%ebx                      
  10be9f:	0f 84 cb 00 00 00    	je     10bf70 <rtems_task_create+0xf0>
                                                                      
  /*                                                                  
   *  Validate the RTEMS API priority and convert it to the core priority range.
   */                                                                 
                                                                      
  if ( !_Attributes_Is_system_task( the_attribute_set ) ) {           
  10bea5:	66 85 ff             	test   %di,%di                        
  10bea8:	78 1d                	js     10bec7 <rtems_task_create+0x47>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  10beaa:	85 c9                	test   %ecx,%ecx                      
  10beac:	75 0e                	jne    10bebc <rtems_task_create+0x3c>
                                                                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
  10beae:	b8 13 00 00 00       	mov    $0x13,%eax                     
}                                                                     
  10beb3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10beb6:	5b                   	pop    %ebx                           
  10beb7:	5e                   	pop    %esi                           
  10beb8:	5f                   	pop    %edi                           
  10beb9:	c9                   	leave                                 
  10beba:	c3                   	ret                                   
  10bebb:	90                   	nop                                   
  10bebc:	0f b6 05 14 52 12 00 	movzbl 0x125214,%eax                  
  10bec3:	39 c1                	cmp    %eax,%ecx                      
  10bec5:	77 e7                	ja     10beae <rtems_task_create+0x2e>
   */                                                                 
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
  10bec7:	83 ec 0c             	sub    $0xc,%esp                      
  10beca:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10bed0:	89 4d e4             	mov    %ecx,-0x1c(%ebp)               
  10bed3:	e8 84 06 00 00       	call   10c55c <_API_Mutex_Lock>       
 *  This function allocates a task control block from                 
 *  the inactive chain of free task control blocks.                   
 */                                                                   
RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate( void )    
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_RTEMS_tasks_Information );
  10bed8:	c7 04 24 80 93 12 00 	movl   $0x129380,(%esp)               
  10bedf:	e8 64 10 00 00       	call   10cf48 <_Objects_Allocate>     
  10bee4:	89 c2                	mov    %eax,%edx                      
   *         the event of an error.                                   
   */                                                                 
                                                                      
  the_thread = _RTEMS_tasks_Allocate();                               
                                                                      
  if ( !the_thread ) {                                                
  10bee6:	83 c4 10             	add    $0x10,%esp                     
  10bee9:	85 c0                	test   %eax,%eax                      
  10beeb:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10beee:	0f 84 c0 00 00 00    	je     10bfb4 <rtems_task_create+0x134>
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
                                                                      
  status = _Thread_Initialize(                                        
  10bef4:	50                   	push   %eax                           
  10bef5:	53                   	push   %ebx                           
  10bef6:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bef9:	83 e0 01             	and    $0x1,%eax                      
  10befc:	50                   	push   %eax                           
  10befd:	6a 00                	push   $0x0                           
  10beff:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bf02:	c1 e8 09             	shr    $0x9,%eax                      
  10bf05:	83 e0 01             	and    $0x1,%eax                      
  10bf08:	50                   	push   %eax                           
  10bf09:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bf0c:	c1 e8 08             	shr    $0x8,%eax                      
  10bf0f:	83 f0 01             	xor    $0x1,%eax                      
  10bf12:	83 e0 01             	and    $0x1,%eax                      
  10bf15:	50                   	push   %eax                           
  10bf16:	51                   	push   %ecx                           
  10bf17:	83 e7 01             	and    $0x1,%edi                      
  10bf1a:	57                   	push   %edi                           
  10bf1b:	ff 75 10             	pushl  0x10(%ebp)                     
  10bf1e:	6a 00                	push   $0x0                           
  10bf20:	52                   	push   %edx                           
  10bf21:	68 80 93 12 00       	push   $0x129380                      
  10bf26:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  10bf29:	e8 da 1d 00 00       	call   10dd08 <_Thread_Initialize>    
    NULL,        /* no budget algorithm callout */                    
    _Modes_Get_interrupt_level(initial_modes),                        
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  if ( !status ) {                                                    
  10bf2e:	83 c4 30             	add    $0x30,%esp                     
  10bf31:	84 c0                	test   %al,%al                        
  10bf33:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bf36:	74 48                	je     10bf80 <rtems_task_create+0x100>
  }                                                                   
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  asr = &api->Signal;                                                 
                                                                      
  asr->is_enabled = _Modes_Is_asr_disabled(initial_modes) ? false : true;
  10bf38:	8b 8a f4 00 00 00    	mov    0xf4(%edx),%ecx                
  10bf3e:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bf41:	c1 e8 0a             	shr    $0xa,%eax                      
  10bf44:	83 f0 01             	xor    $0x1,%eax                      
  10bf47:	83 e0 01             	and    $0x1,%eax                      
  10bf4a:	88 41 08             	mov    %al,0x8(%ecx)                  
                                                                      
  *id = the_thread->Object.id;                                        
  10bf4d:	8b 42 08             	mov    0x8(%edx),%eax                 
  10bf50:	89 06                	mov    %eax,(%esi)                    
    );                                                                
                                                                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10bf52:	83 ec 0c             	sub    $0xc,%esp                      
  10bf55:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10bf5b:	e8 44 06 00 00       	call   10c5a4 <_API_Mutex_Unlock>     
  10bf60:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  10bf62:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10bf65:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf68:	5b                   	pop    %ebx                           
  10bf69:	5e                   	pop    %esi                           
  10bf6a:	5f                   	pop    %edi                           
  10bf6b:	c9                   	leave                                 
  10bf6c:	c3                   	ret                                   
  10bf6d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
                                                                      
  if ( !id )                                                          
   return RTEMS_INVALID_ADDRESS;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10bf70:	b8 03 00 00 00       	mov    $0x3,%eax                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10bf75:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bf78:	5b                   	pop    %ebx                           
  10bf79:	5e                   	pop    %esi                           
  10bf7a:	5f                   	pop    %edi                           
  10bf7b:	c9                   	leave                                 
  10bf7c:	c3                   	ret                                   
  10bf7d:	8d 76 00             	lea    0x0(%esi),%esi                 
 */                                                                   
RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free (                         
  Thread_Control *the_task                                            
)                                                                     
{                                                                     
  _Objects_Free(                                                      
  10bf80:	83 ec 0c             	sub    $0xc,%esp                      
  10bf83:	ff 72 08             	pushl  0x8(%edx)                      
  10bf86:	e8 ad 13 00 00       	call   10d338 <_Objects_Get_information_id>
  10bf8b:	5a                   	pop    %edx                           
  10bf8c:	59                   	pop    %ecx                           
  10bf8d:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  10bf90:	52                   	push   %edx                           
  10bf91:	50                   	push   %eax                           
  10bf92:	e8 31 13 00 00       	call   10d2c8 <_Objects_Free>         
#if defined(RTEMS_MULTIPROCESSING)                                    
    if ( is_global )                                                  
      _Objects_MP_Free_global_object( the_global_object );            
#endif                                                                
    _RTEMS_tasks_Free( the_thread );                                  
    _RTEMS_Unlock_allocator();                                        
  10bf97:	58                   	pop    %eax                           
  10bf98:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10bf9e:	e8 01 06 00 00       	call   10c5a4 <_API_Mutex_Unlock>     
  10bfa3:	b8 0d 00 00 00       	mov    $0xd,%eax                      
    return RTEMS_UNSATISFIED;                                         
  10bfa8:	83 c4 10             	add    $0x10,%esp                     
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10bfab:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bfae:	5b                   	pop    %ebx                           
  10bfaf:	5e                   	pop    %esi                           
  10bfb0:	5f                   	pop    %edi                           
  10bfb1:	c9                   	leave                                 
  10bfb2:	c3                   	ret                                   
  10bfb3:	90                   	nop                                   
   */                                                                 
                                                                      
  the_thread = _RTEMS_tasks_Allocate();                               
                                                                      
  if ( !the_thread ) {                                                
    _RTEMS_Unlock_allocator();                                        
  10bfb4:	83 ec 0c             	sub    $0xc,%esp                      
  10bfb7:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10bfbd:	e8 e2 05 00 00       	call   10c5a4 <_API_Mutex_Unlock>     
  10bfc2:	b8 05 00 00 00       	mov    $0x5,%eax                      
    return RTEMS_TOO_MANY;                                            
  10bfc7:	83 c4 10             	add    $0x10,%esp                     
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10bfca:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bfcd:	5b                   	pop    %ebx                           
  10bfce:	5e                   	pop    %esi                           
  10bfcf:	5f                   	pop    %edi                           
  10bfd0:	c9                   	leave                                 
  10bfd1:	c3                   	ret                                   
  10bfd2:	66 90                	xchg   %ax,%ax                        
  Priority_Control         core_priority;                             
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
  10bfd4:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10bfd9:	e9 d5 fe ff ff       	jmp    10beb3 <rtems_task_create+0x33>
                                                                      

0010bfe0 <rtems_task_delete>: */ rtems_status_code rtems_task_delete( rtems_id id ) {
  10bfe0:	55                   	push   %ebp                           
  10bfe1:	89 e5                	mov    %esp,%ebp                      
  10bfe3:	53                   	push   %ebx                           
  10bfe4:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  Objects_Information     *the_information;                           
                                                                      
  _RTEMS_Lock_allocator();                                            
  10bfe7:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10bfed:	e8 6a 05 00 00       	call   10c55c <_API_Mutex_Lock>       
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10bff2:	5a                   	pop    %edx                           
  10bff3:	59                   	pop    %ecx                           
  10bff4:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10bff7:	50                   	push   %eax                           
  10bff8:	ff 75 08             	pushl  0x8(%ebp)                      
  10bffb:	e8 90 1c 00 00       	call   10dc90 <_Thread_Get>           
  10c000:	89 c3                	mov    %eax,%ebx                      
  switch ( location ) {                                               
  10c002:	83 c4 10             	add    $0x10,%esp                     
  10c005:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10c008:	85 c0                	test   %eax,%eax                      
  10c00a:	75 44                	jne    10c050 <rtems_task_delete+0x70>
                                                                      
    case OBJECTS_LOCAL:                                               
      the_information = _Objects_Get_information_id( the_thread->Object.id );
  10c00c:	83 ec 0c             	sub    $0xc,%esp                      
  10c00f:	ff 73 08             	pushl  0x8(%ebx)                      
  10c012:	e8 21 13 00 00       	call   10d338 <_Objects_Get_information_id>
            0                                /* Not used */           
          );                                                          
        }                                                             
      #endif                                                          
                                                                      
      _Thread_Close( the_information, the_thread );                   
  10c017:	5a                   	pop    %edx                           
  10c018:	59                   	pop    %ecx                           
  10c019:	53                   	push   %ebx                           
  10c01a:	50                   	push   %eax                           
  10c01b:	e8 38 19 00 00       	call   10d958 <_Thread_Close>         
  10c020:	58                   	pop    %eax                           
  10c021:	ff 73 08             	pushl  0x8(%ebx)                      
  10c024:	e8 0f 13 00 00       	call   10d338 <_Objects_Get_information_id>
  10c029:	5a                   	pop    %edx                           
  10c02a:	59                   	pop    %ecx                           
  10c02b:	53                   	push   %ebx                           
  10c02c:	50                   	push   %eax                           
  10c02d:	e8 96 12 00 00       	call   10d2c8 <_Objects_Free>         
                                                                      
      _RTEMS_tasks_Free( the_thread );                                
                                                                      
      _RTEMS_Unlock_allocator();                                      
  10c032:	58                   	pop    %eax                           
  10c033:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10c039:	e8 66 05 00 00       	call   10c5a4 <_API_Mutex_Unlock>     
      _Thread_Enable_dispatch();                                      
  10c03e:	e8 29 1c 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10c043:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10c045:	83 c4 10             	add    $0x10,%esp                     
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c048:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c04b:	c9                   	leave                                 
  10c04c:	c3                   	ret                                   
  10c04d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  _RTEMS_Unlock_allocator();                                          
  10c050:	83 ec 0c             	sub    $0xc,%esp                      
  10c053:	ff 35 b0 94 12 00    	pushl  0x1294b0                       
  10c059:	e8 46 05 00 00       	call   10c5a4 <_API_Mutex_Unlock>     
  10c05e:	b8 04 00 00 00       	mov    $0x4,%eax                      
  return RTEMS_INVALID_ID;                                            
  10c063:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c066:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c069:	c9                   	leave                                 
  10c06a:	c3                   	ret                                   
                                                                      

0010daec <rtems_task_get_note>: rtems_status_code rtems_task_get_note( rtems_id id, uint32_t notepad, uint32_t *note ) {
  10daec:	55                   	push   %ebp                           
  10daed:	89 e5                	mov    %esp,%ebp                      
  10daef:	56                   	push   %esi                           
  10daf0:	53                   	push   %ebx                           
  10daf1:	83 ec 10             	sub    $0x10,%esp                     
  10daf4:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10daf7:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  10dafa:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10dafd:	80 3d 04 8e 12 00 00 	cmpb   $0x0,0x128e04                  
  10db04:	74 6e                	je     10db74 <rtems_task_get_note+0x88>
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
  10db06:	85 db                	test   %ebx,%ebx                      
  10db08:	74 7e                	je     10db88 <rtems_task_get_note+0x9c>
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10db0a:	83 fe 0f             	cmp    $0xf,%esi                      
  10db0d:	77 3d                	ja     10db4c <rtems_task_get_note+0x60>
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10db0f:	85 c0                	test   %eax,%eax                      
  10db11:	74 45                	je     10db58 <rtems_task_get_note+0x6c>
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
  10db13:	8b 15 b8 d3 12 00    	mov    0x12d3b8,%edx                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10db19:	3b 42 08             	cmp    0x8(%edx),%eax                 
  10db1c:	74 40                	je     10db5e <rtems_task_get_note+0x72>
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10db1e:	83 ec 08             	sub    $0x8,%esp                      
  10db21:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10db24:	52                   	push   %edx                           
  10db25:	50                   	push   %eax                           
  10db26:	e8 a1 1f 00 00       	call   10facc <_Thread_Get>           
  switch ( location ) {                                               
  10db2b:	83 c4 10             	add    $0x10,%esp                     
  10db2e:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10db31:	85 d2                	test   %edx,%edx                      
  10db33:	75 4b                	jne    10db80 <rtems_task_get_note+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      *note = api->Notepads[ notepad ];                               
  10db35:	8b 80 f4 00 00 00    	mov    0xf4(%eax),%eax                
  10db3b:	8b 44 b0 20          	mov    0x20(%eax,%esi,4),%eax         
  10db3f:	89 03                	mov    %eax,(%ebx)                    
      _Thread_Enable_dispatch();                                      
  10db41:	e8 62 1f 00 00       	call   10faa8 <_Thread_Enable_dispatch>
  10db46:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10db48:	eb 07                	jmp    10db51 <rtems_task_get_note+0x65>
  10db4a:	66 90                	xchg   %ax,%ax                        
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10db4c:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10db51:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10db54:	5b                   	pop    %ebx                           
  10db55:	5e                   	pop    %esi                           
  10db56:	c9                   	leave                                 
  10db57:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10db58:	8b 15 b8 d3 12 00    	mov    0x12d3b8,%edx                  
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      *note = api->Notepads[ notepad ];                               
  10db5e:	8b 82 f4 00 00 00    	mov    0xf4(%edx),%eax                
  10db64:	8b 44 b0 20          	mov    0x20(%eax,%esi,4),%eax         
  10db68:	89 03                	mov    %eax,(%ebx)                    
  10db6a:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10db6c:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10db6f:	5b                   	pop    %ebx                           
  10db70:	5e                   	pop    %esi                           
  10db71:	c9                   	leave                                 
  10db72:	c3                   	ret                                   
  10db73:	90                   	nop                                   
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10db74:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10db79:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10db7c:	5b                   	pop    %ebx                           
  10db7d:	5e                   	pop    %esi                           
  10db7e:	c9                   	leave                                 
  10db7f:	c3                   	ret                                   
      *note = api->Notepads[ notepad ];                               
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
  10db80:	b8 04 00 00 00       	mov    $0x4,%eax                      
  10db85:	eb ca                	jmp    10db51 <rtems_task_get_note+0x65>
  10db87:	90                   	nop                                   
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
  10db88:	b8 09 00 00 00       	mov    $0x9,%eax                      
  10db8d:	eb c2                	jmp    10db51 <rtems_task_get_note+0x65>
                                                                      

00118a50 <rtems_task_is_suspended>: */ rtems_status_code rtems_task_is_suspended( rtems_id id ) {
  118a50:	55                   	push   %ebp                           
  118a51:	89 e5                	mov    %esp,%ebp                      
  118a53:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  118a56:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  118a59:	50                   	push   %eax                           
  118a5a:	ff 75 08             	pushl  0x8(%ebp)                      
  118a5d:	e8 6a 38 00 00       	call   11c2cc <_Thread_Get>           
  switch ( location ) {                                               
  118a62:	83 c4 10             	add    $0x10,%esp                     
  118a65:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  118a68:	85 d2                	test   %edx,%edx                      
  118a6a:	74 08                	je     118a74 <rtems_task_is_suspended+0x24>
  118a6c:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118a71:	c9                   	leave                                 
  118a72:	c3                   	ret                                   
  118a73:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  118a74:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  118a78:	74 0e                	je     118a88 <rtems_task_is_suspended+0x38>
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  118a7a:	e8 fd 37 00 00       	call   11c27c <_Thread_Enable_dispatch>
  118a7f:	b8 0f 00 00 00       	mov    $0xf,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118a84:	c9                   	leave                                 
  118a85:	c3                   	ret                                   
  118a86:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Enable_dispatch();                                    
  118a88:	e8 ef 37 00 00       	call   11c27c <_Thread_Enable_dispatch>
  118a8d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118a8f:	c9                   	leave                                 
  118a90:	c3                   	ret                                   
                                                                      

00114bc0 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
  114bc0:	55                   	push   %ebp                           
  114bc1:	89 e5                	mov    %esp,%ebp                      
  114bc3:	57                   	push   %edi                           
  114bc4:	56                   	push   %esi                           
  114bc5:	53                   	push   %ebx                           
  114bc6:	83 ec 1c             	sub    $0x1c,%esp                     
  114bc9:	8b 4d 10             	mov    0x10(%ebp),%ecx                
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
  114bcc:	85 c9                	test   %ecx,%ecx                      
  114bce:	0f 84 1c 01 00 00    	je     114cf0 <rtems_task_mode+0x130> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  114bd4:	8b 1d b8 94 12 00    	mov    0x1294b8,%ebx                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  114bda:	8b bb f4 00 00 00    	mov    0xf4(%ebx),%edi                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
  114be0:	80 7b 75 01          	cmpb   $0x1,0x75(%ebx)                
  114be4:	19 f6                	sbb    %esi,%esi                      
  114be6:	81 e6 00 01 00 00    	and    $0x100,%esi                    
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
  114bec:	8b 53 7c             	mov    0x7c(%ebx),%edx                
  114bef:	85 d2                	test   %edx,%edx                      
  114bf1:	0f 85 b5 00 00 00    	jne    114cac <rtems_task_mode+0xec>  
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
  114bf7:	80 7f 08 01          	cmpb   $0x1,0x8(%edi)                 
  114bfb:	19 d2                	sbb    %edx,%edx                      
  114bfd:	81 e2 00 04 00 00    	and    $0x400,%edx                    
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
  114c03:	89 55 e4             	mov    %edx,-0x1c(%ebp)               
  114c06:	89 4d e0             	mov    %ecx,-0x20(%ebp)               
  114c09:	e8 6e a4 ff ff       	call   10f07c <_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;           
  114c0e:	8b 55 e4             	mov    -0x1c(%ebp),%edx               
  114c11:	09 d0                	or     %edx,%eax                      
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
  114c13:	09 f0                	or     %esi,%eax                      
  114c15:	8b 4d e0             	mov    -0x20(%ebp),%ecx               
  114c18:	89 01                	mov    %eax,(%ecx)                    
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
  114c1a:	f7 45 0c 00 01 00 00 	testl  $0x100,0xc(%ebp)               
  114c21:	74 0f                	je     114c32 <rtems_task_mode+0x72>  
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
  114c23:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114c26:	c1 e8 08             	shr    $0x8,%eax                      
  114c29:	83 f0 01             	xor    $0x1,%eax                      
  114c2c:	83 e0 01             	and    $0x1,%eax                      
  114c2f:	88 43 75             	mov    %al,0x75(%ebx)                 
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
  114c32:	f7 45 0c 00 02 00 00 	testl  $0x200,0xc(%ebp)               
  114c39:	74 18                	je     114c53 <rtems_task_mode+0x93>  
    if ( _Modes_Is_timeslice(mode_set) ) {                            
  114c3b:	f7 45 08 00 02 00 00 	testl  $0x200,0x8(%ebp)               
  114c42:	74 74                	je     114cb8 <rtems_task_mode+0xf8>  
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
  114c44:	c7 43 7c 01 00 00 00 	movl   $0x1,0x7c(%ebx)                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
  114c4b:	a1 c4 93 12 00       	mov    0x1293c4,%eax                  
  114c50:	89 43 78             	mov    %eax,0x78(%ebx)                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  114c53:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  114c57:	74 07                	je     114c60 <rtems_task_mode+0xa0>  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
  114c59:	f6 45 08 01          	testb  $0x1,0x8(%ebp)                 
  114c5d:	74 69                	je     114cc8 <rtems_task_mode+0x108> 
  114c5f:	fa                   	cli                                   
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
  114c60:	f7 45 0c 00 04 00 00 	testl  $0x400,0xc(%ebp)               
  114c67:	74 2c                	je     114c95 <rtems_task_mode+0xd5>  
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
  114c69:	8b 45 08             	mov    0x8(%ebp),%eax                 
  114c6c:	c1 e8 0a             	shr    $0xa,%eax                      
  114c6f:	83 f0 01             	xor    $0x1,%eax                      
  114c72:	83 e0 01             	and    $0x1,%eax                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
  114c75:	38 47 08             	cmp    %al,0x8(%edi)                  
  114c78:	74 1b                	je     114c95 <rtems_task_mode+0xd5>  
  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 ) {                        
      asr->is_enabled = is_asr_enabled;                               
  114c7a:	88 47 08             	mov    %al,0x8(%edi)                  
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
  114c7d:	9c                   	pushf                                 
  114c7e:	fa                   	cli                                   
  114c7f:	58                   	pop    %eax                           
    _signals                     = information->signals_pending;      
  114c80:	8b 57 18             	mov    0x18(%edi),%edx                
    information->signals_pending = information->signals_posted;       
  114c83:	8b 4f 14             	mov    0x14(%edi),%ecx                
  114c86:	89 4f 18             	mov    %ecx,0x18(%edi)                
    information->signals_posted  = _signals;                          
  114c89:	89 57 14             	mov    %edx,0x14(%edi)                
  _ISR_Enable( _level );                                              
  114c8c:	50                   	push   %eax                           
  114c8d:	9d                   	popf                                  
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
  114c8e:	8b 47 14             	mov    0x14(%edi),%eax                
  114c91:	85 c0                	test   %eax,%eax                      
  114c93:	75 53                	jne    114ce8 <rtems_task_mode+0x128> 
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
  114c95:	31 db                	xor    %ebx,%ebx                      
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
  114c97:	83 3d c0 95 12 00 03 	cmpl   $0x3,0x1295c0                  
  114c9e:	74 2c                	je     114ccc <rtems_task_mode+0x10c> 
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
  114ca0:	31 c0                	xor    %eax,%eax                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  114ca2:	83 c4 1c             	add    $0x1c,%esp                     
  114ca5:	5b                   	pop    %ebx                           
  114ca6:	5e                   	pop    %esi                           
  114ca7:	5f                   	pop    %edi                           
  114ca8:	c9                   	leave                                 
  114ca9:	c3                   	ret                                   
  114caa:	66 90                	xchg   %ax,%ax                        
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
  114cac:	81 ce 00 02 00 00    	or     $0x200,%esi                    
  114cb2:	e9 40 ff ff ff       	jmp    114bf7 <rtems_task_mode+0x37>  
  114cb7:	90                   	nop                                   
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
  114cb8:	c7 43 7c 00 00 00 00 	movl   $0x0,0x7c(%ebx)                
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
  114cbf:	f6 45 0c 01          	testb  $0x1,0xc(%ebp)                 
  114cc3:	74 9b                	je     114c60 <rtems_task_mode+0xa0>  
  114cc5:	eb 92                	jmp    114c59 <rtems_task_mode+0x99>  
  114cc7:	90                   	nop                                   
  114cc8:	fb                   	sti                                   
  114cc9:	eb 95                	jmp    114c60 <rtems_task_mode+0xa0>  
  114ccb:	90                   	nop                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
  114ccc:	e8 bf 01 00 00       	call   114e90 <_Thread_Evaluate_mode> 
  114cd1:	84 c0                	test   %al,%al                        
  114cd3:	75 04                	jne    114cd9 <rtems_task_mode+0x119> 
  114cd5:	84 db                	test   %bl,%bl                        
  114cd7:	74 c7                	je     114ca0 <rtems_task_mode+0xe0>  
      _Thread_Dispatch();                                             
  114cd9:	e8 32 8e ff ff       	call   10db10 <_Thread_Dispatch>      
  114cde:	31 c0                	xor    %eax,%eax                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  114ce0:	83 c4 1c             	add    $0x1c,%esp                     
  114ce3:	5b                   	pop    %ebx                           
  114ce4:	5e                   	pop    %esi                           
  114ce5:	5f                   	pop    %edi                           
  114ce6:	c9                   	leave                                 
  114ce7:	c3                   	ret                                   
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
  114ce8:	c6 43 74 01          	movb   $0x1,0x74(%ebx)                
  114cec:	b3 01                	mov    $0x1,%bl                       
  114cee:	eb a7                	jmp    114c97 <rtems_task_mode+0xd7>  
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
  114cf0:	b8 09 00 00 00       	mov    $0x9,%eax                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  114cf5:	83 c4 1c             	add    $0x1c,%esp                     
  114cf8:	5b                   	pop    %ebx                           
  114cf9:	5e                   	pop    %esi                           
  114cfa:	5f                   	pop    %edi                           
  114cfb:	c9                   	leave                                 
  114cfc:	c3                   	ret                                   
                                                                      

0010f32c <rtems_task_resume>: */ rtems_status_code rtems_task_resume( rtems_id id ) {
  10f32c:	55                   	push   %ebp                           
  10f32d:	89 e5                	mov    %esp,%ebp                      
  10f32f:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10f332:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10f335:	50                   	push   %eax                           
  10f336:	ff 75 08             	pushl  0x8(%ebp)                      
  10f339:	e8 d6 1c 00 00       	call   111014 <_Thread_Get>           
  switch ( location ) {                                               
  10f33e:	83 c4 10             	add    $0x10,%esp                     
  10f341:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10f344:	85 d2                	test   %edx,%edx                      
  10f346:	74 08                	je     10f350 <rtems_task_resume+0x24>
  10f348:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10f34d:	c9                   	leave                                 
  10f34e:	c3                   	ret                                   
  10f34f:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
  10f350:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  10f354:	75 0e                	jne    10f364 <rtems_task_resume+0x38>
        _Thread_Resume( the_thread, true );                           
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  10f356:	e8 69 1c 00 00       	call   110fc4 <_Thread_Enable_dispatch>
  10f35b:	b8 0e 00 00 00       	mov    $0xe,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10f360:	c9                   	leave                                 
  10f361:	c3                   	ret                                   
  10f362:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _States_Is_suspended( the_thread->current_state ) ) {      
        _Thread_Resume( the_thread, true );                           
  10f364:	83 ec 08             	sub    $0x8,%esp                      
  10f367:	6a 01                	push   $0x1                           
  10f369:	50                   	push   %eax                           
  10f36a:	e8 01 25 00 00       	call   111870 <_Thread_Resume>        
        _Thread_Enable_dispatch();                                    
  10f36f:	e8 50 1c 00 00       	call   110fc4 <_Thread_Enable_dispatch>
  10f374:	31 c0                	xor    %eax,%eax                      
        return RTEMS_SUCCESSFUL;                                      
  10f376:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10f379:	c9                   	leave                                 
  10f37a:	c3                   	ret                                   
                                                                      

0010dc64 <rtems_task_set_note>: rtems_status_code rtems_task_set_note( rtems_id id, uint32_t notepad, uint32_t note ) {
  10dc64:	55                   	push   %ebp                           
  10dc65:	89 e5                	mov    %esp,%ebp                      
  10dc67:	56                   	push   %esi                           
  10dc68:	53                   	push   %ebx                           
  10dc69:	83 ec 10             	sub    $0x10,%esp                     
  10dc6c:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10dc6f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10dc72:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10dc75:	80 3d 04 8e 12 00 00 	cmpb   $0x0,0x128e04                  
  10dc7c:	74 66                	je     10dce4 <rtems_task_set_note+0x80>
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10dc7e:	83 fb 0f             	cmp    $0xf,%ebx                      
  10dc81:	77 39                	ja     10dcbc <rtems_task_set_note+0x58>
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10dc83:	85 c0                	test   %eax,%eax                      
  10dc85:	74 41                	je     10dcc8 <rtems_task_set_note+0x64>
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
  10dc87:	8b 15 b8 d3 12 00    	mov    0x12d3b8,%edx                  
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10dc8d:	3b 42 08             	cmp    0x8(%edx),%eax                 
  10dc90:	74 3c                	je     10dcce <rtems_task_set_note+0x6a>
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10dc92:	83 ec 08             	sub    $0x8,%esp                      
  10dc95:	8d 55 f4             	lea    -0xc(%ebp),%edx                
  10dc98:	52                   	push   %edx                           
  10dc99:	50                   	push   %eax                           
  10dc9a:	e8 2d 1e 00 00       	call   10facc <_Thread_Get>           
  switch ( location ) {                                               
  10dc9f:	83 c4 10             	add    $0x10,%esp                     
  10dca2:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10dca5:	85 d2                	test   %edx,%edx                      
  10dca7:	75 47                	jne    10dcf0 <rtems_task_set_note+0x8c>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      api->Notepads[ notepad ] = note;                                
  10dca9:	8b 80 f4 00 00 00    	mov    0xf4(%eax),%eax                
  10dcaf:	89 74 98 20          	mov    %esi,0x20(%eax,%ebx,4)         
      _Thread_Enable_dispatch();                                      
  10dcb3:	e8 f0 1d 00 00       	call   10faa8 <_Thread_Enable_dispatch>
  10dcb8:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10dcba:	eb 05                	jmp    10dcc1 <rtems_task_set_note+0x5d>
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
  10dcbc:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10dcc1:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dcc4:	5b                   	pop    %ebx                           
  10dcc5:	5e                   	pop    %esi                           
  10dcc6:	c9                   	leave                                 
  10dcc7:	c3                   	ret                                   
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
  10dcc8:	8b 15 b8 d3 12 00    	mov    0x12d3b8,%edx                  
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
      api->Notepads[ notepad ] = note;                                
  10dcce:	8b 82 f4 00 00 00    	mov    0xf4(%edx),%eax                
  10dcd4:	89 74 98 20          	mov    %esi,0x20(%eax,%ebx,4)         
  10dcd8:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10dcda:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dcdd:	5b                   	pop    %ebx                           
  10dcde:	5e                   	pop    %esi                           
  10dcdf:	c9                   	leave                                 
  10dce0:	c3                   	ret                                   
  10dce1:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
  10dce4:	b8 16 00 00 00       	mov    $0x16,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10dce9:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dcec:	5b                   	pop    %ebx                           
  10dced:	5e                   	pop    %esi                           
  10dcee:	c9                   	leave                                 
  10dcef:	c3                   	ret                                   
      api->Notepads[ notepad ] = note;                                
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
  10dcf0:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10dcf5:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10dcf8:	5b                   	pop    %ebx                           
  10dcf9:	5e                   	pop    %esi                           
  10dcfa:	c9                   	leave                                 
  10dcfb:	c3                   	ret                                   
                                                                      

0010ffe8 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
  10ffe8:	55                   	push   %ebp                           
  10ffe9:	89 e5                	mov    %esp,%ebp                      
  10ffeb:	56                   	push   %esi                           
  10ffec:	53                   	push   %ebx                           
  10ffed:	83 ec 10             	sub    $0x10,%esp                     
  10fff0:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10fff3:	8b 75 10             	mov    0x10(%ebp),%esi                
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
  10fff6:	85 db                	test   %ebx,%ebx                      
  10fff8:	74 0b                	je     110005 <rtems_task_set_priority+0x1d>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
  10fffa:	0f b6 05 14 92 12 00 	movzbl 0x129214,%eax                  
  110001:	39 c3                	cmp    %eax,%ebx                      
  110003:	77 5f                	ja     110064 <rtems_task_set_priority+0x7c>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  110005:	85 f6                	test   %esi,%esi                      
  110007:	74 67                	je     110070 <rtems_task_set_priority+0x88>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  110009:	83 ec 08             	sub    $0x8,%esp                      
  11000c:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  11000f:	50                   	push   %eax                           
  110010:	ff 75 08             	pushl  0x8(%ebp)                      
  110013:	e8 2c 1e 00 00       	call   111e44 <_Thread_Get>           
  switch ( location ) {                                               
  110018:	83 c4 10             	add    $0x10,%esp                     
  11001b:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  11001e:	85 d2                	test   %edx,%edx                      
  110020:	75 36                	jne    110058 <rtems_task_set_priority+0x70>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
  110022:	8b 50 14             	mov    0x14(%eax),%edx                
  110025:	89 16                	mov    %edx,(%esi)                    
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
  110027:	85 db                	test   %ebx,%ebx                      
  110029:	74 1c                	je     110047 <rtems_task_set_priority+0x5f>
        the_thread->real_priority = new_priority;                     
  11002b:	89 58 18             	mov    %ebx,0x18(%eax)                
        if ( the_thread->resource_count == 0 ||                       
  11002e:	8b 48 1c             	mov    0x1c(%eax),%ecx                
  110031:	85 c9                	test   %ecx,%ecx                      
  110033:	74 05                	je     11003a <rtems_task_set_priority+0x52>
             the_thread->current_priority > new_priority )            
  110035:	3b 58 14             	cmp    0x14(%eax),%ebx                
  110038:	73 0d                	jae    110047 <rtems_task_set_priority+0x5f><== ALWAYS TAKEN
          _Thread_Change_priority( the_thread, new_priority, false ); 
  11003a:	52                   	push   %edx                           
  11003b:	6a 00                	push   $0x0                           
  11003d:	53                   	push   %ebx                           
  11003e:	50                   	push   %eax                           
  11003f:	e8 c8 18 00 00       	call   11190c <_Thread_Change_priority>
  110044:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  110047:	e8 a8 1d 00 00       	call   111df4 <_Thread_Enable_dispatch>
  11004c:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11004e:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110051:	5b                   	pop    %ebx                           
  110052:	5e                   	pop    %esi                           
  110053:	c9                   	leave                                 
  110054:	c3                   	ret                                   
  110055:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
  110058:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11005d:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110060:	5b                   	pop    %ebx                           
  110061:	5e                   	pop    %esi                           
  110062:	c9                   	leave                                 
  110063:	c3                   	ret                                   
  110064:	b8 13 00 00 00       	mov    $0x13,%eax                     
  110069:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  11006c:	5b                   	pop    %ebx                           
  11006d:	5e                   	pop    %esi                           
  11006e:	c9                   	leave                                 
  11006f:	c3                   	ret                                   
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
  110070:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  110075:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  110078:	5b                   	pop    %ebx                           
  110079:	5e                   	pop    %esi                           
  11007a:	c9                   	leave                                 
  11007b:	c3                   	ret                                   
                                                                      

0010c124 <rtems_task_start>: rtems_status_code rtems_task_start( rtems_id id, rtems_task_entry entry_point, rtems_task_argument argument ) {
  10c124:	55                   	push   %ebp                           
  10c125:	89 e5                	mov    %esp,%ebp                      
  10c127:	53                   	push   %ebx                           
  10c128:	83 ec 14             	sub    $0x14,%esp                     
  10c12b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
  10c12e:	85 db                	test   %ebx,%ebx                      
  10c130:	74 4e                	je     10c180 <rtems_task_start+0x5c> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  10c132:	83 ec 08             	sub    $0x8,%esp                      
  10c135:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c138:	50                   	push   %eax                           
  10c139:	ff 75 08             	pushl  0x8(%ebp)                      
  10c13c:	e8 4f 1b 00 00       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  10c141:	83 c4 10             	add    $0x10,%esp                     
  10c144:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10c147:	85 d2                	test   %edx,%edx                      
  10c149:	75 29                	jne    10c174 <rtems_task_start+0x50> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
  10c14b:	83 ec 0c             	sub    $0xc,%esp                      
  10c14e:	ff 75 10             	pushl  0x10(%ebp)                     
  10c151:	6a 00                	push   $0x0                           
  10c153:	53                   	push   %ebx                           
  10c154:	6a 00                	push   $0x0                           
  10c156:	50                   	push   %eax                           
  10c157:	e8 48 26 00 00       	call   10e7a4 <_Thread_Start>         
  10c15c:	83 c4 20             	add    $0x20,%esp                     
  10c15f:	84 c0                	test   %al,%al                        
  10c161:	75 29                	jne    10c18c <rtems_task_start+0x68> 
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  10c163:	e8 04 1b 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10c168:	b8 0e 00 00 00       	mov    $0xe,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c16d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c170:	c9                   	leave                                 
  10c171:	c3                   	ret                                   
  10c172:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( entry_point == NULL )                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
  10c174:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c179:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c17c:	c9                   	leave                                 
  10c17d:	c3                   	ret                                   
  10c17e:	66 90                	xchg   %ax,%ax                        
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( entry_point == NULL )                                          
  10c180:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c185:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c188:	c9                   	leave                                 
  10c189:	c3                   	ret                                   
  10c18a:	66 90                	xchg   %ax,%ax                        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Thread_Start(                                             
             the_thread, THREAD_START_NUMERIC, entry_point, NULL, argument ) ) {
        _Thread_Enable_dispatch();                                    
  10c18c:	e8 db 1a 00 00       	call   10dc6c <_Thread_Enable_dispatch>
  10c191:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c193:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c196:	c9                   	leave                                 
  10c197:	c3                   	ret                                   
                                                                      

00111e88 <rtems_task_suspend>: */ rtems_status_code rtems_task_suspend( rtems_id id ) {
  111e88:	55                   	push   %ebp                           
  111e89:	89 e5                	mov    %esp,%ebp                      
  111e8b:	83 ec 20             	sub    $0x20,%esp                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  111e8e:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  111e91:	50                   	push   %eax                           
  111e92:	ff 75 08             	pushl  0x8(%ebp)                      
  111e95:	e8 f6 bd ff ff       	call   10dc90 <_Thread_Get>           
  switch ( location ) {                                               
  111e9a:	83 c4 10             	add    $0x10,%esp                     
  111e9d:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  111ea0:	85 d2                	test   %edx,%edx                      
  111ea2:	74 08                	je     111eac <rtems_task_suspend+0x24>
  111ea4:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  111ea9:	c9                   	leave                                 
  111eaa:	c3                   	ret                                   
  111eab:	90                   	nop                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
  111eac:	f6 40 10 02          	testb  $0x2,0x10(%eax)                
  111eb0:	74 0e                	je     111ec0 <rtems_task_suspend+0x38>
        _Thread_Suspend( the_thread );                                
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
  111eb2:	e8 b5 bd ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  111eb7:	b8 0f 00 00 00       	mov    $0xf,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  111ebc:	c9                   	leave                                 
  111ebd:	c3                   	ret                                   
  111ebe:	66 90                	xchg   %ax,%ax                        
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_States_Is_suspended( the_thread->current_state ) ) {     
        _Thread_Suspend( the_thread );                                
  111ec0:	83 ec 0c             	sub    $0xc,%esp                      
  111ec3:	50                   	push   %eax                           
  111ec4:	e8 ab 0a 00 00       	call   112974 <_Thread_Suspend>       
        _Thread_Enable_dispatch();                                    
  111ec9:	e8 9e bd ff ff       	call   10dc6c <_Thread_Enable_dispatch>
  111ece:	31 c0                	xor    %eax,%eax                      
        return RTEMS_SUCCESSFUL;                                      
  111ed0:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  111ed3:	c9                   	leave                                 
  111ed4:	c3                   	ret                                   
                                                                      

00131484 <rtems_task_variable_add>: rtems_status_code rtems_task_variable_add( rtems_id tid, void **ptr, void (*dtor)(void *) ) {
  131484:	55                   	push   %ebp                           
  131485:	89 e5                	mov    %esp,%ebp                      
  131487:	57                   	push   %edi                           
  131488:	56                   	push   %esi                           
  131489:	53                   	push   %ebx                           
  13148a:	83 ec 1c             	sub    $0x1c,%esp                     
  13148d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  131490:	8b 7d 10             	mov    0x10(%ebp),%edi                
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
  131493:	85 db                	test   %ebx,%ebx                      
  131495:	0f 84 9d 00 00 00    	je     131538 <rtems_task_variable_add+0xb4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  13149b:	83 ec 08             	sub    $0x8,%esp                      
  13149e:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  1314a1:	50                   	push   %eax                           
  1314a2:	ff 75 08             	pushl  0x8(%ebp)                      
  1314a5:	e8 26 41 fe ff       	call   1155d0 <_Thread_Get>           
  1314aa:	89 c6                	mov    %eax,%esi                      
  switch (location) {                                                 
  1314ac:	83 c4 10             	add    $0x10,%esp                     
  1314af:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  1314b2:	85 c0                	test   %eax,%eax                      
  1314b4:	74 0e                	je     1314c4 <rtems_task_variable_add+0x40>
  1314b6:	b8 04 00 00 00       	mov    $0x4,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1314bb:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1314be:	5b                   	pop    %ebx                           
  1314bf:	5e                   	pop    %esi                           
  1314c0:	5f                   	pop    %edi                           
  1314c1:	c9                   	leave                                 
  1314c2:	c3                   	ret                                   
  1314c3:	90                   	nop                                   
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
  1314c4:	8b 86 04 01 00 00    	mov    0x104(%esi),%eax               
      while (tvp) {                                                   
  1314ca:	85 c0                	test   %eax,%eax                      
  1314cc:	75 44                	jne    131512 <rtems_task_variable_add+0x8e>
  1314ce:	66 90                	xchg   %ax,%ax                        
      }                                                               
                                                                      
      /*                                                              
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
  1314d0:	83 ec 0c             	sub    $0xc,%esp                      
  1314d3:	6a 14                	push   $0x14                          
  1314d5:	e8 72 52 fe ff       	call   11674c <_Workspace_Allocate>   
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
  1314da:	83 c4 10             	add    $0x10,%esp                     
  1314dd:	85 c0                	test   %eax,%eax                      
  1314df:	74 4b                	je     13152c <rtems_task_variable_add+0xa8>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NO_MEMORY;                                       
      }                                                               
      new->gval = *ptr;                                               
  1314e1:	8b 13                	mov    (%ebx),%edx                    
  1314e3:	89 50 08             	mov    %edx,0x8(%eax)                 
      new->ptr = ptr;                                                 
  1314e6:	89 58 04             	mov    %ebx,0x4(%eax)                 
      new->dtor = dtor;                                               
  1314e9:	89 78 10             	mov    %edi,0x10(%eax)                
                                                                      
      new->next = (struct rtems_task_variable_tt *)the_thread->task_variables;
  1314ec:	8b 96 04 01 00 00    	mov    0x104(%esi),%edx               
  1314f2:	89 10                	mov    %edx,(%eax)                    
      the_thread->task_variables = new;                               
  1314f4:	89 86 04 01 00 00    	mov    %eax,0x104(%esi)               
      _Thread_Enable_dispatch();                                      
  1314fa:	e8 81 40 fe ff       	call   115580 <_Thread_Enable_dispatch>
  1314ff:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131501:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  131504:	5b                   	pop    %ebx                           
  131505:	5e                   	pop    %esi                           
  131506:	5f                   	pop    %edi                           
  131507:	c9                   	leave                                 
  131508:	c3                   	ret                                   
  131509:	8d 76 00             	lea    0x0(%esi),%esi                 
        if (tvp->ptr == ptr) {                                        
          tvp->dtor = dtor;                                           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
  13150c:	8b 00                	mov    (%eax),%eax                    
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is already in this task's list.  
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  13150e:	85 c0                	test   %eax,%eax                      
  131510:	74 be                	je     1314d0 <rtems_task_variable_add+0x4c>
        if (tvp->ptr == ptr) {                                        
  131512:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  131515:	75 f5                	jne    13150c <rtems_task_variable_add+0x88>
          tvp->dtor = dtor;                                           
  131517:	89 78 10             	mov    %edi,0x10(%eax)                
          _Thread_Enable_dispatch();                                  
  13151a:	e8 61 40 fe ff       	call   115580 <_Thread_Enable_dispatch>
  13151f:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131521:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  131524:	5b                   	pop    %ebx                           
  131525:	5e                   	pop    %esi                           
  131526:	5f                   	pop    %edi                           
  131527:	c9                   	leave                                 
  131528:	c3                   	ret                                   
  131529:	8d 76 00             	lea    0x0(%esi),%esi                 
       *  Now allocate memory for this task variable.                 
       */                                                             
      new = (rtems_task_variable_t *)                                 
         _Workspace_Allocate(sizeof(rtems_task_variable_t));          
      if (new == NULL) {                                              
        _Thread_Enable_dispatch();                                    
  13152c:	e8 4f 40 fe ff       	call   115580 <_Thread_Enable_dispatch>
  131531:	b8 1a 00 00 00       	mov    $0x1a,%eax                     
        return RTEMS_NO_MEMORY;                                       
  131536:	eb 83                	jmp    1314bb <rtems_task_variable_add+0x37>
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *new;                                   
                                                                      
  if ( !ptr )                                                         
  131538:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  13153d:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  131540:	5b                   	pop    %ebx                           
  131541:	5e                   	pop    %esi                           
  131542:	5f                   	pop    %edi                           
  131543:	c9                   	leave                                 
  131544:	c3                   	ret                                   
                                                                      

00131548 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
  131548:	55                   	push   %ebp                           
  131549:	89 e5                	mov    %esp,%ebp                      
  13154b:	53                   	push   %ebx                           
  13154c:	83 ec 14             	sub    $0x14,%esp                     
  13154f:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
  131552:	85 db                	test   %ebx,%ebx                      
  131554:	74 4c                	je     1315a2 <rtems_task_variable_delete+0x5a>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  131556:	83 ec 08             	sub    $0x8,%esp                      
  131559:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  13155c:	50                   	push   %eax                           
  13155d:	ff 75 08             	pushl  0x8(%ebp)                      
  131560:	e8 6b 40 fe ff       	call   1155d0 <_Thread_Get>           
  switch (location) {                                                 
  131565:	83 c4 10             	add    $0x10,%esp                     
  131568:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  13156b:	85 d2                	test   %edx,%edx                      
  13156d:	74 0d                	je     13157c <rtems_task_variable_delete+0x34>
  13156f:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131574:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  131577:	c9                   	leave                                 
  131578:	c3                   	ret                                   
  131579:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
  13157c:	8b 90 04 01 00 00    	mov    0x104(%eax),%edx               
      while (tvp) {                                                   
  131582:	85 d2                	test   %edx,%edx                      
  131584:	74 17                	je     13159d <rtems_task_variable_delete+0x55>
        if (tvp->ptr == ptr) {                                        
  131586:	39 5a 04             	cmp    %ebx,0x4(%edx)                 
  131589:	75 0a                	jne    131595 <rtems_task_variable_delete+0x4d>
  13158b:	eb 3c                	jmp    1315c9 <rtems_task_variable_delete+0x81>
  13158d:	8d 76 00             	lea    0x0(%esi),%esi                 
  131590:	39 5a 04             	cmp    %ebx,0x4(%edx)                 
  131593:	74 17                	je     1315ac <rtems_task_variable_delete+0x64>
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
  131595:	89 d1                	mov    %edx,%ecx                      
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
  131597:	8b 12                	mov    (%edx),%edx                    
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  131599:	85 d2                	test   %edx,%edx                      
  13159b:	75 f3                	jne    131590 <rtems_task_variable_delete+0x48><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  13159d:	e8 de 3f fe ff       	call   115580 <_Thread_Enable_dispatch>
  1315a2:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1315a7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1315aa:	c9                   	leave                                 
  1315ab:	c3                   	ret                                   
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
  1315ac:	8b 1a                	mov    (%edx),%ebx                    
  1315ae:	89 19                	mov    %ebx,(%ecx)                    
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
  1315b0:	83 ec 08             	sub    $0x8,%esp                      
  1315b3:	52                   	push   %edx                           
  1315b4:	50                   	push   %eax                           
  1315b5:	e8 a2 00 00 00       	call   13165c <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
  1315ba:	e8 c1 3f fe ff       	call   115580 <_Thread_Enable_dispatch>
  1315bf:	31 c0                	xor    %eax,%eax                      
          return RTEMS_SUCCESSFUL;                                    
  1315c1:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1315c4:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  1315c7:	c9                   	leave                                 
  1315c8:	c3                   	ret                                   
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
  1315c9:	8b 0a                	mov    (%edx),%ecx                    
  1315cb:	89 88 04 01 00 00    	mov    %ecx,0x104(%eax)               
  1315d1:	eb dd                	jmp    1315b0 <rtems_task_variable_delete+0x68>
                                                                      

001315d4 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
  1315d4:	55                   	push   %ebp                           
  1315d5:	89 e5                	mov    %esp,%ebp                      
  1315d7:	56                   	push   %esi                           
  1315d8:	53                   	push   %ebx                           
  1315d9:	83 ec 10             	sub    $0x10,%esp                     
  1315dc:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  1315df:	8b 75 10             	mov    0x10(%ebp),%esi                
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
  1315e2:	85 db                	test   %ebx,%ebx                      
  1315e4:	74 56                	je     13163c <rtems_task_variable_get+0x68>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
  1315e6:	85 f6                	test   %esi,%esi                      
  1315e8:	74 52                	je     13163c <rtems_task_variable_get+0x68>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  1315ea:	83 ec 08             	sub    $0x8,%esp                      
  1315ed:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1315f0:	50                   	push   %eax                           
  1315f1:	ff 75 08             	pushl  0x8(%ebp)                      
  1315f4:	e8 d7 3f fe ff       	call   1155d0 <_Thread_Get>           
  switch (location) {                                                 
  1315f9:	83 c4 10             	add    $0x10,%esp                     
  1315fc:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  1315ff:	85 d2                	test   %edx,%edx                      
  131601:	75 2d                	jne    131630 <rtems_task_variable_get+0x5c>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
  131603:	8b 80 04 01 00 00    	mov    0x104(%eax),%eax               
      while (tvp) {                                                   
  131609:	85 c0                	test   %eax,%eax                      
  13160b:	75 09                	jne    131616 <rtems_task_variable_get+0x42>
  13160d:	eb 39                	jmp    131648 <rtems_task_variable_get+0x74>
  13160f:	90                   	nop                                   
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
  131610:	8b 00                	mov    (%eax),%eax                    
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
  131612:	85 c0                	test   %eax,%eax                      
  131614:	74 32                	je     131648 <rtems_task_variable_get+0x74><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
  131616:	39 58 04             	cmp    %ebx,0x4(%eax)                 
  131619:	75 f5                	jne    131610 <rtems_task_variable_get+0x3c>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
  13161b:	8b 40 0c             	mov    0xc(%eax),%eax                 
  13161e:	89 06                	mov    %eax,(%esi)                    
          _Thread_Enable_dispatch();                                  
  131620:	e8 5b 3f fe ff       	call   115580 <_Thread_Enable_dispatch>
  131625:	31 c0                	xor    %eax,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131627:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  13162a:	5b                   	pop    %ebx                           
  13162b:	5e                   	pop    %esi                           
  13162c:	c9                   	leave                                 
  13162d:	c3                   	ret                                   
  13162e:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
  131630:	b8 04 00 00 00       	mov    $0x4,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131635:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  131638:	5b                   	pop    %ebx                           
  131639:	5e                   	pop    %esi                           
  13163a:	c9                   	leave                                 
  13163b:	c3                   	ret                                   
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
  13163c:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131641:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  131644:	5b                   	pop    %ebx                           
  131645:	5e                   	pop    %esi                           
  131646:	c9                   	leave                                 
  131647:	c3                   	ret                                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
  131648:	e8 33 3f fe ff       	call   115580 <_Thread_Enable_dispatch>
  13164d:	b8 09 00 00 00       	mov    $0x9,%eax                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
  131652:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  131655:	5b                   	pop    %ebx                           
  131656:	5e                   	pop    %esi                           
  131657:	c9                   	leave                                 
  131658:	c3                   	ret                                   
                                                                      

0010cfc4 <rtems_task_wake_when>: */ rtems_status_code rtems_task_wake_when( rtems_time_of_day *time_buffer ) {
  10cfc4:	55                   	push   %ebp                           
  10cfc5:	89 e5                	mov    %esp,%ebp                      
  10cfc7:	53                   	push   %ebx                           
  10cfc8:	83 ec 14             	sub    $0x14,%esp                     
  10cfcb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
  10cfce:	80 3d 8c b4 12 00 00 	cmpb   $0x0,0x12b48c                  
  10cfd5:	0f 84 a9 00 00 00    	je     10d084 <rtems_task_wake_when+0xc0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
  10cfdb:	85 db                	test   %ebx,%ebx                      
  10cfdd:	0f 84 ad 00 00 00    	je     10d090 <rtems_task_wake_when+0xcc>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  time_buffer->ticks = 0;                                             
  10cfe3:	c7 43 18 00 00 00 00 	movl   $0x0,0x18(%ebx)                
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
  10cfea:	83 ec 0c             	sub    $0xc,%esp                      
  10cfed:	53                   	push   %ebx                           
  10cfee:	e8 ed f3 ff ff       	call   10c3e0 <_TOD_Validate>         
  10cff3:	83 c4 10             	add    $0x10,%esp                     
  10cff6:	84 c0                	test   %al,%al                        
  10cff8:	75 0a                	jne    10d004 <rtems_task_wake_when+0x40>
    _Watchdog_Insert_seconds(                                         
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
  10cffa:	b8 14 00 00 00       	mov    $0x14,%eax                     
}                                                                     
  10cfff:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d002:	c9                   	leave                                 
  10d003:	c3                   	ret                                   
  time_buffer->ticks = 0;                                             
                                                                      
  if ( !_TOD_Validate( time_buffer ) )                                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( time_buffer );                           
  10d004:	83 ec 0c             	sub    $0xc,%esp                      
  10d007:	53                   	push   %ebx                           
  10d008:	e8 47 f3 ff ff       	call   10c354 <_TOD_To_seconds>       
                                                                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  10d00d:	83 c4 10             	add    $0x10,%esp                     
  10d010:	3b 05 0c b5 12 00    	cmp    0x12b50c,%eax                  
  10d016:	76 e2                	jbe    10cffa <rtems_task_wake_when+0x36>
  10d018:	8b 15 78 b4 12 00    	mov    0x12b478,%edx                  
  10d01e:	42                   	inc    %edx                           
  10d01f:	89 15 78 b4 12 00    	mov    %edx,0x12b478                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
  10d025:	83 ec 08             	sub    $0x8,%esp                      
  10d028:	6a 10                	push   $0x10                          
  10d02a:	ff 35 38 b5 12 00    	pushl  0x12b538                       
  10d030:	89 45 f4             	mov    %eax,-0xc(%ebp)                
  10d033:	e8 38 24 00 00       	call   10f470 <_Thread_Set_state>     
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
  10d038:	8b 15 38 b5 12 00    	mov    0x12b538,%edx                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_TIME );  
    _Watchdog_Initialize(                                             
  10d03e:	8b 4a 08             	mov    0x8(%edx),%ecx                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10d041:	c7 42 50 00 00 00 00 	movl   $0x0,0x50(%edx)                
  the_watchdog->routine   = routine;                                  
  10d048:	c7 42 64 ec e9 10 00 	movl   $0x10e9ec,0x64(%edx)           
  the_watchdog->id        = id;                                       
  10d04f:	89 4a 68             	mov    %ecx,0x68(%edx)                
  the_watchdog->user_data = user_data;                                
  10d052:	c7 42 6c 00 00 00 00 	movl   $0x0,0x6c(%edx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10d059:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10d05c:	2b 05 0c b5 12 00    	sub    0x12b50c,%eax                  
  10d062:	89 42 54             	mov    %eax,0x54(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
  10d065:	58                   	pop    %eax                           
  10d066:	59                   	pop    %ecx                           
  10d067:	83 c2 48             	add    $0x48,%edx                     
  10d06a:	52                   	push   %edx                           
  10d06b:	68 4c b5 12 00       	push   $0x12b54c                      
  10d070:	e8 fb 2a 00 00       	call   10fb70 <_Watchdog_Insert>      
    );                                                                
    _Watchdog_Insert_seconds(                                         
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  10d075:	e8 0a 1b 00 00       	call   10eb84 <_Thread_Enable_dispatch>
  10d07a:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
  10d07c:	83 c4 10             	add    $0x10,%esp                     
  10d07f:	e9 7b ff ff ff       	jmp    10cfff <rtems_task_wake_when+0x3b>
  rtems_time_of_day *time_buffer                                      
)                                                                     
{                                                                     
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
  10d084:	b8 0b 00 00 00       	mov    $0xb,%eax                      
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10d089:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d08c:	c9                   	leave                                 
  10d08d:	c3                   	ret                                   
  10d08e:	66 90                	xchg   %ax,%ax                        
  Watchdog_Interval   seconds;                                        
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !time_buffer )                                                 
  10d090:	b8 09 00 00 00       	mov    $0x9,%eax                      
      &_Thread_Executing->Timer,                                      
      seconds - _TOD_Seconds_since_epoch()                            
    );                                                                
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10d095:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10d098:	c9                   	leave                                 
  10d099:	c3                   	ret                                   
                                                                      

00118fbc <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
  118fbc:	55                   	push   %ebp                           
  118fbd:	89 e5                	mov    %esp,%ebp                      
  118fbf:	83 ec 1c             	sub    $0x1c,%esp                     
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
  118fc2:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  118fc5:	50                   	push   %eax                           
  118fc6:	ff 75 08             	pushl  0x8(%ebp)                      
  118fc9:	68 c0 4d 14 00       	push   $0x144dc0                      
  118fce:	e8 c5 29 00 00       	call   11b998 <_Objects_Get>          
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  118fd3:	83 c4 10             	add    $0x10,%esp                     
  118fd6:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  118fd9:	85 d2                	test   %edx,%edx                      
  118fdb:	74 07                	je     118fe4 <rtems_timer_cancel+0x28>
  118fdd:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  118fe2:	c9                   	leave                                 
  118fe3:	c3                   	ret                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
  118fe4:	83 78 38 04          	cmpl   $0x4,0x38(%eax)                
  118fe8:	74 0f                	je     118ff9 <rtems_timer_cancel+0x3d><== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
  118fea:	83 ec 0c             	sub    $0xc,%esp                      
  118fed:	83 c0 10             	add    $0x10,%eax                     
  118ff0:	50                   	push   %eax                           
  118ff1:	e8 e2 46 00 00       	call   11d6d8 <_Watchdog_Remove>      
  118ff6:	83 c4 10             	add    $0x10,%esp                     
      _Thread_Enable_dispatch();                                      
  118ff9:	e8 7e 32 00 00       	call   11c27c <_Thread_Enable_dispatch>
  118ffe:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  119000:	c9                   	leave                                 
  119001:	c3                   	ret                                   
                                                                      

0010c480 <rtems_timer_create>: rtems_status_code rtems_timer_create( rtems_name name, rtems_id *id ) {
  10c480:	55                   	push   %ebp                           
  10c481:	89 e5                	mov    %esp,%ebp                      
  10c483:	57                   	push   %edi                           
  10c484:	56                   	push   %esi                           
  10c485:	53                   	push   %ebx                           
  10c486:	83 ec 0c             	sub    $0xc,%esp                      
  10c489:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c48c:	8b 75 0c             	mov    0xc(%ebp),%esi                 
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10c48f:	85 db                	test   %ebx,%ebx                      
  10c491:	74 6d                	je     10c500 <rtems_timer_create+0x80>
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10c493:	85 f6                	test   %esi,%esi                      
  10c495:	0f 84 89 00 00 00    	je     10c524 <rtems_timer_create+0xa4>
  10c49b:	a1 58 aa 12 00       	mov    0x12aa58,%eax                  
  10c4a0:	40                   	inc    %eax                           
  10c4a1:	a3 58 aa 12 00       	mov    %eax,0x12aa58                  
 *  This function allocates a timer control block from                
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Allocate( void )           
{                                                                     
  return (Timer_Control *) _Objects_Allocate( &_Timer_Information );  
  10c4a6:	83 ec 0c             	sub    $0xc,%esp                      
  10c4a9:	68 c0 b4 12 00       	push   $0x12b4c0                      
  10c4ae:	e8 b9 0e 00 00       	call   10d36c <_Objects_Allocate>     
                                                                      
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
  10c4b3:	83 c4 10             	add    $0x10,%esp                     
  10c4b6:	85 c0                	test   %eax,%eax                      
  10c4b8:	74 56                	je     10c510 <rtems_timer_create+0x90>
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_timer->the_class = TIMER_DORMANT;                               
  10c4ba:	c7 40 38 04 00 00 00 	movl   $0x4,0x38(%eax)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c4c1:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10c4c8:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10c4cf:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10c4d6:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10c4dd:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c4e0:	0f b7 fa             	movzwl %dx,%edi                       
  10c4e3:	8b 0d dc b4 12 00    	mov    0x12b4dc,%ecx                  
  10c4e9:	89 04 b9             	mov    %eax,(%ecx,%edi,4)             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
  10c4ec:	89 58 0c             	mov    %ebx,0xc(%eax)                 
    &_Timer_Information,                                              
    &the_timer->Object,                                               
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  10c4ef:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10c4f1:	e8 9a 1b 00 00       	call   10e090 <_Thread_Enable_dispatch>
  10c4f6:	31 c0                	xor    %eax,%eax                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c4f8:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c4fb:	5b                   	pop    %ebx                           
  10c4fc:	5e                   	pop    %esi                           
  10c4fd:	5f                   	pop    %edi                           
  10c4fe:	c9                   	leave                                 
  10c4ff:	c3                   	ret                                   
  rtems_id   *id                                                      
)                                                                     
{                                                                     
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
  10c500:	b8 03 00 00 00       	mov    $0x3,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c505:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c508:	5b                   	pop    %ebx                           
  10c509:	5e                   	pop    %esi                           
  10c50a:	5f                   	pop    %edi                           
  10c50b:	c9                   	leave                                 
  10c50c:	c3                   	ret                                   
  10c50d:	8d 76 00             	lea    0x0(%esi),%esi                 
  _Thread_Disable_dispatch();         /* to prevent deletion */       
                                                                      
  the_timer = _Timer_Allocate();                                      
                                                                      
  if ( !the_timer ) {                                                 
    _Thread_Enable_dispatch();                                        
  10c510:	e8 7b 1b 00 00       	call   10e090 <_Thread_Enable_dispatch>
  10c515:	b8 05 00 00 00       	mov    $0x5,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c51a:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c51d:	5b                   	pop    %ebx                           
  10c51e:	5e                   	pop    %esi                           
  10c51f:	5f                   	pop    %edi                           
  10c520:	c9                   	leave                                 
  10c521:	c3                   	ret                                   
  10c522:	66 90                	xchg   %ax,%ax                        
  Timer_Control *the_timer;                                           
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
  10c524:	b8 09 00 00 00       	mov    $0x9,%eax                      
  );                                                                  
                                                                      
  *id = the_timer->Object.id;                                         
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
  10c529:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c52c:	5b                   	pop    %ebx                           
  10c52d:	5e                   	pop    %esi                           
  10c52e:	5f                   	pop    %edi                           
  10c52f:	c9                   	leave                                 
  10c530:	c3                   	ret                                   
                                                                      

001190b8 <rtems_timer_delete>: */ rtems_status_code rtems_timer_delete( rtems_id id ) {
  1190b8:	55                   	push   %ebp                           
  1190b9:	89 e5                	mov    %esp,%ebp                      
  1190bb:	53                   	push   %ebx                           
  1190bc:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
  1190bf:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  1190c2:	50                   	push   %eax                           
  1190c3:	ff 75 08             	pushl  0x8(%ebp)                      
  1190c6:	68 c0 4d 14 00       	push   $0x144dc0                      
  1190cb:	e8 c8 28 00 00       	call   11b998 <_Objects_Get>          
  1190d0:	89 c3                	mov    %eax,%ebx                      
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  1190d2:	83 c4 10             	add    $0x10,%esp                     
  1190d5:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  1190d8:	85 c9                	test   %ecx,%ecx                      
  1190da:	75 38                	jne    119114 <rtems_timer_delete+0x5c>
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_Timer_Information, &the_timer->Object );      
  1190dc:	83 ec 08             	sub    $0x8,%esp                      
  1190df:	50                   	push   %eax                           
  1190e0:	68 c0 4d 14 00       	push   $0x144dc0                      
  1190e5:	e8 3e 24 00 00       	call   11b528 <_Objects_Close>        
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  1190ea:	8d 43 10             	lea    0x10(%ebx),%eax                
  1190ed:	89 04 24             	mov    %eax,(%esp)                    
  1190f0:	e8 e3 45 00 00       	call   11d6d8 <_Watchdog_Remove>      
 */                                                                   
RTEMS_INLINE_ROUTINE void _Timer_Free (                               
  Timer_Control *the_timer                                            
)                                                                     
{                                                                     
  _Objects_Free( &_Timer_Information, &the_timer->Object );           
  1190f5:	58                   	pop    %eax                           
  1190f6:	5a                   	pop    %edx                           
  1190f7:	53                   	push   %ebx                           
  1190f8:	68 c0 4d 14 00       	push   $0x144dc0                      
  1190fd:	e8 2a 27 00 00       	call   11b82c <_Objects_Free>         
      _Timer_Free( the_timer );                                       
      _Thread_Enable_dispatch();                                      
  119102:	e8 75 31 00 00       	call   11c27c <_Thread_Enable_dispatch>
  119107:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  119109:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11910c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11910f:	c9                   	leave                                 
  119110:	c3                   	ret                                   
  119111:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  119114:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  119119:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  11911c:	c9                   	leave                                 
  11911d:	c3                   	ret                                   
                                                                      

0010c534 <rtems_timer_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
  10c534:	55                   	push   %ebp                           
  10c535:	89 e5                	mov    %esp,%ebp                      
  10c537:	57                   	push   %edi                           
  10c538:	56                   	push   %esi                           
  10c539:	53                   	push   %ebx                           
  10c53a:	83 ec 2c             	sub    $0x2c,%esp                     
  10c53d:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c540:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
  10c543:	85 db                	test   %ebx,%ebx                      
  10c545:	0f 84 99 00 00 00    	je     10c5e4 <rtems_timer_fire_after+0xb0>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
  10c54b:	85 f6                	test   %esi,%esi                      
  10c54d:	0f 84 b1 00 00 00    	je     10c604 <rtems_timer_fire_after+0xd0>
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
  10c553:	57                   	push   %edi                           
  10c554:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10c557:	50                   	push   %eax                           
  10c558:	ff 75 08             	pushl  0x8(%ebp)                      
  10c55b:	68 c0 b4 12 00       	push   $0x12b4c0                      
  10c560:	e8 b7 12 00 00       	call   10d81c <_Objects_Get>          
  10c565:	89 c7                	mov    %eax,%edi                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  10c567:	83 c4 10             	add    $0x10,%esp                     
  10c56a:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  10c56d:	85 c9                	test   %ecx,%ecx                      
  10c56f:	74 0f                	je     10c580 <rtems_timer_fire_after+0x4c>
  10c571:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c576:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c579:	5b                   	pop    %ebx                           
  10c57a:	5e                   	pop    %esi                           
  10c57b:	5f                   	pop    %edi                           
  10c57c:	c9                   	leave                                 
  10c57d:	c3                   	ret                                   
  10c57e:	66 90                	xchg   %ax,%ax                        
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  10c580:	8d 50 10             	lea    0x10(%eax),%edx                
  10c583:	83 ec 0c             	sub    $0xc,%esp                      
  10c586:	52                   	push   %edx                           
  10c587:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10c58a:	e8 9d 2b 00 00       	call   10f12c <_Watchdog_Remove>      
                                                                      
      _ISR_Disable( level );                                          
  10c58f:	9c                   	pushf                                 
  10c590:	fa                   	cli                                   
  10c591:	58                   	pop    %eax                           
        /*                                                            
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
  10c592:	83 c4 10             	add    $0x10,%esp                     
  10c595:	8b 57 18             	mov    0x18(%edi),%edx                
  10c598:	85 d2                	test   %edx,%edx                      
  10c59a:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  10c59d:	75 55                	jne    10c5f4 <rtems_timer_fire_after+0xc0>
        /*                                                            
         *  OK.  Now we now the timer was not rescheduled by an interrupt
         *  so we can atomically initialize it as in use.             
         */                                                           
                                                                      
        the_timer->the_class = TIMER_INTERVAL;                        
  10c59f:	c7 47 38 00 00 00 00 	movl   $0x0,0x38(%edi)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10c5a6:	c7 47 18 00 00 00 00 	movl   $0x0,0x18(%edi)                
  the_watchdog->routine   = routine;                                  
  10c5ad:	89 77 2c             	mov    %esi,0x2c(%edi)                
  the_watchdog->id        = id;                                       
  10c5b0:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  10c5b3:	89 4f 30             	mov    %ecx,0x30(%edi)                
  the_watchdog->user_data = user_data;                                
  10c5b6:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  10c5b9:	89 4f 34             	mov    %ecx,0x34(%edi)                
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _ISR_Enable( level );                                           
  10c5bc:	50                   	push   %eax                           
  10c5bd:	9d                   	popf                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10c5be:	89 5f 1c             	mov    %ebx,0x1c(%edi)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10c5c1:	83 ec 08             	sub    $0x8,%esp                      
  10c5c4:	52                   	push   %edx                           
  10c5c5:	68 38 ab 12 00       	push   $0x12ab38                      
  10c5ca:	e8 35 2a 00 00       	call   10f004 <_Watchdog_Insert>      
                                                                      
                                                                      
      _Watchdog_Insert_ticks( &the_timer->Ticker, ticks );            
      _Thread_Enable_dispatch();                                      
  10c5cf:	e8 bc 1a 00 00       	call   10e090 <_Thread_Enable_dispatch>
  10c5d4:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  10c5d6:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c5d9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c5dc:	5b                   	pop    %ebx                           
  10c5dd:	5e                   	pop    %esi                           
  10c5de:	5f                   	pop    %edi                           
  10c5df:	c9                   	leave                                 
  10c5e0:	c3                   	ret                                   
  10c5e1:	8d 76 00             	lea    0x0(%esi),%esi                 
{                                                                     
  Timer_Control      *the_timer;                                      
  Objects_Locations   location;                                       
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
  10c5e4:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c5e9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c5ec:	5b                   	pop    %ebx                           
  10c5ed:	5e                   	pop    %esi                           
  10c5ee:	5f                   	pop    %edi                           
  10c5ef:	c9                   	leave                                 
  10c5f0:	c3                   	ret                                   
  10c5f1:	8d 76 00             	lea    0x0(%esi),%esi                 
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
  10c5f4:	50                   	push   %eax                           
  10c5f5:	9d                   	popf                                  
          _Thread_Enable_dispatch();                                  
  10c5f6:	e8 95 1a 00 00       	call   10e090 <_Thread_Enable_dispatch>
  10c5fb:	31 c0                	xor    %eax,%eax                      
          return RTEMS_SUCCESSFUL;                                    
  10c5fd:	e9 74 ff ff ff       	jmp    10c576 <rtems_timer_fire_after+0x42>
  10c602:	66 90                	xchg   %ax,%ax                        
  ISR_Level           level;                                          
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  if ( !routine )                                                     
  10c604:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  10c609:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c60c:	5b                   	pop    %ebx                           
  10c60d:	5e                   	pop    %esi                           
  10c60e:	5f                   	pop    %edi                           
  10c60f:	c9                   	leave                                 
  10c610:	c3                   	ret                                   
                                                                      

00119200 <rtems_timer_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  119200:	55                   	push   %ebp                           
  119201:	89 e5                	mov    %esp,%ebp                      
  119203:	57                   	push   %edi                           
  119204:	56                   	push   %esi                           
  119205:	53                   	push   %ebx                           
  119206:	83 ec 2c             	sub    $0x2c,%esp                     
  119209:	8b 75 08             	mov    0x8(%ebp),%esi                 
  11920c:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  11920f:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
  119212:	80 3d 6c 43 14 00 00 	cmpb   $0x0,0x14436c                  
  119219:	75 0d                	jne    119228 <rtems_timer_fire_when+0x28>
  11921b:	b8 0b 00 00 00       	mov    $0xb,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  119220:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  119223:	5b                   	pop    %ebx                           
  119224:	5e                   	pop    %esi                           
  119225:	5f                   	pop    %edi                           
  119226:	c9                   	leave                                 
  119227:	c3                   	ret                                   
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  119228:	83 ec 0c             	sub    $0xc,%esp                      
  11922b:	57                   	push   %edi                           
  11922c:	e8 7b d4 ff ff       	call   1166ac <_TOD_Validate>         
  119231:	83 c4 10             	add    $0x10,%esp                     
  119234:	84 c0                	test   %al,%al                        
  119236:	74 1e                	je     119256 <rtems_timer_fire_when+0x56>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
  119238:	85 db                	test   %ebx,%ebx                      
  11923a:	0f 84 a4 00 00 00    	je     1192e4 <rtems_timer_fire_when+0xe4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  119240:	83 ec 0c             	sub    $0xc,%esp                      
  119243:	57                   	push   %edi                           
  119244:	e8 d7 d3 ff ff       	call   116620 <_TOD_To_seconds>       
  119249:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11924b:	83 c4 10             	add    $0x10,%esp                     
  11924e:	3b 05 ec 43 14 00    	cmp    0x1443ec,%eax                  
  119254:	77 0e                	ja     119264 <rtems_timer_fire_when+0x64>
      _Watchdog_Insert_seconds(                                       
         &the_timer->Ticker,                                          
         seconds - _TOD_Seconds_since_epoch()                         
       );                                                             
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
  119256:	b8 14 00 00 00       	mov    $0x14,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11925b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11925e:	5b                   	pop    %ebx                           
  11925f:	5e                   	pop    %esi                           
  119260:	5f                   	pop    %edi                           
  119261:	c9                   	leave                                 
  119262:	c3                   	ret                                   
  119263:	90                   	nop                                   
  119264:	50                   	push   %eax                           
  119265:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  119268:	50                   	push   %eax                           
  119269:	56                   	push   %esi                           
  11926a:	68 c0 4d 14 00       	push   $0x144dc0                      
  11926f:	e8 24 27 00 00       	call   11b998 <_Objects_Get>          
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  119274:	83 c4 10             	add    $0x10,%esp                     
  119277:	8b 4d e4             	mov    -0x1c(%ebp),%ecx               
  11927a:	85 c9                	test   %ecx,%ecx                      
  11927c:	75 5a                	jne    1192d8 <rtems_timer_fire_when+0xd8>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  11927e:	8d 48 10             	lea    0x10(%eax),%ecx                
  119281:	83 ec 0c             	sub    $0xc,%esp                      
  119284:	51                   	push   %ecx                           
  119285:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  119288:	89 4d d0             	mov    %ecx,-0x30(%ebp)               
  11928b:	e8 48 44 00 00       	call   11d6d8 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
  119290:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  119293:	c7 42 38 02 00 00 00 	movl   $0x2,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  11929a:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  1192a1:	89 5a 2c             	mov    %ebx,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  1192a4:	89 72 30             	mov    %esi,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  1192a7:	8b 45 14             	mov    0x14(%ebp),%eax                
  1192aa:	89 42 34             	mov    %eax,0x34(%edx)                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  1192ad:	2b 3d ec 43 14 00    	sub    0x1443ec,%edi                  
  1192b3:	89 7a 1c             	mov    %edi,0x1c(%edx)                
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
  1192b6:	58                   	pop    %eax                           
  1192b7:	5a                   	pop    %edx                           
  1192b8:	8b 4d d0             	mov    -0x30(%ebp),%ecx               
  1192bb:	51                   	push   %ecx                           
  1192bc:	68 2c 44 14 00       	push   $0x14442c                      
  1192c1:	e8 ea 42 00 00       	call   11d5b0 <_Watchdog_Insert>      
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
         &the_timer->Ticker,                                          
         seconds - _TOD_Seconds_since_epoch()                         
       );                                                             
      _Thread_Enable_dispatch();                                      
  1192c6:	e8 b1 2f 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1192cb:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  1192cd:	83 c4 10             	add    $0x10,%esp                     
  1192d0:	e9 4b ff ff ff       	jmp    119220 <rtems_timer_fire_when+0x20>
  1192d5:	8d 76 00             	lea    0x0(%esi),%esi                 
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  1192d8:	b8 04 00 00 00       	mov    $0x4,%eax                      
  1192dd:	e9 3e ff ff ff       	jmp    119220 <rtems_timer_fire_when+0x20>
  1192e2:	66 90                	xchg   %ax,%ax                        
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
  1192e4:	b8 09 00 00 00       	mov    $0x9,%eax                      
  1192e9:	e9 32 ff ff ff       	jmp    119220 <rtems_timer_fire_when+0x20>
                                                                      

00119600 <rtems_timer_initiate_server>: rtems_status_code rtems_timer_initiate_server( uint32_t priority, uint32_t stack_size, rtems_attribute attribute_set ) {
  119600:	55                   	push   %ebp                           
  119601:	89 e5                	mov    %esp,%ebp                      
  119603:	56                   	push   %esi                           
  119604:	53                   	push   %ebx                           
  119605:	83 ec 10             	sub    $0x10,%esp                     
  119608:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11960b:	85 c0                	test   %eax,%eax                      
  11960d:	75 0d                	jne    11961c <rtems_timer_initiate_server+0x1c>
    if (status) {                                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
  11960f:	b8 13 00 00 00       	mov    $0x13,%eax                     
}                                                                     
  119614:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  119617:	5b                   	pop    %ebx                           
  119618:	5e                   	pop    %esi                           
  119619:	c9                   	leave                                 
  11961a:	c3                   	ret                                   
  11961b:	90                   	nop                                   
  11961c:	0f b6 15 54 bd 13 00 	movzbl 0x13bd54,%edx                  
  119623:	39 d0                	cmp    %edx,%eax                      
  119625:	76 35                	jbe    11965c <rtems_timer_initiate_server+0x5c>
   *  structured so we check it is invalid before looking for         
   *  a specific invalid value as the default.                        
   */                                                                 
  _priority = priority;                                               
  if ( !_RTEMS_tasks_Priority_is_valid( priority ) ) {                
    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )            
  119627:	40                   	inc    %eax                           
  119628:	75 e5                	jne    11960f <rtems_timer_initiate_server+0xf>
  11962a:	31 f6                	xor    %esi,%esi                      
  11962c:	8b 15 58 43 14 00    	mov    0x144358,%edx                  
  119632:	42                   	inc    %edx                           
  119633:	89 15 58 43 14 00    	mov    %edx,0x144358                  
                                                                      
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
  119639:	8a 1d e0 fb 13 00    	mov    0x13fbe0,%bl                   
    initialized = true;                                               
  11963f:	c6 05 e0 fb 13 00 01 	movb   $0x1,0x13fbe0                  
  _Thread_Enable_dispatch();                                          
  119646:	e8 31 2c 00 00       	call   11c27c <_Thread_Enable_dispatch>
                                                                      
  if ( tmpInitialized )                                               
  11964b:	84 db                	test   %bl,%bl                        
  11964d:	74 11                	je     119660 <rtems_timer_initiate_server+0x60>
  11964f:	b8 0e 00 00 00       	mov    $0xe,%eax                      
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  119654:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  119657:	5b                   	pop    %ebx                           
  119658:	5e                   	pop    %esi                           
  119659:	c9                   	leave                                 
  11965a:	c3                   	ret                                   
  11965b:	90                   	nop                                   
  11965c:	89 c6                	mov    %eax,%esi                      
  11965e:	eb cc                	jmp    11962c <rtems_timer_initiate_server+0x2c>
   *  other library rules.  For example, if using a TSR written in Ada the
   *  Server should run at the same priority as the priority Ada task.
   *  Otherwise, the priority ceiling for the mutex used to protect the
   *  GNAT run-time is violated.                                      
   */                                                                 
  status = rtems_task_create(                                         
  119660:	83 ec 08             	sub    $0x8,%esp                      
  119663:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  119666:	50                   	push   %eax                           
  119667:	8b 45 10             	mov    0x10(%ebp),%eax                
  11966a:	80 cc 80             	or     $0x80,%ah                      
  11966d:	50                   	push   %eax                           
  11966e:	68 00 01 00 00       	push   $0x100                         
  119673:	ff 75 0c             	pushl  0xc(%ebp)                      
  119676:	56                   	push   %esi                           
  119677:	68 45 4d 49 54       	push   $0x54494d45                    
  11967c:	e8 87 f0 ff ff       	call   118708 <rtems_task_create>     
                          /* user may want floating point but we need */
                          /*   system task specified for 0 priority */
    attribute_set | RTEMS_SYSTEM_TASK,                                
    &id                   /* get the id back */                       
  );                                                                  
  if (status) {                                                       
  119681:	83 c4 20             	add    $0x20,%esp                     
  119684:	85 c0                	test   %eax,%eax                      
  119686:	74 10                	je     119698 <rtems_timer_initiate_server+0x98>
    initialized = false;                                              
  119688:	c6 05 e0 fb 13 00 00 	movb   $0x0,0x13fbe0                  
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
  11968f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  119692:	5b                   	pop    %ebx                           
  119693:	5e                   	pop    %esi                           
  119694:	c9                   	leave                                 
  119695:	c3                   	ret                                   
  119696:	66 90                	xchg   %ax,%ax                        
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
    &_RTEMS_tasks_Information,                                        
    _Objects_Get_index(id)                                            
  119698:	8b 45 f4             	mov    -0xc(%ebp),%eax                
                                                                      
  /*                                                                  
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
  11969b:	0f b7 c8             	movzwl %ax,%ecx                       
  11969e:	8b 15 fc 42 14 00    	mov    0x1442fc,%edx                  
  1196a4:	8b 14 8a             	mov    (%edx,%ecx,4),%edx             
  1196a7:	89 15 00 fc 13 00    	mov    %edx,0x13fc00                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  1196ad:	c7 05 30 fc 13 00 34 	movl   $0x13fc34,0x13fc30             
  1196b4:	fc 13 00                                                    
  the_chain->permanent_null = NULL;                                   
  1196b7:	c7 05 34 fc 13 00 00 	movl   $0x0,0x13fc34                  
  1196be:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  1196c1:	c7 05 38 fc 13 00 30 	movl   $0x13fc30,0x13fc38             
  1196c8:	fc 13 00                                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  1196cb:	c7 05 68 fc 13 00 6c 	movl   $0x13fc6c,0x13fc68             
  1196d2:	fc 13 00                                                    
  the_chain->permanent_null = NULL;                                   
  1196d5:	c7 05 6c fc 13 00 00 	movl   $0x0,0x13fc6c                  
  1196dc:	00 00 00                                                    
  the_chain->last           = _Chain_Head(the_chain);                 
  1196df:	c7 05 70 fc 13 00 68 	movl   $0x13fc68,0x13fc70             
  1196e6:	fc 13 00                                                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  1196e9:	c7 05 10 fc 13 00 00 	movl   $0x0,0x13fc10                  
  1196f0:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  1196f3:	c7 05 24 fc 13 00 e4 	movl   $0x11c0e4,0x13fc24             
  1196fa:	c0 11 00                                                    
  the_watchdog->id        = id;                                       
  1196fd:	a3 28 fc 13 00       	mov    %eax,0x13fc28                  
  the_watchdog->user_data = user_data;                                
  119702:	c7 05 2c fc 13 00 00 	movl   $0x0,0x13fc2c                  
  119709:	00 00 00                                                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  11970c:	c7 05 48 fc 13 00 00 	movl   $0x0,0x13fc48                  
  119713:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  119716:	c7 05 5c fc 13 00 e4 	movl   $0x11c0e4,0x13fc5c             
  11971d:	c0 11 00                                                    
  the_watchdog->id        = id;                                       
  119720:	a3 60 fc 13 00       	mov    %eax,0x13fc60                  
  the_watchdog->user_data = user_data;                                
  119725:	c7 05 64 fc 13 00 00 	movl   $0x0,0x13fc64                  
  11972c:	00 00 00                                                    
                                                                      
  /*                                                                  
   *  Initialize the pointer to the timer schedule method so applications that
   *  do not use the Timer Server do not have to pull it in.          
   */                                                                 
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
  11972f:	c7 05 04 fc 13 00 d4 	movl   $0x1199d4,0x13fc04             
  119736:	99 11 00                                                    
                                                                      
  ts->Interval_watchdogs.last_snapshot = _Watchdog_Ticks_since_boot;  
  119739:	8b 15 c4 44 14 00    	mov    0x1444c4,%edx                  
  11973f:	89 15 3c fc 13 00    	mov    %edx,0x13fc3c                  
  ts->TOD_watchdogs.last_snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  119745:	8b 15 ec 43 14 00    	mov    0x1443ec,%edx                  
  11974b:	89 15 74 fc 13 00    	mov    %edx,0x13fc74                  
                                                                      
  ts->insert_chain = NULL;                                            
  119751:	c7 05 78 fc 13 00 00 	movl   $0x0,0x13fc78                  
  119758:	00 00 00                                                    
  ts->active = false;                                                 
  11975b:	c6 05 7c fc 13 00 00 	movb   $0x0,0x13fc7c                  
                                                                      
  /*                                                                  
   * The default timer server is now available.                       
   */                                                                 
  _Timer_server = ts;                                                 
  119762:	c7 05 00 4e 14 00 00 	movl   $0x13fc00,0x144e00             
  119769:	fc 13 00                                                    
                                                                      
  /*                                                                  
   *  Start the timer server                                          
   */                                                                 
  status = rtems_task_start(                                          
  11976c:	52                   	push   %edx                           
  11976d:	68 00 fc 13 00       	push   $0x13fc00                      
  119772:	68 28 98 11 00       	push   $0x119828                      
  119777:	50                   	push   %eax                           
  119778:	e8 23 f6 ff ff       	call   118da0 <rtems_task_start>      
    if (status) {                                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
  11977d:	83 c4 10             	add    $0x10,%esp                     
  119780:	e9 8f fe ff ff       	jmp    119614 <rtems_timer_initiate_server+0x14>
                                                                      

00119378 <rtems_timer_reset>: */ rtems_status_code rtems_timer_reset( rtems_id id ) {
  119378:	55                   	push   %ebp                           
  119379:	89 e5                	mov    %esp,%ebp                      
  11937b:	56                   	push   %esi                           
  11937c:	53                   	push   %ebx                           
  11937d:	83 ec 24             	sub    $0x24,%esp                     
  119380:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  119383:	50                   	push   %eax                           
  119384:	ff 75 08             	pushl  0x8(%ebp)                      
  119387:	68 c0 4d 14 00       	push   $0x144dc0                      
  11938c:	e8 07 26 00 00       	call   11b998 <_Objects_Get>          
  119391:	89 c3                	mov    %eax,%ebx                      
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  119393:	83 c4 10             	add    $0x10,%esp                     
  119396:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  119399:	85 c0                	test   %eax,%eax                      
  11939b:	74 0f                	je     1193ac <rtems_timer_reset+0x34>
  11939d:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1193a2:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1193a5:	5b                   	pop    %ebx                           
  1193a6:	5e                   	pop    %esi                           
  1193a7:	c9                   	leave                                 
  1193a8:	c3                   	ret                                   
  1193a9:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
  1193ac:	8b 43 38             	mov    0x38(%ebx),%eax                
  1193af:	85 c0                	test   %eax,%eax                      
  1193b1:	74 1d                	je     1193d0 <rtems_timer_reset+0x58>
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
  1193b3:	48                   	dec    %eax                           
  1193b4:	74 3a                	je     1193f0 <rtems_timer_reset+0x78>
  1193b6:	b8 0b 00 00 00       	mov    $0xb,%eax                      
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
  1193bb:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
  1193be:	e8 b9 2e 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1193c3:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1193c6:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  1193c9:	5b                   	pop    %ebx                           
  1193ca:	5e                   	pop    %esi                           
  1193cb:	c9                   	leave                                 
  1193cc:	c3                   	ret                                   
  1193cd:	8d 76 00             	lea    0x0(%esi),%esi                 
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
  1193d0:	83 c3 10             	add    $0x10,%ebx                     
  1193d3:	83 ec 0c             	sub    $0xc,%esp                      
  1193d6:	53                   	push   %ebx                           
  1193d7:	e8 fc 42 00 00       	call   11d6d8 <_Watchdog_Remove>      
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
  1193dc:	59                   	pop    %ecx                           
  1193dd:	5e                   	pop    %esi                           
  1193de:	53                   	push   %ebx                           
  1193df:	68 38 44 14 00       	push   $0x144438                      
  1193e4:	e8 c7 41 00 00       	call   11d5b0 <_Watchdog_Insert>      
  1193e9:	31 c0                	xor    %eax,%eax                      
  1193eb:	83 c4 10             	add    $0x10,%esp                     
  1193ee:	eb cb                	jmp    1193bb <rtems_timer_reset+0x43>
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
        Timer_server_Control *timer_server = _Timer_server;           
  1193f0:	8b 35 00 4e 14 00    	mov    0x144e00,%esi                  
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
  1193f6:	83 ec 0c             	sub    $0xc,%esp                      
  1193f9:	8d 43 10             	lea    0x10(%ebx),%eax                
  1193fc:	50                   	push   %eax                           
  1193fd:	e8 d6 42 00 00       	call   11d6d8 <_Watchdog_Remove>      
        (*timer_server->schedule_operation)( timer_server, the_timer );
  119402:	58                   	pop    %eax                           
  119403:	5a                   	pop    %edx                           
  119404:	53                   	push   %ebx                           
  119405:	56                   	push   %esi                           
  119406:	ff 56 04             	call   *0x4(%esi)                     
  119409:	31 c0                	xor    %eax,%eax                      
  11940b:	83 c4 10             	add    $0x10,%esp                     
  11940e:	eb ab                	jmp    1193bb <rtems_timer_reset+0x43>
                                                                      

00119410 <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
  119410:	55                   	push   %ebp                           
  119411:	89 e5                	mov    %esp,%ebp                      
  119413:	57                   	push   %edi                           
  119414:	56                   	push   %esi                           
  119415:	53                   	push   %ebx                           
  119416:	83 ec 2c             	sub    $0x2c,%esp                     
  119419:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  11941c:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
  11941f:	8b 1d 00 4e 14 00    	mov    0x144e00,%ebx                  
                                                                      
  if ( !timer_server )                                                
  119425:	85 db                	test   %ebx,%ebx                      
  119427:	0f 84 9f 00 00 00    	je     1194cc <rtems_timer_server_fire_after+0xbc>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
  11942d:	85 f6                	test   %esi,%esi                      
  11942f:	0f 84 a3 00 00 00    	je     1194d8 <rtems_timer_server_fire_after+0xc8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
  119435:	85 ff                	test   %edi,%edi                      
  119437:	75 0f                	jne    119448 <rtems_timer_server_fire_after+0x38>
  119439:	b8 0a 00 00 00       	mov    $0xa,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11943e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  119441:	5b                   	pop    %ebx                           
  119442:	5e                   	pop    %esi                           
  119443:	5f                   	pop    %edi                           
  119444:	c9                   	leave                                 
  119445:	c3                   	ret                                   
  119446:	66 90                	xchg   %ax,%ax                        
  119448:	52                   	push   %edx                           
  119449:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11944c:	50                   	push   %eax                           
  11944d:	ff 75 08             	pushl  0x8(%ebp)                      
  119450:	68 c0 4d 14 00       	push   $0x144dc0                      
  119455:	e8 3e 25 00 00       	call   11b998 <_Objects_Get>          
  11945a:	89 c2                	mov    %eax,%edx                      
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  11945c:	83 c4 10             	add    $0x10,%esp                     
  11945f:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  119462:	85 c0                	test   %eax,%eax                      
  119464:	75 56                	jne    1194bc <rtems_timer_server_fire_after+0xac>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  119466:	83 ec 0c             	sub    $0xc,%esp                      
  119469:	8d 42 10             	lea    0x10(%edx),%eax                
  11946c:	50                   	push   %eax                           
  11946d:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  119470:	e8 63 42 00 00       	call   11d6d8 <_Watchdog_Remove>      
                                                                      
      _ISR_Disable( level );                                          
  119475:	9c                   	pushf                                 
  119476:	fa                   	cli                                   
  119477:	58                   	pop    %eax                           
        /*                                                            
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
  119478:	83 c4 10             	add    $0x10,%esp                     
  11947b:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11947e:	8b 4a 18             	mov    0x18(%edx),%ecx                
  119481:	85 c9                	test   %ecx,%ecx                      
  119483:	75 5f                	jne    1194e4 <rtems_timer_server_fire_after+0xd4>
        /*                                                            
         *  OK.  Now we now the timer was not rescheduled by an interrupt
         *  so we can atomically initialize it as in use.             
         */                                                           
                                                                      
        the_timer->the_class = TIMER_INTERVAL_ON_TASK;                
  119485:	c7 42 38 01 00 00 00 	movl   $0x1,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  11948c:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  119493:	89 72 2c             	mov    %esi,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  119496:	8b 4d 08             	mov    0x8(%ebp),%ecx                 
  119499:	89 4a 30             	mov    %ecx,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  11949c:	8b 4d 14             	mov    0x14(%ebp),%ecx                
  11949f:	89 4a 34             	mov    %ecx,0x34(%edx)                
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
  1194a2:	89 7a 1c             	mov    %edi,0x1c(%edx)                
      _ISR_Enable( level );                                           
  1194a5:	50                   	push   %eax                           
  1194a6:	9d                   	popf                                  
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1194a7:	83 ec 08             	sub    $0x8,%esp                      
  1194aa:	52                   	push   %edx                           
  1194ab:	53                   	push   %ebx                           
  1194ac:	ff 53 04             	call   *0x4(%ebx)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1194af:	e8 c8 2d 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1194b4:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  1194b6:	83 c4 10             	add    $0x10,%esp                     
  1194b9:	eb 83                	jmp    11943e <rtems_timer_server_fire_after+0x2e>
  1194bb:	90                   	nop                                   
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  1194bc:	b8 04 00 00 00       	mov    $0x4,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1194c1:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1194c4:	5b                   	pop    %ebx                           
  1194c5:	5e                   	pop    %esi                           
  1194c6:	5f                   	pop    %edi                           
  1194c7:	c9                   	leave                                 
  1194c8:	c3                   	ret                                   
  1194c9:	8d 76 00             	lea    0x0(%esi),%esi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
  1194cc:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  1194d1:	e9 68 ff ff ff       	jmp    11943e <rtems_timer_server_fire_after+0x2e>
  1194d6:	66 90                	xchg   %ax,%ax                        
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
  1194d8:	b8 09 00 00 00       	mov    $0x9,%eax                      
  1194dd:	e9 5c ff ff ff       	jmp    11943e <rtems_timer_server_fire_after+0x2e>
  1194e2:	66 90                	xchg   %ax,%ax                        
         *  Check to see if the watchdog has just been inserted by a  
         *  higher priority interrupt.  If so, abandon this insert.   
         */                                                           
                                                                      
        if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {         
          _ISR_Enable( level );                                       
  1194e4:	50                   	push   %eax                           
  1194e5:	9d                   	popf                                  
          _Thread_Enable_dispatch();                                  
  1194e6:	e8 91 2d 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1194eb:	31 c0                	xor    %eax,%eax                      
          return RTEMS_SUCCESSFUL;                                    
  1194ed:	e9 4c ff ff ff       	jmp    11943e <rtems_timer_server_fire_after+0x2e>
                                                                      

001194f4 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
  1194f4:	55                   	push   %ebp                           
  1194f5:	89 e5                	mov    %esp,%ebp                      
  1194f7:	57                   	push   %edi                           
  1194f8:	56                   	push   %esi                           
  1194f9:	53                   	push   %ebx                           
  1194fa:	83 ec 2c             	sub    $0x2c,%esp                     
  1194fd:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  119500:	8b 75 10             	mov    0x10(%ebp),%esi                
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
  119503:	8b 1d 00 4e 14 00    	mov    0x144e00,%ebx                  
                                                                      
  if ( !timer_server )                                                
  119509:	85 db                	test   %ebx,%ebx                      
  11950b:	0f 84 d7 00 00 00    	je     1195e8 <rtems_timer_server_fire_when+0xf4>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  119511:	80 3d 6c 43 14 00 00 	cmpb   $0x0,0x14436c                  
  119518:	0f 84 aa 00 00 00    	je     1195c8 <rtems_timer_server_fire_when+0xd4><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  11951e:	85 f6                	test   %esi,%esi                      
  119520:	0f 84 b2 00 00 00    	je     1195d8 <rtems_timer_server_fire_when+0xe4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
  119526:	83 ec 0c             	sub    $0xc,%esp                      
  119529:	57                   	push   %edi                           
  11952a:	e8 7d d1 ff ff       	call   1166ac <_TOD_Validate>         
  11952f:	83 c4 10             	add    $0x10,%esp                     
  119532:	84 c0                	test   %al,%al                        
  119534:	75 0e                	jne    119544 <rtems_timer_server_fire_when+0x50>
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
  119536:	b8 14 00 00 00       	mov    $0x14,%eax                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  11953b:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  11953e:	5b                   	pop    %ebx                           
  11953f:	5e                   	pop    %esi                           
  119540:	5f                   	pop    %edi                           
  119541:	c9                   	leave                                 
  119542:	c3                   	ret                                   
  119543:	90                   	nop                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  119544:	83 ec 0c             	sub    $0xc,%esp                      
  119547:	57                   	push   %edi                           
  119548:	e8 d3 d0 ff ff       	call   116620 <_TOD_To_seconds>       
  11954d:	89 c7                	mov    %eax,%edi                      
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
  11954f:	83 c4 10             	add    $0x10,%esp                     
  119552:	3b 05 ec 43 14 00    	cmp    0x1443ec,%eax                  
  119558:	76 dc                	jbe    119536 <rtems_timer_server_fire_when+0x42>
  11955a:	52                   	push   %edx                           
  11955b:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  11955e:	50                   	push   %eax                           
  11955f:	ff 75 08             	pushl  0x8(%ebp)                      
  119562:	68 c0 4d 14 00       	push   $0x144dc0                      
  119567:	e8 2c 24 00 00       	call   11b998 <_Objects_Get>          
  11956c:	89 c2                	mov    %eax,%edx                      
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  11956e:	83 c4 10             	add    $0x10,%esp                     
  119571:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  119574:	85 c0                	test   %eax,%eax                      
  119576:	75 7c                	jne    1195f4 <rtems_timer_server_fire_when+0x100>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
  119578:	83 ec 0c             	sub    $0xc,%esp                      
  11957b:	8d 42 10             	lea    0x10(%edx),%eax                
  11957e:	50                   	push   %eax                           
  11957f:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  119582:	e8 51 41 00 00       	call   11d6d8 <_Watchdog_Remove>      
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
  119587:	8b 55 d4             	mov    -0x2c(%ebp),%edx               
  11958a:	c7 42 38 03 00 00 00 	movl   $0x3,0x38(%edx)                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  119591:	c7 42 18 00 00 00 00 	movl   $0x0,0x18(%edx)                
  the_watchdog->routine   = routine;                                  
  119598:	89 72 2c             	mov    %esi,0x2c(%edx)                
  the_watchdog->id        = id;                                       
  11959b:	8b 45 08             	mov    0x8(%ebp),%eax                 
  11959e:	89 42 30             	mov    %eax,0x30(%edx)                
  the_watchdog->user_data = user_data;                                
  1195a1:	8b 45 14             	mov    0x14(%ebp),%eax                
  1195a4:	89 42 34             	mov    %eax,0x34(%edx)                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
  1195a7:	2b 3d ec 43 14 00    	sub    0x1443ec,%edi                  
  1195ad:	89 7a 1c             	mov    %edi,0x1c(%edx)                
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
  1195b0:	58                   	pop    %eax                           
  1195b1:	59                   	pop    %ecx                           
  1195b2:	52                   	push   %edx                           
  1195b3:	53                   	push   %ebx                           
  1195b4:	ff 53 04             	call   *0x4(%ebx)                     
                                                                      
      _Thread_Enable_dispatch();                                      
  1195b7:	e8 c0 2c 00 00       	call   11c27c <_Thread_Enable_dispatch>
  1195bc:	31 c0                	xor    %eax,%eax                      
      return RTEMS_SUCCESSFUL;                                        
  1195be:	83 c4 10             	add    $0x10,%esp                     
  1195c1:	e9 75 ff ff ff       	jmp    11953b <rtems_timer_server_fire_when+0x47>
  1195c6:	66 90                	xchg   %ax,%ax                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
  1195c8:	b8 0b 00 00 00       	mov    $0xb,%eax                      <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1195cd:	8d 65 f4             	lea    -0xc(%ebp),%esp                <== NOT EXECUTED
  1195d0:	5b                   	pop    %ebx                           <== NOT EXECUTED
  1195d1:	5e                   	pop    %esi                           <== NOT EXECUTED
  1195d2:	5f                   	pop    %edi                           <== NOT EXECUTED
  1195d3:	c9                   	leave                                 <== NOT EXECUTED
  1195d4:	c3                   	ret                                   <== NOT EXECUTED
  1195d5:	8d 76 00             	lea    0x0(%esi),%esi                 <== NOT EXECUTED
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
  1195d8:	b8 09 00 00 00       	mov    $0x9,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
  1195dd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  1195e0:	5b                   	pop    %ebx                           
  1195e1:	5e                   	pop    %esi                           
  1195e2:	5f                   	pop    %edi                           
  1195e3:	c9                   	leave                                 
  1195e4:	c3                   	ret                                   
  1195e5:	8d 76 00             	lea    0x0(%esi),%esi                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
  1195e8:	b8 0e 00 00 00       	mov    $0xe,%eax                      
  1195ed:	e9 49 ff ff ff       	jmp    11953b <rtems_timer_server_fire_when+0x47>
  1195f2:	66 90                	xchg   %ax,%ax                        
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
  1195f4:	b8 04 00 00 00       	mov    $0x4,%eax                      
  1195f9:	e9 3d ff ff ff       	jmp    11953b <rtems_timer_server_fire_when+0x47>
                                                                      

0010c4ac <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
  10c4ac:	55                   	push   %ebp                           
  10c4ad:	89 e5                	mov    %esp,%ebp                      
  10c4af:	83 ec 08             	sub    $0x8,%esp                      
  10c4b2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  switch ( policy ) {                                                 
  10c4b5:	85 c0                	test   %eax,%eax                      
  10c4b7:	78 0a                	js     10c4c3 <sched_get_priority_max+0x17>
  10c4b9:	83 f8 02             	cmp    $0x2,%eax                      
  10c4bc:	7e 1a                	jle    10c4d8 <sched_get_priority_max+0x2c>
  10c4be:	83 f8 04             	cmp    $0x4,%eax                      
  10c4c1:	74 15                	je     10c4d8 <sched_get_priority_max+0x2c><== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10c4c3:	e8 14 9a 00 00       	call   115edc <__errno>               
  10c4c8:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c4ce:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
}                                                                     
  10c4d3:	c9                   	leave                                 
  10c4d4:	c3                   	ret                                   
  10c4d5:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
  10c4d8:	0f b6 05 7c 67 12 00 	movzbl 0x12677c,%eax                  
  10c4df:	48                   	dec    %eax                           
}                                                                     
  10c4e0:	c9                   	leave                                 
  10c4e1:	c3                   	ret                                   
                                                                      

0010c4e4 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
  10c4e4:	55                   	push   %ebp                           
  10c4e5:	89 e5                	mov    %esp,%ebp                      
  10c4e7:	83 ec 08             	sub    $0x8,%esp                      
  10c4ea:	8b 45 08             	mov    0x8(%ebp),%eax                 
  switch ( policy ) {                                                 
  10c4ed:	85 c0                	test   %eax,%eax                      
  10c4ef:	78 0a                	js     10c4fb <sched_get_priority_min+0x17>
  10c4f1:	83 f8 02             	cmp    $0x2,%eax                      
  10c4f4:	7e 1a                	jle    10c510 <sched_get_priority_min+0x2c><== ALWAYS TAKEN
  10c4f6:	83 f8 04             	cmp    $0x4,%eax                      <== NOT EXECUTED
  10c4f9:	74 15                	je     10c510 <sched_get_priority_min+0x2c><== NOT EXECUTED
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10c4fb:	e8 dc 99 00 00       	call   115edc <__errno>               
  10c500:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c506:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
  10c50b:	c9                   	leave                                 
  10c50c:	c3                   	ret                                   
  10c50d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
  10c510:	b8 01 00 00 00       	mov    $0x1,%eax                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
  10c515:	c9                   	leave                                 
  10c516:	c3                   	ret                                   
                                                                      

0010c518 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
  10c518:	55                   	push   %ebp                           
  10c519:	89 e5                	mov    %esp,%ebp                      
  10c51b:	56                   	push   %esi                           
  10c51c:	53                   	push   %ebx                           
  10c51d:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c520:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
  10c523:	85 f6                	test   %esi,%esi                      
  10c525:	75 21                	jne    10c548 <sched_rr_get_interval+0x30><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
  10c527:	85 db                	test   %ebx,%ebx                      
  10c529:	74 38                	je     10c563 <sched_rr_get_interval+0x4b>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  10c52b:	83 ec 08             	sub    $0x8,%esp                      
  10c52e:	53                   	push   %ebx                           
  10c52f:	ff 35 24 a9 12 00    	pushl  0x12a924                       
  10c535:	e8 62 34 00 00       	call   10f99c <_Timespec_From_ticks>  
  10c53a:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
  10c53c:	83 c4 10             	add    $0x10,%esp                     
}                                                                     
  10c53f:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10c542:	5b                   	pop    %ebx                           
  10c543:	5e                   	pop    %esi                           
  10c544:	c9                   	leave                                 
  10c545:	c3                   	ret                                   
  10c546:	66 90                	xchg   %ax,%ax                        
{                                                                     
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
  10c548:	e8 63 c7 ff ff       	call   108cb0 <getpid>                
  10c54d:	39 f0                	cmp    %esi,%eax                      
  10c54f:	74 d6                	je     10c527 <sched_rr_get_interval+0xf>
    rtems_set_errno_and_return_minus_one( ESRCH );                    
  10c551:	e8 86 99 00 00       	call   115edc <__errno>               
  10c556:	c7 00 03 00 00 00    	movl   $0x3,(%eax)                    
  10c55c:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10c561:	eb dc                	jmp    10c53f <sched_rr_get_interval+0x27>
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10c563:	e8 74 99 00 00       	call   115edc <__errno>               
  10c568:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c56e:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10c573:	eb ca                	jmp    10c53f <sched_rr_get_interval+0x27>
                                                                      

0010ea1c <sem_close>: */ int sem_close( sem_t *sem ) {
  10ea1c:	55                   	push   %ebp                           
  10ea1d:	89 e5                	mov    %esp,%ebp                      
  10ea1f:	83 ec 1c             	sub    $0x1c,%esp                     
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (  
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
  10ea22:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ea25:	50                   	push   %eax                           
  10ea26:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ea29:	ff 30                	pushl  (%eax)                         
  10ea2b:	68 00 f6 12 00       	push   $0x12f600                      
  10ea30:	e8 53 21 00 00       	call   110b88 <_Objects_Get>          
  register POSIX_Semaphore_Control *the_semaphore;                    
  Objects_Locations                 location;                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
  10ea35:	83 c4 10             	add    $0x10,%esp                     
  10ea38:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ea3b:	85 d2                	test   %edx,%edx                      
  10ea3d:	74 15                	je     10ea54 <sem_close+0x38>        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10ea3f:	e8 b4 a8 00 00       	call   1192f8 <__errno>               
  10ea44:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ea4a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10ea4f:	c9                   	leave                                 
  10ea50:	c3                   	ret                                   
  10ea51:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      the_semaphore->open_count -= 1;                                 
  10ea54:	ff 48 18             	decl   0x18(%eax)                     
      _POSIX_Semaphore_Delete( the_semaphore );                       
  10ea57:	83 ec 0c             	sub    $0xc,%esp                      
  10ea5a:	50                   	push   %eax                           
  10ea5b:	e8 1c 6c 00 00       	call   11567c <_POSIX_Semaphore_Delete>
      _Thread_Enable_dispatch();                                      
  10ea60:	e8 e7 29 00 00       	call   11144c <_Thread_Enable_dispatch>
  10ea65:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10ea67:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10ea6a:	c9                   	leave                                 
  10ea6b:	c3                   	ret                                   
                                                                      

0010ea6c <sem_destroy>: */ int sem_destroy( sem_t *sem ) {
  10ea6c:	55                   	push   %ebp                           
  10ea6d:	89 e5                	mov    %esp,%ebp                      
  10ea6f:	83 ec 1c             	sub    $0x1c,%esp                     
  10ea72:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ea75:	50                   	push   %eax                           
  10ea76:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10ea79:	ff 30                	pushl  (%eax)                         
  10ea7b:	68 00 f6 12 00       	push   $0x12f600                      
  10ea80:	e8 03 21 00 00       	call   110b88 <_Objects_Get>          
  register POSIX_Semaphore_Control *the_semaphore;                    
  Objects_Locations                 location;                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
  10ea85:	83 c4 10             	add    $0x10,%esp                     
  10ea88:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10ea8b:	85 d2                	test   %edx,%edx                      
  10ea8d:	74 15                	je     10eaa4 <sem_destroy+0x38>      
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10ea8f:	e8 64 a8 00 00       	call   1192f8 <__errno>               
  10ea94:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ea9a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10ea9f:	c9                   	leave                                 
  10eaa0:	c3                   	ret                                   
  10eaa1:	8d 76 00             	lea    0x0(%esi),%esi                 
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Undefined operation on a named semaphore.                   
       */                                                             
                                                                      
      if ( the_semaphore->named == true ) {                           
  10eaa4:	80 78 14 00          	cmpb   $0x0,0x14(%eax)                
  10eaa8:	75 16                	jne    10eac0 <sem_destroy+0x54>      
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EINVAL );               
      }                                                               
                                                                      
      _POSIX_Semaphore_Delete( the_semaphore );                       
  10eaaa:	83 ec 0c             	sub    $0xc,%esp                      
  10eaad:	50                   	push   %eax                           
  10eaae:	e8 c9 6b 00 00       	call   11567c <_POSIX_Semaphore_Delete>
      _Thread_Enable_dispatch();                                      
  10eab3:	e8 94 29 00 00       	call   11144c <_Thread_Enable_dispatch>
  10eab8:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10eaba:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10eabd:	c9                   	leave                                 
  10eabe:	c3                   	ret                                   
  10eabf:	90                   	nop                                   
      /*                                                              
       *  Undefined operation on a named semaphore.                   
       */                                                             
                                                                      
      if ( the_semaphore->named == true ) {                           
        _Thread_Enable_dispatch();                                    
  10eac0:	e8 87 29 00 00       	call   11144c <_Thread_Enable_dispatch>
        rtems_set_errno_and_return_minus_one( EINVAL );               
  10eac5:	e8 2e a8 00 00       	call   1192f8 <__errno>               
  10eaca:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10ead0:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10ead5:	c9                   	leave                                 
  10ead6:	c3                   	ret                                   
                                                                      

0010ead8 <sem_getvalue>: int sem_getvalue( sem_t *sem, int *sval ) {
  10ead8:	55                   	push   %ebp                           
  10ead9:	89 e5                	mov    %esp,%ebp                      
  10eadb:	83 ec 1c             	sub    $0x1c,%esp                     
  10eade:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10eae1:	50                   	push   %eax                           
  10eae2:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10eae5:	ff 30                	pushl  (%eax)                         
  10eae7:	68 00 f6 12 00       	push   $0x12f600                      
  10eaec:	e8 97 20 00 00       	call   110b88 <_Objects_Get>          
  register POSIX_Semaphore_Control *the_semaphore;                    
  Objects_Locations                 location;                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
  10eaf1:	83 c4 10             	add    $0x10,%esp                     
  10eaf4:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10eaf7:	85 d2                	test   %edx,%edx                      
  10eaf9:	74 15                	je     10eb10 <sem_getvalue+0x38>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10eafb:	e8 f8 a7 00 00       	call   1192f8 <__errno>               
  10eb00:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10eb06:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10eb0b:	c9                   	leave                                 
  10eb0c:	c3                   	ret                                   
  10eb0d:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      *sval = _CORE_semaphore_Get_count( &the_semaphore->Semaphore ); 
  10eb10:	8b 50 64             	mov    0x64(%eax),%edx                
  10eb13:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10eb16:	89 10                	mov    %edx,(%eax)                    
      _Thread_Enable_dispatch();                                      
  10eb18:	e8 2f 29 00 00       	call   11144c <_Thread_Enable_dispatch>
  10eb1d:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10eb1f:	c9                   	leave                                 
  10eb20:	c3                   	ret                                   
                                                                      

0010eb6c <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
  10eb6c:	55                   	push   %ebp                           
  10eb6d:	89 e5                	mov    %esp,%ebp                      
  10eb6f:	57                   	push   %edi                           
  10eb70:	56                   	push   %esi                           
  10eb71:	53                   	push   %ebx                           
  10eb72:	83 ec 2c             	sub    $0x2c,%esp                     
  10eb75:	8b 75 08             	mov    0x8(%ebp),%esi                 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10eb78:	a1 b8 f2 12 00       	mov    0x12f2b8,%eax                  
  10eb7d:	40                   	inc    %eax                           
  10eb7e:	a3 b8 f2 12 00       	mov    %eax,0x12f2b8                  
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
  10eb83:	8b 7d 0c             	mov    0xc(%ebp),%edi                 
  10eb86:	81 e7 00 02 00 00    	and    $0x200,%edi                    
  10eb8c:	0f 85 86 00 00 00    	jne    10ec18 <sem_open+0xac>         
  10eb92:	c7 45 d4 00 00 00 00 	movl   $0x0,-0x2c(%ebp)               
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  10eb99:	83 ec 08             	sub    $0x8,%esp                      
  10eb9c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10eb9f:	50                   	push   %eax                           
  10eba0:	56                   	push   %esi                           
  10eba1:	e8 26 6b 00 00       	call   1156cc <_POSIX_Semaphore_Name_to_id>
  10eba6:	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 ) {                                                     
  10eba8:	83 c4 10             	add    $0x10,%esp                     
  10ebab:	85 c0                	test   %eax,%eax                      
  10ebad:	74 25                	je     10ebd4 <sem_open+0x68>         
    /*                                                                
     * 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) ) ) {               
  10ebaf:	83 f8 02             	cmp    $0x2,%eax                      
  10ebb2:	75 04                	jne    10ebb8 <sem_open+0x4c>         <== NEVER TAKEN
  10ebb4:	85 ff                	test   %edi,%edi                      
  10ebb6:	75 6c                	jne    10ec24 <sem_open+0xb8>         
      _Thread_Enable_dispatch();                                      
  10ebb8:	e8 8f 28 00 00       	call   11144c <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
  10ebbd:	e8 36 a7 00 00       	call   1192f8 <__errno>               
  10ebc2:	89 18                	mov    %ebx,(%eax)                    
  10ebc4:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
  10ebc9:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ebcc:	5b                   	pop    %ebx                           
  10ebcd:	5e                   	pop    %esi                           
  10ebce:	5f                   	pop    %edi                           
  10ebcf:	c9                   	leave                                 
  10ebd0:	c3                   	ret                                   
  10ebd1:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
  10ebd4:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10ebd7:	25 00 0a 00 00       	and    $0xa00,%eax                    
  10ebdc:	3d 00 0a 00 00       	cmp    $0xa00,%eax                    
  10ebe1:	74 65                	je     10ec48 <sem_open+0xdc>         
  10ebe3:	50                   	push   %eax                           
  10ebe4:	8d 45 dc             	lea    -0x24(%ebp),%eax               
  10ebe7:	50                   	push   %eax                           
  10ebe8:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10ebeb:	68 00 f6 12 00       	push   $0x12f600                      
  10ebf0:	e8 93 1f 00 00       	call   110b88 <_Objects_Get>          
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
  10ebf5:	89 45 e0             	mov    %eax,-0x20(%ebp)               
    the_semaphore->open_count += 1;                                   
  10ebf8:	ff 40 18             	incl   0x18(%eax)                     
    _Thread_Enable_dispatch();                                        
  10ebfb:	e8 4c 28 00 00       	call   11144c <_Thread_Enable_dispatch>
    _Thread_Enable_dispatch();                                        
  10ec00:	e8 47 28 00 00       	call   11144c <_Thread_Enable_dispatch>
    goto return_id;                                                   
  10ec05:	83 c4 10             	add    $0x10,%esp                     
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;                          
  10ec08:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10ec0b:	83 c0 08             	add    $0x8,%eax                      
  #endif                                                              
  return id;                                                          
}                                                                     
  10ec0e:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ec11:	5b                   	pop    %ebx                           
  10ec12:	5e                   	pop    %esi                           
  10ec13:	5f                   	pop    %edi                           
  10ec14:	c9                   	leave                                 
  10ec15:	c3                   	ret                                   
  10ec16:	66 90                	xchg   %ax,%ax                        
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
  10ec18:	8b 45 14             	mov    0x14(%ebp),%eax                
  10ec1b:	89 45 d4             	mov    %eax,-0x2c(%ebp)               
  10ec1e:	e9 76 ff ff ff       	jmp    10eb99 <sem_open+0x2d>         
  10ec23:	90                   	nop                                   
  /*                                                                  
   *  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(                            
  10ec24:	8d 45 e0             	lea    -0x20(%ebp),%eax               
  10ec27:	50                   	push   %eax                           
  10ec28:	ff 75 d4             	pushl  -0x2c(%ebp)                    
  10ec2b:	6a 00                	push   $0x0                           
  10ec2d:	56                   	push   %esi                           
  10ec2e:	e8 3d 69 00 00       	call   115570 <_POSIX_Semaphore_Create_support>
  10ec33:	89 c3                	mov    %eax,%ebx                      
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
  10ec35:	e8 12 28 00 00       	call   11144c <_Thread_Enable_dispatch>
                                                                      
  if ( status == -1 )                                                 
  10ec3a:	83 c4 10             	add    $0x10,%esp                     
  10ec3d:	43                   	inc    %ebx                           
  10ec3e:	75 c8                	jne    10ec08 <sem_open+0x9c>         
  10ec40:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10ec45:	eb c7                	jmp    10ec0e <sem_open+0xa2>         
  10ec47:	90                   	nop                                   
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
  10ec48:	e8 ff 27 00 00       	call   11144c <_Thread_Enable_dispatch>
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
  10ec4d:	e8 a6 a6 00 00       	call   1192f8 <__errno>               
  10ec52:	c7 00 11 00 00 00    	movl   $0x11,(%eax)                   
  10ec58:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10ec5d:	eb af                	jmp    10ec0e <sem_open+0xa2>         
                                                                      

0010c11c <sem_post>: */ int sem_post( sem_t *sem ) {
  10c11c:	55                   	push   %ebp                           
  10c11d:	89 e5                	mov    %esp,%ebp                      
  10c11f:	83 ec 1c             	sub    $0x1c,%esp                     
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (  
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
  10c122:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c125:	50                   	push   %eax                           
  10c126:	8b 45 08             	mov    0x8(%ebp),%eax                 
  10c129:	ff 30                	pushl  (%eax)                         
  10c12b:	68 80 97 12 00       	push   $0x129780                      
  10c130:	e8 2b 1f 00 00       	call   10e060 <_Objects_Get>          
  register POSIX_Semaphore_Control *the_semaphore;                    
  Objects_Locations                 location;                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
  10c135:	83 c4 10             	add    $0x10,%esp                     
  10c138:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10c13b:	85 c9                	test   %ecx,%ecx                      
  10c13d:	74 15                	je     10c154 <sem_post+0x38>         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10c13f:	e8 fc 9c 00 00       	call   115e40 <__errno>               
  10c144:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c14a:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10c14f:	c9                   	leave                                 
  10c150:	c3                   	ret                                   
  10c151:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_semaphore_Surrender(                                      
  10c154:	52                   	push   %edx                           
  10c155:	6a 00                	push   $0x0                           
  10c157:	ff 70 08             	pushl  0x8(%eax)                      
  10c15a:	83 c0 1c             	add    $0x1c,%eax                     
  10c15d:	50                   	push   %eax                           
  10c15e:	e8 41 15 00 00       	call   10d6a4 <_CORE_semaphore_Surrender>
        NULL         /* XXX need to define a routine to handle this case */
#else                                                                 
        NULL                                                          
#endif                                                                
      );                                                              
      _Thread_Enable_dispatch();                                      
  10c163:	e8 6c 27 00 00       	call   10e8d4 <_Thread_Enable_dispatch>
  10c168:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10c16a:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10c16d:	c9                   	leave                                 
  10c16e:	c3                   	ret                                   
                                                                      

0010ecb4 <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
  10ecb4:	55                   	push   %ebp                           
  10ecb5:	89 e5                	mov    %esp,%ebp                      
  10ecb7:	53                   	push   %ebx                           
  10ecb8:	83 ec 1c             	sub    $0x1c,%esp                     
  10ecbb:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
   *                                                                  
   *  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 );       
  10ecbe:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10ecc1:	50                   	push   %eax                           
  10ecc2:	ff 75 0c             	pushl  0xc(%ebp)                      
  10ecc5:	e8 b6 5f 00 00       	call   114c80 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
  10ecca:	83 c4 10             	add    $0x10,%esp                     
  10eccd:	83 f8 03             	cmp    $0x3,%eax                      
  10ecd0:	74 16                	je     10ece8 <sem_timedwait+0x34>    <== ALWAYS TAKEN
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
  10ecd2:	50                   	push   %eax                           <== NOT EXECUTED
  10ecd3:	ff 75 f4             	pushl  -0xc(%ebp)                     <== NOT EXECUTED
  10ecd6:	6a 00                	push   $0x0                           <== NOT EXECUTED
  10ecd8:	53                   	push   %ebx                           <== NOT EXECUTED
  10ecd9:	e8 5a 6a 00 00       	call   115738 <_POSIX_Semaphore_Wait_support><== NOT EXECUTED
  10ecde:	83 c4 10             	add    $0x10,%esp                     <== NOT EXECUTED
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
  10ece1:	8b 5d fc             	mov    -0x4(%ebp),%ebx                <== NOT EXECUTED
  10ece4:	c9                   	leave                                 <== NOT EXECUTED
  10ece5:	c3                   	ret                                   <== NOT EXECUTED
  10ece6:	66 90                	xchg   %ax,%ax                        <== NOT EXECUTED
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
  10ece8:	52                   	push   %edx                           
  10ece9:	ff 75 f4             	pushl  -0xc(%ebp)                     
  10ecec:	6a 01                	push   $0x1                           
  10ecee:	53                   	push   %ebx                           
  10ecef:	e8 44 6a 00 00       	call   115738 <_POSIX_Semaphore_Wait_support>
  10ecf4:	83 c4 10             	add    $0x10,%esp                     
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
  10ecf7:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10ecfa:	c9                   	leave                                 
  10ecfb:	c3                   	ret                                   
                                                                      

0010b8f8 <setitimer>: int setitimer( int which, const struct itimerval *value, struct itimerval *ovalue ) {
  10b8f8:	55                   	push   %ebp                           
  10b8f9:	89 e5                	mov    %esp,%ebp                      
  10b8fb:	83 ec 08             	sub    $0x8,%esp                      
  if ( !value )                                                       
  10b8fe:	8b 55 0c             	mov    0xc(%ebp),%edx                 
  10b901:	85 d2                	test   %edx,%edx                      
  10b903:	74 33                	je     10b938 <setitimer+0x40>        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !ovalue )                                                      
  10b905:	8b 45 10             	mov    0x10(%ebp),%eax                
  10b908:	85 c0                	test   %eax,%eax                      
  10b90a:	74 2c                	je     10b938 <setitimer+0x40>        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  switch ( which ) {                                                  
  10b90c:	83 7d 08 02          	cmpl   $0x2,0x8(%ebp)                 
  10b910:	76 12                	jbe    10b924 <setitimer+0x2c>        
    case ITIMER_PROF:                                                 
      rtems_set_errno_and_return_minus_one( ENOSYS );                 
    default:                                                          
      break;                                                          
  }                                                                   
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10b912:	e8 11 a0 00 00       	call   115928 <__errno>               
  10b917:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
}                                                                     
  10b91d:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b922:	c9                   	leave                                 
  10b923:	c3                   	ret                                   
                                                                      
  switch ( which ) {                                                  
    case ITIMER_REAL:                                                 
    case ITIMER_VIRTUAL:                                              
    case ITIMER_PROF:                                                 
      rtems_set_errno_and_return_minus_one( ENOSYS );                 
  10b924:	e8 ff 9f 00 00       	call   115928 <__errno>               
  10b929:	c7 00 58 00 00 00    	movl   $0x58,(%eax)                   
    default:                                                          
      break;                                                          
  }                                                                   
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b92f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10b934:	c9                   	leave                                 
  10b935:	c3                   	ret                                   
  10b936:	66 90                	xchg   %ax,%ax                        
{                                                                     
  if ( !value )                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !ovalue )                                                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
  10b938:	e8 eb 9f 00 00       	call   115928 <__errno>               
  10b93d:	c7 00 0e 00 00 00    	movl   $0xe,(%eax)                    
  10b943:	eb d8                	jmp    10b91d <setitimer+0x25>        
                                                                      

0010c358 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
  10c358:	55                   	push   %ebp                           
  10c359:	89 e5                	mov    %esp,%ebp                      
  10c35b:	57                   	push   %edi                           
  10c35c:	56                   	push   %esi                           
  10c35d:	53                   	push   %ebx                           
  10c35e:	83 ec 1c             	sub    $0x1c,%esp                     
  10c361:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
  10c364:	8b 45 0c             	mov    0xc(%ebp),%eax                 
  10c367:	8b 55 10             	mov    0x10(%ebp),%edx                
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
  10c36a:	85 d2                	test   %edx,%edx                      
  10c36c:	74 13                	je     10c381 <sigaction+0x29>        
    *oact = _POSIX_signals_Vectors[ sig ];                            
  10c36e:	8d 0c 5b             	lea    (%ebx,%ebx,2),%ecx             
  10c371:	8d 34 8d c0 bb 12 00 	lea    0x12bbc0(,%ecx,4),%esi         
  10c378:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10c37d:	89 d7                	mov    %edx,%edi                      
  10c37f:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  if ( !sig )                                                         
  10c381:	85 db                	test   %ebx,%ebx                      
  10c383:	74 6f                	je     10c3f4 <sigaction+0x9c>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
  10c385:	8d 53 ff             	lea    -0x1(%ebx),%edx                
  10c388:	83 fa 1f             	cmp    $0x1f,%edx                     
  10c38b:	77 67                	ja     10c3f4 <sigaction+0x9c>        
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
  10c38d:	83 fb 09             	cmp    $0x9,%ebx                      
  10c390:	74 62                	je     10c3f4 <sigaction+0x9c>        
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
  10c392:	85 c0                	test   %eax,%eax                      
  10c394:	74 37                	je     10c3cd <sigaction+0x75>        <== 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 );                                            
  10c396:	9c                   	pushf                                 
  10c397:	fa                   	cli                                   
  10c398:	8f 45 e4             	popl   -0x1c(%ebp)                    
      if ( act->sa_handler == SIG_DFL ) {                             
  10c39b:	8b 50 08             	mov    0x8(%eax),%edx                 
  10c39e:	85 d2                	test   %edx,%edx                      
  10c3a0:	74 36                	je     10c3d8 <sigaction+0x80>        
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
  10c3a2:	83 ec 0c             	sub    $0xc,%esp                      
  10c3a5:	53                   	push   %ebx                           
  10c3a6:	89 45 e0             	mov    %eax,-0x20(%ebp)               
  10c3a9:	e8 46 62 00 00       	call   1125f4 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
  10c3ae:	8d 14 5b             	lea    (%ebx,%ebx,2),%edx             
  10c3b1:	8d 3c 95 c0 bb 12 00 	lea    0x12bbc0(,%edx,4),%edi         
  10c3b8:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10c3bd:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10c3c0:	89 c6                	mov    %eax,%esi                      
  10c3c2:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10c3c4:	83 c4 10             	add    $0x10,%esp                     
      }                                                               
    _ISR_Enable( level );                                             
  10c3c7:	ff 75 e4             	pushl  -0x1c(%ebp)                    
  10c3ca:	9d                   	popf                                  
  10c3cb:	31 c0                	xor    %eax,%eax                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
  10c3cd:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c3d0:	5b                   	pop    %ebx                           
  10c3d1:	5e                   	pop    %esi                           
  10c3d2:	5f                   	pop    %edi                           
  10c3d3:	c9                   	leave                                 
  10c3d4:	c3                   	ret                                   
  10c3d5:	8d 76 00             	lea    0x0(%esi),%esi                 
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
  10c3d8:	8d 34 5b             	lea    (%ebx,%ebx,2),%esi             
  10c3db:	c1 e6 02             	shl    $0x2,%esi                      
  10c3de:	8d be c0 bb 12 00    	lea    0x12bbc0(%esi),%edi            
  10c3e4:	81 c6 00 50 12 00    	add    $0x125000,%esi                 
  10c3ea:	b9 03 00 00 00       	mov    $0x3,%ecx                      
  10c3ef:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
  10c3f1:	eb d4                	jmp    10c3c7 <sigaction+0x6f>        
  10c3f3:	90                   	nop                                   
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  10c3f4:	e8 53 9c 00 00       	call   11604c <__errno>               
  10c3f9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c3ff:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10c404:	eb c7                	jmp    10c3cd <sigaction+0x75>        
                                                                      

0010e0fc <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
  10e0fc:	55                   	push   %ebp                           
  10e0fd:	89 e5                	mov    %esp,%ebp                      
  10e0ff:	56                   	push   %esi                           
  10e100:	53                   	push   %ebx                           
  10e101:	83 ec 14             	sub    $0x14,%esp                     
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
  10e104:	8d 5d f4             	lea    -0xc(%ebp),%ebx                
  10e107:	53                   	push   %ebx                           
  10e108:	ff 75 08             	pushl  0x8(%ebp)                      
  10e10b:	6a 01                	push   $0x1                           
  10e10d:	e8 c6 ff ff ff       	call   10e0d8 <sigprocmask>           
                                                                      
  (void) sigfillset( &all_signals );                                  
  10e112:	8d 75 f0             	lea    -0x10(%ebp),%esi               
  10e115:	89 34 24             	mov    %esi,(%esp)                    
  10e118:	e8 0f ff ff ff       	call   10e02c <sigfillset>            
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
  10e11d:	83 c4 0c             	add    $0xc,%esp                      
  10e120:	6a 00                	push   $0x0                           
  10e122:	6a 00                	push   $0x0                           
  10e124:	56                   	push   %esi                           
  10e125:	e8 76 00 00 00       	call   10e1a0 <sigtimedwait>          
  10e12a:	89 c6                	mov    %eax,%esi                      
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
  10e12c:	83 c4 0c             	add    $0xc,%esp                      
  10e12f:	6a 00                	push   $0x0                           
  10e131:	53                   	push   %ebx                           
  10e132:	6a 00                	push   $0x0                           
  10e134:	e8 9f ff ff ff       	call   10e0d8 <sigprocmask>           
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
  10e139:	83 c4 10             	add    $0x10,%esp                     
  10e13c:	46                   	inc    %esi                           
  10e13d:	75 0d                	jne    10e14c <sigsuspend+0x50>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINTR );                    
                                                                      
  return status;                                                      
}                                                                     
  10e13f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10e144:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10e147:	5b                   	pop    %ebx                           
  10e148:	5e                   	pop    %esi                           
  10e149:	c9                   	leave                                 
  10e14a:	c3                   	ret                                   
  10e14b:	90                   	nop                                   
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
    rtems_set_errno_and_return_minus_one( EINTR );                    
  10e14c:	e8 a7 99 00 00       	call   117af8 <__errno>               
  10e151:	c7 00 04 00 00 00    	movl   $0x4,(%eax)                    
  10e157:	eb e6                	jmp    10e13f <sigsuspend+0x43>       
                                                                      

0010c790 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
  10c790:	55                   	push   %ebp                           
  10c791:	89 e5                	mov    %esp,%ebp                      
  10c793:	57                   	push   %edi                           
  10c794:	56                   	push   %esi                           
  10c795:	53                   	push   %ebx                           
  10c796:	83 ec 2c             	sub    $0x2c,%esp                     
  10c799:	8b 75 08             	mov    0x8(%ebp),%esi                 
  10c79c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10c79f:	8b 7d 10             	mov    0x10(%ebp),%edi                
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
  10c7a2:	85 f6                	test   %esi,%esi                      
  10c7a4:	0f 84 7a 01 00 00    	je     10c924 <sigtimedwait+0x194>    
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
  10c7aa:	85 ff                	test   %edi,%edi                      
  10c7ac:	0f 84 1e 01 00 00    	je     10c8d0 <sigtimedwait+0x140>    
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
  10c7b2:	83 ec 0c             	sub    $0xc,%esp                      
  10c7b5:	57                   	push   %edi                           
  10c7b6:	e8 a9 34 00 00       	call   10fc64 <_Timespec_Is_valid>    
  10c7bb:	83 c4 10             	add    $0x10,%esp                     
  10c7be:	84 c0                	test   %al,%al                        
  10c7c0:	0f 84 5e 01 00 00    	je     10c924 <sigtimedwait+0x194>    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
  10c7c6:	83 ec 0c             	sub    $0xc,%esp                      
  10c7c9:	57                   	push   %edi                           
  10c7ca:	e8 f9 34 00 00       	call   10fcc8 <_Timespec_To_ticks>    
                                                                      
    if ( !interval )                                                  
  10c7cf:	83 c4 10             	add    $0x10,%esp                     
  10c7d2:	85 c0                	test   %eax,%eax                      
  10c7d4:	0f 84 4a 01 00 00    	je     10c924 <sigtimedwait+0x194>    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
  10c7da:	85 db                	test   %ebx,%ebx                      
  10c7dc:	0f 84 f8 00 00 00    	je     10c8da <sigtimedwait+0x14a>    <== NEVER TAKEN
                                                                      
  the_thread = _Thread_Executing;                                     
  10c7e2:	8b 15 38 ba 12 00    	mov    0x12ba38,%edx                  
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  10c7e8:	8b ba f8 00 00 00    	mov    0xf8(%edx),%edi                
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  10c7ee:	9c                   	pushf                                 
  10c7ef:	fa                   	cli                                   
  10c7f0:	8f 45 d0             	popl   -0x30(%ebp)                    
  if ( *set & api->signals_pending ) {                                
  10c7f3:	8b 0e                	mov    (%esi),%ecx                    
  10c7f5:	89 4d d4             	mov    %ecx,-0x2c(%ebp)               
  10c7f8:	8b 8f d0 00 00 00    	mov    0xd0(%edi),%ecx                
  10c7fe:	85 4d d4             	test   %ecx,-0x2c(%ebp)               
  10c801:	0f 85 dd 00 00 00    	jne    10c8e4 <sigtimedwait+0x154>    
    return the_info->si_signo;                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
  10c807:	8b 0d 68 c1 12 00    	mov    0x12c168,%ecx                  
  10c80d:	85 4d d4             	test   %ecx,-0x2c(%ebp)               
  10c810:	75 7e                	jne    10c890 <sigtimedwait+0x100>    
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
  10c812:	c7 03 ff ff ff ff    	movl   $0xffffffff,(%ebx)             
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10c818:	8b 0d 78 b9 12 00    	mov    0x12b978,%ecx                  
  10c81e:	41                   	inc    %ecx                           
  10c81f:	89 0d 78 b9 12 00    	mov    %ecx,0x12b978                  
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
  10c825:	c7 42 44 00 c1 12 00 	movl   $0x12c100,0x44(%edx)           
    the_thread->Wait.return_code     = EINTR;                         
  10c82c:	c7 42 34 04 00 00 00 	movl   $0x4,0x34(%edx)                
    the_thread->Wait.option          = *set;                          
  10c833:	8b 0e                	mov    (%esi),%ecx                    
  10c835:	89 4a 30             	mov    %ecx,0x30(%edx)                
    the_thread->Wait.return_argument = the_info;                      
  10c838:	89 5a 28             	mov    %ebx,0x28(%edx)                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
  10c83b:	c7 05 30 c1 12 00 01 	movl   $0x1,0x12c130                  
  10c842:	00 00 00                                                    
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
  10c845:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10c848:	9d                   	popf                                  
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
  10c849:	52                   	push   %edx                           
  10c84a:	68 08 f8 10 00       	push   $0x10f808                      
  10c84f:	50                   	push   %eax                           
  10c850:	68 00 c1 12 00       	push   $0x12c100                      
  10c855:	e8 9e 2c 00 00       	call   10f4f8 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
  10c85a:	e8 61 27 00 00       	call   10efc0 <_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 );
  10c85f:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10c866:	6a 00                	push   $0x0                           
  10c868:	53                   	push   %ebx                           
  10c869:	ff 33                	pushl  (%ebx)                         
  10c86b:	57                   	push   %edi                           
  10c86c:	e8 6f 64 00 00       	call   112ce0 <_POSIX_signals_Clear_signals>
  errno = _Thread_Executing->Wait.return_code;                        
  10c871:	83 c4 20             	add    $0x20,%esp                     
  10c874:	e8 d7 9a 00 00       	call   116350 <__errno>               
  10c879:	8b 15 38 ba 12 00    	mov    0x12ba38,%edx                  
  10c87f:	8b 52 34             	mov    0x34(%edx),%edx                
  10c882:	89 10                	mov    %edx,(%eax)                    
  return the_info->si_signo;                                          
  10c884:	8b 33                	mov    (%ebx),%esi                    
}                                                                     
  10c886:	89 f0                	mov    %esi,%eax                      
  10c888:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c88b:	5b                   	pop    %ebx                           
  10c88c:	5e                   	pop    %esi                           
  10c88d:	5f                   	pop    %edi                           
  10c88e:	c9                   	leave                                 
  10c88f:	c3                   	ret                                   
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
  10c890:	83 ec 0c             	sub    $0xc,%esp                      
  10c893:	51                   	push   %ecx                           
  10c894:	e8 b3 fe ff ff       	call   10c74c <_POSIX_signals_Get_highest>
  10c899:	89 c6                	mov    %eax,%esi                      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
  10c89b:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10c8a2:	6a 01                	push   $0x1                           
  10c8a4:	53                   	push   %ebx                           
  10c8a5:	50                   	push   %eax                           
  10c8a6:	57                   	push   %edi                           
  10c8a7:	e8 34 64 00 00       	call   112ce0 <_POSIX_signals_Clear_signals>
    _ISR_Enable( level );                                             
  10c8ac:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10c8af:	9d                   	popf                                  
                                                                      
    the_info->si_signo = signo;                                       
  10c8b0:	89 33                	mov    %esi,(%ebx)                    
    the_info->si_code = SI_USER;                                      
  10c8b2:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10c8b9:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return signo;                                                     
  10c8c0:	83 c4 20             	add    $0x20,%esp                     
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
  errno = _Thread_Executing->Wait.return_code;                        
  return the_info->si_signo;                                          
}                                                                     
  10c8c3:	89 f0                	mov    %esi,%eax                      
  10c8c5:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c8c8:	5b                   	pop    %ebx                           
  10c8c9:	5e                   	pop    %esi                           
  10c8ca:	5f                   	pop    %edi                           
  10c8cb:	c9                   	leave                                 
  10c8cc:	c3                   	ret                                   
  10c8cd:	8d 76 00             	lea    0x0(%esi),%esi                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
                                                                      
    if ( !interval )                                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10c8d0:	31 c0                	xor    %eax,%eax                      
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
  10c8d2:	85 db                	test   %ebx,%ebx                      
  10c8d4:	0f 85 08 ff ff ff    	jne    10c7e2 <sigtimedwait+0x52>     
  10c8da:	8d 5d dc             	lea    -0x24(%ebp),%ebx               
  10c8dd:	e9 00 ff ff ff       	jmp    10c7e2 <sigtimedwait+0x52>     
  10c8e2:	66 90                	xchg   %ax,%ax                        
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
  10c8e4:	83 ec 0c             	sub    $0xc,%esp                      
  10c8e7:	51                   	push   %ecx                           
  10c8e8:	e8 5f fe ff ff       	call   10c74c <_POSIX_signals_Get_highest>
  10c8ed:	89 03                	mov    %eax,(%ebx)                    
    _POSIX_signals_Clear_signals(                                     
  10c8ef:	c7 04 24 00 00 00 00 	movl   $0x0,(%esp)                    
  10c8f6:	6a 00                	push   $0x0                           
  10c8f8:	53                   	push   %ebx                           
  10c8f9:	50                   	push   %eax                           
  10c8fa:	57                   	push   %edi                           
  10c8fb:	e8 e0 63 00 00       	call   112ce0 <_POSIX_signals_Clear_signals>
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
  10c900:	ff 75 d0             	pushl  -0x30(%ebp)                    
  10c903:	9d                   	popf                                  
                                                                      
    the_info->si_code = SI_USER;                                      
  10c904:	c7 43 04 01 00 00 00 	movl   $0x1,0x4(%ebx)                 
    the_info->si_value.sival_int = 0;                                 
  10c90b:	c7 43 08 00 00 00 00 	movl   $0x0,0x8(%ebx)                 
    return the_info->si_signo;                                        
  10c912:	8b 33                	mov    (%ebx),%esi                    
  10c914:	83 c4 20             	add    $0x20,%esp                     
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
  errno = _Thread_Executing->Wait.return_code;                        
  return the_info->si_signo;                                          
}                                                                     
  10c917:	89 f0                	mov    %esi,%eax                      
  10c919:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10c91c:	5b                   	pop    %ebx                           
  10c91d:	5e                   	pop    %esi                           
  10c91e:	5f                   	pop    %edi                           
  10c91f:	c9                   	leave                                 
  10c920:	c3                   	ret                                   
  10c921:	8d 76 00             	lea    0x0(%esi),%esi                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
                                                                      
    if ( !interval )                                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  10c924:	e8 27 9a 00 00       	call   116350 <__errno>               
  10c929:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c92f:	be ff ff ff ff       	mov    $0xffffffff,%esi               
  10c934:	e9 4d ff ff ff       	jmp    10c886 <sigtimedwait+0xf6>     
                                                                      

0010e364 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
  10e364:	55                   	push   %ebp                           
  10e365:	89 e5                	mov    %esp,%ebp                      
  10e367:	53                   	push   %ebx                           
  10e368:	83 ec 08             	sub    $0x8,%esp                      
  10e36b:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
  10e36e:	6a 00                	push   $0x0                           
  10e370:	6a 00                	push   $0x0                           
  10e372:	ff 75 08             	pushl  0x8(%ebp)                      
  10e375:	e8 26 fe ff ff       	call   10e1a0 <sigtimedwait>          
                                                                      
  if ( status != -1 ) {                                               
  10e37a:	83 c4 10             	add    $0x10,%esp                     
  10e37d:	83 f8 ff             	cmp    $0xffffffff,%eax               
  10e380:	74 0e                	je     10e390 <sigwait+0x2c>          
    if ( sig )                                                        
  10e382:	85 db                	test   %ebx,%ebx                      
  10e384:	74 02                	je     10e388 <sigwait+0x24>          <== NEVER TAKEN
      *sig = status;                                                  
  10e386:	89 03                	mov    %eax,(%ebx)                    
  10e388:	31 c0                	xor    %eax,%eax                      
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
  10e38a:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e38d:	c9                   	leave                                 
  10e38e:	c3                   	ret                                   
  10e38f:	90                   	nop                                   
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
  10e390:	e8 63 97 00 00       	call   117af8 <__errno>               
  10e395:	8b 00                	mov    (%eax),%eax                    
}                                                                     
  10e397:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10e39a:	c9                   	leave                                 
  10e39b:	c3                   	ret                                   
                                                                      

0010b7b8 <sysconf>: */ long sysconf( int name ) {
  10b7b8:	55                   	push   %ebp                           
  10b7b9:	89 e5                	mov    %esp,%ebp                      
  10b7bb:	83 ec 08             	sub    $0x8,%esp                      
  10b7be:	8b 45 08             	mov    0x8(%ebp),%eax                 
  if ( name == _SC_CLK_TCK )                                          
  10b7c1:	83 f8 02             	cmp    $0x2,%eax                      
  10b7c4:	74 16                	je     10b7dc <sysconf+0x24>          
    return (TOD_MICROSECONDS_PER_SECOND /                             
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
  10b7c6:	83 f8 04             	cmp    $0x4,%eax                      
  10b7c9:	74 21                	je     10b7ec <sysconf+0x34>          
    return rtems_libio_number_iops;                                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
  10b7cb:	83 f8 33             	cmp    $0x33,%eax                     
  10b7ce:	74 24                	je     10b7f4 <sysconf+0x3c>          
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
  10b7d0:	83 f8 08             	cmp    $0x8,%eax                      
  10b7d3:	75 27                	jne    10b7fc <sysconf+0x44>          
  10b7d5:	66 b8 00 10          	mov    $0x1000,%ax                    
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b7d9:	c9                   	leave                                 
  10b7da:	c3                   	ret                                   
  10b7db:	90                   	nop                                   
long sysconf(                                                         
  int name                                                            
)                                                                     
{                                                                     
  if ( name == _SC_CLK_TCK )                                          
    return (TOD_MICROSECONDS_PER_SECOND /                             
  10b7dc:	b8 40 42 0f 00       	mov    $0xf4240,%eax                  
  10b7e1:	31 d2                	xor    %edx,%edx                      
  10b7e3:	f7 35 8c 66 12 00    	divl   0x12668c                       
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b7e9:	c9                   	leave                                 
  10b7ea:	c3                   	ret                                   
  10b7eb:	90                   	nop                                   
  if ( name == _SC_CLK_TCK )                                          
    return (TOD_MICROSECONDS_PER_SECOND /                             
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
    return rtems_libio_number_iops;                                   
  10b7ec:	a1 6c 65 12 00       	mov    0x12656c,%eax                  
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b7f1:	c9                   	leave                                 
  10b7f2:	c3                   	ret                                   
  10b7f3:	90                   	nop                                   
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
    return rtems_libio_number_iops;                                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
  10b7f4:	66 b8 00 04          	mov    $0x400,%ax                     
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10b7f8:	c9                   	leave                                 
  10b7f9:	c3                   	ret                                   
  10b7fa:	66 90                	xchg   %ax,%ax                        
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10b7fc:	e8 f7 9f 00 00       	call   1157f8 <__errno>               
  10b801:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10b807:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10b80c:	c9                   	leave                                 
  10b80d:	c3                   	ret                                   
                                                                      

0010baf8 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
  10baf8:	55                   	push   %ebp                           
  10baf9:	89 e5                	mov    %esp,%ebp                      
  10bafb:	56                   	push   %esi                           
  10bafc:	53                   	push   %ebx                           
  10bafd:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  10bb00:	8b 75 10             	mov    0x10(%ebp),%esi                
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
  10bb03:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)                 
  10bb07:	0f 85 db 00 00 00    	jne    10bbe8 <timer_create+0xf0>     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
  10bb0d:	85 f6                	test   %esi,%esi                      
  10bb0f:	0f 84 d3 00 00 00    	je     10bbe8 <timer_create+0xf0>     <== NEVER TAKEN
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
  10bb15:	85 db                	test   %ebx,%ebx                      
  10bb17:	74 21                	je     10bb3a <timer_create+0x42>     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
  10bb19:	8b 03                	mov    (%ebx),%eax                    
  10bb1b:	48                   	dec    %eax                           
  10bb1c:	83 f8 01             	cmp    $0x1,%eax                      
  10bb1f:	0f 87 c3 00 00 00    	ja     10bbe8 <timer_create+0xf0>     <== 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 )                                         
  10bb25:	8b 43 04             	mov    0x4(%ebx),%eax                 
  10bb28:	85 c0                	test   %eax,%eax                      
  10bb2a:	0f 84 b8 00 00 00    	je     10bbe8 <timer_create+0xf0>     <== NEVER TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
  10bb30:	48                   	dec    %eax                           
  10bb31:	83 f8 1f             	cmp    $0x1f,%eax                     
  10bb34:	0f 87 ae 00 00 00    	ja     10bbe8 <timer_create+0xf0>     <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
  10bb3a:	a1 38 b5 12 00       	mov    0x12b538,%eax                  
  10bb3f:	40                   	inc    %eax                           
  10bb40:	a3 38 b5 12 00       	mov    %eax,0x12b538                  
 *  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 );
  10bb45:	83 ec 0c             	sub    $0xc,%esp                      
  10bb48:	68 c0 b8 12 00       	push   $0x12b8c0                      
  10bb4d:	e8 1a 1e 00 00       	call   10d96c <_Objects_Allocate>     
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
  10bb52:	83 c4 10             	add    $0x10,%esp                     
  10bb55:	85 c0                	test   %eax,%eax                      
  10bb57:	0f 84 a2 00 00 00    	je     10bbff <timer_create+0x107>    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  10bb5d:	c6 40 3c 02          	movb   $0x2,0x3c(%eax)                
  ptimer->thread_id = _Thread_Executing->Object.id;                   
  10bb61:	8b 15 f8 b5 12 00    	mov    0x12b5f8,%edx                  
  10bb67:	8b 52 08             	mov    0x8(%edx),%edx                 
  10bb6a:	89 50 38             	mov    %edx,0x38(%eax)                
                                                                      
  if ( evp != NULL ) {                                                
  10bb6d:	85 db                	test   %ebx,%ebx                      
  10bb6f:	74 11                	je     10bb82 <timer_create+0x8a>     
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
  10bb71:	8b 13                	mov    (%ebx),%edx                    
  10bb73:	89 50 40             	mov    %edx,0x40(%eax)                
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
  10bb76:	8b 53 04             	mov    0x4(%ebx),%edx                 
  10bb79:	89 50 44             	mov    %edx,0x44(%eax)                
    ptimer->inf.sigev_value  = evp->sigev_value;                      
  10bb7c:	8b 53 08             	mov    0x8(%ebx),%edx                 
  10bb7f:	89 50 48             	mov    %edx,0x48(%eax)                
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
  10bb82:	c7 40 68 00 00 00 00 	movl   $0x0,0x68(%eax)                
  ptimer->timer_data.it_value.tv_sec     = 0;                         
  10bb89:	c7 40 5c 00 00 00 00 	movl   $0x0,0x5c(%eax)                
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
  10bb90:	c7 40 60 00 00 00 00 	movl   $0x0,0x60(%eax)                
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
  10bb97:	c7 40 54 00 00 00 00 	movl   $0x0,0x54(%eax)                
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
  10bb9e:	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;                        
  10bba5:	c7 40 18 00 00 00 00 	movl   $0x0,0x18(%eax)                
  the_watchdog->routine   = routine;                                  
  10bbac:	c7 40 2c 00 00 00 00 	movl   $0x0,0x2c(%eax)                
  the_watchdog->id        = id;                                       
  10bbb3:	c7 40 30 00 00 00 00 	movl   $0x0,0x30(%eax)                
  the_watchdog->user_data = user_data;                                
  10bbba:	c7 40 34 00 00 00 00 	movl   $0x0,0x34(%eax)                
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
  10bbc1:	8b 50 08             	mov    0x8(%eax),%edx                 
  10bbc4:	0f b7 da             	movzwl %dx,%ebx                       
  10bbc7:	8b 0d dc b8 12 00    	mov    0x12b8dc,%ecx                  
  10bbcd:	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;                                   
  10bbd0:	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;                                      
  10bbd7:	89 16                	mov    %edx,(%esi)                    
  _Thread_Enable_dispatch();                                          
  10bbd9:	e8 b2 2a 00 00       	call   10e690 <_Thread_Enable_dispatch>
  10bbde:	31 c0                	xor    %eax,%eax                      
  return 0;                                                           
}                                                                     
  10bbe0:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10bbe3:	5b                   	pop    %ebx                           
  10bbe4:	5e                   	pop    %esi                           
  10bbe5:	c9                   	leave                                 
  10bbe6:	c3                   	ret                                   
  10bbe7:	90                   	nop                                   
                                                                      
     if ( !evp->sigev_signo )                                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
  10bbe8:	e8 63 a1 00 00       	call   115d50 <__errno>               
  10bbed:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10bbf3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
  10bbf8:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10bbfb:	5b                   	pop    %ebx                           
  10bbfc:	5e                   	pop    %esi                           
  10bbfd:	c9                   	leave                                 
  10bbfe:	c3                   	ret                                   
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
    _Thread_Enable_dispatch();                                        
  10bbff:	e8 8c 2a 00 00       	call   10e690 <_Thread_Enable_dispatch>
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  10bc04:	e8 47 a1 00 00       	call   115d50 <__errno>               
  10bc09:	c7 00 0b 00 00 00    	movl   $0xb,(%eax)                    
  10bc0f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10bc14:	eb ca                	jmp    10bbe0 <timer_create+0xe8>     
                                                                      

0010c038 <timer_delete>: int timer_delete( timer_t timerid ) {
  10c038:	55                   	push   %ebp                           
  10c039:	89 e5                	mov    %esp,%ebp                      
  10c03b:	53                   	push   %ebx                           
  10c03c:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
  10c03f:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10c042:	50                   	push   %eax                           
  10c043:	ff 75 08             	pushl  0x8(%ebp)                      
  10c046:	68 c0 ba 12 00       	push   $0x12bac0                      
  10c04b:	e8 24 21 00 00       	call   10e174 <_Objects_Get>          
  10c050:	89 c3                	mov    %eax,%ebx                      
  */                                                                  
  POSIX_Timer_Control *ptimer;                                        
  Objects_Locations    location;                                      
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
  10c052:	83 c4 10             	add    $0x10,%esp                     
  10c055:	8b 4d f4             	mov    -0xc(%ebp),%ecx                
  10c058:	85 c9                	test   %ecx,%ecx                      
  10c05a:	74 18                	je     10c074 <timer_delete+0x3c>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10c05c:	e8 53 a4 00 00       	call   1164b4 <__errno>               
  10c061:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10c067:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10c06c:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c06f:	c9                   	leave                                 
  10c070:	c3                   	ret                                   
  10c071:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Timer_Information, &ptimer->Object );   
  10c074:	83 ec 08             	sub    $0x8,%esp                      
  10c077:	50                   	push   %eax                           
  10c078:	68 c0 ba 12 00       	push   $0x12bac0                      
  10c07d:	e8 be 1c 00 00       	call   10dd40 <_Objects_Close>        
      ptimer->state = POSIX_TIMER_STATE_FREE;                         
  10c082:	c6 43 3c 01          	movb   $0x1,0x3c(%ebx)                
      (void) _Watchdog_Remove( &ptimer->Timer );                      
  10c086:	8d 43 10             	lea    0x10(%ebx),%eax                
  10c089:	89 04 24             	mov    %eax,(%esp)                    
  10c08c:	e8 ab 3a 00 00       	call   10fb3c <_Watchdog_Remove>      
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Timer_Free (                         
  POSIX_Timer_Control *the_timer                                      
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Timer_Information, &the_timer->Object );     
  10c091:	58                   	pop    %eax                           
  10c092:	5a                   	pop    %edx                           
  10c093:	53                   	push   %ebx                           
  10c094:	68 c0 ba 12 00       	push   $0x12bac0                      
  10c099:	e8 a6 1f 00 00       	call   10e044 <_Objects_Free>         
      _POSIX_Timer_Free( ptimer );                                    
      _Thread_Enable_dispatch();                                      
  10c09e:	e8 45 29 00 00       	call   10e9e8 <_Thread_Enable_dispatch>
  10c0a3:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10c0a5:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10c0a8:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10c0ab:	c9                   	leave                                 
  10c0ac:	c3                   	ret                                   
                                                                      

0010cf00 <timer_getoverrun>: * its execution, _POSIX_Timer_TSR will have to set this counter to 0. */ int timer_getoverrun( timer_t timerid ) {
  10cf00:	55                   	push   %ebp                           
  10cf01:	89 e5                	mov    %esp,%ebp                      
  10cf03:	53                   	push   %ebx                           
  10cf04:	83 ec 18             	sub    $0x18,%esp                     
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
  10cf07:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cf0a:	50                   	push   %eax                           
  10cf0b:	ff 75 08             	pushl  0x8(%ebp)                      
  10cf0e:	68 60 d2 12 00       	push   $0x12d260                      
  10cf13:	e8 ac 20 00 00       	call   10efc4 <_Objects_Get>          
  int                  overrun;                                       
  POSIX_Timer_Control *ptimer;                                        
  Objects_Locations    location;                                      
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
  10cf18:	83 c4 10             	add    $0x10,%esp                     
  10cf1b:	8b 55 f4             	mov    -0xc(%ebp),%edx                
  10cf1e:	85 d2                	test   %edx,%edx                      
  10cf20:	74 1a                	je     10cf3c <timer_getoverrun+0x3c> 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10cf22:	e8 01 a0 00 00       	call   116f28 <__errno>               
  10cf27:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10cf2d:	bb ff ff ff ff       	mov    $0xffffffff,%ebx               
}                                                                     
  10cf32:	89 d8                	mov    %ebx,%eax                      
  10cf34:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10cf37:	c9                   	leave                                 
  10cf38:	c3                   	ret                                   
  10cf39:	8d 76 00             	lea    0x0(%esi),%esi                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      overrun = ptimer->overrun;                                      
  10cf3c:	8b 58 68             	mov    0x68(%eax),%ebx                
      ptimer->overrun = 0;                                            
  10cf3f:	c7 40 68 00 00 00 00 	movl   $0x0,0x68(%eax)                
      _Thread_Enable_dispatch();                                      
  10cf46:	e8 ed 28 00 00       	call   10f838 <_Thread_Enable_dispatch>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10cf4b:	89 d8                	mov    %ebx,%eax                      
  10cf4d:	8b 5d fc             	mov    -0x4(%ebp),%ebx                
  10cf50:	c9                   	leave                                 
  10cf51:	c3                   	ret                                   
                                                                      

0010cf54 <timer_gettime>: int timer_gettime( timer_t timerid, struct itimerspec *value ) {
  10cf54:	55                   	push   %ebp                           
  10cf55:	89 e5                	mov    %esp,%ebp                      
  10cf57:	56                   	push   %esi                           
  10cf58:	53                   	push   %ebx                           
  10cf59:	83 ec 10             	sub    $0x10,%esp                     
  10cf5c:	8b 5d 0c             	mov    0xc(%ebp),%ebx                 
  POSIX_Timer_Control *ptimer;                                        
  Objects_Locations    location;                                      
  struct timespec      current_time;                                  
  Watchdog_Interval    left;                                          
                                                                      
  if ( !value )                                                       
  10cf5f:	85 db                	test   %ebx,%ebx                      
  10cf61:	74 65                	je     10cfc8 <timer_gettime+0x74>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /* Reads the current time */                                        
  _TOD_Get( ¤t_time );                                          
  10cf63:	83 ec 0c             	sub    $0xc,%esp                      
  10cf66:	8d 45 ec             	lea    -0x14(%ebp),%eax               
  10cf69:	50                   	push   %eax                           
  10cf6a:	e8 b5 16 00 00       	call   10e624 <_TOD_Get>              
  10cf6f:	83 c4 0c             	add    $0xc,%esp                      
  10cf72:	8d 45 f4             	lea    -0xc(%ebp),%eax                
  10cf75:	50                   	push   %eax                           
  10cf76:	ff 75 08             	pushl  0x8(%ebp)                      
  10cf79:	68 60 d2 12 00       	push   $0x12d260                      
  10cf7e:	e8 41 20 00 00       	call   10efc4 <_Objects_Get>          
  10cf83:	89 c6                	mov    %eax,%esi                      
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
  10cf85:	83 c4 10             	add    $0x10,%esp                     
  10cf88:	8b 45 f4             	mov    -0xc(%ebp),%eax                
  10cf8b:	85 c0                	test   %eax,%eax                      
  10cf8d:	75 39                	jne    10cfc8 <timer_gettime+0x74>    
    case OBJECTS_LOCAL:                                               
                                                                      
      /* Calculates the time left before the timer finishes */        
                                                                      
      left =                                                          
        (ptimer->Timer.start_time + ptimer->Timer.initial) - /* expire */
  10cf8f:	a1 44 d0 12 00       	mov    0x12d044,%eax                  
        _Watchdog_Ticks_since_boot;                          /* now */
                                                                      
      _Timespec_From_ticks( left, &value->it_value );                 
  10cf94:	83 ec 08             	sub    $0x8,%esp                      
  10cf97:	8d 53 08             	lea    0x8(%ebx),%edx                 
  10cf9a:	52                   	push   %edx                           
  10cf9b:	8b 56 1c             	mov    0x1c(%esi),%edx                
  10cf9e:	03 56 24             	add    0x24(%esi),%edx                
  10cfa1:	29 c2                	sub    %eax,%edx                      
  10cfa3:	52                   	push   %edx                           
  10cfa4:	e8 33 35 00 00       	call   1104dc <_Timespec_From_ticks>  
                                                                      
      value->it_interval  = ptimer->timer_data.it_interval;           
  10cfa9:	8b 46 54             	mov    0x54(%esi),%eax                
  10cfac:	8b 56 58             	mov    0x58(%esi),%edx                
  10cfaf:	89 03                	mov    %eax,(%ebx)                    
  10cfb1:	89 53 04             	mov    %edx,0x4(%ebx)                 
                                                                      
      _Thread_Enable_dispatch();                                      
  10cfb4:	e8 7f 28 00 00       	call   10f838 <_Thread_Enable_dispatch>
  10cfb9:	31 c0                	xor    %eax,%eax                      
      return 0;                                                       
  10cfbb:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10cfbe:	8d 65 f8             	lea    -0x8(%ebp),%esp                
  10cfc1:	5b                   	pop    %ebx                           
  10cfc2:	5e                   	pop    %esi                           
  10cfc3:	c9                   	leave                                 
  10cfc4:	c3                   	ret                                   
  10cfc5:	8d 76 00             	lea    0x0(%esi),%esi                 
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10cfc8:	e8 5b 9f 00 00       	call   116f28 <__errno>               
  10cfcd:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10cfd3:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
  10cfd8:	eb e4                	jmp    10cfbe <timer_gettime+0x6a>    
                                                                      

0010bc18 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
  10bc18:	55                   	push   %ebp                           
  10bc19:	89 e5                	mov    %esp,%ebp                      
  10bc1b:	57                   	push   %edi                           
  10bc1c:	56                   	push   %esi                           
  10bc1d:	53                   	push   %ebx                           
  10bc1e:	83 ec 3c             	sub    $0x3c,%esp                     
  10bc21:	8b 4d 0c             	mov    0xc(%ebp),%ecx                 
  10bc24:	8b 5d 10             	mov    0x10(%ebp),%ebx                
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
  10bc27:	85 db                	test   %ebx,%ebx                      
  10bc29:	0f 84 39 01 00 00    	je     10bd68 <timer_settime+0x150>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /* First, it verifies if the structure "value" is correct */        
  if ( ( value->it_value.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) ||   
  10bc2f:	81 7b 0c ff c9 9a 3b 	cmpl   $0x3b9ac9ff,0xc(%ebx)          
  10bc36:	0f 87 2c 01 00 00    	ja     10bd68 <timer_settime+0x150>   
       ( value->it_value.tv_nsec < 0 ) ||                             
       ( value->it_interval.tv_nsec >= TOD_NANOSECONDS_PER_SECOND) || 
  10bc3c:	81 7b 04 ff c9 9a 3b 	cmpl   $0x3b9ac9ff,0x4(%ebx)          
  10bc43:	0f 87 1f 01 00 00    	ja     10bd68 <timer_settime+0x150>   <== NEVER TAKEN
       ( value->it_interval.tv_nsec < 0 )) {                          
    /* The number of nanoseconds is not correct */                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
  10bc49:	83 f9 04             	cmp    $0x4,%ecx                      
  10bc4c:	0f 84 da 00 00 00    	je     10bd2c <timer_settime+0x114>   
  10bc52:	85 c9                	test   %ecx,%ecx                      
  10bc54:	0f 85 0e 01 00 00    	jne    10bd68 <timer_settime+0x150>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
  10bc5a:	8d 45 cc             	lea    -0x34(%ebp),%eax               
  10bc5d:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10bc60:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10bc65:	89 c7                	mov    %eax,%edi                      
  10bc67:	89 de                	mov    %ebx,%esi                      
  10bc69:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
  10bc6b:	50                   	push   %eax                           
  10bc6c:	8d 45 e4             	lea    -0x1c(%ebp),%eax               
  10bc6f:	50                   	push   %eax                           
  10bc70:	ff 75 08             	pushl  0x8(%ebp)                      
  10bc73:	68 c0 b8 12 00       	push   $0x12b8c0                      
  10bc78:	e8 9f 21 00 00       	call   10de1c <_Objects_Get>          
  10bc7d:	89 c2                	mov    %eax,%edx                      
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
  10bc7f:	83 c4 10             	add    $0x10,%esp                     
  10bc82:	8b 7d e4             	mov    -0x1c(%ebp),%edi               
  10bc85:	85 ff                	test   %edi,%edi                      
  10bc87:	0f 85 db 00 00 00    	jne    10bd68 <timer_settime+0x150>   
                                                                      
    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 ) {
  10bc8d:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10bc90:	85 f6                	test   %esi,%esi                      
  10bc92:	75 0b                	jne    10bc9f <timer_settime+0x87>    
  10bc94:	8b 4d d8             	mov    -0x28(%ebp),%ecx               
  10bc97:	85 c9                	test   %ecx,%ecx                      
  10bc99:	0f 84 e1 00 00 00    	je     10bd80 <timer_settime+0x168>   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
  10bc9f:	83 ec 0c             	sub    $0xc,%esp                      
  10bca2:	53                   	push   %ebx                           
  10bca3:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10bca6:	e8 e9 36 00 00       	call   10f394 <_Timespec_To_ticks>    
  10bcab:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10bcae:	89 42 64             	mov    %eax,0x64(%edx)                
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
  10bcb1:	8d 45 d4             	lea    -0x2c(%ebp),%eax               
  10bcb4:	89 04 24             	mov    %eax,(%esp)                    
  10bcb7:	e8 d8 36 00 00       	call   10f394 <_Timespec_To_ticks>    
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
  10bcbc:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10bcbf:	89 14 24             	mov    %edx,(%esp)                    
  10bcc2:	68 ec bd 10 00       	push   $0x10bdec                      
  10bcc7:	ff 72 08             	pushl  0x8(%edx)                      
  10bcca:	50                   	push   %eax                           
  10bccb:	8d 42 10             	lea    0x10(%edx),%eax                
  10bcce:	50                   	push   %eax                           
  10bccf:	e8 5c 69 00 00       	call   112630 <_POSIX_Timer_Insert_helper>
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
  10bcd4:	83 c4 20             	add    $0x20,%esp                     
  10bcd7:	84 c0                	test   %al,%al                        
  10bcd9:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10bcdc:	0f 84 ea 00 00 00    	je     10bdcc <timer_settime+0x1b4>   
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
  10bce2:	8b 45 14             	mov    0x14(%ebp),%eax                
  10bce5:	85 c0                	test   %eax,%eax                      
  10bce7:	0f 84 ef 00 00 00    	je     10bddc <timer_settime+0x1c4>   
         *ovalue = ptimer->timer_data;                                
  10bced:	8d 42 54             	lea    0x54(%edx),%eax                
  10bcf0:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10bcf5:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10bcf8:	89 c6                	mov    %eax,%esi                      
  10bcfa:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
       ptimer->timer_data = normalize;                                
  10bcfc:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10bd01:	89 c7                	mov    %eax,%edi                      
  10bd03:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10bd06:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
  10bd08:	c6 42 3c 03          	movb   $0x3,0x3c(%edx)                
       _TOD_Get( &ptimer->time );                                     
  10bd0c:	83 ec 0c             	sub    $0xc,%esp                      
  10bd0f:	83 c2 6c             	add    $0x6c,%edx                     
  10bd12:	52                   	push   %edx                           
  10bd13:	e8 88 17 00 00       	call   10d4a0 <_TOD_Get>              
       _Thread_Enable_dispatch();                                     
  10bd18:	e8 73 29 00 00       	call   10e690 <_Thread_Enable_dispatch>
  10bd1d:	31 c0                	xor    %eax,%eax                      
       return 0;                                                      
  10bd1f:	83 c4 10             	add    $0x10,%esp                     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10bd22:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd25:	5b                   	pop    %ebx                           
  10bd26:	5e                   	pop    %esi                           
  10bd27:	5f                   	pop    %edi                           
  10bd28:	c9                   	leave                                 
  10bd29:	c3                   	ret                                   
  10bd2a:	66 90                	xchg   %ax,%ax                        
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
  10bd2c:	8d 45 cc             	lea    -0x34(%ebp),%eax               
  10bd2f:	89 45 c4             	mov    %eax,-0x3c(%ebp)               
  10bd32:	89 c7                	mov    %eax,%edi                      
  10bd34:	89 de                	mov    %ebx,%esi                      
  10bd36:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
  10bd38:	83 ec 0c             	sub    $0xc,%esp                      
  10bd3b:	8d 75 dc             	lea    -0x24(%ebp),%esi               
  10bd3e:	56                   	push   %esi                           
  10bd3f:	e8 5c 17 00 00       	call   10d4a0 <_TOD_Get>              
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
  10bd44:	59                   	pop    %ecx                           
  10bd45:	5f                   	pop    %edi                           
  10bd46:	8d 7d d4             	lea    -0x2c(%ebp),%edi               
  10bd49:	57                   	push   %edi                           
  10bd4a:	56                   	push   %esi                           
  10bd4b:	e8 e4 35 00 00       	call   10f334 <_Timespec_Greater_than>
  10bd50:	83 c4 10             	add    $0x10,%esp                     
  10bd53:	84 c0                	test   %al,%al                        
  10bd55:	75 11                	jne    10bd68 <timer_settime+0x150>   
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
  10bd57:	52                   	push   %edx                           
  10bd58:	57                   	push   %edi                           
  10bd59:	57                   	push   %edi                           
  10bd5a:	56                   	push   %esi                           
  10bd5b:	e8 f8 35 00 00       	call   10f358 <_Timespec_Subtract>    
  10bd60:	83 c4 10             	add    $0x10,%esp                     
  10bd63:	e9 03 ff ff ff       	jmp    10bc6b <timer_settime+0x53>    
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
  10bd68:	e8 e3 9f 00 00       	call   115d50 <__errno>               
  10bd6d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)                   
  10bd73:	b8 ff ff ff ff       	mov    $0xffffffff,%eax               
}                                                                     
  10bd78:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bd7b:	5b                   	pop    %ebx                           
  10bd7c:	5e                   	pop    %esi                           
  10bd7d:	5f                   	pop    %edi                           
  10bd7e:	c9                   	leave                                 
  10bd7f:	c3                   	ret                                   
                                                                      
    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 ) {
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
  10bd80:	83 ec 0c             	sub    $0xc,%esp                      
  10bd83:	8d 40 10             	lea    0x10(%eax),%eax                
  10bd86:	50                   	push   %eax                           
  10bd87:	89 55 c0             	mov    %edx,-0x40(%ebp)               
  10bd8a:	e8 0d 3a 00 00       	call   10f79c <_Watchdog_Remove>      
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
  10bd8f:	83 c4 10             	add    $0x10,%esp                     
  10bd92:	8b 55 14             	mov    0x14(%ebp),%edx                
  10bd95:	85 d2                	test   %edx,%edx                      
  10bd97:	8b 55 c0             	mov    -0x40(%ebp),%edx               
  10bd9a:	74 48                	je     10bde4 <timer_settime+0x1cc>   
           *ovalue = ptimer->timer_data;                              
  10bd9c:	8d 42 54             	lea    0x54(%edx),%eax                
  10bd9f:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10bda4:	8b 7d 14             	mov    0x14(%ebp),%edi                
  10bda7:	89 c6                	mov    %eax,%esi                      
  10bda9:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
  10bdab:	b9 04 00 00 00       	mov    $0x4,%ecx                      
  10bdb0:	89 c7                	mov    %eax,%edi                      
  10bdb2:	8b 75 c4             	mov    -0x3c(%ebp),%esi               
  10bdb5:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)       
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
  10bdb7:	c6 42 3c 04          	movb   $0x4,0x3c(%edx)                
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
  10bdbb:	e8 d0 28 00 00       	call   10e690 <_Thread_Enable_dispatch>
  10bdc0:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10bdc2:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bdc5:	5b                   	pop    %ebx                           
  10bdc6:	5e                   	pop    %esi                           
  10bdc7:	5f                   	pop    %edi                           
  10bdc8:	c9                   	leave                                 
  10bdc9:	c3                   	ret                                   
  10bdca:	66 90                	xchg   %ax,%ax                        
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
         _Thread_Enable_dispatch();                                   
  10bdcc:	e8 bf 28 00 00       	call   10e690 <_Thread_Enable_dispatch>
  10bdd1:	31 c0                	xor    %eax,%eax                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
  10bdd3:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10bdd6:	5b                   	pop    %ebx                           
  10bdd7:	5e                   	pop    %esi                           
  10bdd8:	5f                   	pop    %edi                           
  10bdd9:	c9                   	leave                                 
  10bdda:	c3                   	ret                                   
  10bddb:	90                   	nop                                   
  10bddc:	8d 42 54             	lea    0x54(%edx),%eax                
  10bddf:	e9 18 ff ff ff       	jmp    10bcfc <timer_settime+0xe4>    
  10bde4:	8d 42 54             	lea    0x54(%edx),%eax                
  10bde7:	eb c2                	jmp    10bdab <timer_settime+0x193>   
                                                                      

0010b9d0 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
  10b9d0:	55                   	push   %ebp                           
  10b9d1:	89 e5                	mov    %esp,%ebp                      
  10b9d3:	57                   	push   %edi                           
  10b9d4:	56                   	push   %esi                           
  10b9d5:	53                   	push   %ebx                           
  10b9d6:	83 ec 2c             	sub    $0x2c,%esp                     
  10b9d9:	8b 5d 08             	mov    0x8(%ebp),%ebx                 
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
  10b9dc:	8b 0d 1c bb 12 00    	mov    0x12bb1c,%ecx                  
  10b9e2:	85 c9                	test   %ecx,%ecx                      
  10b9e4:	0f 84 8e 00 00 00    	je     10ba78 <ualarm+0xa8>           
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
  10b9ea:	83 ec 0c             	sub    $0xc,%esp                      
  10b9ed:	68 00 bb 12 00       	push   $0x12bb00                      
  10b9f2:	e8 51 39 00 00       	call   10f348 <_Watchdog_Remove>      
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
  10b9f7:	83 e8 02             	sub    $0x2,%eax                      
  10b9fa:	83 c4 10             	add    $0x10,%esp                     
  10b9fd:	83 f8 01             	cmp    $0x1,%eax                      
  10ba00:	0f 86 a2 00 00 00    	jbe    10baa8 <ualarm+0xd8>           <== ALWAYS TAKEN
  10ba06:	31 f6                	xor    %esi,%esi                      
  /*                                                                  
   *  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 ) {                                                   
  10ba08:	85 db                	test   %ebx,%ebx                      
  10ba0a:	74 62                	je     10ba6e <ualarm+0x9e>           
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
  10ba0c:	ba 83 de 1b 43       	mov    $0x431bde83,%edx               
  10ba11:	89 d8                	mov    %ebx,%eax                      
  10ba13:	f7 e2                	mul    %edx                           
  10ba15:	c1 ea 12             	shr    $0x12,%edx                     
  10ba18:	89 55 e0             	mov    %edx,-0x20(%ebp)               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
  10ba1b:	8d 04 92             	lea    (%edx,%edx,4),%eax             
  10ba1e:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba21:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba24:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba27:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba2a:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba2d:	c1 e0 06             	shl    $0x6,%eax                      
  10ba30:	29 c3                	sub    %eax,%ebx                      
  10ba32:	8d 04 9b             	lea    (%ebx,%ebx,4),%eax             
  10ba35:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba38:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10ba3b:	c1 e0 03             	shl    $0x3,%eax                      
  10ba3e:	89 45 e4             	mov    %eax,-0x1c(%ebp)               
    ticks = _Timespec_To_ticks( &tp );                                
  10ba41:	83 ec 0c             	sub    $0xc,%esp                      
  10ba44:	8d 5d e0             	lea    -0x20(%ebp),%ebx               
  10ba47:	53                   	push   %ebx                           
  10ba48:	e8 7b 34 00 00       	call   10eec8 <_Timespec_To_ticks>    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  10ba4d:	89 1c 24             	mov    %ebx,(%esp)                    
  10ba50:	e8 73 34 00 00       	call   10eec8 <_Timespec_To_ticks>    
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
  10ba55:	a3 0c bb 12 00       	mov    %eax,0x12bb0c                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
  10ba5a:	58                   	pop    %eax                           
  10ba5b:	5a                   	pop    %edx                           
  10ba5c:	68 00 bb 12 00       	push   $0x12bb00                      
  10ba61:	68 58 b2 12 00       	push   $0x12b258                      
  10ba66:	e8 b5 37 00 00       	call   10f220 <_Watchdog_Insert>      
  10ba6b:	83 c4 10             	add    $0x10,%esp                     
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
  10ba6e:	89 f0                	mov    %esi,%eax                      
  10ba70:	8d 65 f4             	lea    -0xc(%ebp),%esp                
  10ba73:	5b                   	pop    %ebx                           
  10ba74:	5e                   	pop    %esi                           
  10ba75:	5f                   	pop    %edi                           
  10ba76:	c9                   	leave                                 
  10ba77:	c3                   	ret                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  10ba78:	c7 05 08 bb 12 00 00 	movl   $0x0,0x12bb08                  
  10ba7f:	00 00 00                                                    
  the_watchdog->routine   = routine;                                  
  10ba82:	c7 05 1c bb 12 00 04 	movl   $0x10bb04,0x12bb1c             
  10ba89:	bb 10 00                                                    
  the_watchdog->id        = id;                                       
  10ba8c:	c7 05 20 bb 12 00 00 	movl   $0x0,0x12bb20                  
  10ba93:	00 00 00                                                    
  the_watchdog->user_data = user_data;                                
  10ba96:	c7 05 24 bb 12 00 00 	movl   $0x0,0x12bb24                  
  10ba9d:	00 00 00                                                    
  10baa0:	31 f6                	xor    %esi,%esi                      
  10baa2:	e9 61 ff ff ff       	jmp    10ba08 <ualarm+0x38>           
  10baa7:	90                   	nop                                   
       *  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);        
  10baa8:	a1 14 bb 12 00       	mov    0x12bb14,%eax                  
  10baad:	03 05 0c bb 12 00    	add    0x12bb0c,%eax                  
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
  10bab3:	83 ec 08             	sub    $0x8,%esp                      
  10bab6:	8d 55 e0             	lea    -0x20(%ebp),%edx               
  10bab9:	52                   	push   %edx                           
  10baba:	2b 05 18 bb 12 00    	sub    0x12bb18,%eax                  
  10bac0:	50                   	push   %eax                           
  10bac1:	e8 7e 33 00 00       	call   10ee44 <_Timespec_From_ticks>  
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
  10bac6:	8b 45 e0             	mov    -0x20(%ebp),%eax               
  10bac9:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bacc:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bacf:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bad2:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bad5:	8d 04 80             	lea    (%eax,%eax,4),%eax             
  10bad8:	8d 3c 80             	lea    (%eax,%eax,4),%edi             
  10badb:	c1 e7 06             	shl    $0x6,%edi                      
      remaining += tp.tv_nsec / 1000;                                 
  10bade:	b9 d3 4d 62 10       	mov    $0x10624dd3,%ecx               
  10bae3:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10bae6:	f7 e9                	imul   %ecx                           
  10bae8:	89 45 d0             	mov    %eax,-0x30(%ebp)               
  10baeb:	89 55 d4             	mov    %edx,-0x2c(%ebp)               
  10baee:	8b 75 d4             	mov    -0x2c(%ebp),%esi               
  10baf1:	c1 fe 06             	sar    $0x6,%esi                      
  10baf4:	8b 45 e4             	mov    -0x1c(%ebp),%eax               
  10baf7:	99                   	cltd                                  
  10baf8:	29 d6                	sub    %edx,%esi                      
  10bafa:	01 fe                	add    %edi,%esi                      
  10bafc:	83 c4 10             	add    $0x10,%esp                     
  10baff:	e9 04 ff ff ff       	jmp    10ba08 <ualarm+0x38>