RTEMS 4.10.2
Annotated Report
Tue Dec 13 19:19:07 2011

02007184 <_API_extensions_Run_postdriver>: * * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
 2007184:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 2007188:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 200718c:	e0 04 61 e4 	ld  [ %l1 + 0x1e4 ], %l0	! 201f5e4 <_API_extensions_List>
 2007190:	a2 14 61 e4 	or  %l1, 0x1e4, %l1                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2007194:	a2 04 60 04 	add  %l1, 4, %l1                               
 2007198:	80 a4 00 11 	cmp  %l0, %l1                                  
 200719c:	02 80 00 09 	be  20071c0 <_API_extensions_Run_postdriver+0x3c><== NEVER TAKEN
 20071a0:	01 00 00 00 	nop                                            
     *  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)();                            
 20071a4:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20071a8:	9f c0 40 00 	call  %g1                                      
 20071ac:	01 00 00 00 	nop                                            
  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 ) {                                 
 20071b0:	e0 04 00 00 	ld  [ %l0 ], %l0                               
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 20071b4:	80 a4 00 11 	cmp  %l0, %l1                                  
 20071b8:	32 bf ff fc 	bne,a   20071a8 <_API_extensions_Run_postdriver+0x24>
 20071bc:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20071c0:	81 c7 e0 08 	ret                                            
 20071c4:	81 e8 00 00 	restore                                        
                                                                      

020071c8 <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
 20071c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 20071cc:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 20071d0:	e0 04 61 e4 	ld  [ %l1 + 0x1e4 ], %l0	! 201f5e4 <_API_extensions_List>
 20071d4:	a2 14 61 e4 	or  %l1, 0x1e4, %l1                            
 20071d8:	a2 04 60 04 	add  %l1, 4, %l1                               
 20071dc:	80 a4 00 11 	cmp  %l0, %l1                                  
 20071e0:	02 80 00 0a 	be  2007208 <_API_extensions_Run_postswitch+0x40><== NEVER TAKEN
 20071e4:	25 00 80 7d 	sethi  %hi(0x201f400), %l2                     
 20071e8:	a4 14 a0 60 	or  %l2, 0x60, %l2	! 201f460 <_Thread_Executing>
     *  provide this hook.                                            
     */                                                               
#if defined(RTEMS_ITRON_API)                                          
    if ( the_extension->postswitch_hook )                             
#endif                                                                
      (*the_extension->postswitch_hook)( _Thread_Executing );         
 20071ec:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 20071f0:	9f c0 40 00 	call  %g1                                      
 20071f4:	d0 04 80 00 	ld  [ %l2 ], %o0                               
  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 ) {                                 
 20071f8:	e0 04 00 00 	ld  [ %l0 ], %l0                               
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _API_extensions_List.first ;                       
 20071fc:	80 a4 00 11 	cmp  %l0, %l1                                  
 2007200:	32 bf ff fc 	bne,a   20071f0 <_API_extensions_Run_postswitch+0x28>
 2007204:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 2007208:	81 c7 e0 08 	ret                                            
 200720c:	81 e8 00 00 	restore                                        
                                                                      

020012a8 <_Barrier_Manager_initialization>: #include <rtems/score/object.h> #include <rtems/rtems/barrier.h> void _Barrier_Manager_initialization(void) { }
 20012a8:	81 c3 e0 08 	retl                                           
                                                                      

020099f8 <_CORE_RWLock_Obtain_for_reading>: Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) {
 20099f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 20099fc:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
   *  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 );                                              
 2009a00:	7f ff e7 3e 	call  20036f8 <sparc_disable_interrupts>       
 2009a04:	e0 00 63 f0 	ld  [ %g1 + 0x3f0 ], %l0	! 20227f0 <_Thread_Executing>
 2009a08:	a2 10 00 08 	mov  %o0, %l1                                  
    switch ( the_rwlock->current_state ) {                            
 2009a0c:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 2009a10:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a14:	12 80 00 0c 	bne  2009a44 <_CORE_RWLock_Obtain_for_reading+0x4c>
 2009a18:	80 a0 60 01 	cmp  %g1, 1                                    
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
	the_rwlock->number_of_readers += 1;                                  
 2009a1c:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    switch ( the_rwlock->current_state ) {                            
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
 2009a20:	84 10 20 01 	mov  1, %g2                                    
	the_rwlock->number_of_readers += 1;                                  
 2009a24:	82 00 60 01 	inc  %g1                                       
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    switch ( the_rwlock->current_state ) {                            
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
 2009a28:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
	the_rwlock->number_of_readers += 1;                                  
 2009a2c:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	_ISR_Enable( level );                                                
 2009a30:	7f ff e7 36 	call  2003708 <sparc_enable_interrupts>        
 2009a34:	01 00 00 00 	nop                                            
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
 2009a38:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
	return;                                                              
 2009a3c:	81 c7 e0 08 	ret                                            
 2009a40:	81 e8 00 00 	restore                                        
   *  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 ) {                            
 2009a44:	02 80 00 15 	be  2009a98 <_CORE_RWLock_Obtain_for_reading+0xa0>
 2009a48:	80 8e a0 ff 	btst  0xff, %i2                                
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
 2009a4c:	02 80 00 0d 	be  2009a80 <_CORE_RWLock_Obtain_for_reading+0x88>
 2009a50:	82 10 20 01 	mov  1, %g1                                    
     *  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;            
    executing->Wait.id          = id;                                 
 2009a54:	f2 24 20 20 	st  %i1, [ %l0 + 0x20 ]                        
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 2009a58:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
    /*                                                                
     *  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;            
 2009a5c:	f0 24 20 44 	st  %i0, [ %l0 + 0x44 ]                        
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
 2009a60:	c0 24 20 30 	clr  [ %l0 + 0x30 ]                            
 2009a64:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
 2009a68:	90 10 00 11 	mov  %l1, %o0                                  
 2009a6c:	7f ff e7 27 	call  2003708 <sparc_enable_interrupts>        
 2009a70:	35 00 80 27 	sethi  %hi(0x2009c00), %i2                     
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
 2009a74:	b2 10 00 1b 	mov  %i3, %i1                                  
 2009a78:	40 00 07 68 	call  200b818 <_Thread_queue_Enqueue_with_handler>
 2009a7c:	95 ee a0 44 	restore  %i2, 0x44, %o2                        
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
      _ISR_Enable( level );                                           
 2009a80:	7f ff e7 22 	call  2003708 <sparc_enable_interrupts>        
 2009a84:	90 10 00 11 	mov  %l1, %o0                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2009a88:	82 10 20 02 	mov  2, %g1                                    
 2009a8c:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
 2009a90:	81 c7 e0 08 	ret                                            
 2009a94:	81 e8 00 00 	restore                                        
	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 );      
 2009a98:	40 00 08 5b 	call  200bc04 <_Thread_queue_First>            
 2009a9c:	90 10 00 18 	mov  %i0, %o0                                  
        if ( !waiter ) {                                              
 2009aa0:	80 a2 20 00 	cmp  %o0, 0                                    
 2009aa4:	12 bf ff ea 	bne  2009a4c <_CORE_RWLock_Obtain_for_reading+0x54><== NEVER TAKEN
 2009aa8:	80 8e a0 ff 	btst  0xff, %i2                                
	  the_rwlock->number_of_readers += 1;                                
 2009aac:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009ab0:	82 00 60 01 	inc  %g1                                       
 2009ab4:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	  _ISR_Enable( level );                                              
 2009ab8:	7f ff e7 14 	call  2003708 <sparc_enable_interrupts>        
 2009abc:	90 10 00 11 	mov  %l1, %o0                                  
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
 2009ac0:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
          return;                                                     
 2009ac4:	81 c7 e0 08 	ret                                            
 2009ac8:	81 e8 00 00 	restore                                        
                                                                      

02009b50 <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
 2009b50:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 2009b54:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
   *  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 );                                              
 2009b58:	7f ff e6 e8 	call  20036f8 <sparc_disable_interrupts>       
 2009b5c:	e0 00 63 f0 	ld  [ %g1 + 0x3f0 ], %l0	! 20227f0 <_Thread_Executing>
 2009b60:	84 10 00 08 	mov  %o0, %g2                                  
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
 2009b64:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 2009b68:	80 a0 60 00 	cmp  %g1, 0                                    
 2009b6c:	02 80 00 2c 	be  2009c1c <_CORE_RWLock_Release+0xcc>        
 2009b70:	80 a0 60 01 	cmp  %g1, 1                                    
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
 2009b74:	22 80 00 23 	be,a   2009c00 <_CORE_RWLock_Release+0xb0>     
 2009b78:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 2009b7c:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
 2009b80:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
  _ISR_Enable( level );                                               
 2009b84:	7f ff e6 e1 	call  2003708 <sparc_enable_interrupts>        
 2009b88:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
 2009b8c:	40 00 06 c1 	call  200b690 <_Thread_queue_Dequeue>          
 2009b90:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( next ) {                                                       
 2009b94:	80 a2 20 00 	cmp  %o0, 0                                    
 2009b98:	22 80 00 25 	be,a   2009c2c <_CORE_RWLock_Release+0xdc>     
 2009b9c:	b0 10 20 00 	clr  %i0                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
 2009ba0:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 2009ba4:	80 a0 60 01 	cmp  %g1, 1                                    
 2009ba8:	02 80 00 23 	be  2009c34 <_CORE_RWLock_Release+0xe4>        
 2009bac:	84 10 20 01 	mov  1, %g2                                    
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 2009bb0:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009bb4:	82 00 60 01 	inc  %g1                                       
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 2009bb8:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 2009bbc:	10 80 00 0a 	b  2009be4 <_CORE_RWLock_Release+0x94>         
 2009bc0:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
     * 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 )
 2009bc4:	80 a0 60 01 	cmp  %g1, 1                                    
 2009bc8:	02 80 00 0c 	be  2009bf8 <_CORE_RWLock_Release+0xa8>        <== NEVER TAKEN
 2009bcc:	92 10 00 08 	mov  %o0, %o1                                  
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 2009bd0:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 2009bd4:	90 10 00 18 	mov  %i0, %o0                                  
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 2009bd8:	82 00 60 01 	inc  %g1                                       
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 2009bdc:	40 00 07 b9 	call  200bac0 <_Thread_queue_Extract>          
 2009be0:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
 2009be4:	40 00 08 08 	call  200bc04 <_Thread_queue_First>            
 2009be8:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !next ||                                                   
 2009bec:	80 a2 20 00 	cmp  %o0, 0                                    
 2009bf0:	32 bf ff f5 	bne,a   2009bc4 <_CORE_RWLock_Release+0x74>    
 2009bf4:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 2009bf8:	81 c7 e0 08 	ret                                            
 2009bfc:	91 e8 20 00 	restore  %g0, 0, %o0                           
      _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;                                  
 2009c00:	82 00 7f ff 	add  %g1, -1, %g1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
 2009c04:	80 a0 60 00 	cmp  %g1, 0                                    
 2009c08:	02 bf ff dd 	be  2009b7c <_CORE_RWLock_Release+0x2c>        
 2009c0c:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
 2009c10:	7f ff e6 be 	call  2003708 <sparc_enable_interrupts>        
 2009c14:	b0 10 20 00 	clr  %i0                                       
          return CORE_RWLOCK_SUCCESSFUL;                              
 2009c18:	30 80 00 05 	b,a   2009c2c <_CORE_RWLock_Release+0xdc>      
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
 2009c1c:	7f ff e6 bb 	call  2003708 <sparc_enable_interrupts>        
 2009c20:	b0 10 20 00 	clr  %i0                                       
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2009c24:	82 10 20 02 	mov  2, %g1                                    
 2009c28:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 2009c2c:	81 c7 e0 08 	ret                                            
 2009c30:	81 e8 00 00 	restore                                        
                                                                      
  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;     
 2009c34:	82 10 20 02 	mov  2, %g1                                    
 2009c38:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 2009c3c:	81 c7 e0 08 	ret                                            
 2009c40:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02009c44 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
 2009c44:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2009c48:	90 10 00 18 	mov  %i0, %o0                                  
 2009c4c:	40 00 05 8e 	call  200b284 <_Thread_Get>                    
 2009c50:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2009c54:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2009c58:	80 a0 60 00 	cmp  %g1, 0                                    
 2009c5c:	12 80 00 08 	bne  2009c7c <_CORE_RWLock_Timeout+0x38>       <== NEVER TAKEN
 2009c60:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2009c64:	40 00 08 24 	call  200bcf4 <_Thread_queue_Process_timeout>  
 2009c68:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2009c6c:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 2009c70:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 2022730 <_Thread_Dispatch_disable_level>
 2009c74:	84 00 bf ff 	add  %g2, -1, %g2                              
 2009c78:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
 2009c7c:	81 c7 e0 08 	ret                                            
 2009c80:	81 e8 00 00 	restore                                        
                                                                      

02017b64 <_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 ) {
 2017b64:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 2017b68:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
 2017b6c:	a0 10 00 18 	mov  %i0, %l0                                  
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 2017b70:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2017b74:	0a 80 00 17 	bcs  2017bd0 <_CORE_message_queue_Broadcast+0x6c><== NEVER TAKEN
 2017b78:	b0 10 20 01 	mov  1, %i0                                    
   *  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 ) {         
 2017b7c:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 2017b80:	80 a0 60 00 	cmp  %g1, 0                                    
 2017b84:	02 80 00 0a 	be  2017bac <_CORE_message_queue_Broadcast+0x48>
 2017b88:	a4 10 20 00 	clr  %l2                                       
    *count = 0;                                                       
 2017b8c:	c0 27 40 00 	clr  [ %i5 ]                                   
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
 2017b90:	81 c7 e0 08 	ret                                            
 2017b94:	91 e8 20 00 	restore  %g0, 0, %o0                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 2017b98:	d0 04 60 2c 	ld  [ %l1 + 0x2c ], %o0                        
 2017b9c:	40 00 2f aa 	call  2023a44 <memcpy>                         
 2017ba0:	a4 04 a0 01 	inc  %l2                                       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
 2017ba4:	c2 04 60 28 	ld  [ %l1 + 0x28 ], %g1                        
 2017ba8:	f4 20 40 00 	st  %i2, [ %g1 ]                               
   *  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))) {   
 2017bac:	40 00 0a e9 	call  201a750 <_Thread_queue_Dequeue>          
 2017bb0:	90 10 00 10 	mov  %l0, %o0                                  
 2017bb4:	92 10 00 19 	mov  %i1, %o1                                  
 2017bb8:	a2 10 00 08 	mov  %o0, %l1                                  
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
 2017bbc:	80 a2 20 00 	cmp  %o0, 0                                    
 2017bc0:	12 bf ff f6 	bne  2017b98 <_CORE_message_queue_Broadcast+0x34>
 2017bc4:	94 10 00 1a 	mov  %i2, %o2                                  
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
 2017bc8:	e4 27 40 00 	st  %l2, [ %i5 ]                               
 2017bcc:	b0 10 20 00 	clr  %i0                                       
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
 2017bd0:	81 c7 e0 08 	ret                                            
 2017bd4:	81 e8 00 00 	restore                                        
                                                                      

02011224 <_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 ) {
 2011224:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
 2011228:	c0 26 20 48 	clr  [ %i0 + 0x48 ]                            
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
 201122c:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
  the_message_queue->number_of_pending_messages = 0;                  
  the_message_queue->maximum_message_size       = maximum_message_size;
 2011230:	f6 26 20 4c 	st  %i3, [ %i0 + 0x4c ]                        
    CORE_message_queue_Control        *the_message_queue,             
    CORE_message_queue_Notify_Handler  the_handler,                   
    void                              *the_argument                   
  )                                                                   
  {                                                                   
    the_message_queue->notify_handler  = the_handler;                 
 2011234:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
    the_message_queue->notify_argument = the_argument;                
 2011238:	c0 26 20 64 	clr  [ %i0 + 0x64 ]                            
  /*                                                                  
   *  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)) {              
 201123c:	80 8e e0 03 	btst  3, %i3                                   
 2011240:	02 80 00 09 	be  2011264 <_CORE_message_queue_Initialize+0x40>
 2011244:	a2 10 00 1b 	mov  %i3, %l1                                  
    allocated_message_size += sizeof(uint32_t);                       
 2011248:	a2 06 e0 04 	add  %i3, 4, %l1                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 201124c:	a2 0c 7f fc 	and  %l1, -4, %l1                              
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 2011250:	80 a6 c0 11 	cmp  %i3, %l1                                  
 2011254:	08 80 00 05 	bleu  2011268 <_CORE_message_queue_Initialize+0x44><== ALWAYS TAKEN
 2011258:	a0 04 60 14 	add  %l1, 0x14, %l0                            
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
 201125c:	81 c7 e0 08 	ret                                            
 2011260:	91 e8 20 00 	restore  %g0, 0, %o0                           
  /*                                                                  
   *  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));
 2011264:	a0 04 60 14 	add  %l1, 0x14, %l0                            
                                                                      
  /*                                                                  
   *  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 *    
 2011268:	92 10 00 1a 	mov  %i2, %o1                                  
 201126c:	40 00 58 af 	call  2027528 <.umul>                          
 2011270:	90 10 00 10 	mov  %l0, %o0                                  
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
 2011274:	80 a2 00 11 	cmp  %o0, %l1                                  
 2011278:	0a bf ff f9 	bcs  201125c <_CORE_message_queue_Initialize+0x38><== NEVER TAKEN
 201127c:	01 00 00 00 	nop                                            
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 2011280:	40 00 0c d1 	call  20145c4 <_Workspace_Allocate>            
 2011284:	01 00 00 00 	nop                                            
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 2011288:	80 a2 20 00 	cmp  %o0, 0                                    
 201128c:	02 bf ff f4 	be  201125c <_CORE_message_queue_Initialize+0x38>
 2011290:	d0 26 20 5c 	st  %o0, [ %i0 + 0x5c ]                        
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 2011294:	92 10 00 08 	mov  %o0, %o1                                  
 2011298:	94 10 00 1a 	mov  %i2, %o2                                  
 201129c:	90 06 20 68 	add  %i0, 0x68, %o0                            
 20112a0:	40 00 1c 68 	call  2018440 <_Chain_Initialize>              
 20112a4:	96 10 00 10 	mov  %l0, %o3                                  
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
 20112a8:	c2 06 40 00 	ld  [ %i1 ], %g1                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 20112ac:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 20112b0:	82 18 60 01 	xor  %g1, 1, %g1                               
 20112b4:	80 a0 00 01 	cmp  %g0, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 20112b8:	82 06 20 54 	add  %i0, 0x54, %g1                            
 20112bc:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 20112c0:	82 06 20 50 	add  %i0, 0x50, %g1                            
 20112c4:	90 10 00 18 	mov  %i0, %o0                                  
 20112c8:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
 20112cc:	92 60 3f ff 	subx  %g0, -1, %o1                             
 20112d0:	94 10 20 80 	mov  0x80, %o2                                 
 20112d4:	96 10 20 06 	mov  6, %o3                                    
 20112d8:	40 00 09 67 	call  2013874 <_Thread_queue_Initialize>       
 20112dc:	b0 10 20 01 	mov  1, %i0                                    
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
 20112e0:	81 c7 e0 08 	ret                                            
 20112e4:	81 e8 00 00 	restore                                        
                                                                      

02007530 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
 2007530:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 2007534:	21 00 80 7c 	sethi  %hi(0x201f000), %l0                     
 2007538:	c2 04 23 a0 	ld  [ %l0 + 0x3a0 ], %g1	! 201f3a0 <_Thread_Dispatch_disable_level>
 200753c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007540:	02 80 00 05 	be  2007554 <_CORE_mutex_Seize+0x24>           
 2007544:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2007548:	80 8e a0 ff 	btst  0xff, %i2                                
 200754c:	12 80 00 1a 	bne  20075b4 <_CORE_mutex_Seize+0x84>          <== ALWAYS TAKEN
 2007550:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2007554:	90 10 00 18 	mov  %i0, %o0                                  
 2007558:	40 00 1b 0e 	call  200e190 <_CORE_mutex_Seize_interrupt_trylock>
 200755c:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 2007560:	80 a2 20 00 	cmp  %o0, 0                                    
 2007564:	02 80 00 12 	be  20075ac <_CORE_mutex_Seize+0x7c>           
 2007568:	80 8e a0 ff 	btst  0xff, %i2                                
 200756c:	02 80 00 1a 	be  20075d4 <_CORE_mutex_Seize+0xa4>           
 2007570:	01 00 00 00 	nop                                            
 2007574:	c4 04 23 a0 	ld  [ %l0 + 0x3a0 ], %g2                       
 2007578:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200757c:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
 2007580:	f2 20 60 20 	st  %i1, [ %g1 + 0x20 ]                        
 2007584:	f0 20 60 44 	st  %i0, [ %g1 + 0x44 ]                        
 2007588:	82 00 a0 01 	add  %g2, 1, %g1                               
 200758c:	c2 24 23 a0 	st  %g1, [ %l0 + 0x3a0 ]                       
                                                                      
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;
 2007590:	82 10 20 01 	mov  1, %g1                                    
 2007594:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
 2007598:	7f ff ea c7 	call  20020b4 <sparc_enable_interrupts>        
 200759c:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 20075a0:	90 10 00 18 	mov  %i0, %o0                                  
 20075a4:	7f ff ff c0 	call  20074a4 <_CORE_mutex_Seize_interrupt_blocking>
 20075a8:	92 10 00 1b 	mov  %i3, %o1                                  
 20075ac:	81 c7 e0 08 	ret                                            
 20075b0:	81 e8 00 00 	restore                                        
 20075b4:	c2 00 61 40 	ld  [ %g1 + 0x140 ], %g1                       
 20075b8:	80 a0 60 01 	cmp  %g1, 1                                    
 20075bc:	28 bf ff e7 	bleu,a   2007558 <_CORE_mutex_Seize+0x28>      
 20075c0:	90 10 00 18 	mov  %i0, %o0                                  
 20075c4:	90 10 20 00 	clr  %o0                                       
 20075c8:	92 10 20 00 	clr  %o1                                       
 20075cc:	40 00 01 c5 	call  2007ce0 <_Internal_error_Occurred>       
 20075d0:	94 10 20 13 	mov  0x13, %o2                                 
 20075d4:	7f ff ea b8 	call  20020b4 <sparc_enable_interrupts>        
 20075d8:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 20075dc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20075e0:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
 20075e4:	84 10 20 01 	mov  1, %g2                                    
 20075e8:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
 20075ec:	81 c7 e0 08 	ret                                            
 20075f0:	81 e8 00 00 	restore                                        
                                                                      

02007790 <_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 ) {
 2007790:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2007794:	a0 10 00 18 	mov  %i0, %l0                                  
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 2007798:	b0 10 20 00 	clr  %i0                                       
 200779c:	40 00 06 92 	call  20091e4 <_Thread_queue_Dequeue>          
 20077a0:	90 10 00 10 	mov  %l0, %o0                                  
 20077a4:	80 a2 20 00 	cmp  %o0, 0                                    
 20077a8:	02 80 00 04 	be  20077b8 <_CORE_semaphore_Surrender+0x28>   
 20077ac:	01 00 00 00 	nop                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 20077b0:	81 c7 e0 08 	ret                                            
 20077b4:	81 e8 00 00 	restore                                        
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 20077b8:	7f ff ea 3b 	call  20020a4 <sparc_disable_interrupts>       
 20077bc:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 20077c0:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 20077c4:	c4 04 20 40 	ld  [ %l0 + 0x40 ], %g2                        
 20077c8:	80 a0 40 02 	cmp  %g1, %g2                                  
 20077cc:	1a 80 00 05 	bcc  20077e0 <_CORE_semaphore_Surrender+0x50>  <== NEVER TAKEN
 20077d0:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 20077d4:	82 00 60 01 	inc  %g1                                       
 20077d8:	b0 10 20 00 	clr  %i0                                       
 20077dc:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 20077e0:	7f ff ea 35 	call  20020b4 <sparc_enable_interrupts>        
 20077e4:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 20077e8:	81 c7 e0 08 	ret                                            
 20077ec:	81 e8 00 00 	restore                                        
                                                                      

0200e074 <_Chain_Initialize>: Chain_Node *current; Chain_Node *next; count = number_nodes; current = _Chain_Head( the_chain ); the_chain->permanent_null = NULL;
 200e074:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
  next                      = starting_address;                       
  while ( count-- ) {                                                 
 200e078:	80 a2 a0 00 	cmp  %o2, 0                                    
 200e07c:	02 80 00 08 	be  200e09c <_Chain_Initialize+0x28>           <== NEVER TAKEN
 200e080:	82 10 00 08 	mov  %o0, %g1                                  
    current->next  = next;                                            
    next->previous = current;                                         
 200e084:	c2 22 60 04 	st  %g1, [ %o1 + 4 ]                           
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
    current->next  = next;                                            
 200e088:	d2 20 40 00 	st  %o1, [ %g1 ]                               
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
 200e08c:	94 82 bf ff 	addcc  %o2, -1, %o2                            
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
 200e090:	82 10 00 09 	mov  %o1, %g1                                  
                                                                      
  count                     = number_nodes;                           
  current                   = _Chain_Head( the_chain );               
  the_chain->permanent_null = NULL;                                   
  next                      = starting_address;                       
  while ( count-- ) {                                                 
 200e094:	12 bf ff fc 	bne  200e084 <_Chain_Initialize+0x10>          
 200e098:	92 02 40 0b 	add  %o1, %o3, %o1                             
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
  current->next    = _Chain_Tail( the_chain );                        
 200e09c:	84 02 20 04 	add  %o0, 4, %g2                               
 200e0a0:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  the_chain->last  = current;                                         
}                                                                     
 200e0a4:	81 c3 e0 08 	retl                                           
 200e0a8:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
                                                                      

020012b0 <_Dual_ported_memory_Manager_initialization>: #include <rtems/rtems/types.h> #include <rtems/rtems/dpmem.h> void _Dual_ported_memory_Manager_initialization(void) { }
 20012b0:	81 c3 e0 08 	retl                                           
                                                                      

020012b8 <_Event_Manager_initialization>: #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Event_Manager_initialization(void) { }
 20012b8:	81 c3 e0 08 	retl                                           
                                                                      

020062cc <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
 20062cc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
 20062d0:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20062d4:	e0 00 60 60 	ld  [ %g1 + 0x60 ], %l0	! 201f460 <_Thread_Executing>
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
 20062d8:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
                                                                      
  _ISR_Disable( level );                                              
 20062dc:	7f ff ef 72 	call  20020a4 <sparc_disable_interrupts>       
 20062e0:	e4 04 21 68 	ld  [ %l0 + 0x168 ], %l2                       
  pending_events = api->pending_events;                               
 20062e4:	c2 04 80 00 	ld  [ %l2 ], %g1                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
 20062e8:	a2 8e 00 01 	andcc  %i0, %g1, %l1                           
 20062ec:	02 80 00 07 	be  2006308 <_Event_Seize+0x3c>                
 20062f0:	80 8e 60 01 	btst  1, %i1                                   
 20062f4:	80 a6 00 11 	cmp  %i0, %l1                                  
 20062f8:	02 80 00 23 	be  2006384 <_Event_Seize+0xb8>                
 20062fc:	80 8e 60 02 	btst  2, %i1                                   
 2006300:	12 80 00 21 	bne  2006384 <_Event_Seize+0xb8>               <== ALWAYS TAKEN
 2006304:	80 8e 60 01 	btst  1, %i1                                   
    _ISR_Enable( level );                                             
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
 2006308:	12 80 00 18 	bne  2006368 <_Event_Seize+0x9c>               
 200630c:	82 10 20 01 	mov  1, %g1                                    
   *  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;          
 2006310:	f2 24 20 30 	st  %i1, [ %l0 + 0x30 ]                        
  executing->Wait.count             = (uint32_t) event_in;            
 2006314:	f0 24 20 24 	st  %i0, [ %l0 + 0x24 ]                        
  executing->Wait.return_argument   = event_out;                      
 2006318:	f6 24 20 28 	st  %i3, [ %l0 + 0x28 ]                        
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 200631c:	33 00 80 7f 	sethi  %hi(0x201fc00), %i1                     
 2006320:	c2 26 61 08 	st  %g1, [ %i1 + 0x108 ]	! 201fd08 <_Event_Sync_state>
                                                                      
  _ISR_Enable( level );                                               
 2006324:	7f ff ef 64 	call  20020b4 <sparc_enable_interrupts>        
 2006328:	01 00 00 00 	nop                                            
                                                                      
  if ( ticks ) {                                                      
 200632c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006330:	32 80 00 1c 	bne,a   20063a0 <_Event_Seize+0xd4>            
 2006334:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
 2006338:	90 10 00 10 	mov  %l0, %o0                                  
 200633c:	40 00 0d 2b 	call  20097e8 <_Thread_Set_state>              
 2006340:	92 10 21 00 	mov  0x100, %o1                                
                                                                      
  _ISR_Disable( level );                                              
 2006344:	7f ff ef 58 	call  20020a4 <sparc_disable_interrupts>       
 2006348:	01 00 00 00 	nop                                            
                                                                      
  sync_state = _Event_Sync_state;                                     
 200634c:	f0 06 61 08 	ld  [ %i1 + 0x108 ], %i0                       
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
 2006350:	c0 26 61 08 	clr  [ %i1 + 0x108 ]                           
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
 2006354:	80 a6 20 01 	cmp  %i0, 1                                    
 2006358:	02 80 00 1f 	be  20063d4 <_Event_Seize+0x108>               
 200635c:	b2 10 00 10 	mov  %l0, %i1                                  
   *  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 );  
 2006360:	40 00 08 db 	call  20086cc <_Thread_blocking_operation_Cancel>
 2006364:	95 e8 00 08 	restore  %g0, %o0, %o2                         
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
    _ISR_Enable( level );                                             
 2006368:	7f ff ef 53 	call  20020b4 <sparc_enable_interrupts>        
 200636c:	01 00 00 00 	nop                                            
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
 2006370:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
 2006374:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
    *event_out = seized_events;                                       
 2006378:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
 200637c:	81 c7 e0 08 	ret                                            
 2006380:	81 e8 00 00 	restore                                        
  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 =                                             
 2006384:	82 28 40 11 	andn  %g1, %l1, %g1                            
 2006388:	c2 24 80 00 	st  %g1, [ %l2 ]                               
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
 200638c:	7f ff ef 4a 	call  20020b4 <sparc_enable_interrupts>        
 2006390:	01 00 00 00 	nop                                            
    *event_out = seized_events;                                       
 2006394:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
    return;                                                           
 2006398:	81 c7 e0 08 	ret                                            
 200639c:	81 e8 00 00 	restore                                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20063a0:	f4 24 20 54 	st  %i2, [ %l0 + 0x54 ]                        
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 20063a4:	c2 24 20 68 	st  %g1, [ %l0 + 0x68 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20063a8:	03 00 80 19 	sethi  %hi(0x2006400), %g1                     
 20063ac:	82 10 61 70 	or  %g1, 0x170, %g1	! 2006570 <_Event_Timeout> 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20063b0:	c0 24 20 50 	clr  [ %l0 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 20063b4:	c0 24 20 6c 	clr  [ %l0 + 0x6c ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20063b8:	c2 24 20 64 	st  %g1, [ %l0 + 0x64 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20063bc:	11 00 80 7d 	sethi  %hi(0x201f400), %o0                     
 20063c0:	92 04 20 48 	add  %l0, 0x48, %o1                            
 20063c4:	40 00 0f 25 	call  200a058 <_Watchdog_Insert>               
 20063c8:	90 12 20 80 	or  %o0, 0x80, %o0                             
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
 20063cc:	10 bf ff dc 	b  200633c <_Event_Seize+0x70>                 
 20063d0:	90 10 00 10 	mov  %l0, %o0                                  
  _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 );                                             
 20063d4:	7f ff ef 38 	call  20020b4 <sparc_enable_interrupts>        
 20063d8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02006438 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 2006438:	9d e3 bf a0 	save  %sp, -96, %sp                            
  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 ];               
 200643c:	e0 06 21 68 	ld  [ %i0 + 0x168 ], %l0                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
                                                                      
  _ISR_Disable( level );                                              
 2006440:	7f ff ef 19 	call  20020a4 <sparc_disable_interrupts>       
 2006444:	e4 06 20 30 	ld  [ %i0 + 0x30 ], %l2                        
 2006448:	a2 10 00 08 	mov  %o0, %l1                                  
  pending_events  = api->pending_events;                              
 200644c:	c4 04 00 00 	ld  [ %l0 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 2006450:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 2006454:	86 88 40 02 	andcc  %g1, %g2, %g3                           
 2006458:	02 80 00 3a 	be  2006540 <_Event_Surrender+0x108>           
 200645c:	09 00 80 7d 	sethi  %hi(0x201f400), %g4                     
                                                                      
  /*                                                                  
   *  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() &&                                       
 2006460:	c8 01 20 3c 	ld  [ %g4 + 0x3c ], %g4	! 201f43c <_ISR_Nest_level>
 2006464:	80 a1 20 00 	cmp  %g4, 0                                    
 2006468:	12 80 00 1d 	bne  20064dc <_Event_Surrender+0xa4>           
 200646c:	09 00 80 7d 	sethi  %hi(0x201f400), %g4                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 2006470:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
 2006474:	80 89 21 00 	btst  0x100, %g4                               
 2006478:	02 80 00 32 	be  2006540 <_Event_Surrender+0x108>           
 200647c:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 2006480:	02 80 00 04 	be  2006490 <_Event_Surrender+0x58>            
 2006484:	80 8c a0 02 	btst  2, %l2                                   
 2006488:	02 80 00 2e 	be  2006540 <_Event_Surrender+0x108>           <== NEVER TAKEN
 200648c:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2006490:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 2006494:	84 28 80 03 	andn  %g2, %g3, %g2                            
 2006498:	c4 24 00 00 	st  %g2, [ %l0 ]                               
      the_thread->Wait.count = 0;                                     
 200649c:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20064a0:	c6 20 40 00 	st  %g3, [ %g1 ]                               
                                                                      
      _ISR_Flash( level );                                            
 20064a4:	7f ff ef 04 	call  20020b4 <sparc_enable_interrupts>        
 20064a8:	90 10 00 11 	mov  %l1, %o0                                  
 20064ac:	7f ff ee fe 	call  20020a4 <sparc_disable_interrupts>       
 20064b0:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 20064b4:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 20064b8:	80 a0 60 02 	cmp  %g1, 2                                    
 20064bc:	02 80 00 23 	be  2006548 <_Event_Surrender+0x110>           
 20064c0:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 20064c4:	90 10 00 11 	mov  %l1, %o0                                  
 20064c8:	7f ff ee fb 	call  20020b4 <sparc_enable_interrupts>        
 20064cc:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 20064d0:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
 20064d4:	40 00 09 19 	call  2008938 <_Thread_Clear_state>            
 20064d8:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  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() &&                                       
 20064dc:	c8 01 20 60 	ld  [ %g4 + 0x60 ], %g4                        
 20064e0:	80 a6 00 04 	cmp  %i0, %g4                                  
 20064e4:	32 bf ff e4 	bne,a   2006474 <_Event_Surrender+0x3c>        
 20064e8:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 20064ec:	09 00 80 7f 	sethi  %hi(0x201fc00), %g4                     
 20064f0:	da 01 21 08 	ld  [ %g4 + 0x108 ], %o5	! 201fd08 <_Event_Sync_state>
                                                                      
  /*                                                                  
   *  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() &&                                       
 20064f4:	80 a3 60 02 	cmp  %o5, 2                                    
 20064f8:	02 80 00 07 	be  2006514 <_Event_Surrender+0xdc>            <== NEVER TAKEN
 20064fc:	80 a0 40 03 	cmp  %g1, %g3                                  
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 2006500:	da 01 21 08 	ld  [ %g4 + 0x108 ], %o5                       
                                                                      
  /*                                                                  
   *  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() &&                                       
 2006504:	80 a3 60 01 	cmp  %o5, 1                                    
 2006508:	32 bf ff db 	bne,a   2006474 <_Event_Surrender+0x3c>        
 200650c:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
       _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) ) {
 2006510:	80 a0 40 03 	cmp  %g1, %g3                                  
 2006514:	02 80 00 04 	be  2006524 <_Event_Surrender+0xec>            
 2006518:	80 8c a0 02 	btst  2, %l2                                   
 200651c:	02 80 00 09 	be  2006540 <_Event_Surrender+0x108>           <== NEVER TAKEN
 2006520:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2006524:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
  if ( _ISR_Is_in_progress() &&                                       
       _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) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 2006528:	84 28 80 03 	andn  %g2, %g3, %g2                            
 200652c:	c4 24 00 00 	st  %g2, [ %l0 ]                               
      the_thread->Wait.count = 0;                                     
 2006530:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2006534:	c6 20 40 00 	st  %g3, [ %g1 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 2006538:	82 10 20 03 	mov  3, %g1                                    
 200653c:	c2 21 21 08 	st  %g1, [ %g4 + 0x108 ]                       
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 2006540:	7f ff ee dd 	call  20020b4 <sparc_enable_interrupts>        
 2006544:	91 e8 00 11 	restore  %g0, %l1, %o0                         
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 2006548:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 200654c:	7f ff ee da 	call  20020b4 <sparc_enable_interrupts>        
 2006550:	90 10 00 11 	mov  %l1, %o0                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
 2006554:	40 00 0f 2a 	call  200a1fc <_Watchdog_Remove>               
 2006558:	90 06 20 48 	add  %i0, 0x48, %o0                            
 200655c:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
 2006560:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
 2006564:	40 00 08 f5 	call  2008938 <_Thread_Clear_state>            
 2006568:	81 e8 00 00 	restore                                        
                                                                      

02006570 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2006570:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2006574:	90 10 00 18 	mov  %i0, %o0                                  
 2006578:	40 00 0a 18 	call  2008dd8 <_Thread_Get>                    
 200657c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2006580:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006584:	80 a0 60 00 	cmp  %g1, 0                                    
 2006588:	12 80 00 15 	bne  20065dc <_Event_Timeout+0x6c>             <== NEVER TAKEN
 200658c:	a0 10 00 08 	mov  %o0, %l0                                  
       *                                                              
       *  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 );                                          
 2006590:	7f ff ee c5 	call  20020a4 <sparc_disable_interrupts>       
 2006594:	01 00 00 00 	nop                                            
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 2006598:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200659c:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
 20065a0:	80 a4 00 01 	cmp  %l0, %g1                                  
 20065a4:	02 80 00 10 	be  20065e4 <_Event_Timeout+0x74>              
 20065a8:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 20065ac:	82 10 20 06 	mov  6, %g1                                    
 20065b0:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
      _ISR_Enable( level );                                           
 20065b4:	7f ff ee c0 	call  20020b4 <sparc_enable_interrupts>        
 20065b8:	01 00 00 00 	nop                                            
 20065bc:	90 10 00 10 	mov  %l0, %o0                                  
 20065c0:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 20065c4:	40 00 08 dd 	call  2008938 <_Thread_Clear_state>            
 20065c8:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 20065cc:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 20065d0:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
 20065d4:	84 00 bf ff 	add  %g2, -1, %g2                              
 20065d8:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
 20065dc:	81 c7 e0 08 	ret                                            
 20065e0:	81 e8 00 00 	restore                                        
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 20065e4:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 20065e8:	c4 00 61 08 	ld  [ %g1 + 0x108 ], %g2	! 201fd08 <_Event_Sync_state>
 20065ec:	80 a0 a0 01 	cmp  %g2, 1                                    
 20065f0:	32 bf ff f0 	bne,a   20065b0 <_Event_Timeout+0x40>          
 20065f4:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 20065f8:	84 10 20 02 	mov  2, %g2                                    
 20065fc:	c4 20 61 08 	st  %g2, [ %g1 + 0x108 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2006600:	10 bf ff ec 	b  20065b0 <_Event_Timeout+0x40>               
 2006604:	82 10 20 06 	mov  6, %g1                                    
                                                                      

020012f0 <_Extension_Manager_initialization>: #include <rtems/extension.h> #include <rtems/score/interr.h> void _Extension_Manager_initialization(void) { }
 20012f0:	81 c3 e0 08 	retl                                           
                                                                      

0200e364 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
 200e364:	9d e3 bf 98 	save  %sp, -104, %sp                           
  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;                                         
 200e368:	a8 06 60 04 	add  %i1, 4, %l4                               
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 200e36c:	a0 10 00 18 	mov  %i0, %l0                                  
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
 200e370:	80 a6 40 14 	cmp  %i1, %l4                                  
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200e374:	e4 06 20 08 	ld  [ %i0 + 8 ], %l2                           
 200e378:	18 80 00 72 	bgu  200e540 <_Heap_Allocate_aligned_with_boundary+0x1dc>
 200e37c:	fa 06 20 10 	ld  [ %i0 + 0x10 ], %i5                        
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
 200e380:	80 a6 e0 00 	cmp  %i3, 0                                    
 200e384:	12 80 00 6d 	bne  200e538 <_Heap_Allocate_aligned_with_boundary+0x1d4>
 200e388:	80 a6 40 1b 	cmp  %i1, %i3                                  
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200e38c:	80 a4 00 12 	cmp  %l0, %l2                                  
 200e390:	02 80 00 6f 	be  200e54c <_Heap_Allocate_aligned_with_boundary+0x1e8>
 200e394:	a2 10 20 00 	clr  %l1                                       
  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;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e398:	82 10 20 04 	mov  4, %g1                                    
  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;                         
 200e39c:	b8 07 60 07 	add  %i5, 7, %i4                               
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e3a0:	82 20 40 19 	sub  %g1, %i1, %g1                             
 200e3a4:	10 80 00 09 	b  200e3c8 <_Heap_Allocate_aligned_with_boundary+0x64>
 200e3a8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 200e3ac:	80 a6 20 00 	cmp  %i0, 0                                    
 200e3b0:	32 80 00 54 	bne,a   200e500 <_Heap_Allocate_aligned_with_boundary+0x19c><== ALWAYS TAKEN
 200e3b4:	c2 04 20 4c 	ld  [ %l0 + 0x4c ], %g1                        
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
 200e3b8:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200e3bc:	80 a4 00 12 	cmp  %l0, %l2                                  
 200e3c0:	22 80 00 57 	be,a   200e51c <_Heap_Allocate_aligned_with_boundary+0x1b8>
 200e3c4:	b0 10 20 00 	clr  %i0                                       
    /*                                                                
     * 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 ) {                  
 200e3c8:	e6 04 a0 04 	ld  [ %l2 + 4 ], %l3                           
 200e3cc:	80 a5 00 13 	cmp  %l4, %l3                                  
 200e3d0:	1a bf ff fa 	bcc  200e3b8 <_Heap_Allocate_aligned_with_boundary+0x54>
 200e3d4:	a2 04 60 01 	inc  %l1                                       
      if ( alignment == 0 ) {                                         
 200e3d8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e3dc:	02 bf ff f4 	be  200e3ac <_Heap_Allocate_aligned_with_boundary+0x48>
 200e3e0:	b0 04 a0 08 	add  %l2, 8, %i0                               
  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;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e3e4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200e3e8:	ee 04 20 14 	ld  [ %l0 + 0x14 ], %l7                        
                                                                      
  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;               
 200e3ec:	a6 0c ff fe 	and  %l3, -2, %l3                              
 200e3f0:	a6 04 80 13 	add  %l2, %l3, %l3                             
  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;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e3f4:	b0 00 40 13 	add  %g1, %l3, %i0                             
  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;                         
 200e3f8:	82 27 00 17 	sub  %i4, %l7, %g1                             
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e3fc:	90 10 00 18 	mov  %i0, %o0                                  
 200e400:	a6 00 40 13 	add  %g1, %l3, %l3                             
 200e404:	40 00 33 7d 	call  201b1f8 <.urem>                          
 200e408:	92 10 00 1a 	mov  %i2, %o1                                  
 200e40c:	b0 26 00 08 	sub  %i0, %o0, %i0                             
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  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 ) {                          
 200e410:	80 a4 c0 18 	cmp  %l3, %i0                                  
 200e414:	1a 80 00 06 	bcc  200e42c <_Heap_Allocate_aligned_with_boundary+0xc8>
 200e418:	ac 04 a0 08 	add  %l2, 8, %l6                               
 200e41c:	90 10 00 13 	mov  %l3, %o0                                  
 200e420:	40 00 33 76 	call  201b1f8 <.urem>                          
 200e424:	92 10 00 1a 	mov  %i2, %o1                                  
 200e428:	b0 24 c0 08 	sub  %l3, %o0, %i0                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
 200e42c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200e430:	02 80 00 24 	be  200e4c0 <_Heap_Allocate_aligned_with_boundary+0x15c>
 200e434:	80 a5 80 18 	cmp  %l6, %i0                                  
  /* 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;                               
 200e438:	a6 06 00 19 	add  %i0, %i1, %l3                             
 200e43c:	92 10 00 1b 	mov  %i3, %o1                                  
 200e440:	40 00 33 6e 	call  201b1f8 <.urem>                          
 200e444:	90 10 00 13 	mov  %l3, %o0                                  
 200e448:	90 24 c0 08 	sub  %l3, %o0, %o0                             
  /* 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 ) {
 200e44c:	80 a4 c0 08 	cmp  %l3, %o0                                  
 200e450:	08 80 00 1b 	bleu  200e4bc <_Heap_Allocate_aligned_with_boundary+0x158>
 200e454:	80 a6 00 08 	cmp  %i0, %o0                                  
 200e458:	1a 80 00 1a 	bcc  200e4c0 <_Heap_Allocate_aligned_with_boundary+0x15c>
 200e45c:	80 a5 80 18 	cmp  %l6, %i0                                  
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
 200e460:	aa 05 80 19 	add  %l6, %i1, %l5                             
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
 200e464:	80 a5 40 08 	cmp  %l5, %o0                                  
 200e468:	28 80 00 09 	bleu,a   200e48c <_Heap_Allocate_aligned_with_boundary+0x128>
 200e46c:	b0 22 00 19 	sub  %o0, %i1, %i0                             
                                                                      
    if ( alloc_begin != 0 ) {                                         
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
 200e470:	10 bf ff d3 	b  200e3bc <_Heap_Allocate_aligned_with_boundary+0x58>
 200e474:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
  /* 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 ) {
 200e478:	1a 80 00 11 	bcc  200e4bc <_Heap_Allocate_aligned_with_boundary+0x158>
 200e47c:	80 a5 40 08 	cmp  %l5, %o0                                  
      if ( boundary_line < boundary_floor ) {                         
 200e480:	38 bf ff cf 	bgu,a   200e3bc <_Heap_Allocate_aligned_with_boundary+0x58><== NEVER TAKEN
 200e484:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           <== NOT EXECUTED
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
 200e488:	b0 22 00 19 	sub  %o0, %i1, %i0                             
 200e48c:	92 10 00 1a 	mov  %i2, %o1                                  
 200e490:	40 00 33 5a 	call  201b1f8 <.urem>                          
 200e494:	90 10 00 18 	mov  %i0, %o0                                  
 200e498:	92 10 00 1b 	mov  %i3, %o1                                  
 200e49c:	b0 26 00 08 	sub  %i0, %o0, %i0                             
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
 200e4a0:	a6 06 00 19 	add  %i0, %i1, %l3                             
 200e4a4:	40 00 33 55 	call  201b1f8 <.urem>                          
 200e4a8:	90 10 00 13 	mov  %l3, %o0                                  
 200e4ac:	90 24 c0 08 	sub  %l3, %o0, %o0                             
  /* 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 ) {
 200e4b0:	80 a4 c0 08 	cmp  %l3, %o0                                  
 200e4b4:	18 bf ff f1 	bgu  200e478 <_Heap_Allocate_aligned_with_boundary+0x114>
 200e4b8:	80 a6 00 08 	cmp  %i0, %o0                                  
      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 ) {                           
 200e4bc:	80 a5 80 18 	cmp  %l6, %i0                                  
 200e4c0:	18 bf ff be 	bgu  200e3b8 <_Heap_Allocate_aligned_with_boundary+0x54>
 200e4c4:	82 10 3f f8 	mov  -8, %g1                                   
    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;      
 200e4c8:	90 10 00 18 	mov  %i0, %o0                                  
 200e4cc:	a6 20 40 12 	sub  %g1, %l2, %l3                             
 200e4d0:	92 10 00 1d 	mov  %i5, %o1                                  
 200e4d4:	40 00 33 49 	call  201b1f8 <.urem>                          
 200e4d8:	a6 04 c0 18 	add  %l3, %i0, %l3                             
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
 200e4dc:	90 a4 c0 08 	subcc  %l3, %o0, %o0                           
 200e4e0:	02 bf ff b4 	be  200e3b0 <_Heap_Allocate_aligned_with_boundary+0x4c>
 200e4e4:	80 a6 20 00 	cmp  %i0, 0                                    
 200e4e8:	80 a5 c0 08 	cmp  %l7, %o0                                  
 200e4ec:	18 bf ff b3 	bgu  200e3b8 <_Heap_Allocate_aligned_with_boundary+0x54>
 200e4f0:	80 a6 20 00 	cmp  %i0, 0                                    
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 200e4f4:	22 bf ff b2 	be,a   200e3bc <_Heap_Allocate_aligned_with_boundary+0x58><== NEVER TAKEN
 200e4f8:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           <== NOT EXECUTED
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200e4fc:	c2 04 20 4c 	ld  [ %l0 + 0x4c ], %g1                        
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200e500:	92 10 00 12 	mov  %l2, %o1                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200e504:	82 00 40 11 	add  %g1, %l1, %g1                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200e508:	96 10 00 19 	mov  %i1, %o3                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200e50c:	c2 24 20 4c 	st  %g1, [ %l0 + 0x4c ]                        
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200e510:	90 10 00 10 	mov  %l0, %o0                                  
 200e514:	7f ff e5 a2 	call  2007b9c <_Heap_Block_allocate>           
 200e518:	94 10 00 18 	mov  %i0, %o2                                  
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 200e51c:	c2 04 20 44 	ld  [ %l0 + 0x44 ], %g1                        
 200e520:	80 a0 40 11 	cmp  %g1, %l1                                  
 200e524:	1a 80 00 08 	bcc  200e544 <_Heap_Allocate_aligned_with_boundary+0x1e0>
 200e528:	01 00 00 00 	nop                                            
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
 200e52c:	e2 24 20 44 	st  %l1, [ %l0 + 0x44 ]                        
 200e530:	81 c7 e0 08 	ret                                            
 200e534:	81 e8 00 00 	restore                                        
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
 200e538:	08 80 00 07 	bleu  200e554 <_Heap_Allocate_aligned_with_boundary+0x1f0>
 200e53c:	80 a6 a0 00 	cmp  %i2, 0                                    
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
 200e540:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
 200e544:	81 c7 e0 08 	ret                                            
 200e548:	81 e8 00 00 	restore                                        
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200e54c:	10 bf ff f4 	b  200e51c <_Heap_Allocate_aligned_with_boundary+0x1b8>
 200e550:	b0 10 20 00 	clr  %i0                                       
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200e554:	22 bf ff 8e 	be,a   200e38c <_Heap_Allocate_aligned_with_boundary+0x28>
 200e558:	b4 10 00 1d 	mov  %i5, %i2                                  
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200e55c:	10 bf ff 8d 	b  200e390 <_Heap_Allocate_aligned_with_boundary+0x2c>
 200e560:	80 a4 00 12 	cmp  %l0, %l2                                  
                                                                      

02012fb8 <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
 2012fb8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  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;                     
 2012fbc:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
 2012fc0:	a0 10 00 18 	mov  %i0, %l0                                  
   *    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 ) {
 2012fc4:	80 a6 40 01 	cmp  %i1, %g1                                  
 2012fc8:	0a 80 00 2a 	bcs  2013070 <_Heap_Extend+0xb8>               
 2012fcc:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
 2012fd0:	80 a6 40 01 	cmp  %i1, %g1                                  
 2012fd4:	12 80 00 25 	bne  2013068 <_Heap_Extend+0xb0>               
 2012fd8:	b0 10 20 02 	mov  2, %i0                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 2012fdc:	d2 04 20 10 	ld  [ %l0 + 0x10 ], %o1                        
{                                                                     
  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;      
 2012fe0:	b4 06 40 1a 	add  %i1, %i2, %i2                             
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
 2012fe4:	b2 26 80 11 	sub  %i2, %l1, %i1                             
   *  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;                                 
 2012fe8:	f4 24 20 1c 	st  %i2, [ %l0 + 0x1c ]                        
                                                                      
  extend_size = new_heap_area_end                                     
 2012fec:	b2 06 7f f8 	add  %i1, -8, %i1                              
 2012ff0:	7f ff c4 e7 	call  200438c <.urem>                          
 2012ff4:	90 10 00 19 	mov  %i1, %o0                                  
 2012ff8:	90 26 40 08 	sub  %i1, %o0, %o0                             
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
 2012ffc:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
 2013000:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2013004:	80 a0 40 08 	cmp  %g1, %o0                                  
 2013008:	18 80 00 18 	bgu  2013068 <_Heap_Extend+0xb0>               <== NEVER TAKEN
 201300c:	b0 10 20 00 	clr  %i0                                       
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
 2013010:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
    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 =                                   
 2013014:	c4 04 20 20 	ld  [ %l0 + 0x20 ], %g2                        
 2013018:	82 08 60 01 	and  %g1, 1, %g1                               
 201301c:	82 12 00 01 	or  %o0, %g1, %g1                              
 2013020:	c2 24 60 04 	st  %g1, [ %l1 + 4 ]                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2013024:	82 02 00 11 	add  %o0, %l1, %g1                             
 2013028:	84 20 80 01 	sub  %g2, %g1, %g2                             
 201302c:	84 10 a0 01 	or  %g2, 1, %g2                                
 2013030:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2013034:	c6 04 20 40 	ld  [ %l0 + 0x40 ], %g3                        
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2013038:	f2 04 20 2c 	ld  [ %l0 + 0x2c ], %i1                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 201303c:	c4 04 20 50 	ld  [ %l0 + 0x50 ], %g2                        
                                                                      
    new_last_block->size_and_flag =                                   
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
 2013040:	c2 24 20 24 	st  %g1, [ %l0 + 0x24 ]                        
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2013044:	82 00 e0 01 	add  %g3, 1, %g1                               
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2013048:	90 06 40 08 	add  %i1, %o0, %o0                             
    ++stats->used_blocks;                                             
 201304c:	c2 24 20 40 	st  %g1, [ %l0 + 0x40 ]                        
    --stats->frees; /* Do not count subsequent call as actual free() */
 2013050:	82 00 bf ff 	add  %g2, -1, %g1                              
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2013054:	d0 24 20 2c 	st  %o0, [ %l0 + 0x2c ]                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 2013058:	c2 24 20 50 	st  %g1, [ %l0 + 0x50 ]                        
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
 201305c:	90 10 00 10 	mov  %l0, %o0                                  
 2013060:	7f ff e2 26 	call  200b8f8 <_Heap_Free>                     
 2013064:	92 04 60 08 	add  %l1, 8, %o1                               
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 2013068:	81 c7 e0 08 	ret                                            
 201306c:	81 e8 00 00 	restore                                        
  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;                 
 2013070:	c4 06 20 18 	ld  [ %i0 + 0x18 ], %g2                        
 2013074:	80 a6 40 02 	cmp  %i1, %g2                                  
 2013078:	0a bf ff d6 	bcs  2012fd0 <_Heap_Extend+0x18>               
 201307c:	b0 10 20 01 	mov  1, %i0                                    
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 2013080:	81 c7 e0 08 	ret                                            
 2013084:	81 e8 00 00 	restore                                        
                                                                      

0200e564 <_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 ) {
 200e564:	9d e3 bf a0 	save  %sp, -96, %sp                            
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 )   
 200e568:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200e56c:	40 00 33 23 	call  201b1f8 <.urem>                          
 200e570:	90 10 00 19 	mov  %i1, %o0                                  
  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;             
 200e574:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
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 )   
 200e578:	b2 06 7f f8 	add  %i1, -8, %i1                              
 200e57c:	90 26 40 08 	sub  %i1, %o0, %o0                             
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           
 200e580:	80 a2 00 01 	cmp  %o0, %g1                                  
 200e584:	0a 80 00 36 	bcs  200e65c <_Heap_Free+0xf8>                 
 200e588:	01 00 00 00 	nop                                            
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200e58c:	c6 06 20 24 	ld  [ %i0 + 0x24 ], %g3                        
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           
 200e590:	80 a2 00 03 	cmp  %o0, %g3                                  
 200e594:	18 80 00 32 	bgu  200e65c <_Heap_Free+0xf8>                 
 200e598:	01 00 00 00 	nop                                            
    - 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;                
 200e59c:	da 02 20 04 	ld  [ %o0 + 4 ], %o5                           
 200e5a0:	88 0b 7f fe 	and  %o5, -2, %g4                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200e5a4:	84 02 00 04 	add  %o0, %g4, %g2                             
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           
 200e5a8:	80 a0 40 02 	cmp  %g1, %g2                                  
 200e5ac:	18 80 00 2c 	bgu  200e65c <_Heap_Free+0xf8>                 <== NEVER TAKEN
 200e5b0:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200e5b4:	0a 80 00 2a 	bcs  200e65c <_Heap_Free+0xf8>                 <== NEVER TAKEN
 200e5b8:	01 00 00 00 	nop                                            
  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;                 
 200e5bc:	d8 00 a0 04 	ld  [ %g2 + 4 ], %o4                           
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200e5c0:	80 8b 20 01 	btst  1, %o4                                   
 200e5c4:	02 80 00 26 	be  200e65c <_Heap_Free+0xf8>                  <== NEVER TAKEN
 200e5c8:	96 0b 3f fe 	and  %o4, -2, %o3                              
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 200e5cc:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200e5d0:	02 80 00 06 	be  200e5e8 <_Heap_Free+0x84>                  
 200e5d4:	98 10 20 00 	clr  %o4                                       
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
 200e5d8:	98 00 80 0b 	add  %g2, %o3, %o4                             
 200e5dc:	d8 03 20 04 	ld  [ %o4 + 4 ], %o4                           
 200e5e0:	98 0b 20 01 	and  %o4, 1, %o4                               
 200e5e4:	98 1b 20 01 	xor  %o4, 1, %o4                               
                                                                      
  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 ) ) {                               
 200e5e8:	80 8b 60 01 	btst  1, %o5                                   
 200e5ec:	12 80 00 1e 	bne  200e664 <_Heap_Free+0x100>                
 200e5f0:	80 8b 20 ff 	btst  0xff, %o4                                
    uintptr_t const prev_size = block->prev_size;                     
 200e5f4:	d4 02 00 00 	ld  [ %o0 ], %o2                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200e5f8:	9a 22 00 0a 	sub  %o0, %o2, %o5                             
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           
 200e5fc:	80 a0 40 0d 	cmp  %g1, %o5                                  
 200e600:	18 80 00 17 	bgu  200e65c <_Heap_Free+0xf8>                 <== NEVER TAKEN
 200e604:	80 a0 c0 0d 	cmp  %g3, %o5                                  
 200e608:	0a 80 00 15 	bcs  200e65c <_Heap_Free+0xf8>                 <== NEVER TAKEN
 200e60c:	01 00 00 00 	nop                                            
      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) ) {                        
 200e610:	c2 03 60 04 	ld  [ %o5 + 4 ], %g1                           
 200e614:	80 88 60 01 	btst  1, %g1                                   
 200e618:	02 80 00 11 	be  200e65c <_Heap_Free+0xf8>                  <== NEVER TAKEN
 200e61c:	80 8b 20 ff 	btst  0xff, %o4                                
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200e620:	22 80 00 3a 	be,a   200e708 <_Heap_Free+0x1a4>              
 200e624:	94 01 00 0a 	add  %g4, %o2, %o2                             
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200e628:	c6 06 20 38 	ld  [ %i0 + 0x38 ], %g3                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
 200e62c:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200e630:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200e634:	86 00 ff ff 	add  %g3, -1, %g3                              
 200e638:	c6 26 20 38 	st  %g3, [ %i0 + 0x38 ]                        
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 200e63c:	96 01 00 0b 	add  %g4, %o3, %o3                             
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  next->prev = prev;                                                  
 200e640:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
 200e644:	94 02 c0 0a 	add  %o3, %o2, %o2                             
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
 200e648:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      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;                                   
 200e64c:	d4 23 40 0a 	st  %o2, [ %o5 + %o2 ]                         
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200e650:	94 12 a0 01 	or  %o2, 1, %o2                                
 200e654:	10 80 00 10 	b  200e694 <_Heap_Free+0x130>                  
 200e658:	d4 23 60 04 	st  %o2, [ %o5 + 4 ]                           
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
 200e65c:	81 c7 e0 08 	ret                                            
 200e660:	91 e8 20 00 	restore  %g0, 0, %o0                           
      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 */                 
 200e664:	02 80 00 17 	be  200e6c0 <_Heap_Free+0x15c>                 
 200e668:	82 11 20 01 	or  %g4, 1, %g1                                
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
 200e66c:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 200e670:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
 200e674:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
 200e678:	c4 22 20 08 	st  %g2, [ %o0 + 8 ]                           
    uintptr_t const size = block_size + next_block_size;              
 200e67c:	96 02 c0 04 	add  %o3, %g4, %o3                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 200e680:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]                         
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 200e684:	d6 22 00 0b 	st  %o3, [ %o0 + %o3 ]                         
  prev->next = new_block;                                             
 200e688:	d0 20 60 08 	st  %o0, [ %g1 + 8 ]                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
 200e68c:	96 12 e0 01 	or  %o3, 1, %o3                                
 200e690:	d6 22 20 04 	st  %o3, [ %o0 + 4 ]                           
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e694:	c4 06 20 40 	ld  [ %i0 + 0x40 ], %g2                        
  ++stats->frees;                                                     
 200e698:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
  stats->free_size += block_size;                                     
 200e69c:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e6a0:	84 00 bf ff 	add  %g2, -1, %g2                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200e6a4:	88 00 c0 04 	add  %g3, %g4, %g4                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e6a8:	c4 26 20 40 	st  %g2, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200e6ac:	c8 26 20 30 	st  %g4, [ %i0 + 0x30 ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200e6b0:	82 00 60 01 	inc  %g1                                       
 200e6b4:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 200e6b8:	81 c7 e0 08 	ret                                            
 200e6bc:	91 e8 20 01 	restore  %g0, 1, %o0                           
    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;         
 200e6c0:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200e6c4:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
 200e6c8:	c6 06 20 08 	ld  [ %i0 + 8 ], %g3                           
 200e6cc:	82 08 7f fe 	and  %g1, -2, %g1                              
    next_block->prev_size = block_size;                               
 200e6d0:	c8 22 00 04 	st  %g4, [ %o0 + %g4 ]                         
  } 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;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200e6d4:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200e6d8:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
                                                                      
  new_block->next = next;                                             
 200e6dc:	c6 22 20 08 	st  %g3, [ %o0 + 8 ]                           
  new_block->prev = block_before;                                     
 200e6e0:	f0 22 20 0c 	st  %i0, [ %o0 + 0xc ]                         
#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;                        
 200e6e4:	c4 06 20 3c 	ld  [ %i0 + 0x3c ], %g2                        
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200e6e8:	82 00 60 01 	inc  %g1                                       
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200e6ec:	d0 20 e0 0c 	st  %o0, [ %g3 + 0xc ]                         
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 200e6f0:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
#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;                        
 200e6f4:	80 a0 40 02 	cmp  %g1, %g2                                  
 200e6f8:	08 bf ff e7 	bleu  200e694 <_Heap_Free+0x130>               
 200e6fc:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
    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;                    
 200e700:	10 bf ff e5 	b  200e694 <_Heap_Free+0x130>                  
 200e704:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
      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;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200e708:	82 12 a0 01 	or  %o2, 1, %g1                                
 200e70c:	c2 23 60 04 	st  %g1, [ %o5 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200e710:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
      next_block->prev_size = size;                                   
 200e714:	d4 22 00 04 	st  %o2, [ %o0 + %g4 ]                         
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      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;             
 200e718:	82 08 7f fe 	and  %g1, -2, %g1                              
 200e71c:	10 bf ff de 	b  200e694 <_Heap_Free+0x130>                  
 200e720:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
                                                                      

02030d04 <_Heap_Get_free_information>: void _Heap_Get_free_information( Heap_Control *the_heap, Heap_Information *info ) {
 2030d04:	9d e3 bf a0 	save  %sp, -96, %sp                            
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2030d08:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
 2030d0c:	c0 26 40 00 	clr  [ %i1 ]                                   
  info->largest = 0;                                                  
 2030d10:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 2030d14:	80 a6 00 01 	cmp  %i0, %g1                                  
 2030d18:	02 80 00 13 	be  2030d64 <_Heap_Get_free_information+0x60>  <== NEVER TAKEN
 2030d1c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 2030d20:	88 10 20 01 	mov  1, %g4                                    
 2030d24:	10 80 00 03 	b  2030d30 <_Heap_Get_free_information+0x2c>   
 2030d28:	86 10 20 00 	clr  %g3                                       
 2030d2c:	88 10 00 02 	mov  %g2, %g4                                  
    - 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;                
 2030d30:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
    /* 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;                                          
    if ( info->largest < the_size )                                   
 2030d34:	da 06 60 04 	ld  [ %i1 + 4 ], %o5                           
 2030d38:	84 08 bf fe 	and  %g2, -2, %g2                              
 2030d3c:	80 a3 40 02 	cmp  %o5, %g2                                  
 2030d40:	1a 80 00 03 	bcc  2030d4c <_Heap_Get_free_information+0x48> 
 2030d44:	86 00 c0 02 	add  %g3, %g2, %g3                             
        info->largest = the_size;                                     
 2030d48:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
 2030d4c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 2030d50:	80 a6 00 01 	cmp  %i0, %g1                                  
 2030d54:	12 bf ff f6 	bne  2030d2c <_Heap_Get_free_information+0x28> 
 2030d58:	84 01 20 01 	add  %g4, 1, %g2                               
 2030d5c:	c6 26 60 08 	st  %g3, [ %i1 + 8 ]                           
 2030d60:	c8 26 40 00 	st  %g4, [ %i1 ]                               
 2030d64:	81 c7 e0 08 	ret                                            
 2030d68:	81 e8 00 00 	restore                                        
                                                                      

020475cc <_Heap_Get_information>: void _Heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
 20475cc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
 20475d0:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
void _Heap_Get_information(                                           
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  Heap_Block *the_block = the_heap->first_block;                      
 20475d4:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  _HAssert(the_block->prev_size == the_heap->page_size);              
  _HAssert(_Heap_Is_prev_used(the_block));                            
                                                                      
  the_info->Free.number  = 0;                                         
 20475d8:	c0 26 40 00 	clr  [ %i1 ]                                   
  the_info->Free.total   = 0;                                         
 20475dc:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
  the_info->Free.largest = 0;                                         
 20475e0:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  the_info->Used.number  = 0;                                         
 20475e4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
  the_info->Used.total   = 0;                                         
 20475e8:	c0 26 60 14 	clr  [ %i1 + 0x14 ]                            
  the_info->Used.largest = 0;                                         
 20475ec:	c0 26 60 10 	clr  [ %i1 + 0x10 ]                            
                                                                      
  while ( the_block != end ) {                                        
 20475f0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20475f4:	02 80 00 1a 	be  204765c <_Heap_Get_information+0x90>       <== NEVER TAKEN
 20475f8:	86 10 20 08 	mov  8, %g3                                    
 20475fc:	da 00 60 04 	ld  [ %g1 + 4 ], %o5                           
    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;                                         
 2047600:	92 06 60 0c 	add  %i1, 0xc, %o1                             
    - 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;                
 2047604:	88 0b 7f fe 	and  %o5, -2, %g4                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2047608:	82 00 40 04 	add  %g1, %g4, %g1                             
  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;                 
 204760c:	da 00 60 04 	ld  [ %g1 + 4 ], %o5                           
  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) )                             
 2047610:	80 8b 60 01 	btst  1, %o5                                   
 2047614:	12 80 00 03 	bne  2047620 <_Heap_Get_information+0x54>      
 2047618:	86 10 00 09 	mov  %o1, %g3                                  
 204761c:	86 10 00 19 	mov  %i1, %g3                                  
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 2047620:	d4 00 c0 00 	ld  [ %g3 ], %o2                               
    info->total += the_size;                                          
 2047624:	d6 00 e0 08 	ld  [ %g3 + 8 ], %o3                           
    if ( info->largest < the_size )                                   
 2047628:	d8 00 e0 04 	ld  [ %g3 + 4 ], %o4                           
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 204762c:	94 02 a0 01 	inc  %o2                                       
    info->total += the_size;                                          
 2047630:	96 02 c0 04 	add  %o3, %g4, %o3                             
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
                                                                      
    info->number++;                                                   
 2047634:	d4 20 c0 00 	st  %o2, [ %g3 ]                               
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
 2047638:	80 a3 00 04 	cmp  %o4, %g4                                  
 204763c:	1a 80 00 03 	bcc  2047648 <_Heap_Get_information+0x7c>      
 2047640:	d6 20 e0 08 	st  %o3, [ %g3 + 8 ]                           
      info->largest = the_size;                                       
 2047644:	c8 20 e0 04 	st  %g4, [ %g3 + 4 ]                           
  the_info->Free.largest = 0;                                         
  the_info->Used.number  = 0;                                         
  the_info->Used.total   = 0;                                         
  the_info->Used.largest = 0;                                         
                                                                      
  while ( the_block != end ) {                                        
 2047648:	80 a0 80 01 	cmp  %g2, %g1                                  
 204764c:	12 bf ff ef 	bne  2047608 <_Heap_Get_information+0x3c>      
 2047650:	88 0b 7f fe 	and  %o5, -2, %g4                              
 2047654:	c6 06 60 14 	ld  [ %i1 + 0x14 ], %g3                        
 2047658:	86 00 e0 08 	add  %g3, 8, %g3                               
  /*                                                                  
   *  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;                     
 204765c:	c6 26 60 14 	st  %g3, [ %i1 + 0x14 ]                        
}                                                                     
 2047660:	81 c7 e0 08 	ret                                            
 2047664:	81 e8 00 00 	restore                                        
                                                                      

0201cc24 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 201cc24:	9d e3 bf a0 	save  %sp, -96, %sp                            
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 )   
 201cc28:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 201cc2c:	7f ff f9 73 	call  201b1f8 <.urem>                          
 201cc30:	90 10 00 19 	mov  %i1, %o0                                  
  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;             
 201cc34:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
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 )   
 201cc38:	84 06 7f f8 	add  %i1, -8, %g2                              
 201cc3c:	84 20 80 08 	sub  %g2, %o0, %g2                             
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           
 201cc40:	80 a0 80 01 	cmp  %g2, %g1                                  
 201cc44:	0a 80 00 16 	bcs  201cc9c <_Heap_Size_of_alloc_area+0x78>   
 201cc48:	01 00 00 00 	nop                                            
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 201cc4c:	c6 06 20 24 	ld  [ %i0 + 0x24 ], %g3                        
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           
 201cc50:	80 a0 80 03 	cmp  %g2, %g3                                  
 201cc54:	18 80 00 12 	bgu  201cc9c <_Heap_Size_of_alloc_area+0x78>   <== NEVER TAKEN
 201cc58:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 201cc5c:	c8 00 a0 04 	ld  [ %g2 + 4 ], %g4                           
 201cc60:	88 09 3f fe 	and  %g4, -2, %g4                              
 201cc64:	84 00 80 04 	add  %g2, %g4, %g2                             
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           
 201cc68:	80 a0 40 02 	cmp  %g1, %g2                                  
 201cc6c:	18 80 00 0c 	bgu  201cc9c <_Heap_Size_of_alloc_area+0x78>   <== NEVER TAKEN
 201cc70:	80 a0 c0 02 	cmp  %g3, %g2                                  
 201cc74:	0a 80 00 0a 	bcs  201cc9c <_Heap_Size_of_alloc_area+0x78>   <== NEVER TAKEN
 201cc78:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 201cc7c:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 201cc80:	80 88 60 01 	btst  1, %g1                                   
 201cc84:	02 80 00 06 	be  201cc9c <_Heap_Size_of_alloc_area+0x78>    <== NEVER TAKEN
 201cc88:	84 20 80 19 	sub  %g2, %i1, %g2                             
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
 201cc8c:	84 00 a0 04 	add  %g2, 4, %g2                               
 201cc90:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  return true;                                                        
 201cc94:	81 c7 e0 08 	ret                                            
 201cc98:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 201cc9c:	81 c7 e0 08 	ret                                            
 201cca0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02008afc <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 2008afc:	9d e3 bf 80 	save  %sp, -128, %sp                           
  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;                      
 2008b00:	25 00 80 24 	sethi  %hi(0x2009000), %l2                     
 2008b04:	80 8e a0 ff 	btst  0xff, %i2                                
 2008b08:	a4 14 a1 2c 	or  %l2, 0x12c, %l2                            
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2008b0c:	ea 06 20 10 	ld  [ %i0 + 0x10 ], %l5                        
  uintptr_t const min_block_size = heap->min_block_size;              
 2008b10:	e6 06 20 14 	ld  [ %i0 + 0x14 ], %l3                        
  Heap_Block *const last_block = heap->last_block;                    
 2008b14:	e8 06 20 24 	ld  [ %i0 + 0x24 ], %l4                        
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 2008b18:	12 80 00 04 	bne  2008b28 <_Heap_Walk+0x2c>                 
 2008b1c:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 2008b20:	25 00 80 22 	sethi  %hi(0x2008800), %l2                     
 2008b24:	a4 14 a2 f4 	or  %l2, 0x2f4, %l2	! 2008af4 <_Heap_Walk_print_nothing>
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 2008b28:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2008b2c:	c2 00 62 e0 	ld  [ %g1 + 0x2e0 ], %g1	! 2021ee0 <_System_state_Current>
 2008b30:	80 a0 60 03 	cmp  %g1, 3                                    
 2008b34:	22 80 00 04 	be,a   2008b44 <_Heap_Walk+0x48>               
 2008b38:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2008b3c:	81 c7 e0 08 	ret                                            
 2008b40:	91 e8 20 01 	restore  %g0, 1, %o0                           
  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)(                                                         
 2008b44:	c6 06 20 1c 	ld  [ %i0 + 0x1c ], %g3                        
 2008b48:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
 2008b4c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2008b50:	90 10 00 19 	mov  %i1, %o0                                  
 2008b54:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        
 2008b58:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 2008b5c:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2008b60:	e0 23 a0 60 	st  %l0, [ %sp + 0x60 ]                        
 2008b64:	e8 23 a0 64 	st  %l4, [ %sp + 0x64 ]                        
 2008b68:	92 10 20 00 	clr  %o1                                       
 2008b6c:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008b70:	96 10 00 15 	mov  %l5, %o3                                  
 2008b74:	94 12 a0 30 	or  %o2, 0x30, %o2                             
 2008b78:	9f c4 80 00 	call  %l2                                      
 2008b7c:	98 10 00 13 	mov  %l3, %o4                                  
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 2008b80:	80 a5 60 00 	cmp  %l5, 0                                    
 2008b84:	02 80 00 36 	be  2008c5c <_Heap_Walk+0x160>                 
 2008b88:	80 8d 60 07 	btst  7, %l5                                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 2008b8c:	12 80 00 3c 	bne  2008c7c <_Heap_Walk+0x180>                
 2008b90:	90 10 00 13 	mov  %l3, %o0                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 2008b94:	7f ff e3 cc 	call  2001ac4 <.urem>                          
 2008b98:	92 10 00 15 	mov  %l5, %o1                                  
 2008b9c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008ba0:	12 80 00 40 	bne  2008ca0 <_Heap_Walk+0x1a4>                
 2008ba4:	90 04 20 08 	add  %l0, 8, %o0                               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 2008ba8:	7f ff e3 c7 	call  2001ac4 <.urem>                          
 2008bac:	92 10 00 15 	mov  %l5, %o1                                  
 2008bb0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008bb4:	32 80 00 44 	bne,a   2008cc4 <_Heap_Walk+0x1c8>             
 2008bb8:	90 10 00 19 	mov  %i1, %o0                                  
  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;                 
 2008bbc:	ec 04 20 04 	ld  [ %l0 + 4 ], %l6                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 2008bc0:	ba 8d a0 01 	andcc  %l6, 1, %i5                             
 2008bc4:	22 80 00 48 	be,a   2008ce4 <_Heap_Walk+0x1e8>              
 2008bc8:	90 10 00 19 	mov  %i1, %o0                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
 2008bcc:	d6 04 00 00 	ld  [ %l0 ], %o3                               
 2008bd0:	80 a5 40 0b 	cmp  %l5, %o3                                  
 2008bd4:	32 80 00 1a 	bne,a   2008c3c <_Heap_Walk+0x140>             
 2008bd8:	90 10 00 19 	mov  %i1, %o0                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 2008bdc:	c2 05 20 04 	ld  [ %l4 + 4 ], %g1                           
 2008be0:	82 08 7f fe 	and  %g1, -2, %g1                              
 2008be4:	82 05 00 01 	add  %l4, %g1, %g1                             
 2008be8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2008bec:	80 88 60 01 	btst  1, %g1                                   
 2008bf0:	22 80 01 2e 	be,a   20090a8 <_Heap_Walk+0x5ac>              
 2008bf4:	90 10 00 19 	mov  %i1, %o0                                  
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008bf8:	ee 06 20 08 	ld  [ %i0 + 8 ], %l7                           
  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 ) {                            
 2008bfc:	80 a6 00 17 	cmp  %i0, %l7                                  
 2008c00:	02 80 00 79 	be  2008de4 <_Heap_Walk+0x2e8>                 
 2008c04:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
  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;             
 2008c08:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
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           
 2008c0c:	80 a6 c0 17 	cmp  %i3, %l7                                  
 2008c10:	28 80 00 3c 	bleu,a   2008d00 <_Heap_Walk+0x204>            <== ALWAYS TAKEN
 2008c14:	f4 06 20 24 	ld  [ %i0 + 0x24 ], %i2                        
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
 2008c18:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2008c1c:	96 10 00 17 	mov  %l7, %o3                                  
 2008c20:	92 10 20 01 	mov  1, %o1                                    
 2008c24:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008c28:	b0 10 20 00 	clr  %i0                                       
 2008c2c:	9f c4 80 00 	call  %l2                                      
 2008c30:	94 12 a1 d8 	or  %o2, 0x1d8, %o2                            
 2008c34:	81 c7 e0 08 	ret                                            
 2008c38:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
    (*printer)(                                                       
 2008c3c:	98 10 00 15 	mov  %l5, %o4                                  
 2008c40:	92 10 20 01 	mov  1, %o1                                    
 2008c44:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008c48:	b0 10 20 00 	clr  %i0                                       
 2008c4c:	9f c4 80 00 	call  %l2                                      
 2008c50:	94 12 a1 90 	or  %o2, 0x190, %o2                            
 2008c54:	81 c7 e0 08 	ret                                            
 2008c58:	81 e8 00 00 	restore                                        
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
 2008c5c:	90 10 00 19 	mov  %i1, %o0                                  
 2008c60:	92 10 20 01 	mov  1, %o1                                    
 2008c64:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008c68:	b0 10 20 00 	clr  %i0                                       
 2008c6c:	9f c4 80 00 	call  %l2                                      
 2008c70:	94 12 a0 c8 	or  %o2, 0xc8, %o2                             
 2008c74:	81 c7 e0 08 	ret                                            
 2008c78:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
 2008c7c:	90 10 00 19 	mov  %i1, %o0                                  
 2008c80:	96 10 00 15 	mov  %l5, %o3                                  
 2008c84:	92 10 20 01 	mov  1, %o1                                    
 2008c88:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008c8c:	b0 10 20 00 	clr  %i0                                       
 2008c90:	9f c4 80 00 	call  %l2                                      
 2008c94:	94 12 a0 e0 	or  %o2, 0xe0, %o2                             
 2008c98:	81 c7 e0 08 	ret                                            
 2008c9c:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
 2008ca0:	90 10 00 19 	mov  %i1, %o0                                  
 2008ca4:	96 10 00 13 	mov  %l3, %o3                                  
 2008ca8:	92 10 20 01 	mov  1, %o1                                    
 2008cac:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008cb0:	b0 10 20 00 	clr  %i0                                       
 2008cb4:	9f c4 80 00 	call  %l2                                      
 2008cb8:	94 12 a1 00 	or  %o2, 0x100, %o2                            
 2008cbc:	81 c7 e0 08 	ret                                            
 2008cc0:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 2008cc4:	96 10 00 10 	mov  %l0, %o3                                  
 2008cc8:	92 10 20 01 	mov  1, %o1                                    
 2008ccc:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008cd0:	b0 10 20 00 	clr  %i0                                       
 2008cd4:	9f c4 80 00 	call  %l2                                      
 2008cd8:	94 12 a1 28 	or  %o2, 0x128, %o2                            
 2008cdc:	81 c7 e0 08 	ret                                            
 2008ce0:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
 2008ce4:	92 10 20 01 	mov  1, %o1                                    
 2008ce8:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008cec:	b0 10 20 00 	clr  %i0                                       
 2008cf0:	9f c4 80 00 	call  %l2                                      
 2008cf4:	94 12 a1 60 	or  %o2, 0x160, %o2                            
 2008cf8:	81 c7 e0 08 	ret                                            
 2008cfc:	81 e8 00 00 	restore                                        
 2008d00:	80 a5 c0 1a 	cmp  %l7, %i2                                  
 2008d04:	18 bf ff c6 	bgu  2008c1c <_Heap_Walk+0x120>                <== NEVER TAKEN
 2008d08:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 2008d0c:	90 05 e0 08 	add  %l7, 8, %o0                               
 2008d10:	7f ff e3 6d 	call  2001ac4 <.urem>                          
 2008d14:	92 10 00 1c 	mov  %i4, %o1                                  
 2008d18:	80 a2 20 00 	cmp  %o0, 0                                    
 2008d1c:	12 80 00 ea 	bne  20090c4 <_Heap_Walk+0x5c8>                <== NEVER TAKEN
 2008d20:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 2008d24:	c2 05 e0 04 	ld  [ %l7 + 4 ], %g1                           
 2008d28:	82 08 7f fe 	and  %g1, -2, %g1                              
 2008d2c:	82 05 c0 01 	add  %l7, %g1, %g1                             
 2008d30:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2008d34:	80 88 60 01 	btst  1, %g1                                   
 2008d38:	12 80 00 f5 	bne  200910c <_Heap_Walk+0x610>                <== NEVER TAKEN
 2008d3c:	01 00 00 00 	nop                                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 2008d40:	e2 05 e0 0c 	ld  [ %l7 + 0xc ], %l1                         
 2008d44:	80 a4 40 18 	cmp  %l1, %i0                                  
 2008d48:	12 80 00 e9 	bne  20090ec <_Heap_Walk+0x5f0>                <== NEVER TAKEN
 2008d4c:	96 10 00 17 	mov  %l7, %o3                                  
 2008d50:	fa 27 bf fc 	st  %i5, [ %fp + -4 ]                          
 2008d54:	ba 10 00 15 	mov  %l5, %i5                                  
 2008d58:	aa 10 00 13 	mov  %l3, %l5                                  
 2008d5c:	a6 10 00 10 	mov  %l0, %l3                                  
 2008d60:	10 80 00 18 	b  2008dc0 <_Heap_Walk+0x2c4>                  
 2008d64:	a0 10 00 1c 	mov  %i4, %l0                                  
 2008d68:	18 bf ff ad 	bgu  2008c1c <_Heap_Walk+0x120>                
 2008d6c:	90 10 00 19 	mov  %i1, %o0                                  
 2008d70:	80 a5 c0 1a 	cmp  %l7, %i2                                  
 2008d74:	18 bf ff ab 	bgu  2008c20 <_Heap_Walk+0x124>                <== NEVER TAKEN
 2008d78:	96 10 00 17 	mov  %l7, %o3                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 2008d7c:	90 05 e0 08 	add  %l7, 8, %o0                               
 2008d80:	7f ff e3 51 	call  2001ac4 <.urem>                          
 2008d84:	92 10 00 10 	mov  %l0, %o1                                  
 2008d88:	80 a2 20 00 	cmp  %o0, 0                                    
 2008d8c:	32 80 00 ce 	bne,a   20090c4 <_Heap_Walk+0x5c8>             
 2008d90:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 2008d94:	c2 05 e0 04 	ld  [ %l7 + 4 ], %g1                           
 2008d98:	82 08 7f fe 	and  %g1, -2, %g1                              
 2008d9c:	82 00 40 17 	add  %g1, %l7, %g1                             
 2008da0:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2008da4:	80 88 60 01 	btst  1, %g1                                   
 2008da8:	32 80 00 d9 	bne,a   200910c <_Heap_Walk+0x610>             
 2008dac:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 2008db0:	c2 05 e0 0c 	ld  [ %l7 + 0xc ], %g1                         
 2008db4:	80 a7 00 01 	cmp  %i4, %g1                                  
 2008db8:	32 80 00 cb 	bne,a   20090e4 <_Heap_Walk+0x5e8>             
 2008dbc:	a2 10 00 01 	mov  %g1, %l1                                  
      (*printer)(                                                     
 2008dc0:	b8 10 00 17 	mov  %l7, %i4                                  
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 2008dc4:	ee 05 e0 08 	ld  [ %l7 + 8 ], %l7                           
  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 ) {                            
 2008dc8:	80 a4 40 17 	cmp  %l1, %l7                                  
 2008dcc:	12 bf ff e7 	bne  2008d68 <_Heap_Walk+0x26c>                
 2008dd0:	80 a6 c0 17 	cmp  %i3, %l7                                  
 2008dd4:	a0 10 00 13 	mov  %l3, %l0                                  
 2008dd8:	a6 10 00 15 	mov  %l5, %l3                                  
 2008ddc:	aa 10 00 1d 	mov  %i5, %l5                                  
 2008de0:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 2008de4:	80 a5 00 10 	cmp  %l4, %l0                                  
 2008de8:	02 bf ff 55 	be  2008b3c <_Heap_Walk+0x40>                  <== NEVER TAKEN
 2008dec:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008df0:	35 00 80 7b 	sethi  %hi(0x201ec00), %i2                     
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2008df4:	39 00 80 7b 	sethi  %hi(0x201ec00), %i4                     
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008df8:	82 10 00 1d 	mov  %i5, %g1                                  
    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 ) {                                                
      (*printer)(                                                     
 2008dfc:	b6 16 e2 80 	or  %i3, 0x280, %i3                            
 2008e00:	ba 10 00 15 	mov  %l5, %i5                                  
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008e04:	b4 16 a2 98 	or  %i2, 0x298, %i2                            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2008e08:	b8 17 23 98 	or  %i4, 0x398, %i4                            
 2008e0c:	aa 10 00 14 	mov  %l4, %l5                                  
    - 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;                
 2008e10:	ac 0d bf fe 	and  %l6, -2, %l6                              
    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 ) {                                                
 2008e14:	80 a0 60 00 	cmp  %g1, 0                                    
 2008e18:	02 80 00 16 	be  2008e70 <_Heap_Walk+0x374>                 
 2008e1c:	a2 05 80 10 	add  %l6, %l0, %l1                             
      (*printer)(                                                     
 2008e20:	90 10 00 19 	mov  %i1, %o0                                  
 2008e24:	92 10 20 00 	clr  %o1                                       
 2008e28:	94 10 00 1b 	mov  %i3, %o2                                  
 2008e2c:	96 10 00 10 	mov  %l0, %o3                                  
 2008e30:	9f c4 80 00 	call  %l2                                      
 2008e34:	98 10 00 16 	mov  %l6, %o4                                  
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           
 2008e38:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 2008e3c:	80 a0 40 11 	cmp  %g1, %l1                                  
 2008e40:	28 80 00 18 	bleu,a   2008ea0 <_Heap_Walk+0x3a4>            <== ALWAYS TAKEN
 2008e44:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
 2008e48:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2008e4c:	96 10 00 10 	mov  %l0, %o3                                  
 2008e50:	98 10 00 11 	mov  %l1, %o4                                  
 2008e54:	92 10 20 01 	mov  1, %o1                                    
 2008e58:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008e5c:	b0 10 20 00 	clr  %i0                                       
 2008e60:	9f c4 80 00 	call  %l2                                      
 2008e64:	94 12 a2 c0 	or  %o2, 0x2c0, %o2                            
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 2008e68:	81 c7 e0 08 	ret                                            
 2008e6c:	81 e8 00 00 	restore                                        
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008e70:	da 04 00 00 	ld  [ %l0 ], %o5                               
 2008e74:	90 10 00 19 	mov  %i1, %o0                                  
 2008e78:	92 10 20 00 	clr  %o1                                       
 2008e7c:	94 10 00 1a 	mov  %i2, %o2                                  
 2008e80:	96 10 00 10 	mov  %l0, %o3                                  
 2008e84:	9f c4 80 00 	call  %l2                                      
 2008e88:	98 10 00 16 	mov  %l6, %o4                                  
 2008e8c:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 2008e90:	80 a0 40 11 	cmp  %g1, %l1                                  
 2008e94:	18 bf ff ee 	bgu  2008e4c <_Heap_Walk+0x350>                <== NEVER TAKEN
 2008e98:	90 10 00 19 	mov  %i1, %o0                                  
 2008e9c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2008ea0:	80 a0 40 11 	cmp  %g1, %l1                                  
 2008ea4:	0a bf ff ea 	bcs  2008e4c <_Heap_Walk+0x350>                
 2008ea8:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
 2008eac:	90 10 00 16 	mov  %l6, %o0                                  
 2008eb0:	7f ff e3 05 	call  2001ac4 <.urem>                          
 2008eb4:	92 10 00 1d 	mov  %i5, %o1                                  
 2008eb8:	80 a2 20 00 	cmp  %o0, 0                                    
 2008ebc:	12 80 00 5d 	bne  2009030 <_Heap_Walk+0x534>                
 2008ec0:	80 a4 c0 16 	cmp  %l3, %l6                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
 2008ec4:	18 80 00 65 	bgu  2009058 <_Heap_Walk+0x55c>                
 2008ec8:	80 a4 00 11 	cmp  %l0, %l1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
 2008ecc:	3a 80 00 6e 	bcc,a   2009084 <_Heap_Walk+0x588>             
 2008ed0:	90 10 00 19 	mov  %i1, %o0                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 2008ed4:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2008ed8:	80 88 60 01 	btst  1, %g1                                   
 2008edc:	12 80 00 40 	bne  2008fdc <_Heap_Walk+0x4e0>                
 2008ee0:	80 a5 40 11 	cmp  %l5, %l1                                  
  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;                 
 2008ee4:	e8 04 20 04 	ld  [ %l0 + 4 ], %l4                           
  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)(                                                         
 2008ee8:	d8 04 20 0c 	ld  [ %l0 + 0xc ], %o4                         
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008eec:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    - 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;                
 2008ef0:	ac 0d 3f fe 	and  %l4, -2, %l6                              
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008ef4:	1b 00 80 7b 	sethi  %hi(0x201ec00), %o5                     
 2008ef8:	80 a0 40 0c 	cmp  %g1, %o4                                  
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 2008efc:	c6 06 20 0c 	ld  [ %i0 + 0xc ], %g3                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2008f00:	ae 04 00 16 	add  %l0, %l6, %l7                             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008f04:	02 80 00 07 	be  2008f20 <_Heap_Walk+0x424>                 
 2008f08:	9a 13 63 88 	or  %o5, 0x388, %o5                            
    "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)" : ""),         
 2008f0c:	1b 00 80 7b 	sethi  %hi(0x201ec00), %o5                     
 2008f10:	80 a3 00 18 	cmp  %o4, %i0                                  
 2008f14:	02 80 00 03 	be  2008f20 <_Heap_Walk+0x424>                 
 2008f18:	9a 13 63 a0 	or  %o5, 0x3a0, %o5                            
 2008f1c:	9a 10 00 1c 	mov  %i4, %o5                                  
  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)(                                                         
 2008f20:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 2008f24:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
 2008f28:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2008f2c:	02 80 00 07 	be  2008f48 <_Heap_Walk+0x44c>                 
 2008f30:	84 10 a3 b0 	or  %g2, 0x3b0, %g2                            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2008f34:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
 2008f38:	80 a0 40 18 	cmp  %g1, %i0                                  
 2008f3c:	02 80 00 03 	be  2008f48 <_Heap_Walk+0x44c>                 
 2008f40:	84 10 a3 c0 	or  %g2, 0x3c0, %g2                            
 2008f44:	84 10 00 1c 	mov  %i4, %g2                                  
  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)(                                                         
 2008f48:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 2008f4c:	c4 23 a0 60 	st  %g2, [ %sp + 0x60 ]                        
 2008f50:	90 10 00 19 	mov  %i1, %o0                                  
 2008f54:	92 10 20 00 	clr  %o1                                       
 2008f58:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2008f5c:	96 10 00 10 	mov  %l0, %o3                                  
 2008f60:	9f c4 80 00 	call  %l2                                      
 2008f64:	94 12 a3 d0 	or  %o2, 0x3d0, %o2                            
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 2008f68:	da 05 c0 00 	ld  [ %l7 ], %o5                               
 2008f6c:	80 a5 80 0d 	cmp  %l6, %o5                                  
 2008f70:	02 80 00 0c 	be  2008fa0 <_Heap_Walk+0x4a4>                 
 2008f74:	90 10 00 19 	mov  %i1, %o0                                  
    (*printer)(                                                       
 2008f78:	ee 23 a0 5c 	st  %l7, [ %sp + 0x5c ]                        
 2008f7c:	96 10 00 10 	mov  %l0, %o3                                  
 2008f80:	98 10 00 16 	mov  %l6, %o4                                  
 2008f84:	92 10 20 01 	mov  1, %o1                                    
 2008f88:	15 00 80 7c 	sethi  %hi(0x201f000), %o2                     
 2008f8c:	b0 10 20 00 	clr  %i0                                       
 2008f90:	9f c4 80 00 	call  %l2                                      
 2008f94:	94 12 a0 00 	mov  %o2, %o2                                  
 2008f98:	81 c7 e0 08 	ret                                            
 2008f9c:	81 e8 00 00 	restore                                        
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 2008fa0:	80 8d 20 01 	btst  1, %l4                                   
 2008fa4:	02 80 00 1c 	be  2009014 <_Heap_Walk+0x518>                 
 2008fa8:	96 10 00 10 	mov  %l0, %o3                                  
 2008fac:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
)                                                                     
{                                                                     
  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 ) {                            
 2008fb0:	80 a0 40 18 	cmp  %g1, %i0                                  
 2008fb4:	12 80 00 07 	bne  2008fd0 <_Heap_Walk+0x4d4>                <== ALWAYS TAKEN
 2008fb8:	80 a0 40 10 	cmp  %g1, %l0                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2008fbc:	10 80 00 0f 	b  2008ff8 <_Heap_Walk+0x4fc>                  <== NOT EXECUTED
 2008fc0:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  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 ) {                            
 2008fc4:	80 a0 40 18 	cmp  %g1, %i0                                  
 2008fc8:	02 80 00 0a 	be  2008ff0 <_Heap_Walk+0x4f4>                 
 2008fcc:	80 a0 40 10 	cmp  %g1, %l0                                  
    if ( free_block == block ) {                                      
 2008fd0:	32 bf ff fd 	bne,a   2008fc4 <_Heap_Walk+0x4c8>             
 2008fd4:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 2008fd8:	80 a5 40 11 	cmp  %l5, %l1                                  
 2008fdc:	02 bf fe d8 	be  2008b3c <_Heap_Walk+0x40>                  
 2008fe0:	a0 10 00 11 	mov  %l1, %l0                                  
  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 ) {                            
 2008fe4:	ec 04 60 04 	ld  [ %l1 + 4 ], %l6                           
 2008fe8:	10 bf ff 8a 	b  2008e10 <_Heap_Walk+0x314>                  
 2008fec:	82 0d a0 01 	and  %l6, 1, %g1                               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2008ff0:	90 10 00 19 	mov  %i1, %o0                                  
 2008ff4:	96 10 00 10 	mov  %l0, %o3                                  
 2008ff8:	92 10 20 01 	mov  1, %o1                                    
 2008ffc:	15 00 80 7c 	sethi  %hi(0x201f000), %o2                     
 2009000:	b0 10 20 00 	clr  %i0                                       
 2009004:	9f c4 80 00 	call  %l2                                      
 2009008:	94 12 a0 70 	or  %o2, 0x70, %o2                             
 200900c:	81 c7 e0 08 	ret                                            
 2009010:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
 2009014:	92 10 20 01 	mov  1, %o1                                    
 2009018:	15 00 80 7c 	sethi  %hi(0x201f000), %o2                     
 200901c:	b0 10 20 00 	clr  %i0                                       
 2009020:	9f c4 80 00 	call  %l2                                      
 2009024:	94 12 a0 40 	or  %o2, 0x40, %o2                             
 2009028:	81 c7 e0 08 	ret                                            
 200902c:	81 e8 00 00 	restore                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
      (*printer)(                                                     
 2009030:	90 10 00 19 	mov  %i1, %o0                                  
 2009034:	96 10 00 10 	mov  %l0, %o3                                  
 2009038:	98 10 00 16 	mov  %l6, %o4                                  
 200903c:	92 10 20 01 	mov  1, %o1                                    
 2009040:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2009044:	b0 10 20 00 	clr  %i0                                       
 2009048:	9f c4 80 00 	call  %l2                                      
 200904c:	94 12 a2 f0 	or  %o2, 0x2f0, %o2                            
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
 2009050:	81 c7 e0 08 	ret                                            
 2009054:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
      (*printer)(                                                     
 2009058:	90 10 00 19 	mov  %i1, %o0                                  
 200905c:	96 10 00 10 	mov  %l0, %o3                                  
 2009060:	98 10 00 16 	mov  %l6, %o4                                  
 2009064:	9a 10 00 13 	mov  %l3, %o5                                  
 2009068:	92 10 20 01 	mov  1, %o1                                    
 200906c:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2009070:	b0 10 20 00 	clr  %i0                                       
 2009074:	9f c4 80 00 	call  %l2                                      
 2009078:	94 12 a3 20 	or  %o2, 0x320, %o2                            
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
 200907c:	81 c7 e0 08 	ret                                            
 2009080:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
      (*printer)(                                                     
 2009084:	96 10 00 10 	mov  %l0, %o3                                  
 2009088:	98 10 00 11 	mov  %l1, %o4                                  
 200908c:	92 10 20 01 	mov  1, %o1                                    
 2009090:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2009094:	b0 10 20 00 	clr  %i0                                       
 2009098:	9f c4 80 00 	call  %l2                                      
 200909c:	94 12 a3 50 	or  %o2, 0x350, %o2                            
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 20090a0:	81 c7 e0 08 	ret                                            
 20090a4:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
 20090a8:	92 10 20 01 	mov  1, %o1                                    
 20090ac:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 20090b0:	b0 10 20 00 	clr  %i0                                       
 20090b4:	9f c4 80 00 	call  %l2                                      
 20090b8:	94 12 a1 c0 	or  %o2, 0x1c0, %o2                            
 20090bc:	81 c7 e0 08 	ret                                            
 20090c0:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 20090c4:	96 10 00 17 	mov  %l7, %o3                                  
 20090c8:	92 10 20 01 	mov  1, %o1                                    
 20090cc:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 20090d0:	b0 10 20 00 	clr  %i0                                       
 20090d4:	9f c4 80 00 	call  %l2                                      
 20090d8:	94 12 a1 f8 	or  %o2, 0x1f8, %o2                            
 20090dc:	81 c7 e0 08 	ret                                            
 20090e0:	81 e8 00 00 	restore                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
 20090e4:	90 10 00 19 	mov  %i1, %o0                                  
 20090e8:	96 10 00 17 	mov  %l7, %o3                                  
 20090ec:	98 10 00 11 	mov  %l1, %o4                                  
 20090f0:	92 10 20 01 	mov  1, %o1                                    
 20090f4:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 20090f8:	b0 10 20 00 	clr  %i0                                       
 20090fc:	9f c4 80 00 	call  %l2                                      
 2009100:	94 12 a2 48 	or  %o2, 0x248, %o2                            
 2009104:	81 c7 e0 08 	ret                                            
 2009108:	81 e8 00 00 	restore                                        
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
 200910c:	96 10 00 17 	mov  %l7, %o3                                  
 2009110:	92 10 20 01 	mov  1, %o1                                    
 2009114:	15 00 80 7b 	sethi  %hi(0x201ec00), %o2                     
 2009118:	b0 10 20 00 	clr  %i0                                       
 200911c:	9f c4 80 00 	call  %l2                                      
 2009120:	94 12 a2 28 	or  %o2, 0x228, %o2                            
 2009124:	81 c7 e0 08 	ret                                            
 2009128:	81 e8 00 00 	restore                                        
                                                                      

02006f7c <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
 2006f7c:	9d e3 bf a0 	save  %sp, -96, %sp                            
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 2006f80:	23 00 80 7f 	sethi  %hi(0x201fc00), %l1                     
 2006f84:	c2 04 61 0c 	ld  [ %l1 + 0x10c ], %g1	! 201fd0c <_IO_Number_of_drivers>
 2006f88:	80 a0 60 00 	cmp  %g1, 0                                    
 2006f8c:	02 80 00 0c 	be  2006fbc <_IO_Initialize_all_drivers+0x40>  <== NEVER TAKEN
 2006f90:	a2 14 61 0c 	or  %l1, 0x10c, %l1                            
 2006f94:	a0 10 20 00 	clr  %l0                                       
     (void) rtems_io_initialize( major, 0, NULL );                    
 2006f98:	90 10 00 10 	mov  %l0, %o0                                  
 2006f9c:	92 10 20 00 	clr  %o1                                       
 2006fa0:	40 00 1c 1e 	call  200e018 <rtems_io_initialize>            
 2006fa4:	94 10 20 00 	clr  %o2                                       
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 2006fa8:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 2006fac:	a0 04 20 01 	inc  %l0                                       
 2006fb0:	80 a0 40 10 	cmp  %g1, %l0                                  
 2006fb4:	18 bf ff fa 	bgu  2006f9c <_IO_Initialize_all_drivers+0x20> 
 2006fb8:	90 10 00 10 	mov  %l0, %o0                                  
 2006fbc:	81 c7 e0 08 	ret                                            
 2006fc0:	81 e8 00 00 	restore                                        
                                                                      

02006fc4 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
 2006fc4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  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;              
 2006fc8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2006fcc:	82 10 60 68 	or  %g1, 0x68, %g1	! 201e868 <Configuration>   
  drivers_in_table  = Configuration.number_of_device_drivers;         
  number_of_drivers = Configuration.maximum_drivers;                  
 2006fd0:	e6 00 60 2c 	ld  [ %g1 + 0x2c ], %l3                        
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
 2006fd4:	e2 00 60 30 	ld  [ %g1 + 0x30 ], %l1                        
                                                                      
  /*                                                                  
   *  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 )                        
 2006fd8:	80 a4 40 13 	cmp  %l1, %l3                                  
 2006fdc:	0a 80 00 08 	bcs  2006ffc <_IO_Manager_initialization+0x38> 
 2006fe0:	e0 00 60 34 	ld  [ %g1 + 0x34 ], %l0                        
   *  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;                          
 2006fe4:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006fe8:	e0 20 61 10 	st  %l0, [ %g1 + 0x110 ]	! 201fd10 <_IO_Driver_address_table>
    _IO_Number_of_drivers = number_of_drivers;                        
 2006fec:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006ff0:	e2 20 61 0c 	st  %l1, [ %g1 + 0x10c ]	! 201fd0c <_IO_Number_of_drivers>
    return;                                                           
 2006ff4:	81 c7 e0 08 	ret                                            
 2006ff8:	81 e8 00 00 	restore                                        
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
 2006ffc:	83 2c e0 03 	sll  %l3, 3, %g1                               
 2007000:	a5 2c e0 05 	sll  %l3, 5, %l2                               
 2007004:	a4 24 80 01 	sub  %l2, %g1, %l2                             
  /*                                                                  
   *  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 *)           
 2007008:	40 00 0c dd 	call  200a37c <_Workspace_Allocate_or_fatal_error>
 200700c:	90 10 00 12 	mov  %l2, %o0                                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 2007010:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
                                                                      
  memset(                                                             
 2007014:	94 10 00 12 	mov  %l2, %o2                                  
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 2007018:	e6 20 61 0c 	st  %l3, [ %g1 + 0x10c ]                       
  /*                                                                  
   *  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 *)           
 200701c:	25 00 80 7f 	sethi  %hi(0x201fc00), %l2                     
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
 2007020:	92 10 20 00 	clr  %o1                                       
 2007024:	40 00 2c f1 	call  20123e8 <memset>                         
 2007028:	d0 24 a1 10 	st  %o0, [ %l2 + 0x110 ]                       
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 200702c:	80 a4 60 00 	cmp  %l1, 0                                    
 2007030:	02 bf ff f1 	be  2006ff4 <_IO_Manager_initialization+0x30>  <== NEVER TAKEN
 2007034:	da 04 a1 10 	ld  [ %l2 + 0x110 ], %o5                       
 2007038:	82 10 20 00 	clr  %g1                                       
 200703c:	88 10 20 00 	clr  %g4                                       
    _IO_Driver_address_table[index] = driver_table[index];            
 2007040:	c4 04 00 01 	ld  [ %l0 + %g1 ], %g2                         
 2007044:	86 04 00 01 	add  %l0, %g1, %g3                             
 2007048:	c4 23 40 01 	st  %g2, [ %o5 + %g1 ]                         
 200704c:	d8 00 e0 04 	ld  [ %g3 + 4 ], %o4                           
 2007050:	84 03 40 01 	add  %o5, %g1, %g2                             
 2007054:	d8 20 a0 04 	st  %o4, [ %g2 + 4 ]                           
 2007058:	d8 00 e0 08 	ld  [ %g3 + 8 ], %o4                           
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 200705c:	88 01 20 01 	inc  %g4                                       
    _IO_Driver_address_table[index] = driver_table[index];            
 2007060:	d8 20 a0 08 	st  %o4, [ %g2 + 8 ]                           
 2007064:	d8 00 e0 0c 	ld  [ %g3 + 0xc ], %o4                         
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 2007068:	82 00 60 18 	add  %g1, 0x18, %g1                            
    _IO_Driver_address_table[index] = driver_table[index];            
 200706c:	d8 20 a0 0c 	st  %o4, [ %g2 + 0xc ]                         
 2007070:	d8 00 e0 10 	ld  [ %g3 + 0x10 ], %o4                        
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 2007074:	80 a4 40 04 	cmp  %l1, %g4                                  
    _IO_Driver_address_table[index] = driver_table[index];            
 2007078:	d8 20 a0 10 	st  %o4, [ %g2 + 0x10 ]                        
 200707c:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 2007080:	18 bf ff f0 	bgu  2007040 <_IO_Manager_initialization+0x7c> 
 2007084:	c6 20 a0 14 	st  %g3, [ %g2 + 0x14 ]                        
 2007088:	81 c7 e0 08 	ret                                            
 200708c:	81 e8 00 00 	restore                                        
                                                                      

020012c0 <_Message_queue_Manager_initialization>: #include <rtems/score/wkspace.h> #include <rtems/score/interr.h> void _Message_queue_Manager_initialization(void) { }
 20012c0:	81 c3 e0 08 	retl                                           
                                                                      

02007d9c <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 2007d9c:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *  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 )                                       
 2007da0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 2007da4:	a0 10 00 18 	mov  %i0, %l0                                  
   *  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 )                                       
 2007da8:	80 a0 60 00 	cmp  %g1, 0                                    
 2007dac:	02 80 00 19 	be  2007e10 <_Objects_Allocate+0x74>           <== NEVER TAKEN
 2007db0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  /*                                                                  
   *  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 );
 2007db4:	a2 04 20 20 	add  %l0, 0x20, %l1                            
 2007db8:	7f ff fd 6d 	call  200736c <_Chain_Get>                     
 2007dbc:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 2007dc0:	c2 0c 20 12 	ldub  [ %l0 + 0x12 ], %g1                      
 2007dc4:	80 a0 60 00 	cmp  %g1, 0                                    
 2007dc8:	02 80 00 12 	be  2007e10 <_Objects_Allocate+0x74>           
 2007dcc:	b0 10 00 08 	mov  %o0, %i0                                  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
 2007dd0:	80 a2 20 00 	cmp  %o0, 0                                    
 2007dd4:	02 80 00 11 	be  2007e18 <_Objects_Allocate+0x7c>           
 2007dd8:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 2007ddc:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
 2007de0:	d0 16 20 0a 	lduh  [ %i0 + 0xa ], %o0                       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007de4:	d2 14 20 14 	lduh  [ %l0 + 0x14 ], %o1                      
 2007de8:	40 00 4c 58 	call  201af48 <.udiv>                          
 2007dec:	90 22 00 01 	sub  %o0, %g1, %o0                             
 2007df0:	c2 04 20 30 	ld  [ %l0 + 0x30 ], %g1                        
 2007df4:	91 2a 20 02 	sll  %o0, 2, %o0                               
      information->inactive--;                                        
 2007df8:	c6 14 20 2c 	lduh  [ %l0 + 0x2c ], %g3                      
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007dfc:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
      information->inactive--;                                        
 2007e00:	86 00 ff ff 	add  %g3, -1, %g3                              
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007e04:	84 00 bf ff 	add  %g2, -1, %g2                              
      information->inactive--;                                        
 2007e08:	c6 34 20 2c 	sth  %g3, [ %l0 + 0x2c ]                       
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007e0c:	c4 20 40 08 	st  %g2, [ %g1 + %o0 ]                         
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 2007e10:	81 c7 e0 08 	ret                                            
 2007e14:	81 e8 00 00 	restore                                        
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
 2007e18:	40 00 00 11 	call  2007e5c <_Objects_Extend_information>    
 2007e1c:	90 10 00 10 	mov  %l0, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 2007e20:	7f ff fd 53 	call  200736c <_Chain_Get>                     
 2007e24:	90 10 00 11 	mov  %l1, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 2007e28:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007e2c:	32 bf ff ed 	bne,a   2007de0 <_Objects_Allocate+0x44>       
 2007e30:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 2007e34:	81 c7 e0 08 	ret                                            
 2007e38:	81 e8 00 00 	restore                                        
                                                                      

02007e5c <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
 2007e5c:	9d e3 bf 90 	save  %sp, -112, %sp                           
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 2007e60:	e8 06 20 34 	ld  [ %i0 + 0x34 ], %l4                        
 2007e64:	80 a5 20 00 	cmp  %l4, 0                                    
 2007e68:	02 80 00 ab 	be  2008114 <_Objects_Extend_information+0x2b8>
 2007e6c:	e6 16 20 0a 	lduh  [ %i0 + 0xa ], %l3                       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 2007e70:	ea 16 20 10 	lduh  [ %i0 + 0x10 ], %l5                      
 2007e74:	e4 16 20 14 	lduh  [ %i0 + 0x14 ], %l2                      
 2007e78:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            
 2007e7c:	92 10 00 12 	mov  %l2, %o1                                  
 2007e80:	40 00 4c 32 	call  201af48 <.udiv>                          
 2007e84:	91 35 60 10 	srl  %l5, 0x10, %o0                            
 2007e88:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2007e8c:	b9 32 20 10 	srl  %o0, 0x10, %i4                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2007e90:	80 a7 20 00 	cmp  %i4, 0                                    
 2007e94:	02 80 00 a7 	be  2008130 <_Objects_Extend_information+0x2d4><== NEVER TAKEN
 2007e98:	90 10 00 12 	mov  %l2, %o0                                  
      if ( information->object_blocks[ block ] == NULL )              
 2007e9c:	c2 05 00 00 	ld  [ %l4 ], %g1                               
 2007ea0:	80 a0 60 00 	cmp  %g1, 0                                    
 2007ea4:	02 80 00 a4 	be  2008134 <_Objects_Extend_information+0x2d8><== NEVER TAKEN
 2007ea8:	a2 10 00 13 	mov  %l3, %l1                                  
 2007eac:	10 80 00 06 	b  2007ec4 <_Objects_Extend_information+0x68>  
 2007eb0:	a0 10 20 00 	clr  %l0                                       
 2007eb4:	c2 05 00 01 	ld  [ %l4 + %g1 ], %g1                         
 2007eb8:	80 a0 60 00 	cmp  %g1, 0                                    
 2007ebc:	22 80 00 08 	be,a   2007edc <_Objects_Extend_information+0x80>
 2007ec0:	ab 35 60 10 	srl  %l5, 0x10, %l5                            
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2007ec4:	a0 04 20 01 	inc  %l0                                       
      if ( information->object_blocks[ block ] == NULL )              
        break;                                                        
      else                                                            
        index_base += information->allocation_size;                   
 2007ec8:	a2 04 40 12 	add  %l1, %l2, %l1                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2007ecc:	80 a7 00 10 	cmp  %i4, %l0                                  
 2007ed0:	18 bf ff f9 	bgu  2007eb4 <_Objects_Extend_information+0x58>
 2007ed4:	83 2c 20 02 	sll  %l0, 2, %g1                               
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2007ed8:	ab 35 60 10 	srl  %l5, 0x10, %l5                            
  /*                                                                  
   *  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 ) {                           
 2007edc:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2007ee0:	aa 05 40 08 	add  %l5, %o0, %l5                             
  /*                                                                  
   *  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 ) {                           
 2007ee4:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 2007ee8:	80 a5 40 01 	cmp  %l5, %g1                                  
 2007eec:	18 80 00 96 	bgu  2008144 <_Objects_Extend_information+0x2e8><== NEVER TAKEN
 2007ef0:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * 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;      
 2007ef4:	40 00 4b db 	call  201ae60 <.umul>                          
 2007ef8:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        
  if ( information->auto_extend ) {                                   
 2007efc:	c2 0e 20 12 	ldub  [ %i0 + 0x12 ], %g1                      
 2007f00:	80 a0 60 00 	cmp  %g1, 0                                    
 2007f04:	12 80 00 6d 	bne  20080b8 <_Objects_Extend_information+0x25c>
 2007f08:	01 00 00 00 	nop                                            
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
 2007f0c:	40 00 09 1c 	call  200a37c <_Workspace_Allocate_or_fatal_error>
 2007f10:	01 00 00 00 	nop                                            
 2007f14:	a4 10 00 08 	mov  %o0, %l2                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
 2007f18:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007f1c:	80 a4 40 01 	cmp  %l1, %g1                                  
 2007f20:	2a 80 00 43 	bcs,a   200802c <_Objects_Extend_information+0x1d0>
 2007f24:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
 2007f28:	a8 07 20 01 	add  %i4, 1, %l4                               
     *  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 );       
 2007f2c:	91 2d 20 01 	sll  %l4, 1, %o0                               
 2007f30:	90 02 00 14 	add  %o0, %l4, %o0                             
 2007f34:	90 05 40 08 	add  %l5, %o0, %o0                             
 2007f38:	90 02 00 13 	add  %o0, %l3, %o0                             
 2007f3c:	40 00 09 1f 	call  200a3b8 <_Workspace_Allocate>            
 2007f40:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
    if ( !object_blocks ) {                                           
 2007f44:	ac 92 20 00 	orcc  %o0, 0, %l6                              
 2007f48:	02 80 00 7d 	be  200813c <_Objects_Extend_information+0x2e0>
 2007f4c:	a9 2d 20 02 	sll  %l4, 2, %l4                               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
 2007f50:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007f54:	80 a4 c0 01 	cmp  %l3, %g1                                  
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
 2007f58:	ae 05 80 14 	add  %l6, %l4, %l7                             
 2007f5c:	0a 80 00 5e 	bcs  20080d4 <_Objects_Extend_information+0x278>
 2007f60:	a8 05 c0 14 	add  %l7, %l4, %l4                             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2007f64:	80 a4 e0 00 	cmp  %l3, 0                                    
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 2007f68:	82 10 20 00 	clr  %g1                                       
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2007f6c:	02 80 00 08 	be  2007f8c <_Objects_Extend_information+0x130><== NEVER TAKEN
 2007f70:	bb 2f 20 02 	sll  %i4, 2, %i5                               
        local_table[ index ] = NULL;                                  
 2007f74:	85 28 60 02 	sll  %g1, 2, %g2                               
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2007f78:	82 00 60 01 	inc  %g1                                       
 2007f7c:	80 a4 c0 01 	cmp  %l3, %g1                                  
 2007f80:	18 bf ff fd 	bgu  2007f74 <_Objects_Extend_information+0x118><== NEVER TAKEN
 2007f84:	c0 20 80 14 	clr  [ %g2 + %l4 ]                             
 2007f88:	bb 2f 20 02 	sll  %i4, 2, %i5                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2007f8c:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
 2007f90:	c0 25 c0 1d 	clr  [ %l7 + %i5 ]                             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2007f94:	86 04 40 03 	add  %l1, %g3, %g3                             
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2007f98:	80 a4 40 03 	cmp  %l1, %g3                                  
 2007f9c:	1a 80 00 0a 	bcc  2007fc4 <_Objects_Extend_information+0x168><== NEVER TAKEN
 2007fa0:	c0 25 80 1d 	clr  [ %l6 + %i5 ]                             
 2007fa4:	85 2c 60 02 	sll  %l1, 2, %g2                               
 2007fa8:	82 10 00 11 	mov  %l1, %g1                                  
 2007fac:	84 05 00 02 	add  %l4, %g2, %g2                             
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
 2007fb0:	c0 20 80 00 	clr  [ %g2 ]                                   
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
 2007fb4:	82 00 60 01 	inc  %g1                                       
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2007fb8:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2007fbc:	18 bf ff fd 	bgu  2007fb0 <_Objects_Extend_information+0x154>
 2007fc0:	84 00 a0 04 	add  %g2, 4, %g2                               
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
 2007fc4:	7f ff e8 38 	call  20020a4 <sparc_disable_interrupts>       
 2007fc8:	01 00 00 00 	nop                                            
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 2007fcc:	c6 06 00 00 	ld  [ %i0 ], %g3                               
 2007fd0:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
 2007fd4:	ea 36 20 10 	sth  %l5, [ %i0 + 0x10 ]                       
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
 2007fd8:	e6 06 20 34 	ld  [ %i0 + 0x34 ], %l3                        
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
 2007fdc:	ee 26 20 30 	st  %l7, [ %i0 + 0x30 ]                        
    information->local_table = local_table;                           
 2007fe0:	e8 26 20 1c 	st  %l4, [ %i0 + 0x1c ]                        
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 2007fe4:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 2007fe8:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
 2007fec:	ec 26 20 34 	st  %l6, [ %i0 + 0x34 ]                        
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 2007ff0:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            
 2007ff4:	03 00 00 40 	sethi  %hi(0x10000), %g1                       
 2007ff8:	ab 35 60 10 	srl  %l5, 0x10, %l5                            
 2007ffc:	82 10 c0 01 	or  %g3, %g1, %g1                              
 2008000:	82 10 40 02 	or  %g1, %g2, %g1                              
 2008004:	82 10 40 15 	or  %g1, %l5, %g1                              
 2008008:	c2 26 20 0c 	st  %g1, [ %i0 + 0xc ]                         
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
 200800c:	7f ff e8 2a 	call  20020b4 <sparc_enable_interrupts>        
 2008010:	01 00 00 00 	nop                                            
                                                                      
    if ( old_tables )                                                 
 2008014:	80 a4 e0 00 	cmp  %l3, 0                                    
 2008018:	22 80 00 05 	be,a   200802c <_Objects_Extend_information+0x1d0>
 200801c:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
      _Workspace_Free( old_tables );                                  
 2008020:	40 00 08 ef 	call  200a3dc <_Workspace_Free>                
 2008024:	90 10 00 13 	mov  %l3, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2008028:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 200802c:	d4 16 20 14 	lduh  [ %i0 + 0x14 ], %o2                      
 2008030:	d6 06 20 18 	ld  [ %i0 + 0x18 ], %o3                        
 2008034:	92 10 00 12 	mov  %l2, %o1                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2008038:	a1 2c 20 02 	sll  %l0, 2, %l0                               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 200803c:	a6 06 20 20 	add  %i0, 0x20, %l3                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2008040:	e4 20 40 10 	st  %l2, [ %g1 + %l0 ]                         
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 2008044:	29 00 00 40 	sethi  %hi(0x10000), %l4                       
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 2008048:	a4 07 bf f4 	add  %fp, -12, %l2                             
 200804c:	40 00 18 0a 	call  200e074 <_Chain_Initialize>              
 2008050:	90 10 00 12 	mov  %l2, %o0                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2008054:	30 80 00 0c 	b,a   2008084 <_Objects_Extend_information+0x228>
                                                                      
    the_object->id = _Objects_Build_id(                               
 2008058:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
 200805c:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 2008060:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
 2008064:	82 10 40 14 	or  %g1, %l4, %g1                              
 2008068:	82 10 40 02 	or  %g1, %g2, %g1                              
 200806c:	82 10 40 11 	or  %g1, %l1, %g1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2008070:	92 10 00 08 	mov  %o0, %o1                                  
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 2008074:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
 2008078:	a2 04 60 01 	inc  %l1                                       
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 200807c:	7f ff fc a6 	call  2007314 <_Chain_Append>                  
 2008080:	90 10 00 13 	mov  %l3, %o0                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2008084:	7f ff fc ba 	call  200736c <_Chain_Get>                     
 2008088:	90 10 00 12 	mov  %l2, %o0                                  
 200808c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008090:	32 bf ff f2 	bne,a   2008058 <_Objects_Extend_information+0x1fc>
 2008094:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
 2008098:	c2 16 20 2c 	lduh  [ %i0 + 0x2c ], %g1                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 200809c:	c8 16 20 14 	lduh  [ %i0 + 0x14 ], %g4                      
 20080a0:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
  information->inactive =                                             
 20080a4:	82 01 00 01 	add  %g4, %g1, %g1                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 20080a8:	c8 20 80 10 	st  %g4, [ %g2 + %l0 ]                         
  information->inactive =                                             
 20080ac:	c2 36 20 2c 	sth  %g1, [ %i0 + 0x2c ]                       
 20080b0:	81 c7 e0 08 	ret                                            
 20080b4:	81 e8 00 00 	restore                                        
   * 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 );             
 20080b8:	40 00 08 c0 	call  200a3b8 <_Workspace_Allocate>            
 20080bc:	01 00 00 00 	nop                                            
    if ( !new_object_block )                                          
 20080c0:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 20080c4:	32 bf ff 96 	bne,a   2007f1c <_Objects_Extend_information+0xc0>
 20080c8:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 20080cc:	81 c7 e0 08 	ret                                            
 20080d0:	81 e8 00 00 	restore                                        
      /*                                                              
       *  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,                                          
 20080d4:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 20080d8:	bb 2f 20 02 	sll  %i4, 2, %i5                               
      /*                                                              
       *  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,                                          
 20080dc:	40 00 28 84 	call  20122ec <memcpy>                         
 20080e0:	94 10 00 1d 	mov  %i5, %o2                                  
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
 20080e4:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
 20080e8:	94 10 00 1d 	mov  %i5, %o2                                  
 20080ec:	40 00 28 80 	call  20122ec <memcpy>                         
 20080f0:	90 10 00 17 	mov  %l7, %o0                                  
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 20080f4:	d4 16 20 10 	lduh  [ %i0 + 0x10 ], %o2                      
 20080f8:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 20080fc:	94 04 c0 0a 	add  %l3, %o2, %o2                             
 2008100:	90 10 00 14 	mov  %l4, %o0                                  
 2008104:	40 00 28 7a 	call  20122ec <memcpy>                         
 2008108:	95 2a a0 02 	sll  %o2, 2, %o2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 200810c:	10 bf ff a1 	b  2007f90 <_Objects_Extend_information+0x134> 
 2008110:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 2008114:	ea 16 20 10 	lduh  [ %i0 + 0x10 ], %l5                      
 2008118:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
 200811c:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            
 2008120:	a2 10 00 13 	mov  %l3, %l1                                  
 2008124:	a0 10 20 00 	clr  %l0                                       
 2008128:	10 bf ff 6c 	b  2007ed8 <_Objects_Extend_information+0x7c>  
 200812c:	b8 10 20 00 	clr  %i4                                       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL )              
 2008130:	a2 10 00 13 	mov  %l3, %l1                                  <== NOT EXECUTED
 2008134:	10 bf ff 69 	b  2007ed8 <_Objects_Extend_information+0x7c>  <== NOT EXECUTED
 2008138:	a0 10 20 00 	clr  %l0                                       <== 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 );                            
 200813c:	40 00 08 a8 	call  200a3dc <_Workspace_Free>                
 2008140:	90 10 00 12 	mov  %l2, %o0                                  
      return;                                                         
 2008144:	81 c7 e0 08 	ret                                            
 2008148:	81 e8 00 00 	restore                                        
                                                                      

020081f8 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
 20081f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 20081fc:	80 a6 60 00 	cmp  %i1, 0                                    
 2008200:	12 80 00 04 	bne  2008210 <_Objects_Get_information+0x18>   
 2008204:	01 00 00 00 	nop                                            
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2008208:	81 c7 e0 08 	ret                                            
 200820c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  /*                                                                  
   *  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 );      
 2008210:	40 00 19 45 	call  200e724 <_Objects_API_maximum_class>     
 2008214:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 2008218:	80 a2 20 00 	cmp  %o0, 0                                    
 200821c:	22 80 00 15 	be,a   2008270 <_Objects_Get_information+0x78> 
 2008220:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 2008224:	80 a6 40 08 	cmp  %i1, %o0                                  
 2008228:	38 80 00 12 	bgu,a   2008270 <_Objects_Get_information+0x78>
 200822c:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 2008230:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2008234:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008238:	82 10 63 00 	or  %g1, 0x300, %g1	! 201f300 <_Objects_Information_table>
 200823c:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2008240:	80 a0 60 00 	cmp  %g1, 0                                    
 2008244:	02 80 00 0b 	be  2008270 <_Objects_Get_information+0x78>    <== NEVER TAKEN
 2008248:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 200824c:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 2008250:	f0 00 40 19 	ld  [ %g1 + %i1 ], %i0                         
  if ( !info )                                                        
 2008254:	80 a6 20 00 	cmp  %i0, 0                                    
 2008258:	02 80 00 06 	be  2008270 <_Objects_Get_information+0x78>    <== NEVER TAKEN
 200825c:	01 00 00 00 	nop                                            
   *  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 )                                         
 2008260:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2008264:	80 a0 60 00 	cmp  %g1, 0                                    
 2008268:	22 80 00 02 	be,a   2008270 <_Objects_Get_information+0x78> 
 200826c:	b0 10 20 00 	clr  %i0                                       
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2008270:	81 c7 e0 08 	ret                                            
 2008274:	81 e8 00 00 	restore                                        
                                                                      

02017f78 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
 2017f78:	9d e3 bf 90 	save  %sp, -112, %sp                           
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
 2017f7c:	80 a6 60 00 	cmp  %i1, 0                                    
 2017f80:	12 80 00 05 	bne  2017f94 <_Objects_Get_name_as_string+0x1c>
 2017f84:	80 a6 a0 00 	cmp  %i2, 0                                    
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
 2017f88:	b4 10 20 00 	clr  %i2                                       
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
 2017f8c:	81 c7 e0 08 	ret                                            
 2017f90:	91 e8 00 1a 	restore  %g0, %i2, %o0                         
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
 2017f94:	02 bf ff fe 	be  2017f8c <_Objects_Get_name_as_string+0x14> 
 2017f98:	80 a6 20 00 	cmp  %i0, 0                                    
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 2017f9c:	12 80 00 04 	bne  2017fac <_Objects_Get_name_as_string+0x34>
 2017fa0:	03 00 80 c8 	sethi  %hi(0x2032000), %g1                     
 2017fa4:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1	! 2032190 <_Thread_Executing>
 2017fa8:	f0 00 60 08 	ld  [ %g1 + 8 ], %i0                           
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
 2017fac:	7f ff d9 11 	call  200e3f0 <_Objects_Get_information_id>    
 2017fb0:	90 10 00 18 	mov  %i0, %o0                                  
  if ( !information )                                                 
 2017fb4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2017fb8:	22 bf ff f5 	be,a   2017f8c <_Objects_Get_name_as_string+0x14>
 2017fbc:	b4 10 20 00 	clr  %i2                                       
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
 2017fc0:	92 10 00 18 	mov  %i0, %o1                                  
 2017fc4:	7f ff d9 4f 	call  200e500 <_Objects_Get>                   
 2017fc8:	94 07 bf fc 	add  %fp, -4, %o2                              
  switch ( location ) {                                               
 2017fcc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2017fd0:	80 a0 60 00 	cmp  %g1, 0                                    
 2017fd4:	32 bf ff ee 	bne,a   2017f8c <_Objects_Get_name_as_string+0x14>
 2017fd8:	b4 10 20 00 	clr  %i2                                       
      return NULL;                                                    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)             
        if ( information->is_string ) {                               
 2017fdc:	c2 0c 20 38 	ldub  [ %l0 + 0x38 ], %g1                      
 2017fe0:	80 a0 60 00 	cmp  %g1, 0                                    
 2017fe4:	22 80 00 25 	be,a   2018078 <_Objects_Get_name_as_string+0x100>
 2017fe8:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
          s = the_object->name.name_p;                                
 2017fec:	c8 02 20 0c 	ld  [ %o0 + 0xc ], %g4                         
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
 2017ff0:	80 a1 20 00 	cmp  %g4, 0                                    
 2017ff4:	02 80 00 1e 	be  201806c <_Objects_Get_name_as_string+0xf4> 
 2017ff8:	86 10 00 1a 	mov  %i2, %g3                                  
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 2017ffc:	b2 86 7f ff 	addcc  %i1, -1, %i1                            
 2018000:	02 80 00 1b 	be  201806c <_Objects_Get_name_as_string+0xf4> <== NEVER TAKEN
 2018004:	86 10 00 1a 	mov  %i2, %g3                                  
 2018008:	c2 49 00 00 	ldsb  [ %g4 ], %g1                             
 201800c:	80 a0 60 00 	cmp  %g1, 0                                    
 2018010:	02 80 00 17 	be  201806c <_Objects_Get_name_as_string+0xf4> 
 2018014:	c4 09 00 00 	ldub  [ %g4 ], %g2                             
 2018018:	17 00 80 c4 	sethi  %hi(0x2031000), %o3                     
 201801c:	86 10 00 1a 	mov  %i2, %g3                                  
 2018020:	96 12 e0 50 	or  %o3, 0x50, %o3                             
 2018024:	10 80 00 06 	b  201803c <_Objects_Get_name_as_string+0xc4>  
 2018028:	82 10 20 00 	clr  %g1                                       
 201802c:	da 49 00 01 	ldsb  [ %g4 + %g1 ], %o5                       
 2018030:	80 a3 60 00 	cmp  %o5, 0                                    
 2018034:	02 80 00 0e 	be  201806c <_Objects_Get_name_as_string+0xf4> 
 2018038:	c4 09 00 01 	ldub  [ %g4 + %g1 ], %g2                       
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
 201803c:	d8 02 c0 00 	ld  [ %o3 ], %o4                               
 2018040:	9a 08 a0 ff 	and  %g2, 0xff, %o5                            
 2018044:	9a 03 00 0d 	add  %o4, %o5, %o5                             
 2018048:	da 4b 60 01 	ldsb  [ %o5 + 1 ], %o5                         
 201804c:	80 8b 60 97 	btst  0x97, %o5                                
 2018050:	12 80 00 03 	bne  201805c <_Objects_Get_name_as_string+0xe4>
 2018054:	82 00 60 01 	inc  %g1                                       
 2018058:	84 10 20 2a 	mov  0x2a, %g2                                 
 201805c:	c4 28 c0 00 	stb  %g2, [ %g3 ]                              
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 2018060:	80 a0 40 19 	cmp  %g1, %i1                                  
 2018064:	0a bf ff f2 	bcs  201802c <_Objects_Get_name_as_string+0xb4>
 2018068:	86 00 e0 01 	inc  %g3                                       
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
 201806c:	7f ff db fb 	call  200f058 <_Thread_Enable_dispatch>        
 2018070:	c0 28 c0 00 	clrb  [ %g3 ]                                  
      return name;                                                    
 2018074:	30 bf ff c6 	b,a   2017f8c <_Objects_Get_name_as_string+0x14>
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
 2018078:	88 07 bf f0 	add  %fp, -16, %g4                             
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 201807c:	85 30 60 18 	srl  %g1, 0x18, %g2                            
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
 2018080:	c2 2f bf f3 	stb  %g1, [ %fp + -13 ]                        
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 2018084:	c4 2f bf f0 	stb  %g2, [ %fp + -16 ]                        
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
 2018088:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 201808c:	85 30 60 10 	srl  %g1, 0x10, %g2                            
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
 2018090:	83 30 60 08 	srl  %g1, 8, %g1                               
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 2018094:	c4 2f bf f1 	stb  %g2, [ %fp + -15 ]                        
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
 2018098:	10 bf ff d9 	b  2017ffc <_Objects_Get_name_as_string+0x84>  
 201809c:	c2 2f bf f2 	stb  %g1, [ %fp + -14 ]                        
                                                                      

02019714 <_Objects_Get_no_protection>: /* * 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;
 2019714:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
                                                                      
  if ( information->maximum >= index ) {                              
 2019718:	c2 12 20 10 	lduh  [ %o0 + 0x10 ], %g1                      
                                                                      
  /*                                                                  
   * 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;                           
 201971c:	84 22 40 02 	sub  %o1, %g2, %g2                             
 2019720:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( information->maximum >= index ) {                              
 2019724:	80 a0 80 01 	cmp  %g2, %g1                                  
 2019728:	18 80 00 09 	bgu  201974c <_Objects_Get_no_protection+0x38> 
 201972c:	85 28 a0 02 	sll  %g2, 2, %g2                               
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
 2019730:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 2019734:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
 2019738:	80 a2 20 00 	cmp  %o0, 0                                    
 201973c:	02 80 00 05 	be  2019750 <_Objects_Get_no_protection+0x3c>  <== NEVER TAKEN
 2019740:	82 10 20 01 	mov  1, %g1                                    
      *location = OBJECTS_LOCAL;                                      
      return the_object;                                              
 2019744:	81 c3 e0 08 	retl                                           
 2019748:	c0 22 80 00 	clr  [ %o2 ]                                   
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
 201974c:	82 10 20 01 	mov  1, %g1                                    
 2019750:	90 10 20 00 	clr  %o0                                       
  return NULL;                                                        
}                                                                     
 2019754:	81 c3 e0 08 	retl                                           
 2019758:	c2 22 80 00 	st  %g1, [ %o2 ]                               
                                                                      

0200e574 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 200e574:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 200e578:	92 96 20 00 	orcc  %i0, 0, %o1                              
 200e57c:	12 80 00 06 	bne  200e594 <_Objects_Id_to_name+0x20>        
 200e580:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200e584:	03 00 80 c8 	sethi  %hi(0x2032000), %g1                     
 200e588:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1	! 2032190 <_Thread_Executing>
 200e58c:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
 200e590:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200e594:	82 08 60 07 	and  %g1, 7, %g1                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
 200e598:	84 00 7f ff 	add  %g1, -1, %g2                              
 200e59c:	80 a0 a0 03 	cmp  %g2, 3                                    
 200e5a0:	18 80 00 11 	bgu  200e5e4 <_Objects_Id_to_name+0x70>        
 200e5a4:	83 28 60 02 	sll  %g1, 2, %g1                               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200e5a8:	05 00 80 c8 	sethi  %hi(0x2032000), %g2                     
 200e5ac:	84 10 a0 30 	or  %g2, 0x30, %g2	! 2032030 <_Objects_Information_table>
 200e5b0:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200e5b4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e5b8:	02 80 00 0b 	be  200e5e4 <_Objects_Id_to_name+0x70>         
 200e5bc:	85 32 60 1b 	srl  %o1, 0x1b, %g2                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 200e5c0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200e5c4:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 200e5c8:	80 a2 20 00 	cmp  %o0, 0                                    
 200e5cc:	02 80 00 06 	be  200e5e4 <_Objects_Id_to_name+0x70>         <== NEVER TAKEN
 200e5d0:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
 200e5d4:	c2 0a 20 38 	ldub  [ %o0 + 0x38 ], %g1                      
 200e5d8:	80 a0 60 00 	cmp  %g1, 0                                    
 200e5dc:	02 80 00 04 	be  200e5ec <_Objects_Id_to_name+0x78>         <== ALWAYS TAKEN
 200e5e0:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
 200e5e4:	81 c7 e0 08 	ret                                            
 200e5e8:	91 e8 20 03 	restore  %g0, 3, %o0                           
  #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 ); 
 200e5ec:	7f ff ff c5 	call  200e500 <_Objects_Get>                   
 200e5f0:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 200e5f4:	80 a2 20 00 	cmp  %o0, 0                                    
 200e5f8:	02 bf ff fb 	be  200e5e4 <_Objects_Id_to_name+0x70>         
 200e5fc:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 200e600:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
 200e604:	b0 10 20 00 	clr  %i0                                       
 200e608:	40 00 02 94 	call  200f058 <_Thread_Enable_dispatch>        
 200e60c:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 200e610:	81 c7 e0 08 	ret                                            
 200e614:	81 e8 00 00 	restore                                        
                                                                      

02008ba0 <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
 2008ba0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
 2008ba4:	d2 16 20 3a 	lduh  [ %i0 + 0x3a ], %o1                      
 2008ba8:	40 00 2d 1d 	call  201401c <strnlen>                        
 2008bac:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
 2008bb0:	c2 0e 20 38 	ldub  [ %i0 + 0x38 ], %g1                      
 2008bb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2008bb8:	12 80 00 1d 	bne  2008c2c <_Objects_Set_name+0x8c>          
 2008bbc:	a0 10 00 08 	mov  %o0, %l0                                  
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2008bc0:	c4 4e 80 00 	ldsb  [ %i2 ], %g2                             
 2008bc4:	80 a2 20 01 	cmp  %o0, 1                                    
 2008bc8:	08 80 00 13 	bleu  2008c14 <_Objects_Set_name+0x74>         
 2008bcc:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2008bd0:	c2 4e a0 01 	ldsb  [ %i2 + 1 ], %g1                         
 2008bd4:	80 a2 20 02 	cmp  %o0, 2                                    
 2008bd8:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2008bdc:	02 80 00 10 	be  2008c1c <_Objects_Set_name+0x7c>           
 2008be0:	84 10 40 02 	or  %g1, %g2, %g2                              
 2008be4:	c2 4e a0 02 	ldsb  [ %i2 + 2 ], %g1                         
 2008be8:	80 a2 20 03 	cmp  %o0, 3                                    
 2008bec:	83 28 60 08 	sll  %g1, 8, %g1                               
 2008bf0:	84 10 80 01 	or  %g2, %g1, %g2                              
 2008bf4:	02 80 00 03 	be  2008c00 <_Objects_Set_name+0x60>           
 2008bf8:	82 10 20 20 	mov  0x20, %g1                                 
 2008bfc:	c2 4e a0 03 	ldsb  [ %i2 + 3 ], %g1                         
 2008c00:	82 10 80 01 	or  %g2, %g1, %g1                              
 2008c04:	b0 10 20 01 	mov  1, %i0                                    
 2008c08:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2008c0c:	81 c7 e0 08 	ret                                            
 2008c10:	81 e8 00 00 	restore                                        
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2008c14:	03 00 08 00 	sethi  %hi(0x200000), %g1                      
 2008c18:	84 10 80 01 	or  %g2, %g1, %g2                              
 2008c1c:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 2008c20:	84 10 80 01 	or  %g2, %g1, %g2                              
 2008c24:	10 bf ff f7 	b  2008c00 <_Objects_Set_name+0x60>            
 2008c28:	82 10 20 20 	mov  0x20, %g1                                 
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
 2008c2c:	90 02 20 01 	inc  %o0                                       
 2008c30:	40 00 07 a8 	call  200aad0 <_Workspace_Allocate>            
 2008c34:	b0 10 20 00 	clr  %i0                                       
    if ( !d )                                                         
 2008c38:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 2008c3c:	02 bf ff f4 	be  2008c0c <_Objects_Set_name+0x6c>           <== NEVER TAKEN
 2008c40:	01 00 00 00 	nop                                            
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
 2008c44:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 2008c48:	80 a2 20 00 	cmp  %o0, 0                                    
 2008c4c:	02 80 00 06 	be  2008c64 <_Objects_Set_name+0xc4>           
 2008c50:	92 10 00 1a 	mov  %i2, %o1                                  
      _Workspace_Free( (void *)the_object->name.name_p );             
 2008c54:	40 00 07 a8 	call  200aaf4 <_Workspace_Free>                
 2008c58:	01 00 00 00 	nop                                            
      the_object->name.name_p = NULL;                                 
 2008c5c:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
 2008c60:	92 10 00 1a 	mov  %i2, %o1                                  
 2008c64:	90 10 00 11 	mov  %l1, %o0                                  
 2008c68:	40 00 2c b2 	call  2013f30 <strncpy>                        
 2008c6c:	94 10 00 10 	mov  %l0, %o2                                  
    d[length] = '\0';                                                 
 2008c70:	c0 2c 40 10 	clrb  [ %l1 + %l0 ]                            
    the_object->name.name_p = d;                                      
 2008c74:	e2 26 60 0c 	st  %l1, [ %i1 + 0xc ]                         
 2008c78:	81 c7 e0 08 	ret                                            
 2008c7c:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      

02008568 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
 2008568:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
 200856c:	e0 16 20 0a 	lduh  [ %i0 + 0xa ], %l0                       
  block_count = (information->maximum - index_base) /                 
 2008570:	e2 16 20 14 	lduh  [ %i0 + 0x14 ], %l1                      
 2008574:	d0 16 20 10 	lduh  [ %i0 + 0x10 ], %o0                      
 2008578:	92 10 00 11 	mov  %l1, %o1                                  
 200857c:	40 00 4a 73 	call  201af48 <.udiv>                          
 2008580:	90 22 00 10 	sub  %o0, %l0, %o0                             
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 2008584:	80 a2 20 00 	cmp  %o0, 0                                    
 2008588:	02 80 00 12 	be  20085d0 <_Objects_Shrink_information+0x68> <== NEVER TAKEN
 200858c:	a4 10 20 04 	mov  4, %l2                                    
    if ( information->inactive_per_block[ block ] ==                  
 2008590:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
 2008594:	c4 00 c0 00 	ld  [ %g3 ], %g2                               
 2008598:	80 a4 40 02 	cmp  %l1, %g2                                  
 200859c:	12 80 00 09 	bne  20085c0 <_Objects_Shrink_information+0x58><== ALWAYS TAKEN
 20085a0:	82 10 20 00 	clr  %g1                                       
 20085a4:	10 80 00 0d 	b  20085d8 <_Objects_Shrink_information+0x70>  <== NOT EXECUTED
 20085a8:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
 20085ac:	a0 04 00 11 	add  %l0, %l1, %l0                             
  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 ] ==                  
 20085b0:	80 a4 40 02 	cmp  %l1, %g2                                  
 20085b4:	02 80 00 09 	be  20085d8 <_Objects_Shrink_information+0x70> 
 20085b8:	84 04 a0 04 	add  %l2, 4, %g2                               
 20085bc:	a4 10 00 02 	mov  %g2, %l2                                  
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 20085c0:	82 00 60 01 	inc  %g1                                       
 20085c4:	80 a2 00 01 	cmp  %o0, %g1                                  
 20085c8:	38 bf ff f9 	bgu,a   20085ac <_Objects_Shrink_information+0x44>
 20085cc:	c4 00 c0 12 	ld  [ %g3 + %l2 ], %g2                         
 20085d0:	81 c7 e0 08 	ret                                            
 20085d4:	81 e8 00 00 	restore                                        
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
 20085d8:	10 80 00 06 	b  20085f0 <_Objects_Shrink_information+0x88>  
 20085dc:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
 20085e0:	80 a4 60 00 	cmp  %l1, 0                                    
 20085e4:	22 80 00 12 	be,a   200862c <_Objects_Shrink_information+0xc4>
 20085e8:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 20085ec:	90 10 00 11 	mov  %l1, %o0                                  
       *  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 );                
 20085f0:	c2 12 20 0a 	lduh  [ %o0 + 0xa ], %g1                       
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
 20085f4:	80 a0 40 10 	cmp  %g1, %l0                                  
 20085f8:	0a bf ff fa 	bcs  20085e0 <_Objects_Shrink_information+0x78>
 20085fc:	e2 02 00 00 	ld  [ %o0 ], %l1                               
             (index < (index_base + information->allocation_size))) { 
 2008600:	c4 16 20 14 	lduh  [ %i0 + 0x14 ], %g2                      
 2008604:	84 04 00 02 	add  %l0, %g2, %g2                             
 2008608:	80 a0 40 02 	cmp  %g1, %g2                                  
 200860c:	1a bf ff f6 	bcc  20085e4 <_Objects_Shrink_information+0x7c>
 2008610:	80 a4 60 00 	cmp  %l1, 0                                    
           _Chain_Extract( &extract_me->Node );                       
 2008614:	7f ff fb 4c 	call  2007344 <_Chain_Extract>                 
 2008618:	01 00 00 00 	nop                                            
         }                                                            
       }                                                              
       while ( the_object );                                          
 200861c:	80 a4 60 00 	cmp  %l1, 0                                    
 2008620:	12 bf ff f4 	bne  20085f0 <_Objects_Shrink_information+0x88><== ALWAYS TAKEN
 2008624:	90 10 00 11 	mov  %l1, %o0                                  
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
 2008628:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        <== NOT EXECUTED
 200862c:	40 00 07 6c 	call  200a3dc <_Workspace_Free>                
 2008630:	d0 00 40 12 	ld  [ %g1 + %l2 ], %o0                         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
 2008634:	c6 16 20 2c 	lduh  [ %i0 + 0x2c ], %g3                      
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 2008638:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
      information->inactive_per_block[ block ] = 0;                   
 200863c:	c8 06 20 30 	ld  [ %i0 + 0x30 ], %g4                        
                                                                      
      information->inactive -= information->allocation_size;          
 2008640:	c4 16 20 14 	lduh  [ %i0 + 0x14 ], %g2                      
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
 2008644:	c0 21 00 12 	clr  [ %g4 + %l2 ]                             
                                                                      
      information->inactive -= information->allocation_size;          
 2008648:	84 20 c0 02 	sub  %g3, %g2, %g2                             
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 200864c:	c0 20 40 12 	clr  [ %g1 + %l2 ]                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
 2008650:	c4 36 20 2c 	sth  %g2, [ %i0 + 0x2c ]                       
                                                                      
      return;                                                         
 2008654:	81 c7 e0 08 	ret                                            
 2008658:	81 e8 00 00 	restore                                        
                                                                      

0200788c <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
 200788c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
 2007890:	a0 07 bf fc 	add  %fp, -4, %l0                              
 2007894:	90 10 00 19 	mov  %i1, %o0                                  
 2007898:	40 00 00 7f 	call  2007a94 <_POSIX_Mutex_Get>               
 200789c:	92 10 00 10 	mov  %l0, %o1                                  
 20078a0:	80 a2 20 00 	cmp  %o0, 0                                    
 20078a4:	22 80 00 18 	be,a   2007904 <_POSIX_Condition_variables_Wait_support+0x78>
 20078a8:	b0 10 20 16 	mov  0x16, %i0                                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 20078ac:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
 20078b0:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2	! 2022240 <_Thread_Dispatch_disable_level>
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
 20078b4:	92 10 00 10 	mov  %l0, %o1                                  
 20078b8:	84 00 bf ff 	add  %g2, -1, %g2                              
 20078bc:	90 10 00 18 	mov  %i0, %o0                                  
 20078c0:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
 20078c4:	7f ff ff 69 	call  2007668 <_POSIX_Condition_variables_Get> 
 20078c8:	01 00 00 00 	nop                                            
  switch ( location ) {                                               
 20078cc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20078d0:	80 a0 60 00 	cmp  %g1, 0                                    
 20078d4:	12 80 00 1a 	bne  200793c <_POSIX_Condition_variables_Wait_support+0xb0>
 20078d8:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
 20078dc:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 20078e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20078e4:	02 80 00 0a 	be  200790c <_POSIX_Condition_variables_Wait_support+0x80>
 20078e8:	01 00 00 00 	nop                                            
 20078ec:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 20078f0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20078f4:	02 80 00 06 	be  200790c <_POSIX_Condition_variables_Wait_support+0x80>
 20078f8:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
 20078fc:	40 00 0d c5 	call  200b010 <_Thread_Enable_dispatch>        
 2007900:	b0 10 20 16 	mov  0x16, %i0	! 16 <PROM_START+0x16>          
        return EINVAL;                                                
 2007904:	81 c7 e0 08 	ret                                            
 2007908:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
 200790c:	40 00 00 f5 	call  2007ce0 <pthread_mutex_unlock>           
 2007910:	90 10 00 19 	mov  %i1, %o0                                  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
 2007914:	80 8e e0 ff 	btst  0xff, %i3                                
 2007918:	22 80 00 0b 	be,a   2007944 <_POSIX_Condition_variables_Wait_support+0xb8>
 200791c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
        status = _Thread_Executing->Wait.return_code;                 
        if ( status && status != ETIMEDOUT )                          
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
 2007920:	40 00 0d bc 	call  200b010 <_Thread_Enable_dispatch>        
 2007924:	b0 10 20 74 	mov  0x74, %i0                                 
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
 2007928:	40 00 00 cd 	call  2007c5c <pthread_mutex_lock>             
 200792c:	90 10 00 19 	mov  %i1, %o0                                  
      if ( mutex_status )                                             
 2007930:	80 a2 20 00 	cmp  %o0, 0                                    
 2007934:	02 80 00 1c 	be  20079a4 <_POSIX_Condition_variables_Wait_support+0x118>
 2007938:	01 00 00 00 	nop                                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200793c:	81 c7 e0 08 	ret                                            
 2007940:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 2007944:	23 00 80 88 	sethi  %hi(0x2022000), %l1                     
 2007948:	c2 04 63 00 	ld  [ %l1 + 0x300 ], %g1	! 2022300 <_Thread_Executing>
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
 200794c:	c4 24 20 14 	st  %g2, [ %l0 + 0x14 ]                        
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 2007950:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
 2007954:	c6 06 00 00 	ld  [ %i0 ], %g3                               
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
 2007958:	84 04 20 18 	add  %l0, 0x18, %g2                            
        _Thread_Executing->Wait.id          = *cond;                  
 200795c:	c6 20 60 20 	st  %g3, [ %g1 + 0x20 ]                        
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
 2007960:	c4 20 60 44 	st  %g2, [ %g1 + 0x44 ]                        
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
 2007964:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
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;
 2007968:	82 10 20 01 	mov  1, %g1                                    
 200796c:	90 10 00 02 	mov  %g2, %o0                                  
 2007970:	15 00 80 2e 	sethi  %hi(0x200b800), %o2                     
 2007974:	94 12 a2 28 	or  %o2, 0x228, %o2	! 200ba28 <_Thread_queue_Timeout>
 2007978:	40 00 0f 19 	call  200b5dc <_Thread_queue_Enqueue_with_handler>
 200797c:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
                                                                      
        _Thread_Enable_dispatch();                                    
 2007980:	40 00 0d a4 	call  200b010 <_Thread_Enable_dispatch>        
 2007984:	01 00 00 00 	nop                                            
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
 2007988:	c2 04 63 00 	ld  [ %l1 + 0x300 ], %g1                       
 200798c:	f0 00 60 34 	ld  [ %g1 + 0x34 ], %i0                        
        if ( status && status != ETIMEDOUT )                          
 2007990:	80 a6 20 74 	cmp  %i0, 0x74                                 
 2007994:	02 bf ff e5 	be  2007928 <_POSIX_Condition_variables_Wait_support+0x9c>
 2007998:	80 a6 20 00 	cmp  %i0, 0                                    
 200799c:	02 bf ff e3 	be  2007928 <_POSIX_Condition_variables_Wait_support+0x9c><== ALWAYS TAKEN
 20079a0:	01 00 00 00 	nop                                            
 20079a4:	81 c7 e0 08 	ret                                            
 20079a8:	81 e8 00 00 	restore                                        
                                                                      

02010944 <_POSIX_Keys_Run_destructors>: */ void _POSIX_Keys_Run_destructors( Thread_Control *thread ) {
 2010944:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
 2010948:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 201094c:	21 00 80 7e 	sethi  %hi(0x201f800), %l0                     
    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 ];     
 2010950:	a7 28 60 10 	sll  %g1, 0x10, %l3                            
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
 2010954:	a9 30 60 18 	srl  %g1, 0x18, %l4                            
 2010958:	a0 14 20 08 	or  %l0, 8, %l0                                
 201095c:	a8 0d 20 07 	and  %l4, 7, %l4                               
 2010960:	a7 34 e0 0e 	srl  %l3, 0xe, %l3                             
 2010964:	a8 05 20 04 	add  %l4, 4, %l4                               
 2010968:	a9 2d 20 02 	sll  %l4, 2, %l4                               
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 201096c:	e4 14 20 10 	lduh  [ %l0 + 0x10 ], %l2                      
 2010970:	80 a4 a0 00 	cmp  %l2, 0                                    
 2010974:	02 80 00 1e 	be  20109ec <_POSIX_Keys_Run_destructors+0xa8> 
 2010978:	a2 10 20 01 	mov  1, %l1                                    
 201097c:	84 10 20 01 	mov  1, %g2                                    
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
 2010980:	c6 04 20 1c 	ld  [ %l0 + 0x1c ], %g3                        
 2010984:	83 2c 60 10 	sll  %l1, 0x10, %g1                            
 2010988:	83 30 60 0e 	srl  %g1, 0xe, %g1                             
 201098c:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
 2010990:	80 a0 60 00 	cmp  %g1, 0                                    
 2010994:	02 80 00 0e 	be  20109cc <_POSIX_Keys_Run_destructors+0x88> 
 2010998:	86 00 40 14 	add  %g1, %l4, %g3                             
 201099c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 20109a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20109a4:	22 80 00 0b 	be,a   20109d0 <_POSIX_Keys_Run_destructors+0x8c>
 20109a8:	a2 04 60 01 	inc  %l1                                       
        void *value = key->Values [ thread_api ][ thread_index ];     
 20109ac:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 20109b0:	d0 00 c0 13 	ld  [ %g3 + %l3 ], %o0                         
                                                                      
        if ( value != NULL ) {                                        
 20109b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20109b8:	22 80 00 06 	be,a   20109d0 <_POSIX_Keys_Run_destructors+0x8c><== ALWAYS TAKEN
 20109bc:	a2 04 60 01 	inc  %l1                                       
          key->Values [ thread_api ][ thread_index ] = NULL;          
          (*key->destructor)( value );                                
 20109c0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20109c4:	c0 20 c0 13 	clr  [ %g3 + %l3 ]                             <== NOT EXECUTED
 20109c8:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 20109cc:	a2 04 60 01 	inc  %l1                                       
 20109d0:	83 2c 60 10 	sll  %l1, 0x10, %g1                            
 20109d4:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 20109d8:	80 a4 80 01 	cmp  %l2, %g1                                  
 20109dc:	1a bf ff e9 	bcc  2010980 <_POSIX_Keys_Run_destructors+0x3c>
 20109e0:	80 88 a0 ff 	btst  0xff, %g2                                
   *  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 ) {                                                   
 20109e4:	22 bf ff e3 	be,a   2010970 <_POSIX_Keys_Run_destructors+0x2c><== NEVER TAKEN
 20109e8:	e4 14 20 10 	lduh  [ %l0 + 0x10 ], %l2                      <== NOT EXECUTED
 20109ec:	81 c7 e0 08 	ret                                            
 20109f0:	81 e8 00 00 	restore                                        
                                                                      

0200b9e8 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
 200b9e8:	9d e3 bf 98 	save  %sp, -104, %sp                           
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(             
 200b9ec:	11 00 80 a6 	sethi  %hi(0x2029800), %o0                     
 200b9f0:	92 10 00 18 	mov  %i0, %o1                                  
 200b9f4:	90 12 23 7c 	or  %o0, 0x37c, %o0                            
 200b9f8:	40 00 0d 4a 	call  200ef20 <_Objects_Get>                   
 200b9fc:	94 07 bf fc 	add  %fp, -4, %o2                              
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200ba00:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200ba04:	80 a0 60 00 	cmp  %g1, 0                                    
 200ba08:	22 80 00 08 	be,a   200ba28 <_POSIX_Message_queue_Receive_support+0x40>
 200ba0c:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200ba10:	40 00 34 23 	call  2018a9c <__errno>                        
 200ba14:	b0 10 3f ff 	mov  -1, %i0                                   
 200ba18:	82 10 20 09 	mov  9, %g1                                    
 200ba1c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200ba20:	81 c7 e0 08 	ret                                            
 200ba24:	81 e8 00 00 	restore                                        
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
 200ba28:	84 08 60 03 	and  %g1, 3, %g2                               
 200ba2c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200ba30:	02 80 00 46 	be  200bb48 <_POSIX_Message_queue_Receive_support+0x160>
 200ba34:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
 200ba38:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
 200ba3c:	c4 02 20 68 	ld  [ %o0 + 0x68 ], %g2                        
 200ba40:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200ba44:	18 80 00 30 	bgu  200bb04 <_POSIX_Message_queue_Receive_support+0x11c>
 200ba48:	80 8f 20 ff 	btst  0xff, %i4                                
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200ba4c:	12 80 00 1c 	bne  200babc <_POSIX_Message_queue_Receive_support+0xd4><== ALWAYS TAKEN
 200ba50:	98 10 20 00 	clr  %o4                                       
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200ba54:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200ba58:	90 02 20 1c 	add  %o0, 0x1c, %o0                            <== NOT EXECUTED
 200ba5c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 200ba60:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 200ba64:	9a 10 00 1d 	mov  %i5, %o5                                  <== NOT EXECUTED
 200ba68:	96 07 bf f8 	add  %fp, -8, %o3                              <== NOT EXECUTED
 200ba6c:	40 00 08 d4 	call  200ddbc <_CORE_message_queue_Seize>      <== NOT EXECUTED
 200ba70:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          <== NOT EXECUTED
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200ba74:	40 00 0f bc 	call  200f964 <_Thread_Enable_dispatch>        <== NOT EXECUTED
 200ba78:	01 00 00 00 	nop                                            <== NOT EXECUTED
      if (msg_prio) {                                                 
 200ba7c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 200ba80:	02 80 00 1f 	be  200bafc <_POSIX_Message_queue_Receive_support+0x114><== NOT EXECUTED
 200ba84:	3b 00 80 a5 	sethi  %hi(0x2029400), %i5                     <== NOT EXECUTED
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
             _Thread_Executing->Wait.count                            
 200ba88:	c2 07 63 20 	ld  [ %i5 + 0x320 ], %g1	! 2029720 <_Thread_Executing>
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
 200ba8c:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        
 200ba90:	85 38 e0 1f 	sra  %g3, 0x1f, %g2                            
 200ba94:	86 18 80 03 	xor  %g2, %g3, %g3                             
 200ba98:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 200ba9c:	c4 26 c0 00 	st  %g2, [ %i3 ]                               
             _Thread_Executing->Wait.count                            
          );                                                          
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200baa0:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200baa4:	80 a0 60 00 	cmp  %g1, 0                                    
 200baa8:	12 80 00 1f 	bne  200bb24 <_POSIX_Message_queue_Receive_support+0x13c>
 200baac:	01 00 00 00 	nop                                            
        return length_out;                                            
 200bab0:	f0 07 bf f8 	ld  [ %fp + -8 ], %i0                          
 200bab4:	81 c7 e0 08 	ret                                            
 200bab8:	81 e8 00 00 	restore                                        
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200babc:	99 30 60 0e 	srl  %g1, 0xe, %o4                             
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200bac0:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200bac4:	82 10 3f ff 	mov  -1, %g1                                   
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200bac8:	92 10 00 18 	mov  %i0, %o1                                  
 200bacc:	94 10 00 19 	mov  %i1, %o2                                  
 200bad0:	9a 10 00 1d 	mov  %i5, %o5                                  
 200bad4:	96 07 bf f8 	add  %fp, -8, %o3                              
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200bad8:	98 1b 20 01 	xor  %o4, 1, %o4                               
 200badc:	98 0b 20 01 	and  %o4, 1, %o4                               
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200bae0:	40 00 08 b7 	call  200ddbc <_CORE_message_queue_Seize>      
 200bae4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200bae8:	40 00 0f 9f 	call  200f964 <_Thread_Enable_dispatch>        
 200baec:	01 00 00 00 	nop                                            
      if (msg_prio) {                                                 
 200baf0:	80 a6 e0 00 	cmp  %i3, 0                                    
 200baf4:	12 bf ff e5 	bne  200ba88 <_POSIX_Message_queue_Receive_support+0xa0><== ALWAYS TAKEN
 200baf8:	3b 00 80 a5 	sethi  %hi(0x2029400), %i5                     
 200bafc:	10 bf ff e9 	b  200baa0 <_POSIX_Message_queue_Receive_support+0xb8><== NOT EXECUTED
 200bb00:	c2 07 63 20 	ld  [ %i5 + 0x320 ], %g1	! 2029720 <_Thread_Executing><== NOT EXECUTED
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
 200bb04:	40 00 0f 98 	call  200f964 <_Thread_Enable_dispatch>        
 200bb08:	b0 10 3f ff 	mov  -1, %i0                                   
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
 200bb0c:	40 00 33 e4 	call  2018a9c <__errno>                        
 200bb10:	01 00 00 00 	nop                                            
 200bb14:	82 10 20 7a 	mov  0x7a, %g1	! 7a <PROM_START+0x7a>          
 200bb18:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200bb1c:	81 c7 e0 08 	ret                                            
 200bb20:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200bb24:	40 00 33 de 	call  2018a9c <__errno>                        
 200bb28:	b0 10 3f ff 	mov  -1, %i0                                   
 200bb2c:	c2 07 63 20 	ld  [ %i5 + 0x320 ], %g1                       
 200bb30:	b6 10 00 08 	mov  %o0, %i3                                  
 200bb34:	40 00 00 b0 	call  200bdf4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200bb38:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 200bb3c:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
 200bb40:	81 c7 e0 08 	ret                                            
 200bb44:	81 e8 00 00 	restore                                        
  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();                                    
 200bb48:	40 00 0f 87 	call  200f964 <_Thread_Enable_dispatch>        
 200bb4c:	b0 10 3f ff 	mov  -1, %i0                                   
        rtems_set_errno_and_return_minus_one( EBADF );                
 200bb50:	40 00 33 d3 	call  2018a9c <__errno>                        
 200bb54:	01 00 00 00 	nop                                            
 200bb58:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
 200bb5c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200bb60:	81 c7 e0 08 	ret                                            
 200bb64:	81 e8 00 00 	restore                                        
                                                                      

0200bb80 <_POSIX_Message_queue_Send_support>: size_t msg_len, uint32_t msg_prio, bool wait, Watchdog_Interval timeout ) {
 200bb80:	9d e3 bf 90 	save  %sp, -112, %sp                           
  /*                                                                  
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
 200bb84:	80 a6 e0 20 	cmp  %i3, 0x20                                 
 200bb88:	18 80 00 47 	bgu  200bca4 <_POSIX_Message_queue_Send_support+0x124>
 200bb8c:	11 00 80 a6 	sethi  %hi(0x2029800), %o0                     
 200bb90:	92 10 00 18 	mov  %i0, %o1                                  
 200bb94:	90 12 23 7c 	or  %o0, 0x37c, %o0                            
 200bb98:	40 00 0c e2 	call  200ef20 <_Objects_Get>                   
 200bb9c:	94 07 bf fc 	add  %fp, -4, %o2                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200bba0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200bba4:	80 a0 60 00 	cmp  %g1, 0                                    
 200bba8:	12 80 00 31 	bne  200bc6c <_POSIX_Message_queue_Send_support+0xec>
 200bbac:	01 00 00 00 	nop                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
 200bbb0:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200bbb4:	80 88 60 03 	btst  3, %g1                                   
 200bbb8:	02 80 00 41 	be  200bcbc <_POSIX_Message_queue_Send_support+0x13c>
 200bbbc:	80 8f 20 ff 	btst  0xff, %i4                                
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
 200bbc0:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200bbc4:	12 80 00 15 	bne  200bc18 <_POSIX_Message_queue_Send_support+0x98>
 200bbc8:	84 10 20 00 	clr  %g2                                       
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
 200bbcc:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        
 200bbd0:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 200bbd4:	92 10 00 19 	mov  %i1, %o1                                  
 200bbd8:	94 10 00 1a 	mov  %i2, %o2                                  
 200bbdc:	96 10 00 18 	mov  %i0, %o3                                  
 200bbe0:	9a 20 00 1b 	neg  %i3, %o5                                  
 200bbe4:	98 10 20 00 	clr  %o4                                       
 200bbe8:	40 00 08 b4 	call  200deb8 <_CORE_message_queue_Submit>     
 200bbec:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200bbf0:	40 00 0f 5d 	call  200f964 <_Thread_Enable_dispatch>        
 200bbf4:	ba 10 00 08 	mov  %o0, %i5                                  
       *  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 ) 
 200bbf8:	80 a7 60 07 	cmp  %i5, 7                                    
 200bbfc:	02 80 00 19 	be  200bc60 <_POSIX_Message_queue_Send_support+0xe0><== NEVER TAKEN
 200bc00:	03 00 80 a5 	sethi  %hi(0x2029400), %g1                     
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
 200bc04:	80 a7 60 00 	cmp  %i5, 0                                    
 200bc08:	12 80 00 1f 	bne  200bc84 <_POSIX_Message_queue_Send_support+0x104>
 200bc0c:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
 200bc10:	81 c7 e0 08 	ret                                            
 200bc14:	81 e8 00 00 	restore                                        
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200bc18:	85 30 60 0e 	srl  %g1, 0xe, %g2                             
 200bc1c:	84 18 a0 01 	xor  %g2, 1, %g2                               
 200bc20:	84 08 a0 01 	and  %g2, 1, %g2                               
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
 200bc24:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 200bc28:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        
 200bc2c:	92 10 00 19 	mov  %i1, %o1                                  
 200bc30:	94 10 00 1a 	mov  %i2, %o2                                  
 200bc34:	96 10 00 18 	mov  %i0, %o3                                  
 200bc38:	9a 20 00 1b 	neg  %i3, %o5                                  
 200bc3c:	98 10 20 00 	clr  %o4                                       
 200bc40:	40 00 08 9e 	call  200deb8 <_CORE_message_queue_Submit>     
 200bc44:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200bc48:	40 00 0f 47 	call  200f964 <_Thread_Enable_dispatch>        
 200bc4c:	ba 10 00 08 	mov  %o0, %i5                                  
       *  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 ) 
 200bc50:	80 a7 60 07 	cmp  %i5, 7                                    
 200bc54:	12 bf ff ed 	bne  200bc08 <_POSIX_Message_queue_Send_support+0x88>
 200bc58:	80 a7 60 00 	cmp  %i5, 0                                    
        msg_status = _Thread_Executing->Wait.return_code;             
 200bc5c:	03 00 80 a5 	sethi  %hi(0x2029400), %g1                     
 200bc60:	c2 00 63 20 	ld  [ %g1 + 0x320 ], %g1	! 2029720 <_Thread_Executing>
 200bc64:	10 bf ff e8 	b  200bc04 <_POSIX_Message_queue_Send_support+0x84>
 200bc68:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200bc6c:	40 00 33 8c 	call  2018a9c <__errno>                        
 200bc70:	b0 10 3f ff 	mov  -1, %i0                                   
 200bc74:	82 10 20 09 	mov  9, %g1                                    
 200bc78:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200bc7c:	81 c7 e0 08 	ret                                            
 200bc80:	81 e8 00 00 	restore                                        
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
        return msg_status;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200bc84:	40 00 33 86 	call  2018a9c <__errno>                        
 200bc88:	b0 10 3f ff 	mov  -1, %i0                                   
 200bc8c:	b8 10 00 08 	mov  %o0, %i4                                  
 200bc90:	40 00 00 59 	call  200bdf4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200bc94:	90 10 00 1d 	mov  %i5, %o0                                  
 200bc98:	d0 27 00 00 	st  %o0, [ %i4 ]                               
 200bc9c:	81 c7 e0 08 	ret                                            
 200bca0:	81 e8 00 00 	restore                                        
   * 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 );                   
 200bca4:	40 00 33 7e 	call  2018a9c <__errno>                        
 200bca8:	b0 10 3f ff 	mov  -1, %i0                                   
 200bcac:	82 10 20 16 	mov  0x16, %g1                                 
 200bcb0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200bcb4:	81 c7 e0 08 	ret                                            
 200bcb8:	81 e8 00 00 	restore                                        
  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();                                    
 200bcbc:	40 00 0f 2a 	call  200f964 <_Thread_Enable_dispatch>        
 200bcc0:	b0 10 3f ff 	mov  -1, %i0                                   
        rtems_set_errno_and_return_minus_one( EBADF );                
 200bcc4:	40 00 33 76 	call  2018a9c <__errno>                        
 200bcc8:	01 00 00 00 	nop                                            
 200bccc:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
 200bcd0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200bcd4:	81 c7 e0 08 	ret                                            
 200bcd8:	81 e8 00 00 	restore                                        
                                                                      

0200d664 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: Thread_Control *the_thread ) { POSIX_API_Control *thread_support; thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200d664:	c2 02 21 6c 	ld  [ %o0 + 0x16c ], %g1                       
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200d668:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 200d66c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d670:	12 80 00 06 	bne  200d688 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x24><== NEVER TAKEN
 200d674:	01 00 00 00 	nop                                            
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
 200d678:	c4 00 60 d8 	ld  [ %g1 + 0xd8 ], %g2                        
 200d67c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200d680:	22 80 00 05 	be,a   200d694 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x30>
 200d684:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
 200d688:	82 13 c0 00 	mov  %o7, %g1                                  
 200d68c:	7f ff ee 99 	call  20090f0 <_Thread_Enable_dispatch>        
 200d690:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      
  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 ) {                      
 200d694:	80 a0 60 00 	cmp  %g1, 0                                    
 200d698:	02 bf ff fc 	be  200d688 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x24>
 200d69c:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 200d6a0:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
 200d6a4:	c4 00 62 10 	ld  [ %g1 + 0x210 ], %g2	! 2020a10 <_Thread_Dispatch_disable_level>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
 200d6a8:	92 10 3f ff 	mov  -1, %o1                                   
 200d6ac:	84 00 bf ff 	add  %g2, -1, %g2                              
 200d6b0:	c4 20 62 10 	st  %g2, [ %g1 + 0x210 ]                       
 200d6b4:	82 13 c0 00 	mov  %o7, %g1                                  
 200d6b8:	40 00 01 e8 	call  200de58 <_POSIX_Thread_Exit>             
 200d6bc:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200ecbc <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
 200ecbc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
 200ecc0:	7f ff ff f2 	call  200ec88 <_POSIX_Priority_Is_valid>       
 200ecc4:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200ecc8:	80 8a 20 ff 	btst  0xff, %o0                                
 200eccc:	02 80 00 0c 	be  200ecfc <_POSIX_Thread_Translate_sched_param+0x40><== NEVER TAKEN
 200ecd0:	80 a6 20 00 	cmp  %i0, 0                                    
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
 200ecd4:	c0 26 80 00 	clr  [ %i2 ]                                   
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
 200ecd8:	02 80 00 0b 	be  200ed04 <_POSIX_Thread_Translate_sched_param+0x48>
 200ecdc:	c0 26 c0 00 	clr  [ %i3 ]                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
 200ece0:	80 a6 20 01 	cmp  %i0, 1                                    
 200ece4:	02 80 00 2e 	be  200ed9c <_POSIX_Thread_Translate_sched_param+0xe0>
 200ece8:	80 a6 20 02 	cmp  %i0, 2                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
 200ecec:	02 80 00 2f 	be  200eda8 <_POSIX_Thread_Translate_sched_param+0xec>
 200ecf0:	80 a6 20 04 	cmp  %i0, 4                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
 200ecf4:	22 80 00 08 	be,a   200ed14 <_POSIX_Thread_Translate_sched_param+0x58>
 200ecf8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200ecfc:	81 c7 e0 08 	ret                                            
 200ed00:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
 200ed04:	82 10 20 01 	mov  1, %g1                                    
 200ed08:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    return 0;                                                         
 200ed0c:	81 c7 e0 08 	ret                                            
 200ed10:	81 e8 00 00 	restore                                        
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
 200ed14:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed18:	32 80 00 07 	bne,a   200ed34 <_POSIX_Thread_Translate_sched_param+0x78>
 200ed1c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
 200ed20:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200ed24:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed28:	02 bf ff f5 	be  200ecfc <_POSIX_Thread_Translate_sched_param+0x40>
 200ed2c:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
 200ed30:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200ed34:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed38:	12 80 00 06 	bne  200ed50 <_POSIX_Thread_Translate_sched_param+0x94>
 200ed3c:	01 00 00 00 	nop                                            
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
 200ed40:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200ed44:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed48:	02 bf ff ed 	be  200ecfc <_POSIX_Thread_Translate_sched_param+0x40>
 200ed4c:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200ed50:	7f ff f0 e5 	call  200b0e4 <_Timespec_To_ticks>             
 200ed54:	90 06 60 08 	add  %i1, 8, %o0                               
 200ed58:	b0 10 00 08 	mov  %o0, %i0                                  
 200ed5c:	7f ff f0 e2 	call  200b0e4 <_Timespec_To_ticks>             
 200ed60:	90 06 60 10 	add  %i1, 0x10, %o0                            
 200ed64:	80 a6 00 08 	cmp  %i0, %o0                                  
 200ed68:	0a bf ff e5 	bcs  200ecfc <_POSIX_Thread_Translate_sched_param+0x40>
 200ed6c:	01 00 00 00 	nop                                            
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
 200ed70:	7f ff ff c6 	call  200ec88 <_POSIX_Priority_Is_valid>       
 200ed74:	d0 06 60 04 	ld  [ %i1 + 4 ], %o0                           
 200ed78:	80 8a 20 ff 	btst  0xff, %o0                                
 200ed7c:	02 bf ff e0 	be  200ecfc <_POSIX_Thread_Translate_sched_param+0x40>
 200ed80:	82 10 20 03 	mov  3, %g1                                    
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
 200ed84:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
 200ed88:	03 00 80 1c 	sethi  %hi(0x2007000), %g1                     
 200ed8c:	82 10 61 bc 	or  %g1, 0x1bc, %g1	! 20071bc <_POSIX_Threads_Sporadic_budget_callout>
 200ed90:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
 200ed94:	81 c7 e0 08 	ret                                            
 200ed98:	91 e8 20 00 	restore  %g0, 0, %o0                           
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
 200ed9c:	c0 26 80 00 	clr  [ %i2 ]                                   
    return 0;                                                         
 200eda0:	81 c7 e0 08 	ret                                            
 200eda4:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
 200eda8:	f0 26 80 00 	st  %i0, [ %i2 ]                               
    return 0;                                                         
 200edac:	81 c7 e0 08 	ret                                            
 200edb0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d7d4 <_POSIX_Threads_Delete_extension>: */ void _POSIX_Threads_Delete_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) {
 200d7d4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
  void              **value_ptr;                                      
                                                                      
  api = deleted->API_Extensions[ THREAD_API_POSIX ];                  
 200d7d8:	f0 06 61 6c 	ld  [ %i1 + 0x16c ], %i0                       
                                                                      
  /*                                                                  
   *  Run the POSIX cancellation handlers                             
   */                                                                 
  _POSIX_Threads_cancel_run( deleted );                               
 200d7dc:	40 00 0c 3e 	call  20108d4 <_POSIX_Threads_cancel_run>      
 200d7e0:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   *  Run all the key destructors                                     
   */                                                                 
  _POSIX_Keys_Run_destructors( deleted );                             
 200d7e4:	90 10 00 19 	mov  %i1, %o0                                  
 200d7e8:	40 00 0c 57 	call  2010944 <_POSIX_Keys_Run_destructors>    
 200d7ec:	a0 06 20 40 	add  %i0, 0x40, %l0                            
  /*                                                                  
   *  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 )) )   
 200d7f0:	10 80 00 03 	b  200d7fc <_POSIX_Threads_Delete_extension+0x28>
 200d7f4:	e2 06 60 28 	ld  [ %i1 + 0x28 ], %l1                        
      *(void **)the_thread->Wait.return_argument = value_ptr;         
 200d7f8:	e2 20 40 00 	st  %l1, [ %g1 ]                               <== 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 )) )   
 200d7fc:	7f ff ee 7a 	call  20091e4 <_Thread_queue_Dequeue>          
 200d800:	90 10 00 10 	mov  %l0, %o0                                  
 200d804:	80 a2 20 00 	cmp  %o0, 0                                    
 200d808:	32 bf ff fc 	bne,a   200d7f8 <_POSIX_Threads_Delete_extension+0x24><== NEVER TAKEN
 200d80c:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        <== NOT EXECUTED
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
 200d810:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 200d814:	80 a0 60 04 	cmp  %g1, 4                                    
 200d818:	02 80 00 05 	be  200d82c <_POSIX_Threads_Delete_extension+0x58>
 200d81c:	01 00 00 00 	nop                                            
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200d820:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
                                                                      
  (void) _Workspace_Free( api );                                      
 200d824:	7f ff f2 ee 	call  200a3dc <_Workspace_Free>                
 200d828:	81 e8 00 00 	restore                                        
                                                                      
  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 );                  
 200d82c:	7f ff f2 74 	call  200a1fc <_Watchdog_Remove>               
 200d830:	90 06 20 a4 	add  %i0, 0xa4, %o0                            
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200d834:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
                                                                      
  (void) _Workspace_Free( api );                                      
 200d838:	7f ff f2 e9 	call  200a3dc <_Workspace_Free>                
 200d83c:	81 e8 00 00 	restore                                        
                                                                      

02006ee0 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
 2006ee0:	9d e3 bf 60 	save  %sp, -160, %sp                           
  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;
 2006ee4:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006ee8:	82 10 62 3c 	or  %g1, 0x23c, %g1	! 201fe3c <Configuration_POSIX_API>
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
 2006eec:	e6 00 60 30 	ld  [ %g1 + 0x30 ], %l3                        
                                                                      
  if ( !user_threads || maximum == 0 )                                
 2006ef0:	80 a4 e0 00 	cmp  %l3, 0                                    
 2006ef4:	02 80 00 1a 	be  2006f5c <_POSIX_Threads_Initialize_user_threads_body+0x7c><== NEVER TAKEN
 2006ef8:	e2 00 60 34 	ld  [ %g1 + 0x34 ], %l1                        
 2006efc:	80 a4 60 00 	cmp  %l1, 0                                    
 2006f00:	02 80 00 17 	be  2006f5c <_POSIX_Threads_Initialize_user_threads_body+0x7c><== NEVER TAKEN
 2006f04:	a4 10 20 00 	clr  %l2                                       
 2006f08:	a0 07 bf c0 	add  %fp, -64, %l0                             
 2006f0c:	a8 07 bf fc 	add  %fp, -4, %l4                              
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 2006f10:	40 00 1f a9 	call  200edb4 <pthread_attr_init>              
 2006f14:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
 2006f18:	92 10 20 02 	mov  2, %o1                                    
 2006f1c:	40 00 1f b2 	call  200ede4 <pthread_attr_setinheritsched>   
 2006f20:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
 2006f24:	d2 04 60 04 	ld  [ %l1 + 4 ], %o1                           
 2006f28:	40 00 1f c0 	call  200ee28 <pthread_attr_setstacksize>      
 2006f2c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    status = pthread_create(                                          
 2006f30:	d4 04 40 00 	ld  [ %l1 ], %o2                               
 2006f34:	90 10 00 14 	mov  %l4, %o0                                  
 2006f38:	92 10 00 10 	mov  %l0, %o1                                  
 2006f3c:	7f ff fe f0 	call  2006afc <pthread_create>                 
 2006f40:	96 10 20 00 	clr  %o3                                       
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
 2006f44:	80 a2 20 00 	cmp  %o0, 0                                    
 2006f48:	12 80 00 07 	bne  2006f64 <_POSIX_Threads_Initialize_user_threads_body+0x84>
 2006f4c:	a4 04 a0 01 	inc  %l2                                       
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
 2006f50:	80 a4 c0 12 	cmp  %l3, %l2                                  
 2006f54:	18 bf ff ef 	bgu  2006f10 <_POSIX_Threads_Initialize_user_threads_body+0x30><== NEVER TAKEN
 2006f58:	a2 04 60 08 	add  %l1, 8, %l1                               
 2006f5c:	81 c7 e0 08 	ret                                            
 2006f60:	81 e8 00 00 	restore                                        
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
 2006f64:	94 10 00 08 	mov  %o0, %o2                                  
 2006f68:	92 10 20 01 	mov  1, %o1                                    
 2006f6c:	40 00 08 41 	call  2009070 <_Internal_error_Occurred>       
 2006f70:	90 10 20 02 	mov  2, %o0                                    
                                                                      

0200d9cc <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
 200d9cc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200d9d0:	e0 06 61 6c 	ld  [ %i1 + 0x16c ], %l0                       
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
 200d9d4:	40 00 04 83 	call  200ebe0 <_Timespec_To_ticks>             
 200d9d8:	90 04 20 94 	add  %l0, 0x94, %o0                            
 200d9dc:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200d9e0:	c4 04 20 84 	ld  [ %l0 + 0x84 ], %g2                        
 200d9e4:	d2 08 60 64 	ldub  [ %g1 + 0x64 ], %o1                      
   */                                                                 
  #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 ) {                            
 200d9e8:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200d9ec:	92 22 40 02 	sub  %o1, %g2, %o1                             
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
 200d9f0:	d0 26 60 78 	st  %o0, [ %i1 + 0x78 ]                        
   */                                                                 
  #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 ) {                            
 200d9f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200d9f8:	12 80 00 06 	bne  200da10 <_POSIX_Threads_Sporadic_budget_TSR+0x44><== NEVER TAKEN
 200d9fc:	d2 26 60 18 	st  %o1, [ %i1 + 0x18 ]                        
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
 200da00:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200da04:	80 a0 40 09 	cmp  %g1, %o1                                  
 200da08:	38 80 00 09 	bgu,a   200da2c <_POSIX_Threads_Sporadic_budget_TSR+0x60>
 200da0c:	90 10 00 19 	mov  %i1, %o0                                  
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
 200da10:	40 00 04 74 	call  200ebe0 <_Timespec_To_ticks>             
 200da14:	90 04 20 8c 	add  %l0, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200da18:	31 00 80 7d 	sethi  %hi(0x201f400), %i0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200da1c:	d0 24 20 b0 	st  %o0, [ %l0 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200da20:	b2 04 20 a4 	add  %l0, 0xa4, %i1                            
 200da24:	7f ff f1 8d 	call  200a058 <_Watchdog_Insert>               
 200da28:	91 ee 20 80 	restore  %i0, 0x80, %o0                        
  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 );      
 200da2c:	7f ff eb 3f 	call  2008728 <_Thread_Change_priority>        
 200da30:	94 10 20 01 	mov  1, %o2                                    
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
 200da34:	40 00 04 6b 	call  200ebe0 <_Timespec_To_ticks>             
 200da38:	90 04 20 8c 	add  %l0, 0x8c, %o0                            
 200da3c:	31 00 80 7d 	sethi  %hi(0x201f400), %i0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200da40:	d0 24 20 b0 	st  %o0, [ %l0 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200da44:	b2 04 20 a4 	add  %l0, 0xa4, %i1                            
 200da48:	7f ff f1 84 	call  200a058 <_Watchdog_Insert>               
 200da4c:	91 ee 20 80 	restore  %i0, 0x80, %o0                        
                                                                      

0200d978 <_POSIX_Threads_Sporadic_budget_callout>: ) { POSIX_API_Control *api; uint32_t new_priority; api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200d978:	c4 02 21 6c 	ld  [ %o0 + 0x16c ], %g2                       
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 200d97c:	c6 00 a0 88 	ld  [ %g2 + 0x88 ], %g3                        
 200d980:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 200d984:	d2 08 a0 64 	ldub  [ %g2 + 0x64 ], %o1	! 201e864 <rtems_maximum_priority>
   */                                                                 
  #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 ) {                            
 200d988:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200d98c:	92 22 40 03 	sub  %o1, %g3, %o1                             
                                                                      
  /*                                                                  
   *  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 */
 200d990:	86 10 3f ff 	mov  -1, %g3                                   
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
 200d994:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
   */                                                                 
  #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 ) {                            
 200d998:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d99c:	12 80 00 06 	bne  200d9b4 <_POSIX_Threads_Sporadic_budget_callout+0x3c><== NEVER TAKEN
 200d9a0:	c6 22 20 78 	st  %g3, [ %o0 + 0x78 ]                        
    /*                                                                
     *  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 ) {              
 200d9a4:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200d9a8:	80 a0 40 09 	cmp  %g1, %o1                                  
 200d9ac:	0a 80 00 04 	bcs  200d9bc <_POSIX_Threads_Sporadic_budget_callout+0x44><== ALWAYS TAKEN
 200d9b0:	94 10 20 01 	mov  1, %o2                                    
 200d9b4:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200d9b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      _Thread_Change_priority( the_thread, new_priority, true );      
 200d9bc:	82 13 c0 00 	mov  %o7, %g1                                  
 200d9c0:	7f ff eb 5a 	call  2008728 <_Thread_Change_priority>        
 200d9c4:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

020108d4 <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
 20108d4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  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 ];    
 20108d8:	e4 06 21 6c 	ld  [ %i0 + 0x16c ], %l2                       
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
 20108dc:	84 10 20 01 	mov  1, %g2                                    
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
 20108e0:	c2 04 a0 e0 	ld  [ %l2 + 0xe0 ], %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 20108e4:	a2 04 a0 e4 	add  %l2, 0xe4, %l1                            
 20108e8:	80 a0 40 11 	cmp  %g1, %l1                                  
 20108ec:	02 80 00 14 	be  201093c <_POSIX_Threads_cancel_run+0x68>   
 20108f0:	c4 24 a0 d4 	st  %g2, [ %l2 + 0xd4 ]                        
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
    _ISR_Disable( level );                                            
 20108f4:	7f ff c5 ec 	call  20020a4 <sparc_disable_interrupts>       
 20108f8:	01 00 00 00 	nop                                            
      handler = (POSIX_Cancel_Handler_control *)                      
 20108fc:	e0 04 60 04 	ld  [ %l1 + 4 ], %l0                           
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2010900:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 2010904:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  next->previous = previous;                                          
  previous->next = next;                                              
 2010908:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 201090c:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
 2010910:	7f ff c5 e9 	call  20020b4 <sparc_enable_interrupts>        
 2010914:	01 00 00 00 	nop                                            
                                                                      
    (*handler->routine)( handler->arg );                              
 2010918:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 201091c:	9f c0 40 00 	call  %g1                                      
 2010920:	d0 04 20 0c 	ld  [ %l0 + 0xc ], %o0                         
                                                                      
    _Workspace_Free( handler );                                       
 2010924:	7f ff e6 ae 	call  200a3dc <_Workspace_Free>                
 2010928:	90 10 00 10 	mov  %l0, %o0                                  
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
 201092c:	c2 04 a0 e0 	ld  [ %l2 + 0xe0 ], %g1                        
 2010930:	80 a0 40 11 	cmp  %g1, %l1                                  
 2010934:	12 bf ff f0 	bne  20108f4 <_POSIX_Threads_cancel_run+0x20>  <== NEVER TAKEN
 2010938:	01 00 00 00 	nop                                            
 201093c:	81 c7 e0 08 	ret                                            
 2010940:	81 e8 00 00 	restore                                        
                                                                      

02006ae4 <_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) {
 2006ae4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 2006ae8:	c4 06 60 68 	ld  [ %i1 + 0x68 ], %g2                        
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2006aec:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 2006af0:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2006af4:	80 a0 60 00 	cmp  %g1, 0                                    
 2006af8:	12 80 00 0e 	bne  2006b30 <_POSIX_Timer_TSR+0x4c>           
 2006afc:	c4 26 60 68 	st  %g2, [ %i1 + 0x68 ]                        
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
 2006b00:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 2006b04:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b08:	32 80 00 0b 	bne,a   2006b34 <_POSIX_Timer_TSR+0x50>        <== ALWAYS TAKEN
 2006b0c:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
                                                                      
    /* 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;                     
 2006b10:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
 2006b14:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       <== 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 ) ) {
 2006b18:	d0 06 60 38 	ld  [ %i1 + 0x38 ], %o0                        
 2006b1c:	40 00 1e 09 	call  200e340 <pthread_kill>                   
 2006b20:	d2 06 60 44 	ld  [ %i1 + 0x44 ], %o1                        
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
 2006b24:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
 2006b28:	81 c7 e0 08 	ret                                            
 2006b2c:	81 e8 00 00 	restore                                        
  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(                           
 2006b30:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 2006b34:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2006b38:	90 06 60 10 	add  %i1, 0x10, %o0                            
 2006b3c:	17 00 80 1a 	sethi  %hi(0x2006800), %o3                     
 2006b40:	98 10 00 19 	mov  %i1, %o4                                  
 2006b44:	40 00 1f 2b 	call  200e7f0 <_POSIX_Timer_Insert_helper>     
 2006b48:	96 12 e2 e4 	or  %o3, 0x2e4, %o3                            
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
 2006b4c:	80 8a 20 ff 	btst  0xff, %o0                                
 2006b50:	02 bf ff f6 	be  2006b28 <_POSIX_Timer_TSR+0x44>            <== NEVER TAKEN
 2006b54:	01 00 00 00 	nop                                            
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
 2006b58:	40 00 05 f3 	call  2008324 <_TOD_Get>                       
 2006b5c:	90 06 60 6c 	add  %i1, 0x6c, %o0                            
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
 2006b60:	82 10 20 03 	mov  3, %g1                                    
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2006b64:	10 bf ff ed 	b  2006b18 <_POSIX_Timer_TSR+0x34>             
 2006b68:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       
                                                                      

02010d2c <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
 2010d2c:	9d e3 bf 90 	save  %sp, -112, %sp                           
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
 2010d30:	98 10 20 01 	mov  1, %o4                                    
 2010d34:	96 0e a0 ff 	and  %i2, 0xff, %o3                            
 2010d38:	a0 07 bf f4 	add  %fp, -12, %l0                             
 2010d3c:	90 10 00 18 	mov  %i0, %o0                                  
 2010d40:	92 10 00 19 	mov  %i1, %o1                                  
 2010d44:	40 00 00 23 	call  2010dd0 <_POSIX_signals_Clear_signals>   
 2010d48:	94 10 00 10 	mov  %l0, %o2                                  
 2010d4c:	80 8a 20 ff 	btst  0xff, %o0                                
 2010d50:	02 80 00 1e 	be  2010dc8 <_POSIX_signals_Check_signal+0x9c> 
 2010d54:	83 2e 60 02 	sll  %i1, 2, %g1                               
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
 2010d58:	07 00 80 7e 	sethi  %hi(0x201f800), %g3                     
 2010d5c:	85 2e 60 04 	sll  %i1, 4, %g2                               
 2010d60:	86 10 e1 28 	or  %g3, 0x128, %g3                            
 2010d64:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2010d68:	88 00 c0 02 	add  %g3, %g2, %g4                             
 2010d6c:	c2 01 20 08 	ld  [ %g4 + 8 ], %g1                           
 2010d70:	80 a0 60 01 	cmp  %g1, 1                                    
 2010d74:	02 80 00 15 	be  2010dc8 <_POSIX_signals_Check_signal+0x9c> <== NEVER TAKEN
 2010d78:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 2010d7c:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
 2010d80:	e2 06 20 cc 	ld  [ %i0 + 0xcc ], %l1                        
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 2010d84:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 2010d88:	86 11 00 11 	or  %g4, %l1, %g3                              
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 2010d8c:	80 a0 a0 02 	cmp  %g2, 2                                    
 2010d90:	02 80 00 07 	be  2010dac <_POSIX_signals_Check_signal+0x80> 
 2010d94:	c6 26 20 cc 	st  %g3, [ %i0 + 0xcc ]                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
 2010d98:	9f c0 40 00 	call  %g1                                      
 2010d9c:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 2010da0:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
                                                                      
  return true;                                                        
 2010da4:	81 c7 e0 08 	ret                                            
 2010da8:	91 e8 20 01 	restore  %g0, 1, %o0                           
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
 2010dac:	90 10 00 19 	mov  %i1, %o0                                  
 2010db0:	92 10 00 10 	mov  %l0, %o1                                  
 2010db4:	9f c0 40 00 	call  %g1                                      
 2010db8:	94 10 20 00 	clr  %o2                                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 2010dbc:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
                                                                      
  return true;                                                        
 2010dc0:	81 c7 e0 08 	ret                                            
 2010dc4:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 2010dc8:	81 c7 e0 08 	ret                                            
 2010dcc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020118b8 <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
 20118b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
 20118bc:	7f ff c1 fa 	call  20020a4 <sparc_disable_interrupts>       
 20118c0:	01 00 00 00 	nop                                            
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
 20118c4:	85 2e 20 04 	sll  %i0, 4, %g2                               
 20118c8:	83 2e 20 02 	sll  %i0, 2, %g1                               
 20118cc:	82 20 80 01 	sub  %g2, %g1, %g1                             
 20118d0:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
 20118d4:	84 10 a1 28 	or  %g2, 0x128, %g2	! 201f928 <_POSIX_signals_Vectors>
 20118d8:	c4 00 80 01 	ld  [ %g2 + %g1 ], %g2                         
 20118dc:	80 a0 a0 02 	cmp  %g2, 2                                    
 20118e0:	02 80 00 11 	be  2011924 <_POSIX_signals_Clear_process_signals+0x6c>
 20118e4:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
 20118e8:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
 20118ec:	c6 00 a3 1c 	ld  [ %g2 + 0x31c ], %g3	! 201fb1c <_POSIX_signals_Pending>
 20118f0:	b0 06 3f ff 	add  %i0, -1, %i0                              
 20118f4:	82 10 20 01 	mov  1, %g1                                    
 20118f8:	83 28 40 18 	sll  %g1, %i0, %g1                             
 20118fc:	82 28 c0 01 	andn  %g3, %g1, %g1                            
      if ( !_POSIX_signals_Pending )                                  
 2011900:	80 a0 60 00 	cmp  %g1, 0                                    
 2011904:	12 80 00 06 	bne  201191c <_POSIX_signals_Clear_process_signals+0x64><== NEVER TAKEN
 2011908:	c2 20 a3 1c 	st  %g1, [ %g2 + 0x31c ]                       
	_Thread_Do_post_task_switch_extension--;                             
 201190c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2011910:	c4 00 60 44 	ld  [ %g1 + 0x44 ], %g2	! 201f444 <_Thread_Do_post_task_switch_extension>
 2011914:	84 00 bf ff 	add  %g2, -1, %g2                              
 2011918:	c4 20 60 44 	st  %g2, [ %g1 + 0x44 ]                        
    }                                                                 
  _ISR_Enable( level );                                               
 201191c:	7f ff c1 e6 	call  20020b4 <sparc_enable_interrupts>        
 2011920:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
 2011924:	84 10 a3 20 	or  %g2, 0x320, %g2                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2011928:	c6 00 40 02 	ld  [ %g1 + %g2 ], %g3                         
 201192c:	82 00 40 02 	add  %g1, %g2, %g1                             
 2011930:	82 00 60 04 	add  %g1, 4, %g1                               
 2011934:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2011938:	02 bf ff ed 	be  20118ec <_POSIX_signals_Clear_process_signals+0x34><== ALWAYS TAKEN
 201193c:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
      if ( !_POSIX_signals_Pending )                                  
	_Thread_Do_post_task_switch_extension--;                             
    }                                                                 
  _ISR_Enable( level );                                               
 2011940:	7f ff c1 dd 	call  20020b4 <sparc_enable_interrupts>        <== NOT EXECUTED
 2011944:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02007720 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
 2007720:	82 10 20 1b 	mov  0x1b, %g1	! 1b <PROM_START+0x1b>          
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
 2007724:	86 10 20 01 	mov  1, %g3                                    
 2007728:	84 00 7f ff 	add  %g1, -1, %g2                              
 200772c:	85 28 c0 02 	sll  %g3, %g2, %g2                             
 2007730:	80 88 80 08 	btst  %g2, %o0                                 
 2007734:	12 80 00 11 	bne  2007778 <_POSIX_signals_Get_highest+0x58> <== NEVER TAKEN
 2007738:	01 00 00 00 	nop                                            
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
 200773c:	82 00 60 01 	inc  %g1                                       
 2007740:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2007744:	12 bf ff fa 	bne  200772c <_POSIX_signals_Get_highest+0xc>  
 2007748:	84 00 7f ff 	add  %g1, -1, %g2                              
 200774c:	82 10 20 01 	mov  1, %g1                                    
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
 2007750:	10 80 00 05 	b  2007764 <_POSIX_signals_Get_highest+0x44>   
 2007754:	86 10 20 01 	mov  1, %g3                                    
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
 2007758:	80 a0 60 1b 	cmp  %g1, 0x1b                                 
 200775c:	02 80 00 07 	be  2007778 <_POSIX_signals_Get_highest+0x58>  <== NEVER TAKEN
 2007760:	01 00 00 00 	nop                                            
    if ( set & signo_to_mask( signo ) ) {                             
 2007764:	84 00 7f ff 	add  %g1, -1, %g2                              
 2007768:	85 28 c0 02 	sll  %g3, %g2, %g2                             
 200776c:	80 88 80 08 	btst  %g2, %o0                                 
 2007770:	22 bf ff fa 	be,a   2007758 <_POSIX_signals_Get_highest+0x38>
 2007774:	82 00 60 01 	inc  %g1                                       
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
 2007778:	81 c3 e0 08 	retl                                           
 200777c:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200d600 <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
 200d600:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  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;                   
 200d604:	27 00 80 7d 	sethi  %hi(0x201f400), %l3                     
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
  int                 hold_errno;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200d608:	e2 06 21 6c 	ld  [ %i0 + 0x16c ], %l1                       
                                                                      
  /*                                                                  
   *  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;                   
 200d60c:	c2 04 e0 60 	ld  [ %l3 + 0x60 ], %g1                        
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
 200d610:	80 a4 60 00 	cmp  %l1, 0                                    
 200d614:	02 80 00 34 	be  200d6e4 <_POSIX_signals_Post_switch_extension+0xe4><== NEVER TAKEN
 200d618:	e8 00 60 34 	ld  [ %g1 + 0x34 ], %l4                        
   *                                                                  
   *  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 );                                            
 200d61c:	7f ff d2 a2 	call  20020a4 <sparc_disable_interrupts>       
 200d620:	25 00 80 7e 	sethi  %hi(0x201f800), %l2                     
 200d624:	a4 14 a3 1c 	or  %l2, 0x31c, %l2	! 201fb1c <_POSIX_signals_Pending>
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d628:	c6 04 80 00 	ld  [ %l2 ], %g3                               
 200d62c:	c2 04 60 d0 	ld  [ %l1 + 0xd0 ], %g1                        
   *  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 &                                  
 200d630:	c4 04 60 cc 	ld  [ %l1 + 0xcc ], %g2                        
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d634:	82 10 c0 01 	or  %g3, %g1, %g1                              
   *  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 &                                  
 200d638:	80 a8 40 02 	andncc  %g1, %g2, %g0                          
 200d63c:	02 80 00 26 	be  200d6d4 <_POSIX_signals_Post_switch_extension+0xd4>
 200d640:	01 00 00 00 	nop                                            
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
 200d644:	7f ff d2 9c 	call  20020b4 <sparc_enable_interrupts>        
 200d648:	a0 10 20 1b 	mov  0x1b, %l0	! 1b <PROM_START+0x1b>          
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
 200d64c:	92 10 00 10 	mov  %l0, %o1                                  
 200d650:	94 10 20 00 	clr  %o2                                       
 200d654:	40 00 0d b6 	call  2010d2c <_POSIX_signals_Check_signal>    
 200d658:	90 10 00 11 	mov  %l1, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200d65c:	92 10 00 10 	mov  %l0, %o1                                  
 200d660:	90 10 00 11 	mov  %l1, %o0                                  
 200d664:	40 00 0d b2 	call  2010d2c <_POSIX_signals_Check_signal>    
 200d668:	94 10 20 01 	mov  1, %o2                                    
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
 200d66c:	a0 04 20 01 	inc  %l0                                       
 200d670:	80 a4 20 20 	cmp  %l0, 0x20                                 
 200d674:	12 bf ff f7 	bne  200d650 <_POSIX_signals_Post_switch_extension+0x50>
 200d678:	92 10 00 10 	mov  %l0, %o1                                  
 200d67c:	a0 10 20 01 	mov  1, %l0                                    
      _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 );               
 200d680:	92 10 00 10 	mov  %l0, %o1                                  
 200d684:	94 10 20 00 	clr  %o2                                       
 200d688:	40 00 0d a9 	call  2010d2c <_POSIX_signals_Check_signal>    
 200d68c:	90 10 00 11 	mov  %l1, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200d690:	92 10 00 10 	mov  %l0, %o1                                  
 200d694:	90 10 00 11 	mov  %l1, %o0                                  
 200d698:	40 00 0d a5 	call  2010d2c <_POSIX_signals_Check_signal>    
 200d69c:	94 10 20 01 	mov  1, %o2                                    
      _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++ ) {      
 200d6a0:	a0 04 20 01 	inc  %l0                                       
 200d6a4:	80 a4 20 1b 	cmp  %l0, 0x1b                                 
 200d6a8:	12 bf ff f7 	bne  200d684 <_POSIX_signals_Post_switch_extension+0x84>
 200d6ac:	92 10 00 10 	mov  %l0, %o1                                  
   *                                                                  
   *  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 );                                            
 200d6b0:	7f ff d2 7d 	call  20020a4 <sparc_disable_interrupts>       
 200d6b4:	01 00 00 00 	nop                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d6b8:	c6 04 80 00 	ld  [ %l2 ], %g3                               
 200d6bc:	c2 04 60 d0 	ld  [ %l1 + 0xd0 ], %g1                        
   *  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 &                                  
 200d6c0:	c4 04 60 cc 	ld  [ %l1 + 0xcc ], %g2                        
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d6c4:	82 10 c0 01 	or  %g3, %g1, %g1                              
   *  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 &                                  
 200d6c8:	80 a8 40 02 	andncc  %g1, %g2, %g0                          
 200d6cc:	12 bf ff de 	bne  200d644 <_POSIX_signals_Post_switch_extension+0x44><== NEVER TAKEN
 200d6d0:	01 00 00 00 	nop                                            
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
 200d6d4:	7f ff d2 78 	call  20020b4 <sparc_enable_interrupts>        
 200d6d8:	01 00 00 00 	nop                                            
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Executing->Wait.return_code = hold_errno;                   
 200d6dc:	c2 04 e0 60 	ld  [ %l3 + 0x60 ], %g1                        
 200d6e0:	e8 20 60 34 	st  %l4, [ %g1 + 0x34 ]                        
 200d6e4:	81 c7 e0 08 	ret                                            
 200d6e8:	81 e8 00 00 	restore                                        
                                                                      

02010f58 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
 2010f58:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 2010f5c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 2010f60:	05 04 00 20 	sethi  %hi(0x10008000), %g2                    
 2010f64:	88 06 7f ff 	add  %i1, -1, %g4                              
 2010f68:	9a 08 40 02 	and  %g1, %g2, %o5                             
 2010f6c:	86 10 20 01 	mov  1, %g3                                    
 2010f70:	80 a3 40 02 	cmp  %o5, %g2                                  
 2010f74:	89 28 c0 04 	sll  %g3, %g4, %g4                             
 2010f78:	02 80 00 28 	be  2011018 <_POSIX_signals_Unblock_thread+0xc0>
 2010f7c:	c4 06 21 6c 	ld  [ %i0 + 0x16c ], %g2                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
 2010f80:	c4 00 a0 cc 	ld  [ %g2 + 0xcc ], %g2                        
 2010f84:	80 a9 00 02 	andncc  %g4, %g2, %g0                          
 2010f88:	02 80 00 22 	be  2011010 <_POSIX_signals_Unblock_thread+0xb8>
 2010f8c:	05 04 00 00 	sethi  %hi(0x10000000), %g2                    
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
 2010f90:	80 88 40 02 	btst  %g1, %g2                                 
 2010f94:	02 80 00 14 	be  2010fe4 <_POSIX_signals_Unblock_thread+0x8c>
 2010f98:	c6 2e 20 74 	stb  %g3, [ %i0 + 0x74 ]                       
      the_thread->Wait.return_code = EINTR;                           
 2010f9c:	84 10 20 04 	mov  4, %g2                                    
 2010fa0:	c4 26 20 34 	st  %g2, [ %i0 + 0x34 ]                        
      /*                                                              
       *  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) )
 2010fa4:	05 00 00 ef 	sethi  %hi(0x3bc00), %g2                       
 2010fa8:	84 10 a2 e0 	or  %g2, 0x2e0, %g2	! 3bee0 <PROM_START+0x3bee0>
 2010fac:	80 88 40 02 	btst  %g1, %g2                                 
 2010fb0:	12 80 00 32 	bne  2011078 <_POSIX_signals_Unblock_thread+0x120>
 2010fb4:	80 88 60 08 	btst  8, %g1                                   
        _Thread_queue_Extract_with_proxy( the_thread );               
      else if ( _States_Is_delaying(the_thread->current_state) ){     
 2010fb8:	02 80 00 16 	be  2011010 <_POSIX_signals_Unblock_thread+0xb8><== NEVER TAKEN
 2010fbc:	01 00 00 00 	nop                                            
	(void) _Watchdog_Remove( &the_thread->Timer );                       
 2010fc0:	7f ff e4 8f 	call  200a1fc <_Watchdog_Remove>               
 2010fc4:	90 06 20 48 	add  %i0, 0x48, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2010fc8:	90 10 00 18 	mov  %i0, %o0                                  
 2010fcc:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 2010fd0:	b0 10 20 00 	clr  %i0                                       
 2010fd4:	7f ff de 59 	call  2008938 <_Thread_Clear_state>            
 2010fd8:	92 12 63 f8 	or  %o1, 0x3f8, %o1                            
 2010fdc:	81 c7 e0 08 	ret                                            
 2010fe0:	81 e8 00 00 	restore                                        
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
 2010fe4:	80 a0 60 00 	cmp  %g1, 0                                    
 2010fe8:	12 80 00 0a 	bne  2011010 <_POSIX_signals_Unblock_thread+0xb8><== NEVER TAKEN
 2010fec:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2010ff0:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1	! 201f43c <_ISR_Nest_level>
 2010ff4:	80 a0 60 00 	cmp  %g1, 0                                    
 2010ff8:	02 80 00 06 	be  2011010 <_POSIX_signals_Unblock_thread+0xb8>
 2010ffc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2011000:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
 2011004:	80 a6 00 01 	cmp  %i0, %g1                                  
 2011008:	02 80 00 26 	be  20110a0 <_POSIX_signals_Unblock_thread+0x148><== ALWAYS TAKEN
 201100c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
	_ISR_Signals_to_thread_executing = true;                             
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
 2011010:	81 c7 e0 08 	ret                                            
 2011014:	91 e8 20 00 	restore  %g0, 0, %o0                           
   *  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) ) {
 2011018:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 201101c:	80 89 00 01 	btst  %g4, %g1                                 
 2011020:	22 80 00 12 	be,a   2011068 <_POSIX_signals_Unblock_thread+0x110>
 2011024:	c2 00 a0 cc 	ld  [ %g2 + 0xcc ], %g1                        
      the_thread->Wait.return_code = EINTR;                           
 2011028:	82 10 20 04 	mov  4, %g1                                    
 201102c:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
 2011030:	80 a6 a0 00 	cmp  %i2, 0                                    
 2011034:	02 80 00 16 	be  201108c <_POSIX_signals_Unblock_thread+0x134>
 2011038:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
 201103c:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 2011040:	c4 20 40 00 	st  %g2, [ %g1 ]                               
 2011044:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 2011048:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 201104c:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
 2011050:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
 2011054:	90 10 00 18 	mov  %i0, %o0                                  
 2011058:	7f ff e1 6f 	call  2009614 <_Thread_queue_Extract_with_proxy>
 201105c:	b0 10 20 01 	mov  1, %i0                                    
      return true;                                                    
 2011060:	81 c7 e0 08 	ret                                            
 2011064:	81 e8 00 00 	restore                                        
   *  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) ) {
 2011068:	80 a9 00 01 	andncc  %g4, %g1, %g0                          
 201106c:	12 bf ff f0 	bne  201102c <_POSIX_signals_Unblock_thread+0xd4>
 2011070:	82 10 20 04 	mov  4, %g1                                    
 2011074:	30 bf ff e7 	b,a   2011010 <_POSIX_signals_Unblock_thread+0xb8>
      /*                                                              
       *  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 );               
 2011078:	90 10 00 18 	mov  %i0, %o0                                  
 201107c:	7f ff e1 66 	call  2009614 <_Thread_queue_Extract_with_proxy>
 2011080:	b0 10 20 00 	clr  %i0                                       
 2011084:	81 c7 e0 08 	ret                                            
 2011088:	81 e8 00 00 	restore                                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 201108c:	84 10 20 01 	mov  1, %g2                                    
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
 2011090:	f2 20 40 00 	st  %i1, [ %g1 ]                               
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
 2011094:	c0 20 60 08 	clr  [ %g1 + 8 ]                               
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 2011098:	10 bf ff ef 	b  2011054 <_POSIX_signals_Unblock_thread+0xfc>
 201109c:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
        _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;                             
 20110a0:	c6 28 60 f8 	stb  %g3, [ %g1 + 0xf8 ]                       
 20110a4:	81 c7 e0 08 	ret                                            
 20110a8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020012c8 <_Partition_Manager_initialization>: #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Partition_Manager_initialization(void) { }
 20012c8:	81 c3 e0 08 	retl                                           
                                                                      

02006ca8 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
 2006ca8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
 2006cac:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2006cb0:	82 10 60 30 	or  %g1, 0x30, %g1	! 201e830 <Configuration_RTEMS_API>
 2006cb4:	e0 00 60 2c 	ld  [ %g1 + 0x2c ], %l0                        
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
 2006cb8:	80 a4 20 00 	cmp  %l0, 0                                    
 2006cbc:	02 80 00 1a 	be  2006d24 <_RTEMS_tasks_Initialize_user_tasks_body+0x7c>
 2006cc0:	e4 00 60 28 	ld  [ %g1 + 0x28 ], %l2                        
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 2006cc4:	80 a4 a0 00 	cmp  %l2, 0                                    
 2006cc8:	02 80 00 17 	be  2006d24 <_RTEMS_tasks_Initialize_user_tasks_body+0x7c><== NEVER TAKEN
 2006ccc:	a2 10 20 00 	clr  %l1                                       
 2006cd0:	a6 07 bf fc 	add  %fp, -4, %l3                              
    return_value = rtems_task_create(                                 
 2006cd4:	d0 04 00 00 	ld  [ %l0 ], %o0                               
 2006cd8:	d2 04 20 08 	ld  [ %l0 + 8 ], %o1                           
 2006cdc:	d4 04 20 04 	ld  [ %l0 + 4 ], %o2                           
 2006ce0:	d6 04 20 14 	ld  [ %l0 + 0x14 ], %o3                        
 2006ce4:	d8 04 20 0c 	ld  [ %l0 + 0xc ], %o4                         
 2006ce8:	7f ff ff 6e 	call  2006aa0 <rtems_task_create>              
 2006cec:	9a 10 00 13 	mov  %l3, %o5                                  
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 2006cf0:	80 a2 20 00 	cmp  %o0, 0                                    
 2006cf4:	12 80 00 0f 	bne  2006d30 <_RTEMS_tasks_Initialize_user_tasks_body+0x88>
 2006cf8:	94 10 00 08 	mov  %o0, %o2                                  
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
 2006cfc:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2006d00:	d2 04 20 10 	ld  [ %l0 + 0x10 ], %o1                        
 2006d04:	40 00 00 0f 	call  2006d40 <rtems_task_start>               
 2006d08:	d4 04 20 18 	ld  [ %l0 + 0x18 ], %o2                        
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 2006d0c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006d10:	12 80 00 07 	bne  2006d2c <_RTEMS_tasks_Initialize_user_tasks_body+0x84>
 2006d14:	a2 04 60 01 	inc  %l1                                       
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 2006d18:	80 a4 80 11 	cmp  %l2, %l1                                  
 2006d1c:	18 bf ff ee 	bgu  2006cd4 <_RTEMS_tasks_Initialize_user_tasks_body+0x2c><== NEVER TAKEN
 2006d20:	a0 04 20 1c 	add  %l0, 0x1c, %l0                            
 2006d24:	81 c7 e0 08 	ret                                            
 2006d28:	81 e8 00 00 	restore                                        
      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 );
 2006d2c:	94 10 00 08 	mov  %o0, %o2                                  
 2006d30:	92 10 20 01 	mov  1, %o1                                    
 2006d34:	40 00 03 eb 	call  2007ce0 <_Internal_error_Occurred>       
 2006d38:	90 10 20 01 	mov  1, %o0                                    
                                                                      

0200de24 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
 200de24:	9d e3 bf 98 	save  %sp, -104, %sp                           
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 200de28:	e0 06 21 68 	ld  [ %i0 + 0x168 ], %l0                       
  if ( !api )                                                         
 200de2c:	80 a4 20 00 	cmp  %l0, 0                                    
 200de30:	02 80 00 1f 	be  200deac <_RTEMS_tasks_Post_switch_extension+0x88><== NEVER TAKEN
 200de34:	01 00 00 00 	nop                                            
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
 200de38:	7f ff d0 9b 	call  20020a4 <sparc_disable_interrupts>       
 200de3c:	01 00 00 00 	nop                                            
    signal_set = asr->signals_posted;                                 
 200de40:	e2 04 20 14 	ld  [ %l0 + 0x14 ], %l1                        
    asr->signals_posted = 0;                                          
 200de44:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  _ISR_Enable( level );                                               
 200de48:	7f ff d0 9b 	call  20020b4 <sparc_enable_interrupts>        
 200de4c:	01 00 00 00 	nop                                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
 200de50:	80 a4 60 00 	cmp  %l1, 0                                    
 200de54:	32 80 00 04 	bne,a   200de64 <_RTEMS_tasks_Post_switch_extension+0x40>
 200de58:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 200de5c:	81 c7 e0 08 	ret                                            
 200de60:	81 e8 00 00 	restore                                        
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200de64:	d0 04 20 10 	ld  [ %l0 + 0x10 ], %o0                        
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200de68:	82 00 60 01 	inc  %g1                                       
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200de6c:	a4 07 bf fc 	add  %fp, -4, %l2                              
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200de70:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200de74:	94 10 00 12 	mov  %l2, %o2                                  
 200de78:	27 00 00 3f 	sethi  %hi(0xfc00), %l3                        
 200de7c:	40 00 0d 18 	call  20112dc <rtems_task_mode>                
 200de80:	92 14 e3 ff 	or  %l3, 0x3ff, %o1	! ffff <PROM_START+0xffff> 
                                                                      
  (*asr->handler)( signal_set );                                      
 200de84:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 200de88:	9f c0 40 00 	call  %g1                                      
 200de8c:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  asr->nest_level -= 1;                                               
 200de90:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200de94:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
 200de98:	82 00 7f ff 	add  %g1, -1, %g1                              
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200de9c:	92 14 e3 ff 	or  %l3, 0x3ff, %o1                            
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
 200dea0:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200dea4:	40 00 0d 0e 	call  20112dc <rtems_task_mode>                
 200dea8:	94 10 00 12 	mov  %l2, %o2                                  
 200deac:	81 c7 e0 08 	ret                                            
 200deb0:	81 e8 00 00 	restore                                        
                                                                      

0200dd48 <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
 200dd48:	c2 02 21 78 	ld  [ %o0 + 0x178 ], %g1                       
  while (tvp) {                                                       
 200dd4c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd50:	22 80 00 0b 	be,a   200dd7c <_RTEMS_tasks_Switch_extension+0x34>
 200dd54:	c2 02 61 78 	ld  [ %o1 + 0x178 ], %g1                       
    tvp->tval = *tvp->ptr;                                            
 200dd58:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
    *tvp->ptr = tvp->gval;                                            
 200dd5c:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
 200dd60:	c8 00 80 00 	ld  [ %g2 ], %g4                               
 200dd64:	c8 20 60 0c 	st  %g4, [ %g1 + 0xc ]                         
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
 200dd68:	c2 00 40 00 	ld  [ %g1 ], %g1                               
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
 200dd6c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd70:	12 bf ff fa 	bne  200dd58 <_RTEMS_tasks_Switch_extension+0x10><== NEVER TAKEN
 200dd74:	c6 20 80 00 	st  %g3, [ %g2 ]                               
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
 200dd78:	c2 02 61 78 	ld  [ %o1 + 0x178 ], %g1                       
  while (tvp) {                                                       
 200dd7c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd80:	02 80 00 0a 	be  200dda8 <_RTEMS_tasks_Switch_extension+0x60>
 200dd84:	01 00 00 00 	nop                                            
    tvp->gval = *tvp->ptr;                                            
 200dd88:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
    *tvp->ptr = tvp->tval;                                            
 200dd8c:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
 200dd90:	c8 00 80 00 	ld  [ %g2 ], %g4                               
 200dd94:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
 200dd98:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
 200dd9c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dda0:	12 bf ff fa 	bne  200dd88 <_RTEMS_tasks_Switch_extension+0x40><== NEVER TAKEN
 200dda4:	c6 20 80 00 	st  %g3, [ %g2 ]                               
 200dda8:	81 c3 e0 08 	retl                                           
                                                                      

020012e8 <_Rate_monotonic_Manager_initialization>: #include <rtems/rtems/types.h> #include <rtems/rtems/ratemon.h> void _Rate_monotonic_Manager_initialization(void) { }
 20012e8:	81 c3 e0 08 	retl                                           
                                                                      

0204706c <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 204706c:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2047070:	11 00 81 d6 	sethi  %hi(0x2075800), %o0                     
 2047074:	92 10 00 18 	mov  %i0, %o1                                  
 2047078:	90 12 21 68 	or  %o0, 0x168, %o0                            
 204707c:	7f ff 21 36 	call  200f554 <_Objects_Get>                   
 2047080:	94 07 bf fc 	add  %fp, -4, %o2                              
  /*                                                                  
   *  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 ) {                                               
 2047084:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2047088:	80 a0 60 00 	cmp  %g1, 0                                    
 204708c:	12 80 00 16 	bne  20470e4 <_Rate_monotonic_Timeout+0x78>    <== NEVER TAKEN
 2047090:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 2047094:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 2047098:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 204709c:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 20470a0:	80 88 80 01 	btst  %g2, %g1                                 
 20470a4:	22 80 00 08 	be,a   20470c4 <_Rate_monotonic_Timeout+0x58>  
 20470a8:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
            the_thread->Wait.id == the_period->Object.id ) {          
 20470ac:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 20470b0:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20470b4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20470b8:	02 80 00 19 	be  204711c <_Rate_monotonic_Timeout+0xb0>     
 20470bc:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
        _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 ) {
 20470c0:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
 20470c4:	80 a0 60 01 	cmp  %g1, 1                                    
 20470c8:	02 80 00 09 	be  20470ec <_Rate_monotonic_Timeout+0x80>     
 20470cc:	82 10 20 04 	mov  4, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 20470d0:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 20470d4:	03 00 81 d3 	sethi  %hi(0x2074c00), %g1                     
 20470d8:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2	! 2074e40 <_Thread_Dispatch_disable_level>
 20470dc:	84 00 bf ff 	add  %g2, -1, %g2                              
 20470e0:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
 20470e4:	81 c7 e0 08 	ret                                            
 20470e8:	81 e8 00 00 	restore                                        
                                                                      
        _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;    
 20470ec:	82 10 20 03 	mov  3, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 20470f0:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
        _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;    
 20470f4:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 20470f8:	7f ff fe e5 	call  2046c8c <_Rate_monotonic_Initiate_statistics>
 20470fc:	01 00 00 00 	nop                                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2047100:	c2 04 20 3c 	ld  [ %l0 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2047104:	92 04 20 10 	add  %l0, 0x10, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2047108:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 204710c:	11 00 81 d3 	sethi  %hi(0x2074c00), %o0                     
 2047110:	7f ff 28 7e 	call  2011308 <_Watchdog_Insert>               
 2047114:	90 12 23 20 	or  %o0, 0x320, %o0	! 2074f20 <_Watchdog_Ticks_chain>
 2047118:	30 bf ff ef 	b,a   20470d4 <_Rate_monotonic_Timeout+0x68>   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 204711c:	7f ff 22 9d 	call  200fb90 <_Thread_Clear_state>            
 2047120:	92 12 63 f8 	or  %o1, 0x3f8, %o1                            
      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 );            
 2047124:	10 bf ff f5 	b  20470f8 <_Rate_monotonic_Timeout+0x8c>      
 2047128:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      

020012d0 <_Region_Manager_initialization>: #include <rtems/score/thread.h> #include <rtems/score/interr.h> void _Region_Manager_initialization(void) { }
 20012d0:	81 c3 e0 08 	retl                                           
                                                                      

02007958 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 2007958:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
 200795c:	03 00 80 94 	sethi  %hi(0x2025000), %g1                     
  if ((!the_tod)                                  ||                  
 2007960:	80 a6 20 00 	cmp  %i0, 0                                    
 2007964:	02 80 00 2e 	be  2007a1c <_TOD_Validate+0xc4>               <== NEVER TAKEN
 2007968:	d2 00 60 74 	ld  [ %g1 + 0x74 ], %o1                        
 200796c:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2007970:	40 00 62 b2 	call  2020438 <.udiv>                          
 2007974:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
      (the_tod->ticks  >= ticks_per_second)       ||                  
 2007978:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200797c:	80 a2 00 01 	cmp  %o0, %g1                                  
 2007980:	08 80 00 27 	bleu  2007a1c <_TOD_Validate+0xc4>             
 2007984:	01 00 00 00 	nop                                            
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 2007988:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200798c:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 2007990:	18 80 00 23 	bgu  2007a1c <_TOD_Validate+0xc4>              
 2007994:	01 00 00 00 	nop                                            
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 2007998:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 200799c:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 20079a0:	18 80 00 1f 	bgu  2007a1c <_TOD_Validate+0xc4>              
 20079a4:	01 00 00 00 	nop                                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 20079a8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20079ac:	80 a0 60 17 	cmp  %g1, 0x17                                 
 20079b0:	18 80 00 1b 	bgu  2007a1c <_TOD_Validate+0xc4>              
 20079b4:	01 00 00 00 	nop                                            
      (the_tod->month  == 0)                      ||                  
 20079b8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
  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)                                  ||                  
 20079bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20079c0:	02 80 00 17 	be  2007a1c <_TOD_Validate+0xc4>               <== NEVER TAKEN
 20079c4:	80 a0 60 0c 	cmp  %g1, 0xc                                  
 20079c8:	18 80 00 15 	bgu  2007a1c <_TOD_Validate+0xc4>              
 20079cc:	01 00 00 00 	nop                                            
      (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)          ||                  
 20079d0:	c4 06 00 00 	ld  [ %i0 ], %g2                               
  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)                                  ||                  
 20079d4:	80 a0 a7 c3 	cmp  %g2, 0x7c3                                
 20079d8:	08 80 00 11 	bleu  2007a1c <_TOD_Validate+0xc4>             
 20079dc:	01 00 00 00 	nop                                            
      (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) )                                        
 20079e0:	c6 06 20 08 	ld  [ %i0 + 8 ], %g3                           
  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)                                  ||                  
 20079e4:	80 a0 e0 00 	cmp  %g3, 0                                    
 20079e8:	02 80 00 0d 	be  2007a1c <_TOD_Validate+0xc4>               <== NEVER TAKEN
 20079ec:	80 88 a0 03 	btst  3, %g2                                   
      (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 )                                     
 20079f0:	32 80 00 0d 	bne,a   2007a24 <_TOD_Validate+0xcc>           
 20079f4:	83 28 60 02 	sll  %g1, 2, %g1                               
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 20079f8:	82 00 60 0d 	add  %g1, 0xd, %g1                             
 20079fc:	05 00 80 8d 	sethi  %hi(0x2023400), %g2                     
 2007a00:	83 28 60 02 	sll  %g1, 2, %g1                               
 2007a04:	84 10 a1 b4 	or  %g2, 0x1b4, %g2                            
 2007a08:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
 2007a0c:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007a10:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 2007a14:	81 c7 e0 08 	ret                                            
 2007a18:	81 e8 00 00 	restore                                        
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 2007a1c:	81 c7 e0 08 	ret                                            
 2007a20:	91 e8 20 00 	restore  %g0, 0, %o0                           
     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 ];       
 2007a24:	05 00 80 8d 	sethi  %hi(0x2023400), %g2                     
 2007a28:	84 10 a1 b4 	or  %g2, 0x1b4, %g2	! 20235b4 <_TOD_Days_per_month>
 2007a2c:	10 bf ff f8 	b  2007a0c <_TOD_Validate+0xb4>                
 2007a30:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
                                                                      

02008728 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 2008728:	9d e3 bf a0 	save  %sp, -96, %sp                            
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 200872c:	e2 06 20 10 	ld  [ %i0 + 0x10 ], %l1                        
  /*                                                                  
   * 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 );                                
 2008730:	40 00 04 90 	call  2009970 <_Thread_Set_transient>          
 2008734:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
 2008738:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200873c:	80 a0 40 19 	cmp  %g1, %i1                                  
 2008740:	02 80 00 05 	be  2008754 <_Thread_Change_priority+0x2c>     
 2008744:	a0 10 00 18 	mov  %i0, %l0                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 2008748:	92 10 00 19 	mov  %i1, %o1                                  
 200874c:	40 00 04 0d 	call  2009780 <_Thread_Set_priority>           
 2008750:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  _ISR_Disable( level );                                              
 2008754:	7f ff e6 54 	call  20020a4 <sparc_disable_interrupts>       
 2008758:	01 00 00 00 	nop                                            
 200875c:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  /*                                                                  
   *  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;                                  
 2008760:	e4 04 20 10 	ld  [ %l0 + 0x10 ], %l2                        
  if ( state != STATES_TRANSIENT ) {                                  
 2008764:	80 a4 a0 04 	cmp  %l2, 4                                    
 2008768:	02 80 00 18 	be  20087c8 <_Thread_Change_priority+0xa0>     
 200876c:	80 8c 60 04 	btst  4, %l1                                   
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 2008770:	02 80 00 0b 	be  200879c <_Thread_Change_priority+0x74>     <== ALWAYS TAKEN
 2008774:	82 0c bf fb 	and  %l2, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
 2008778:	7f ff e6 4f 	call  20020b4 <sparc_enable_interrupts>        <== NOT EXECUTED
 200877c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 2008780:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       <== NOT EXECUTED
 2008784:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0><== NOT EXECUTED
 2008788:	80 8c 80 01 	btst  %l2, %g1                                 <== NOT EXECUTED
 200878c:	32 80 00 0d 	bne,a   20087c0 <_Thread_Change_priority+0x98> <== NOT EXECUTED
 2008790:	f0 04 20 44 	ld  [ %l0 + 0x44 ], %i0                        <== NOT EXECUTED
 2008794:	81 c7 e0 08 	ret                                            
 2008798:	81 e8 00 00 	restore                                        
   */                                                                 
  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 );
 200879c:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
    _ISR_Enable( level );                                             
 20087a0:	7f ff e6 45 	call  20020b4 <sparc_enable_interrupts>        
 20087a4:	90 10 00 18 	mov  %i0, %o0                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 20087a8:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 20087ac:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 20087b0:	80 8c 80 01 	btst  %l2, %g1                                 
 20087b4:	02 bf ff f8 	be  2008794 <_Thread_Change_priority+0x6c>     
 20087b8:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 20087bc:	f0 04 20 44 	ld  [ %l0 + 0x44 ], %i0                        
 20087c0:	40 00 03 c0 	call  20096c0 <_Thread_queue_Requeue>          
 20087c4:	93 e8 00 10 	restore  %g0, %l0, %o1                         
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
 20087c8:	12 80 00 14 	bne  2008818 <_Thread_Change_priority+0xf0>    <== NEVER TAKEN
 20087cc:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 20087d0:	c2 04 20 90 	ld  [ %l0 + 0x90 ], %g1                        
 20087d4:	c4 14 20 96 	lduh  [ %l0 + 0x96 ], %g2                      
 20087d8:	c6 10 40 00 	lduh  [ %g1 ], %g3                             
     *  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 );
 20087dc:	c0 24 20 10 	clr  [ %l0 + 0x10 ]                            
 20087e0:	84 10 c0 02 	or  %g3, %g2, %g2                              
 20087e4:	c4 30 40 00 	sth  %g2, [ %g1 ]                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 20087e8:	c4 14 60 54 	lduh  [ %l1 + 0x54 ], %g2                      
 20087ec:	c2 14 20 94 	lduh  [ %l0 + 0x94 ], %g1                      
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
 20087f0:	80 8e a0 ff 	btst  0xff, %i2                                
 20087f4:	82 10 80 01 	or  %g2, %g1, %g1                              
 20087f8:	c2 34 60 54 	sth  %g1, [ %l1 + 0x54 ]                       
 20087fc:	02 80 00 48 	be  200891c <_Thread_Change_priority+0x1f4>    
 2008800:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 2008804:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2008808:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200880c:	e0 20 40 00 	st  %l0, [ %g1 ]                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
 2008810:	e0 20 a0 04 	st  %l0, [ %g2 + 4 ]                           
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 2008814:	c4 24 00 00 	st  %g2, [ %l0 ]                               
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 2008818:	7f ff e6 27 	call  20020b4 <sparc_enable_interrupts>        
 200881c:	90 10 00 18 	mov  %i0, %o0                                  
 2008820:	7f ff e6 21 	call  20020a4 <sparc_disable_interrupts>       
 2008824:	01 00 00 00 	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 );         
 2008828:	c2 14 60 54 	lduh  [ %l1 + 0x54 ], %g1                      
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
 200882c:	05 00 80 7c 	sethi  %hi(0x201f000), %g2                     
 2008830:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2008834:	da 00 a2 f4 	ld  [ %g2 + 0x2f4 ], %o5                       
 2008838:	85 30 60 10 	srl  %g1, 0x10, %g2                            
 200883c:	80 a0 a0 ff 	cmp  %g2, 0xff                                 
 2008840:	08 80 00 27 	bleu  20088dc <_Thread_Change_priority+0x1b4>  
 2008844:	07 00 80 75 	sethi  %hi(0x201d400), %g3                     
 2008848:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 200884c:	86 10 e2 28 	or  %g3, 0x228, %g3                            
 2008850:	c4 08 c0 01 	ldub  [ %g3 + %g1 ], %g2                       
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 2008854:	09 00 80 7d 	sethi  %hi(0x201f400), %g4                     
 2008858:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 200885c:	88 11 20 d0 	or  %g4, 0xd0, %g4                             
 2008860:	83 30 a0 0f 	srl  %g2, 0xf, %g1                             
 2008864:	c2 11 00 01 	lduh  [ %g4 + %g1 ], %g1                       
 2008868:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 200886c:	89 30 60 10 	srl  %g1, 0x10, %g4                            
 2008870:	80 a1 20 ff 	cmp  %g4, 0xff                                 
 2008874:	18 80 00 28 	bgu  2008914 <_Thread_Change_priority+0x1ec>   
 2008878:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 200887c:	c2 08 c0 04 	ldub  [ %g3 + %g4 ], %g1                       
 2008880:	82 00 60 08 	add  %g1, 8, %g1                               
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 2008884:	85 30 a0 0c 	srl  %g2, 0xc, %g2                             
 2008888:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 200888c:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2008890:	82 00 40 02 	add  %g1, %g2, %g1                             
 2008894:	85 28 60 04 	sll  %g1, 4, %g2                               
 2008898:	83 28 60 02 	sll  %g1, 2, %g1                               
 200889c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 20088a0:	c2 03 40 01 	ld  [ %o5 + %g1 ], %g1                         
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 20088a4:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 20088a8:	c4 00 a0 60 	ld  [ %g2 + 0x60 ], %g2	! 201f460 <_Thread_Executing>
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 20088ac:	07 00 80 7d 	sethi  %hi(0x201f400), %g3                     
   *  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() &&                       
 20088b0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20088b4:	02 80 00 08 	be  20088d4 <_Thread_Change_priority+0x1ac>    
 20088b8:	c2 20 e0 30 	st  %g1, [ %g3 + 0x30 ]                        
       _Thread_Executing->is_preemptible )                            
 20088bc:	c2 08 a0 75 	ldub  [ %g2 + 0x75 ], %g1                      
 20088c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20088c4:	02 80 00 04 	be  20088d4 <_Thread_Change_priority+0x1ac>    
 20088c8:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 20088cc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20088d0:	c4 28 60 70 	stb  %g2, [ %g1 + 0x70 ]	! 201f470 <_Context_Switch_necessary>
  _ISR_Enable( level );                                               
 20088d4:	7f ff e5 f8 	call  20020b4 <sparc_enable_interrupts>        
 20088d8:	81 e8 00 00 	restore                                        
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 );         
 20088dc:	86 10 e2 28 	or  %g3, 0x228, %g3                            
 20088e0:	c4 08 c0 02 	ldub  [ %g3 + %g2 ], %g2                       
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 20088e4:	09 00 80 7d 	sethi  %hi(0x201f400), %g4                     
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 );         
 20088e8:	84 00 a0 08 	add  %g2, 8, %g2                               
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 20088ec:	88 11 20 d0 	or  %g4, 0xd0, %g4                             
 20088f0:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 20088f4:	83 30 a0 0f 	srl  %g2, 0xf, %g1                             
 20088f8:	c2 11 00 01 	lduh  [ %g4 + %g1 ], %g1                       
 20088fc:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2008900:	89 30 60 10 	srl  %g1, 0x10, %g4                            
 2008904:	80 a1 20 ff 	cmp  %g4, 0xff                                 
 2008908:	28 bf ff de 	bleu,a   2008880 <_Thread_Change_priority+0x158>
 200890c:	c2 08 c0 04 	ldub  [ %g3 + %g4 ], %g1                       
 2008910:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2008914:	10 bf ff dc 	b  2008884 <_Thread_Change_priority+0x15c>     
 2008918:	c2 08 c0 01 	ldub  [ %g3 + %g1 ], %g1                       
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 200891c:	84 00 60 04 	add  %g1, 4, %g2                               
 2008920:	c4 24 00 00 	st  %g2, [ %l0 ]                               
  old_last_node       = the_chain->last;                              
 2008924:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
  the_chain->last     = the_node;                                     
 2008928:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 200892c:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 2008930:	10 bf ff ba 	b  2008818 <_Thread_Change_priority+0xf0>      
 2008934:	e0 20 80 00 	st  %l0, [ %g2 ]                               
                                                                      

02008938 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
 2008938:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 200893c:	7f ff e5 da 	call  20020a4 <sparc_disable_interrupts>       
 2008940:	a0 10 00 18 	mov  %i0, %l0                                  
 2008944:	b0 10 00 08 	mov  %o0, %i0                                  
    current_state = the_thread->current_state;                        
 2008948:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
                                                                      
    if ( current_state & state ) {                                    
 200894c:	80 8e 40 01 	btst  %i1, %g1                                 
 2008950:	02 80 00 06 	be  2008968 <_Thread_Clear_state+0x30>         
 2008954:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
 2008958:	b2 28 40 19 	andn  %g1, %i1, %i1                            
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
 200895c:	80 a6 60 00 	cmp  %i1, 0                                    
 2008960:	02 80 00 04 	be  2008970 <_Thread_Clear_state+0x38>         
 2008964:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
 2008968:	7f ff e5 d3 	call  20020b4 <sparc_enable_interrupts>        
 200896c:	81 e8 00 00 	restore                                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 2008970:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 2008974:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 2008978:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 200897c:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 2008980:	86 11 00 03 	or  %g4, %g3, %g3                              
 2008984:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2008988:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 200898c:	c8 14 20 94 	lduh  [ %l0 + 0x94 ], %g4                      
 2008990:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 2008994:	07 00 80 7d 	sethi  %hi(0x201f400), %g3                     
  old_last_node       = the_chain->last;                              
 2008998:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 200899c:	da 10 e0 54 	lduh  [ %g3 + 0x54 ], %o5                      
  the_chain->last     = the_node;                                     
 20089a0:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 20089a4:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 20089a8:	82 13 40 04 	or  %o5, %g4, %g1                              
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 20089ac:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 20089b0:	c2 30 e0 54 	sth  %g1, [ %g3 + 0x54 ]                       
                                                                      
        _ISR_Flash( level );                                          
 20089b4:	7f ff e5 c0 	call  20020b4 <sparc_enable_interrupts>        
 20089b8:	01 00 00 00 	nop                                            
 20089bc:	7f ff e5 ba 	call  20020a4 <sparc_disable_interrupts>       
 20089c0:	01 00 00 00 	nop                                            
         *    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 ) {
 20089c4:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20089c8:	c6 00 60 30 	ld  [ %g1 + 0x30 ], %g3	! 201f430 <_Thread_Heir>
 20089cc:	c4 04 20 14 	ld  [ %l0 + 0x14 ], %g2                        
 20089d0:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 20089d4:	80 a0 80 03 	cmp  %g2, %g3                                  
 20089d8:	1a bf ff e4 	bcc  2008968 <_Thread_Clear_state+0x30>        
 20089dc:	07 00 80 7d 	sethi  %hi(0x201f400), %g3                     
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
 20089e0:	c6 00 e0 60 	ld  [ %g3 + 0x60 ], %g3	! 201f460 <_Thread_Executing>
         *  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 ) {
          _Thread_Heir = the_thread;                                  
 20089e4:	e0 20 60 30 	st  %l0, [ %g1 + 0x30 ]                        
          if ( _Thread_Executing->is_preemptible ||                   
 20089e8:	c2 08 e0 75 	ldub  [ %g3 + 0x75 ], %g1                      
 20089ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20089f0:	32 80 00 05 	bne,a   2008a04 <_Thread_Clear_state+0xcc>     
 20089f4:	84 10 20 01 	mov  1, %g2                                    
 20089f8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20089fc:	12 bf ff db 	bne  2008968 <_Thread_Clear_state+0x30>        <== ALWAYS TAKEN
 2008a00:	84 10 20 01 	mov  1, %g2                                    
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
 2008a04:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2008a08:	c4 28 60 70 	stb  %g2, [ %g1 + 0x70 ]	! 201f470 <_Context_Switch_necessary>
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
 2008a0c:	7f ff e5 aa 	call  20020b4 <sparc_enable_interrupts>        
 2008a10:	81 e8 00 00 	restore                                        
                                                                      

02008bc0 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2008bc0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008bc4:	90 10 00 18 	mov  %i0, %o0                                  
 2008bc8:	40 00 00 84 	call  2008dd8 <_Thread_Get>                    
 2008bcc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008bd0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008bd4:	80 a0 60 00 	cmp  %g1, 0                                    
 2008bd8:	12 80 00 08 	bne  2008bf8 <_Thread_Delay_ended+0x38>        <== NEVER TAKEN
 2008bdc:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 2008be0:	7f ff ff 56 	call  2008938 <_Thread_Clear_state>            
 2008be4:	92 12 60 18 	or  %o1, 0x18, %o1	! 10000018 <RAM_END+0xdc00018>
 2008be8:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008bec:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
 2008bf0:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008bf4:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
 2008bf8:	81 c7 e0 08 	ret                                            
 2008bfc:	81 e8 00 00 	restore                                        
                                                                      

02008c00 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 2008c00:	9d e3 bf 90 	save  %sp, -112, %sp                           
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
 2008c04:	2b 00 80 7d 	sethi  %hi(0x201f400), %l5                     
  _ISR_Disable( level );                                              
 2008c08:	7f ff e5 27 	call  20020a4 <sparc_disable_interrupts>       
 2008c0c:	e0 05 60 60 	ld  [ %l5 + 0x60 ], %l0	! 201f460 <_Thread_Executing>
  while ( _Context_Switch_necessary == true ) {                       
 2008c10:	2d 00 80 7d 	sethi  %hi(0x201f400), %l6                     
 2008c14:	c2 0d a0 70 	ldub  [ %l6 + 0x70 ], %g1	! 201f470 <_Context_Switch_necessary>
 2008c18:	80 a0 60 00 	cmp  %g1, 0                                    
 2008c1c:	02 80 00 50 	be  2008d5c <_Thread_Dispatch+0x15c>           
 2008c20:	33 00 80 7d 	sethi  %hi(0x201f400), %i1                     
 2008c24:	25 00 80 7d 	sethi  %hi(0x201f400), %l2                     
 2008c28:	35 00 80 7d 	sethi  %hi(0x201f400), %i2                     
 2008c2c:	a4 14 a0 68 	or  %l2, 0x68, %l2                             
#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 )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2008c30:	31 00 80 7c 	sethi  %hi(0x201f000), %i0                     
#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 );                      
 2008c34:	2f 00 80 7d 	sethi  %hi(0x201f400), %l7                     
 2008c38:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008c3c:	ac 15 a0 70 	or  %l6, 0x70, %l6                             
 2008c40:	aa 15 60 60 	or  %l5, 0x60, %l5                             
 2008c44:	b2 16 60 30 	or  %i1, 0x30, %i1                             
 2008c48:	b4 16 a0 2c 	or  %i2, 0x2c, %i2                             
 2008c4c:	b0 16 22 f8 	or  %i0, 0x2f8, %i0                            
 2008c50:	ae 15 e0 28 	or  %l7, 0x28, %l7                             
 2008c54:	b6 10 63 a0 	or  %g1, 0x3a0, %i3                            
 2008c58:	a8 07 bf f8 	add  %fp, -8, %l4                              
 2008c5c:	a6 07 bf f0 	add  %fp, -16, %l3                             
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 2008c60:	b8 10 20 01 	mov  1, %i4                                    
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 2008c64:	10 80 00 34 	b  2008d34 <_Thread_Dispatch+0x134>            
 2008c68:	ba 10 00 12 	mov  %l2, %i5                                  
    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 );                                             
 2008c6c:	7f ff e5 12 	call  20020b4 <sparc_enable_interrupts>        
 2008c70:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 2008c74:	40 00 15 9d 	call  200e2e8 <_TOD_Get_uptime>                
 2008c78:	90 10 00 14 	mov  %l4, %o0                                  
        _Timestamp_Subtract(                                          
 2008c7c:	90 10 00 1d 	mov  %i5, %o0                                  
 2008c80:	92 10 00 14 	mov  %l4, %o1                                  
 2008c84:	40 00 04 21 	call  2009d08 <_Timespec_Subtract>             
 2008c88:	94 10 00 13 	mov  %l3, %o2                                  
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
 2008c8c:	92 10 00 13 	mov  %l3, %o1                                  
 2008c90:	40 00 04 05 	call  2009ca4 <_Timespec_Add_to>               
 2008c94:	90 04 20 84 	add  %l0, 0x84, %o0                            
        _Thread_Time_of_last_context_switch = uptime;                 
 2008c98:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008c9c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 2008ca0:	c4 24 80 00 	st  %g2, [ %l2 ]                               
 2008ca4:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 2008ca8:	90 10 00 10 	mov  %l0, %o0                                  
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 2008cac:	c4 24 a0 04 	st  %g2, [ %l2 + 4 ]                           
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008cb0:	80 a0 60 00 	cmp  %g1, 0                                    
 2008cb4:	02 80 00 06 	be  2008ccc <_Thread_Dispatch+0xcc>            <== NEVER TAKEN
 2008cb8:	92 10 00 11 	mov  %l1, %o1                                  
      executing->libc_reent = *_Thread_libc_reent;                    
 2008cbc:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2008cc0:	c4 24 21 64 	st  %g2, [ %l0 + 0x164 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 2008cc4:	c4 04 61 64 	ld  [ %l1 + 0x164 ], %g2                       
 2008cc8:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 2008ccc:	40 00 04 d1 	call  200a010 <_User_extensions_Thread_switch> 
 2008cd0:	01 00 00 00 	nop                                            
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 2008cd4:	92 04 60 d8 	add  %l1, 0xd8, %o1                            
 2008cd8:	40 00 06 1e 	call  200a550 <_CPU_Context_switch>            
 2008cdc:	90 04 20 d8 	add  %l0, 0xd8, %o0                            
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
 2008ce0:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 2008ce4:	80 a0 60 00 	cmp  %g1, 0                                    
 2008ce8:	02 80 00 0d 	be  2008d1c <_Thread_Dispatch+0x11c>           
 2008cec:	01 00 00 00 	nop                                            
 2008cf0:	d0 05 c0 00 	ld  [ %l7 ], %o0                               
 2008cf4:	80 a4 00 08 	cmp  %l0, %o0                                  
 2008cf8:	02 80 00 09 	be  2008d1c <_Thread_Dispatch+0x11c>           
 2008cfc:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 2008d00:	02 80 00 04 	be  2008d10 <_Thread_Dispatch+0x110>           
 2008d04:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 2008d08:	40 00 05 d8 	call  200a468 <_CPU_Context_save_fp>           
 2008d0c:	90 02 21 60 	add  %o0, 0x160, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 2008d10:	40 00 05 f3 	call  200a4dc <_CPU_Context_restore_fp>        
 2008d14:	90 04 21 60 	add  %l0, 0x160, %o0                           
      _Thread_Allocated_fp = executing;                               
 2008d18:	e0 25 c0 00 	st  %l0, [ %l7 ]                               
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
 2008d1c:	7f ff e4 e2 	call  20020a4 <sparc_disable_interrupts>       
 2008d20:	e0 05 40 00 	ld  [ %l5 ], %l0                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 2008d24:	c2 0d 80 00 	ldub  [ %l6 ], %g1                             
 2008d28:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d2c:	02 80 00 0d 	be  2008d60 <_Thread_Dispatch+0x160>           
 2008d30:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
    heir = _Thread_Heir;                                              
 2008d34:	e2 06 40 00 	ld  [ %i1 ], %l1                               
    _Thread_Dispatch_disable_level = 1;                               
 2008d38:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
    _Thread_Executing = heir;                                         
#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 )
 2008d3c:	c2 04 60 7c 	ld  [ %l1 + 0x7c ], %g1                        
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
 2008d40:	c0 2d 80 00 	clrb  [ %l6 ]                                  
    _Thread_Executing = heir;                                         
#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 )
 2008d44:	80 a0 60 01 	cmp  %g1, 1                                    
 2008d48:	12 bf ff c9 	bne  2008c6c <_Thread_Dispatch+0x6c>           
 2008d4c:	e2 25 40 00 	st  %l1, [ %l5 ]                               
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2008d50:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2008d54:	10 bf ff c6 	b  2008c6c <_Thread_Dispatch+0x6c>             
 2008d58:	c2 24 60 78 	st  %g1, [ %l1 + 0x78 ]                        
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
 2008d5c:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008d60:	c0 20 63 a0 	clr  [ %g1 + 0x3a0 ]	! 201f3a0 <_Thread_Dispatch_disable_level>
                                                                      
  _ISR_Enable( level );                                               
 2008d64:	7f ff e4 d4 	call  20020b4 <sparc_enable_interrupts>        
 2008d68:	01 00 00 00 	nop                                            
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
 2008d6c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2008d70:	c2 00 60 44 	ld  [ %g1 + 0x44 ], %g1	! 201f444 <_Thread_Do_post_task_switch_extension>
 2008d74:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d78:	12 80 00 06 	bne  2008d90 <_Thread_Dispatch+0x190>          
 2008d7c:	01 00 00 00 	nop                                            
       executing->do_post_task_switch_extension ) {                   
 2008d80:	c2 0c 20 74 	ldub  [ %l0 + 0x74 ], %g1                      
 2008d84:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d88:	02 80 00 04 	be  2008d98 <_Thread_Dispatch+0x198>           
 2008d8c:	01 00 00 00 	nop                                            
    executing->do_post_task_switch_extension = false;                 
    _API_extensions_Run_postswitch();                                 
 2008d90:	7f ff f9 0e 	call  20071c8 <_API_extensions_Run_postswitch> 
 2008d94:	c0 2c 20 74 	clrb  [ %l0 + 0x74 ]                           
 2008d98:	81 c7 e0 08 	ret                                            
 2008d9c:	81 e8 00 00 	restore                                        
                                                                      

02011680 <_Thread_Evaluate_mode>: bool _Thread_Evaluate_mode( void ) { Thread_Control *executing; executing = _Thread_Executing;
 2011680:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2011684:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
 2011688:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 201168c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2011690:	12 80 00 0b 	bne  20116bc <_Thread_Evaluate_mode+0x3c>      <== NEVER TAKEN
 2011694:	84 10 20 01 	mov  1, %g2                                    
 2011698:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 201169c:	c4 00 a0 30 	ld  [ %g2 + 0x30 ], %g2	! 201f430 <_Thread_Heir>
 20116a0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20116a4:	02 80 00 0b 	be  20116d0 <_Thread_Evaluate_mode+0x50>       
 20116a8:	01 00 00 00 	nop                                            
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
 20116ac:	c2 08 60 75 	ldub  [ %g1 + 0x75 ], %g1                      
 20116b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20116b4:	02 80 00 07 	be  20116d0 <_Thread_Evaluate_mode+0x50>       <== NEVER TAKEN
 20116b8:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 20116bc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20116c0:	90 10 20 01 	mov  1, %o0                                    
 20116c4:	c4 28 60 70 	stb  %g2, [ %g1 + 0x70 ]                       
    return true;                                                      
 20116c8:	81 c3 e0 08 	retl                                           
 20116cc:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 20116d0:	81 c3 e0 08 	retl                                           
 20116d4:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
                                                                      

020116d8 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
 20116d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 20116dc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20116e0:	e0 00 60 60 	ld  [ %g1 + 0x60 ], %l0	! 201f460 <_Thread_Executing>
  /*                                                                  
   * Some CPUs need to tinker with the call frame or registers when the
   * thread actually begins to execute for the first time.  This is a 
   * hook point where the port gets a shot at doing whatever it requires.
   */                                                                 
  _Context_Initialization_at_thread_begin();                          
 20116e4:	3f 00 80 45 	sethi  %hi(0x2011400), %i7                     
 20116e8:	be 17 e2 d8 	or  %i7, 0x2d8, %i7	! 20116d8 <_Thread_Handler>
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
 20116ec:	d0 04 20 b8 	ld  [ %l0 + 0xb8 ], %o0                        
  _ISR_Set_level(level);                                              
 20116f0:	7f ff c2 71 	call  20020b4 <sparc_enable_interrupts>        
 20116f4:	91 2a 20 08 	sll  %o0, 8, %o0                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 20116f8:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
    doneConstructors = 1;                                             
 20116fc:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 2011700:	e4 08 60 52 	ldub  [ %g1 + 0x52 ], %l2                      
    doneConstructors = 1;                                             
 2011704:	c4 28 60 52 	stb  %g2, [ %g1 + 0x52 ]                       
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 2011708:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 201170c:	80 a0 60 00 	cmp  %g1, 0                                    
 2011710:	02 80 00 0b 	be  201173c <_Thread_Handler+0x64>             
 2011714:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
#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 );                      
 2011718:	d0 04 60 28 	ld  [ %l1 + 0x28 ], %o0	! 201f428 <_Thread_Allocated_fp>
 201171c:	80 a4 00 08 	cmp  %l0, %o0                                  
 2011720:	02 80 00 07 	be  201173c <_Thread_Handler+0x64>             
 2011724:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 2011728:	22 80 00 05 	be,a   201173c <_Thread_Handler+0x64>          
 201172c:	e0 24 60 28 	st  %l0, [ %l1 + 0x28 ]                        
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 2011730:	7f ff e3 4e 	call  200a468 <_CPU_Context_save_fp>           
 2011734:	90 02 21 60 	add  %o0, 0x160, %o0                           
        _Thread_Allocated_fp = executing;                             
 2011738:	e0 24 60 28 	st  %l0, [ %l1 + 0x28 ]                        
  /*                                                                  
   * 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 );                         
 201173c:	7f ff e1 b7 	call  2009e18 <_User_extensions_Thread_begin>  
 2011740:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 2011744:	7f ff dd 97 	call  2008da0 <_Thread_Enable_dispatch>        
 2011748:	a5 2c a0 18 	sll  %l2, 0x18, %l2                            
    /*                                                                
     *  _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) */ {                 
 201174c:	80 a4 a0 00 	cmp  %l2, 0                                    
 2011750:	02 80 00 0f 	be  201178c <_Thread_Handler+0xb4>             
 2011754:	01 00 00 00 	nop                                            
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 2011758:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
 201175c:	80 a0 60 00 	cmp  %g1, 0                                    
 2011760:	22 80 00 12 	be,a   20117a8 <_Thread_Handler+0xd0>          
 2011764:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
 2011768:	80 a0 60 01 	cmp  %g1, 1                                    
 201176c:	22 80 00 13 	be,a   20117b8 <_Thread_Handler+0xe0>          <== ALWAYS TAKEN
 2011770:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
   *  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 );                       
 2011774:	7f ff e1 bd 	call  2009e68 <_User_extensions_Thread_exitted>
 2011778:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 201177c:	90 10 20 00 	clr  %o0                                       
 2011780:	92 10 20 01 	mov  1, %o1                                    
 2011784:	7f ff d9 57 	call  2007ce0 <_Internal_error_Occurred>       
 2011788:	94 10 20 06 	mov  6, %o2                                    
     *  _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 ();                                                   
 201178c:	40 00 33 f7 	call  201e768 <_init>                          
 2011790:	01 00 00 00 	nop                                            
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 2011794:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
 2011798:	80 a0 60 00 	cmp  %g1, 0                                    
 201179c:	12 bf ff f4 	bne  201176c <_Thread_Handler+0x94>            
 20117a0:	80 a0 60 01 	cmp  %g1, 1                                    
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 20117a4:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
 20117a8:	9f c0 40 00 	call  %g1                                      
 20117ac:	d0 04 20 a8 	ld  [ %l0 + 0xa8 ], %o0                        
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
 20117b0:	10 bf ff f1 	b  2011774 <_Thread_Handler+0x9c>              
 20117b4:	d0 24 20 28 	st  %o0, [ %l0 + 0x28 ]                        
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
 20117b8:	9f c0 40 00 	call  %g1                                      
 20117bc:	d0 04 20 a4 	ld  [ %l0 + 0xa4 ], %o0                        
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
 20117c0:	10 bf ff ed 	b  2011774 <_Thread_Handler+0x9c>              
 20117c4:	d0 24 20 28 	st  %o0, [ %l0 + 0x28 ]                        
                                                                      

02008e84 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 2008e84:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2008e88:	c2 07 a0 6c 	ld  [ %fp + 0x6c ], %g1                        
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
 2008e8c:	c0 26 61 68 	clr  [ %i1 + 0x168 ]                           
 2008e90:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
 2008e94:	c0 26 61 70 	clr  [ %i1 + 0x170 ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 2008e98:	c0 26 61 64 	clr  [ %i1 + 0x164 ]                           
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 2008e9c:	e0 00 40 00 	ld  [ %g1 ], %l0                               
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 2008ea0:	80 a6 a0 00 	cmp  %i2, 0                                    
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 2008ea4:	e2 07 a0 60 	ld  [ %fp + 0x60 ], %l1                        
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 2008ea8:	02 80 00 82 	be  20090b0 <_Thread_Initialize+0x22c>         
 2008eac:	e4 0f a0 5f 	ldub  [ %fp + 0x5f ], %l2                      
      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;                 
 2008eb0:	c0 2e 60 c0 	clrb  [ %i1 + 0xc0 ]                           
 2008eb4:	90 10 00 1b 	mov  %i3, %o0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 2008eb8:	f4 26 60 c8 	st  %i2, [ %i1 + 0xc8 ]                        
  the_stack->size = size;                                             
 2008ebc:	d0 26 60 c4 	st  %o0, [ %i1 + 0xc4 ]                        
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
 2008ec0:	80 8f 20 ff 	btst  0xff, %i4                                
 2008ec4:	82 10 20 00 	clr  %g1                                       
 2008ec8:	12 80 00 56 	bne  2009020 <_Thread_Initialize+0x19c>        
 2008ecc:	b4 10 20 00 	clr  %i2                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2008ed0:	39 00 80 7d 	sethi  %hi(0x201f400), %i4                     
 2008ed4:	c4 07 20 40 	ld  [ %i4 + 0x40 ], %g2	! 201f440 <_Thread_Maximum_extensions>
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
    the_thread->Start.fp_context = fp_area;                           
 2008ed8:	c2 26 60 cc 	st  %g1, [ %i1 + 0xcc ]                        
      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;                           
 2008edc:	c2 26 61 60 	st  %g1, [ %i1 + 0x160 ]                       
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2008ee0:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 2008ee4:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 2008ee8:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2008eec:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008ef0:	12 80 00 5c 	bne  2009060 <_Thread_Initialize+0x1dc>        
 2008ef4:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
 2008ef8:	c0 26 61 74 	clr  [ %i1 + 0x174 ]                           
 2008efc:	b6 10 20 00 	clr  %i3                                       
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2008f00:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 2008f04:	e4 2e 60 ac 	stb  %l2, [ %i1 + 0xac ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2008f08:	c2 26 60 b4 	st  %g1, [ %i1 + 0xb4 ]                        
                                                                      
  switch ( budget_algorithm ) {                                       
 2008f0c:	80 a4 60 02 	cmp  %l1, 2                                    
 2008f10:	12 80 00 05 	bne  2008f24 <_Thread_Initialize+0xa0>         
 2008f14:	e2 26 60 b0 	st  %l1, [ %i1 + 0xb0 ]                        
    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;    
 2008f18:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008f1c:	c2 00 62 f8 	ld  [ %g1 + 0x2f8 ], %g1	! 201f2f8 <_Thread_Ticks_per_timeslice>
 2008f20:	c2 26 60 78 	st  %g1, [ %i1 + 0x78 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2008f24:	c2 07 a0 68 	ld  [ %fp + 0x68 ], %g1                        
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008f28:	92 10 00 1d 	mov  %i5, %o1                                  
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2008f2c:	c2 26 60 b8 	st  %g1, [ %i1 + 0xb8 ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2008f30:	82 10 20 01 	mov  1, %g1                                    
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008f34:	90 10 00 19 	mov  %i1, %o0                                  
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2008f38:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
  the_thread->Wait.queue              = NULL;                         
 2008f3c:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
  the_thread->resource_count          = 0;                            
 2008f40:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
 2008f44:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008f48:	40 00 02 0e 	call  2009780 <_Thread_Set_priority>           
 2008f4c:	fa 26 60 bc 	st  %i5, [ %i1 + 0xbc ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008f50:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
 2008f54:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
 2008f58:	83 28 60 02 	sll  %g1, 2, %g1                               
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2008f5c:	e0 26 60 0c 	st  %l0, [ %i1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008f60:	f2 20 80 01 	st  %i1, [ %g2 + %g1 ]                         
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
 2008f64:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
 2008f68:	c0 26 60 88 	clr  [ %i1 + 0x88 ]                            
   *  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 );    
 2008f6c:	90 10 00 19 	mov  %i1, %o0                                  
 2008f70:	40 00 03 e5 	call  2009f04 <_User_extensions_Thread_create> 
 2008f74:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 2008f78:	80 8a 20 ff 	btst  0xff, %o0                                
 2008f7c:	12 80 00 27 	bne  2009018 <_Thread_Initialize+0x194>        
 2008f80:	01 00 00 00 	nop                                            
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
 2008f84:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
 2008f88:	80 a2 20 00 	cmp  %o0, 0                                    
 2008f8c:	22 80 00 05 	be,a   2008fa0 <_Thread_Initialize+0x11c>      
 2008f90:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
    _Workspace_Free( the_thread->libc_reent );                        
 2008f94:	40 00 05 12 	call  200a3dc <_Workspace_Free>                
 2008f98:	01 00 00 00 	nop                                            
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
 2008f9c:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
 2008fa0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008fa4:	22 80 00 05 	be,a   2008fb8 <_Thread_Initialize+0x134>      
 2008fa8:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2008fac:	40 00 05 0c 	call  200a3dc <_Workspace_Free>                
 2008fb0:	01 00 00 00 	nop                                            
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] )                              
 2008fb4:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
 2008fb8:	80 a2 20 00 	cmp  %o0, 0                                    
 2008fbc:	22 80 00 05 	be,a   2008fd0 <_Thread_Initialize+0x14c>      
 2008fc0:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2008fc4:	40 00 05 06 	call  200a3dc <_Workspace_Free>                
 2008fc8:	01 00 00 00 	nop                                            
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] )                              
 2008fcc:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
 2008fd0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008fd4:	02 80 00 05 	be  2008fe8 <_Thread_Initialize+0x164>         <== ALWAYS TAKEN
 2008fd8:	80 a6 e0 00 	cmp  %i3, 0                                    
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2008fdc:	40 00 05 00 	call  200a3dc <_Workspace_Free>                <== NOT EXECUTED
 2008fe0:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
 2008fe4:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2008fe8:	02 80 00 05 	be  2008ffc <_Thread_Initialize+0x178>         
 2008fec:	80 a6 a0 00 	cmp  %i2, 0                                    
    (void) _Workspace_Free( extensions_area );                        
 2008ff0:	40 00 04 fb 	call  200a3dc <_Workspace_Free>                
 2008ff4:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
 2008ff8:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008ffc:	02 80 00 05 	be  2009010 <_Thread_Initialize+0x18c>         
 2009000:	90 10 00 19 	mov  %i1, %o0                                  
      (void) _Workspace_Free( fp_area );                              
 2009004:	40 00 04 f6 	call  200a3dc <_Workspace_Free>                
 2009008:	90 10 00 1a 	mov  %i2, %o0                                  
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 200900c:	90 10 00 19 	mov  %i1, %o0                                  
 2009010:	40 00 02 97 	call  2009a6c <_Thread_Stack_Free>             
 2009014:	b0 10 20 00 	clr  %i0                                       
  return false;                                                       
                                                                      
                                                                      
}                                                                     
 2009018:	81 c7 e0 08 	ret                                            
 200901c:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  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 );               
 2009020:	40 00 04 e6 	call  200a3b8 <_Workspace_Allocate>            
 2009024:	90 10 20 88 	mov  0x88, %o0                                 
      if ( !fp_area )                                                 
 2009028:	b6 10 20 00 	clr  %i3                                       
 200902c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2009030:	02 bf ff d5 	be  2008f84 <_Thread_Initialize+0x100>         
 2009034:	82 10 00 1a 	mov  %i2, %g1                                  
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2009038:	39 00 80 7d 	sethi  %hi(0x201f400), %i4                     
 200903c:	c4 07 20 40 	ld  [ %i4 + 0x40 ], %g2	! 201f440 <_Thread_Maximum_extensions>
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
    the_thread->Start.fp_context = fp_area;                           
 2009040:	c2 26 60 cc 	st  %g1, [ %i1 + 0xcc ]                        
      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;                           
 2009044:	c2 26 61 60 	st  %g1, [ %i1 + 0x160 ]                       
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2009048:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 200904c:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 2009050:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2009054:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009058:	02 bf ff a8 	be  2008ef8 <_Thread_Initialize+0x74>          
 200905c:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
    extensions_area = _Workspace_Allocate(                            
 2009060:	84 00 a0 01 	inc  %g2                                       
 2009064:	40 00 04 d5 	call  200a3b8 <_Workspace_Allocate>            
 2009068:	91 28 a0 02 	sll  %g2, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 200906c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2009070:	02 bf ff c5 	be  2008f84 <_Thread_Initialize+0x100>         
 2009074:	c8 07 20 40 	ld  [ %i4 + 0x40 ], %g4                        
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
 2009078:	f6 26 61 74 	st  %i3, [ %i1 + 0x174 ]                       
 200907c:	86 10 00 1b 	mov  %i3, %g3                                  
   * 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++ )              
 2009080:	84 10 20 00 	clr  %g2                                       
 2009084:	10 80 00 03 	b  2009090 <_Thread_Initialize+0x20c>          
 2009088:	82 10 20 00 	clr  %g1                                       
 200908c:	c6 06 61 74 	ld  [ %i1 + 0x174 ], %g3                       
      the_thread->extensions[i] = NULL;                               
 2009090:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2009094:	c0 20 c0 02 	clr  [ %g3 + %g2 ]                             
   * 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++ )              
 2009098:	82 00 60 01 	inc  %g1                                       
 200909c:	80 a1 00 01 	cmp  %g4, %g1                                  
 20090a0:	1a bf ff fb 	bcc  200908c <_Thread_Initialize+0x208>        
 20090a4:	84 10 00 01 	mov  %g1, %g2                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 20090a8:	10 bf ff 97 	b  2008f04 <_Thread_Initialize+0x80>           
 20090ac:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 20090b0:	90 10 00 19 	mov  %i1, %o0                                  
 20090b4:	40 00 02 53 	call  2009a00 <_Thread_Stack_Allocate>         
 20090b8:	92 10 00 1b 	mov  %i3, %o1                                  
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 20090bc:	80 a6 c0 08 	cmp  %i3, %o0                                  
 20090c0:	18 80 00 07 	bgu  20090dc <_Thread_Initialize+0x258>        
 20090c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20090c8:	02 80 00 05 	be  20090dc <_Thread_Initialize+0x258>         <== NEVER TAKEN
 20090cc:	82 10 20 01 	mov  1, %g1                                    
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
 20090d0:	f4 06 60 d0 	ld  [ %i1 + 0xd0 ], %i2                        
      the_thread->Start.core_allocated_stack = true;                  
 20090d4:	10 bf ff 79 	b  2008eb8 <_Thread_Initialize+0x34>           
 20090d8:	c2 2e 60 c0 	stb  %g1, [ %i1 + 0xc0 ]                       
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 20090dc:	81 c7 e0 08 	ret                                            
 20090e0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d178 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
 200d178:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 200d17c:	7f ff d4 1a 	call  20021e4 <sparc_disable_interrupts>       
 200d180:	a0 10 00 18 	mov  %i0, %l0                                  
 200d184:	b0 10 00 08 	mov  %o0, %i0                                  
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
 200d188:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
  if ( current_state & STATES_SUSPENDED ) {                           
 200d18c:	80 88 60 02 	btst  2, %g1                                   
 200d190:	02 80 00 05 	be  200d1a4 <_Thread_Resume+0x2c>              <== NEVER TAKEN
 200d194:	82 08 7f fd 	and  %g1, -3, %g1                              
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
 200d198:	80 a0 60 00 	cmp  %g1, 0                                    
 200d19c:	02 80 00 04 	be  200d1ac <_Thread_Resume+0x34>              
 200d1a0:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
          _Context_Switch_necessary = true;                           
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200d1a4:	7f ff d4 14 	call  20021f4 <sparc_enable_interrupts>        
 200d1a8:	81 e8 00 00 	restore                                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 200d1ac:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 200d1b0:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 200d1b4:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 200d1b8:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 200d1bc:	86 11 00 03 	or  %g4, %g3, %g3                              
 200d1c0:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 200d1c4:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 200d1c8:	c8 14 20 94 	lduh  [ %l0 + 0x94 ], %g4                      
 200d1cc:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 200d1d0:	07 00 80 8c 	sethi  %hi(0x2023000), %g3                     
  old_last_node       = the_chain->last;                              
 200d1d4:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 200d1d8:	da 10 e1 94 	lduh  [ %g3 + 0x194 ], %o5                     
  the_chain->last     = the_node;                                     
 200d1dc:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 200d1e0:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 200d1e4:	82 13 40 04 	or  %o5, %g4, %g1                              
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 200d1e8:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 200d1ec:	c2 30 e1 94 	sth  %g1, [ %g3 + 0x194 ]                      
                                                                      
      _ISR_Flash( level );                                            
 200d1f0:	7f ff d4 01 	call  20021f4 <sparc_enable_interrupts>        
 200d1f4:	01 00 00 00 	nop                                            
 200d1f8:	7f ff d3 fb 	call  20021e4 <sparc_disable_interrupts>       
 200d1fc:	01 00 00 00 	nop                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 200d200:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 200d204:	c6 00 61 70 	ld  [ %g1 + 0x170 ], %g3	! 2023170 <_Thread_Heir>
 200d208:	c4 04 20 14 	ld  [ %l0 + 0x14 ], %g2                        
 200d20c:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 200d210:	80 a0 80 03 	cmp  %g2, %g3                                  
 200d214:	1a bf ff e4 	bcc  200d1a4 <_Thread_Resume+0x2c>             
 200d218:	07 00 80 8c 	sethi  %hi(0x2023000), %g3                     
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
 200d21c:	c6 00 e1 a0 	ld  [ %g3 + 0x1a0 ], %g3	! 20231a0 <_Thread_Executing>
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
 200d220:	e0 20 61 70 	st  %l0, [ %g1 + 0x170 ]                       
        if ( _Thread_Executing->is_preemptible ||                     
 200d224:	c2 08 e0 75 	ldub  [ %g3 + 0x75 ], %g1                      
 200d228:	80 a0 60 00 	cmp  %g1, 0                                    
 200d22c:	32 80 00 05 	bne,a   200d240 <_Thread_Resume+0xc8>          
 200d230:	84 10 20 01 	mov  1, %g2                                    
 200d234:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d238:	12 bf ff db 	bne  200d1a4 <_Thread_Resume+0x2c>             <== ALWAYS TAKEN
 200d23c:	84 10 20 01 	mov  1, %g2                                    
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
 200d240:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 200d244:	c4 28 61 b0 	stb  %g2, [ %g1 + 0x1b0 ]	! 20231b0 <_Context_Switch_necessary>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200d248:	7f ff d3 eb 	call  20021f4 <sparc_enable_interrupts>        
 200d24c:	81 e8 00 00 	restore                                        
                                                                      

02009a6c <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
 2009a6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #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 )                    
 2009a70:	c2 0e 20 c0 	ldub  [ %i0 + 0xc0 ], %g1                      
 2009a74:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a78:	02 80 00 08 	be  2009a98 <_Thread_Stack_Free+0x2c>          <== NEVER TAKEN
 2009a7c:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
   * 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 )                                
 2009a80:	c2 00 60 8c 	ld  [ %g1 + 0x8c ], %g1	! 201e88c <Configuration+0x24>
 2009a84:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a88:	22 80 00 06 	be,a   2009aa0 <_Thread_Stack_Free+0x34>       
 2009a8c:	f0 06 20 c8 	ld  [ %i0 + 0xc8 ], %i0                        
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
 2009a90:	9f c0 40 00 	call  %g1                                      
 2009a94:	d0 06 20 c8 	ld  [ %i0 + 0xc8 ], %o0                        
 2009a98:	81 c7 e0 08 	ret                                            
 2009a9c:	81 e8 00 00 	restore                                        
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
 2009aa0:	40 00 02 4f 	call  200a3dc <_Workspace_Free>                
 2009aa4:	81 e8 00 00 	restore                                        
                                                                      

02009b4c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
 2009b4c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
 2009b50:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2009b54:	d0 00 60 60 	ld  [ %g1 + 0x60 ], %o0	! 201f460 <_Thread_Executing>
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
 2009b58:	c2 0a 20 75 	ldub  [ %o0 + 0x75 ], %g1                      
 2009b5c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009b60:	02 80 00 24 	be  2009bf0 <_Thread_Tickle_timeslice+0xa4>    
 2009b64:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
 2009b68:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 2009b6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009b70:	12 80 00 20 	bne  2009bf0 <_Thread_Tickle_timeslice+0xa4>   
 2009b74:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
 2009b78:	c2 02 20 7c 	ld  [ %o0 + 0x7c ], %g1                        
 2009b7c:	80 a0 60 01 	cmp  %g1, 1                                    
 2009b80:	0a 80 00 07 	bcs  2009b9c <_Thread_Tickle_timeslice+0x50>   
 2009b84:	80 a0 60 02 	cmp  %g1, 2                                    
 2009b88:	28 80 00 10 	bleu,a   2009bc8 <_Thread_Tickle_timeslice+0x7c>
 2009b8c:	c2 02 20 78 	ld  [ %o0 + 0x78 ], %g1                        
 2009b90:	80 a0 60 03 	cmp  %g1, 3                                    
 2009b94:	22 80 00 04 	be,a   2009ba4 <_Thread_Tickle_timeslice+0x58> <== ALWAYS TAKEN
 2009b98:	c2 02 20 78 	ld  [ %o0 + 0x78 ], %g1                        
 2009b9c:	81 c7 e0 08 	ret                                            
 2009ba0:	81 e8 00 00 	restore                                        
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
 2009ba4:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009ba8:	80 a0 60 00 	cmp  %g1, 0                                    
 2009bac:	12 bf ff fc 	bne  2009b9c <_Thread_Tickle_timeslice+0x50>   
 2009bb0:	c2 22 20 78 	st  %g1, [ %o0 + 0x78 ]                        
	  (*executing->budget_callout)( executing );                         
 2009bb4:	c2 02 20 80 	ld  [ %o0 + 0x80 ], %g1                        
 2009bb8:	9f c0 40 00 	call  %g1                                      
 2009bbc:	01 00 00 00 	nop                                            
 2009bc0:	81 c7 e0 08 	ret                                            
 2009bc4:	81 e8 00 00 	restore                                        
                                                                      
    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 ) {               
 2009bc8:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009bcc:	80 a0 60 00 	cmp  %g1, 0                                    
 2009bd0:	14 bf ff f3 	bg  2009b9c <_Thread_Tickle_timeslice+0x50>    
 2009bd4:	c2 22 20 78 	st  %g1, [ %o0 + 0x78 ]                        
        _Thread_Reset_timeslice();                                    
 2009bd8:	40 00 13 de 	call  200eb50 <_Thread_Reset_timeslice>        
 2009bdc:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
 2009be0:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2009be4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2009be8:	c2 00 62 f8 	ld  [ %g1 + 0x2f8 ], %g1                       
 2009bec:	c2 22 20 78 	st  %g1, [ %o0 + 0x78 ]                        
 2009bf0:	81 c7 e0 08 	ret                                            
 2009bf4:	81 e8 00 00 	restore                                        
                                                                      

02009bf8 <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
 2009bf8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
 2009bfc:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2009c00:	e0 00 60 60 	ld  [ %g1 + 0x60 ], %l0	! 201f460 <_Thread_Executing>
  ready     = executing->ready;                                       
  _ISR_Disable( level );                                              
 2009c04:	7f ff e1 28 	call  20020a4 <sparc_disable_interrupts>       
 2009c08:	e2 04 20 8c 	ld  [ %l0 + 0x8c ], %l1                        
 2009c0c:	b0 10 00 08 	mov  %o0, %i0                                  
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
 2009c10:	c4 04 40 00 	ld  [ %l1 ], %g2                               
 2009c14:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
 2009c18:	80 a0 80 01 	cmp  %g2, %g1                                  
 2009c1c:	02 80 00 19 	be  2009c80 <_Thread_Yield_processor+0x88>     
 2009c20:	86 04 60 04 	add  %l1, 4, %g3                               
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2009c24:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 2009c28:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  next->previous = previous;                                          
  previous->next = next;                                              
 2009c2c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2009c30:	c6 24 00 00 	st  %g3, [ %l0 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 2009c34:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
 2009c38:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
  the_chain->last     = the_node;                                     
 2009c3c:	e0 24 60 08 	st  %l0, [ %l1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 2009c40:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 2009c44:	e0 20 40 00 	st  %l0, [ %g1 ]                               
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
 2009c48:	7f ff e1 1b 	call  20020b4 <sparc_enable_interrupts>        
 2009c4c:	01 00 00 00 	nop                                            
 2009c50:	7f ff e1 15 	call  20020a4 <sparc_disable_interrupts>       
 2009c54:	01 00 00 00 	nop                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
 2009c58:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2009c5c:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2	! 201f430 <_Thread_Heir>
 2009c60:	80 a4 00 02 	cmp  %l0, %g2                                  
 2009c64:	22 80 00 0e 	be,a   2009c9c <_Thread_Yield_processor+0xa4>  <== ALWAYS TAKEN
 2009c68:	c4 04 40 00 	ld  [ %l1 ], %g2                               
        _Thread_Heir = (Thread_Control *) ready->first;               
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
      _Context_Switch_necessary = true;                               
 2009c6c:	84 10 20 01 	mov  1, %g2                                    
 2009c70:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2009c74:	c4 28 60 70 	stb  %g2, [ %g1 + 0x70 ]	! 201f470 <_Context_Switch_necessary>
                                                                      
  _ISR_Enable( level );                                               
 2009c78:	7f ff e1 0f 	call  20020b4 <sparc_enable_interrupts>        
 2009c7c:	81 e8 00 00 	restore                                        
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) ready->first;               
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
 2009c80:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2009c84:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1	! 201f430 <_Thread_Heir>
 2009c88:	80 a4 00 01 	cmp  %l0, %g1                                  
 2009c8c:	32 bf ff f9 	bne,a   2009c70 <_Thread_Yield_processor+0x78> <== NEVER TAKEN
 2009c90:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
      _Context_Switch_necessary = true;                               
                                                                      
  _ISR_Enable( level );                                               
 2009c94:	7f ff e1 08 	call  20020b4 <sparc_enable_interrupts>        
 2009c98:	81 e8 00 00 	restore                                        
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) ready->first;               
 2009c9c:	10 bf ff f4 	b  2009c6c <_Thread_Yield_processor+0x74>      
 2009ca0:	c4 20 60 30 	st  %g2, [ %g1 + 0x30 ]                        
                                                                      

02009404 <_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 ) {
 2009404:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
 2009408:	e0 06 60 14 	ld  [ %i1 + 0x14 ], %l0                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 200940c:	82 06 60 3c 	add  %i1, 0x3c, %g1                            
  the_chain->permanent_null = NULL;                                   
 2009410:	c0 26 60 3c 	clr  [ %i1 + 0x3c ]                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2009414:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2009418:	82 06 60 38 	add  %i1, 0x38, %g1                            
 200941c:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
 2009420:	2d 00 80 7a 	sethi  %hi(0x201e800), %l6                     
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 2009424:	83 34 20 06 	srl  %l0, 6, %g1                               
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 2009428:	80 8c 20 20 	btst  0x20, %l0                                
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 200942c:	ab 28 60 04 	sll  %g1, 4, %l5                               
 2009430:	ac 15 a0 64 	or  %l6, 0x64, %l6                             
 2009434:	83 28 60 02 	sll  %g1, 2, %g1                               
  block_state  = the_thread_queue->state;                             
 2009438:	e8 06 20 38 	ld  [ %i0 + 0x38 ], %l4                        
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 200943c:	aa 25 40 01 	sub  %l5, %g1, %l5                             
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 2009440:	12 80 00 24 	bne  20094d0 <_Thread_queue_Enqueue_priority+0xcc>
 2009444:	aa 06 00 15 	add  %i0, %l5, %l5                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2009448:	ac 05 60 04 	add  %l5, 4, %l6                               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
 200944c:	7f ff e3 16 	call  20020a4 <sparc_disable_interrupts>       
 2009450:	01 00 00 00 	nop                                            
 2009454:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->first;                   
 2009458:	c2 05 40 00 	ld  [ %l5 ], %g1                               
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 200945c:	80 a0 40 16 	cmp  %g1, %l6                                  
 2009460:	02 80 00 3a 	be  2009548 <_Thread_queue_Enqueue_priority+0x144>
 2009464:	a2 10 00 01 	mov  %g1, %l1                                  
    search_priority = search_thread->current_priority;                
 2009468:	e6 00 60 14 	ld  [ %g1 + 0x14 ], %l3                        
    if ( priority <= search_priority )                                
 200946c:	80 a4 00 13 	cmp  %l0, %l3                                  
 2009470:	18 80 00 0b 	bgu  200949c <_Thread_queue_Enqueue_priority+0x98>
 2009474:	01 00 00 00 	nop                                            
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 2009478:	10 80 00 36 	b  2009550 <_Thread_queue_Enqueue_priority+0x14c>
 200947c:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
                                                                      
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 ) ) {  
 2009480:	80 a4 40 16 	cmp  %l1, %l6                                  
 2009484:	02 80 00 32 	be  200954c <_Thread_queue_Enqueue_priority+0x148>
 2009488:	82 10 00 11 	mov  %l1, %g1                                  
    search_priority = search_thread->current_priority;                
 200948c:	e6 04 60 14 	ld  [ %l1 + 0x14 ], %l3                        
    if ( priority <= search_priority )                                
 2009490:	80 a4 00 13 	cmp  %l0, %l3                                  
 2009494:	28 80 00 2f 	bleu,a   2009550 <_Thread_queue_Enqueue_priority+0x14c>
 2009498:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 200949c:	7f ff e3 06 	call  20020b4 <sparc_enable_interrupts>        
 20094a0:	90 10 00 12 	mov  %l2, %o0                                  
 20094a4:	7f ff e3 00 	call  20020a4 <sparc_disable_interrupts>       
 20094a8:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 20094ac:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 20094b0:	80 8d 00 01 	btst  %l4, %g1                                 
 20094b4:	32 bf ff f3 	bne,a   2009480 <_Thread_queue_Enqueue_priority+0x7c><== ALWAYS TAKEN
 20094b8:	e2 04 40 00 	ld  [ %l1 ], %l1                               
      _ISR_Enable( level );                                           
 20094bc:	7f ff e2 fe 	call  20020b4 <sparc_enable_interrupts>        <== NOT EXECUTED
 20094c0:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
 20094c4:	30 bf ff e2 	b,a   200944c <_Thread_queue_Enqueue_priority+0x48><== NOT EXECUTED
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
 20094c8:	7f ff e2 fb 	call  20020b4 <sparc_enable_interrupts>        
 20094cc:	90 10 00 12 	mov  %l2, %o0                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
 20094d0:	7f ff e2 f5 	call  20020a4 <sparc_disable_interrupts>       
 20094d4:	e6 0d 80 00 	ldub  [ %l6 ], %l3                             
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 20094d8:	a6 04 e0 01 	inc  %l3                                       
                                                                      
  _ISR_Disable( level );                                              
 20094dc:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->last;                    
 20094e0:	c2 05 60 08 	ld  [ %l5 + 8 ], %g1                           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 20094e4:	80 a0 40 15 	cmp  %g1, %l5                                  
 20094e8:	02 80 00 20 	be  2009568 <_Thread_queue_Enqueue_priority+0x164>
 20094ec:	a2 10 00 01 	mov  %g1, %l1                                  
    search_priority = search_thread->current_priority;                
 20094f0:	e6 00 60 14 	ld  [ %g1 + 0x14 ], %l3                        
    if ( priority >= search_priority )                                
 20094f4:	80 a4 00 13 	cmp  %l0, %l3                                  
 20094f8:	0a 80 00 0b 	bcs  2009524 <_Thread_queue_Enqueue_priority+0x120>
 20094fc:	01 00 00 00 	nop                                            
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 2009500:	10 80 00 1b 	b  200956c <_Thread_queue_Enqueue_priority+0x168>
 2009504:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
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 ) ) {  
 2009508:	80 a4 40 15 	cmp  %l1, %l5                                  
 200950c:	02 80 00 17 	be  2009568 <_Thread_queue_Enqueue_priority+0x164>
 2009510:	82 10 00 11 	mov  %l1, %g1                                  
    search_priority = search_thread->current_priority;                
 2009514:	e6 04 60 14 	ld  [ %l1 + 0x14 ], %l3                        
    if ( priority >= search_priority )                                
 2009518:	80 a4 00 13 	cmp  %l0, %l3                                  
 200951c:	3a 80 00 14 	bcc,a   200956c <_Thread_queue_Enqueue_priority+0x168>
 2009520:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 2009524:	7f ff e2 e4 	call  20020b4 <sparc_enable_interrupts>        
 2009528:	90 10 00 12 	mov  %l2, %o0                                  
 200952c:	7f ff e2 de 	call  20020a4 <sparc_disable_interrupts>       
 2009530:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 2009534:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2009538:	80 8d 00 01 	btst  %l4, %g1                                 
 200953c:	32 bf ff f3 	bne,a   2009508 <_Thread_queue_Enqueue_priority+0x104>
 2009540:	e2 04 60 04 	ld  [ %l1 + 4 ], %l1                           
 2009544:	30 bf ff e1 	b,a   20094c8 <_Thread_queue_Enqueue_priority+0xc4>
                                                                      
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 ) ) {  
 2009548:	a6 10 3f ff 	mov  -1, %l3                                   
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 200954c:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
 2009550:	80 a0 a0 01 	cmp  %g2, 1                                    
 2009554:	02 80 00 17 	be  20095b0 <_Thread_queue_Enqueue_priority+0x1ac>
 2009558:	80 a4 00 13 	cmp  %l0, %l3                                  
   *  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;                                                   
 200955c:	e4 26 80 00 	st  %l2, [ %i2 ]                               
  return the_thread_queue->sync_state;                                
}                                                                     
 2009560:	81 c7 e0 08 	ret                                            
 2009564:	91 e8 00 02 	restore  %g0, %g2, %o0                         
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 2009568:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
 200956c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2009570:	32 bf ff fc 	bne,a   2009560 <_Thread_queue_Enqueue_priority+0x15c>
 2009574:	e4 26 80 00 	st  %l2, [ %i2 ]                               
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 2009578:	80 a4 00 13 	cmp  %l0, %l3                                  
 200957c:	02 80 00 1a 	be  20095e4 <_Thread_queue_Enqueue_priority+0x1e0>
 2009580:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
 2009584:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
 2009588:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
 200958c:	c4 26 40 00 	st  %g2, [ %i1 ]                               
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 2009590:	f0 26 60 44 	st  %i0, [ %i1 + 0x44 ]                        
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
 2009594:	f2 20 40 00 	st  %i1, [ %g1 ]                               
  next_node->previous    = the_node;                                  
 2009598:	f2 20 a0 04 	st  %i1, [ %g2 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 200959c:	b0 10 20 01 	mov  1, %i0                                    
 20095a0:	7f ff e2 c5 	call  20020b4 <sparc_enable_interrupts>        
 20095a4:	90 10 00 12 	mov  %l2, %o0                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 20095a8:	81 c7 e0 08 	ret                                            
 20095ac:	81 e8 00 00 	restore                                        
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 20095b0:	02 80 00 0d 	be  20095e4 <_Thread_queue_Enqueue_priority+0x1e0>
 20095b4:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
 20095b8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 20095bc:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  the_node->previous     = previous_node;                             
 20095c0:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 20095c4:	f0 26 60 44 	st  %i0, [ %i1 + 0x44 ]                        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
 20095c8:	f2 20 80 00 	st  %i1, [ %g2 ]                               
  search_node->previous  = the_node;                                  
 20095cc:	f2 20 60 04 	st  %i1, [ %g1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 20095d0:	b0 10 20 01 	mov  1, %i0                                    
 20095d4:	7f ff e2 b8 	call  20020b4 <sparc_enable_interrupts>        
 20095d8:	90 10 00 12 	mov  %l2, %o0                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 20095dc:	81 c7 e0 08 	ret                                            
 20095e0:	81 e8 00 00 	restore                                        
 20095e4:	a2 04 60 3c 	add  %l1, 0x3c, %l1                            
  _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;                              
 20095e8:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 20095ec:	e2 26 40 00 	st  %l1, [ %i1 ]                               
  the_node->previous     = previous_node;                             
 20095f0:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 20095f4:	f0 26 60 44 	st  %i0, [ %i1 + 0x44 ]                        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
 20095f8:	f2 20 40 00 	st  %i1, [ %g1 ]                               
  search_node->previous  = the_node;                                  
 20095fc:	f2 24 60 04 	st  %i1, [ %l1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 2009600:	b0 10 20 01 	mov  1, %i0                                    
 2009604:	7f ff e2 ac 	call  20020b4 <sparc_enable_interrupts>        
 2009608:	90 10 00 12 	mov  %l2, %o0                                  
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 200960c:	81 c7 e0 08 	ret                                            
 2009610:	81 e8 00 00 	restore                                        
                                                                      

020096c0 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 20096c0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
 20096c4:	80 a6 20 00 	cmp  %i0, 0                                    
 20096c8:	02 80 00 13 	be  2009714 <_Thread_queue_Requeue+0x54>       <== NEVER TAKEN
 20096cc:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * 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 ) {
 20096d0:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
 20096d4:	80 a4 60 01 	cmp  %l1, 1                                    
 20096d8:	02 80 00 04 	be  20096e8 <_Thread_queue_Requeue+0x28>       <== ALWAYS TAKEN
 20096dc:	01 00 00 00 	nop                                            
 20096e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20096e4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 20096e8:	7f ff e2 6f 	call  20020a4 <sparc_disable_interrupts>       
 20096ec:	01 00 00 00 	nop                                            
 20096f0:	a0 10 00 08 	mov  %o0, %l0                                  
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 20096f4:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
 20096f8:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 20096fc:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2009700:	80 88 80 01 	btst  %g2, %g1                                 
 2009704:	12 80 00 06 	bne  200971c <_Thread_queue_Requeue+0x5c>      <== ALWAYS TAKEN
 2009708:	90 10 00 18 	mov  %i0, %o0                                  
      _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 );                                             
 200970c:	7f ff e2 6a 	call  20020b4 <sparc_enable_interrupts>        
 2009710:	90 10 00 10 	mov  %l0, %o0                                  
 2009714:	81 c7 e0 08 	ret                                            
 2009718:	81 e8 00 00 	restore                                        
    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 );  
 200971c:	92 10 00 19 	mov  %i1, %o1                                  
 2009720:	e2 26 20 30 	st  %l1, [ %i0 + 0x30 ]                        
 2009724:	40 00 14 6b 	call  200e8d0 <_Thread_queue_Extract_priority_helper>
 2009728:	94 10 20 01 	mov  1, %o2                                    
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 200972c:	90 10 00 18 	mov  %i0, %o0                                  
 2009730:	92 10 00 19 	mov  %i1, %o1                                  
 2009734:	7f ff ff 34 	call  2009404 <_Thread_queue_Enqueue_priority> 
 2009738:	94 07 bf fc 	add  %fp, -4, %o2                              
 200973c:	30 bf ff f4 	b,a   200970c <_Thread_queue_Requeue+0x4c>     
                                                                      

02009740 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2009740:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2009744:	90 10 00 18 	mov  %i0, %o0                                  
 2009748:	7f ff fd a4 	call  2008dd8 <_Thread_Get>                    
 200974c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2009750:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2009754:	80 a0 60 00 	cmp  %g1, 0                                    
 2009758:	12 80 00 08 	bne  2009778 <_Thread_queue_Timeout+0x38>      <== NEVER TAKEN
 200975c:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2009760:	40 00 14 95 	call  200e9b4 <_Thread_queue_Process_timeout>  
 2009764:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2009768:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 200976c:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
 2009770:	84 00 bf ff 	add  %g2, -1, %g2                              
 2009774:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
 2009778:	81 c7 e0 08 	ret                                            
 200977c:	81 e8 00 00 	restore                                        
                                                                      

020012e0 <_Timer_Manager_initialization>: #include <rtems/rtems/types.h> #include <rtems/rtems/timer.h> void _Timer_Manager_initialization(void) { }
 20012e0:	81 c3 e0 08 	retl                                           
                                                                      

02016f7c <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 2016f7c:	9d e3 bf 88 	save  %sp, -120, %sp                           
 2016f80:	2d 00 81 03 	sethi  %hi(0x2040c00), %l6                     
 2016f84:	ba 07 bf f4 	add  %fp, -12, %i5                             
 2016f88:	a8 07 bf f8 	add  %fp, -8, %l4                              
 2016f8c:	a4 07 bf e8 	add  %fp, -24, %l2                             
 2016f90:	ae 07 bf ec 	add  %fp, -20, %l7                             
 2016f94:	2b 00 81 03 	sethi  %hi(0x2040c00), %l5                     
 2016f98:	39 00 81 03 	sethi  %hi(0x2040c00), %i4                     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 2016f9c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2016fa0:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  the_chain->last           = _Chain_Head(the_chain);                 
 2016fa4:	fa 27 bf fc 	st  %i5, [ %fp + -4 ]                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2016fa8:	e8 27 bf f4 	st  %l4, [ %fp + -12 ]                         
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2016fac:	e4 27 bf f0 	st  %l2, [ %fp + -16 ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2016fb0:	ee 27 bf e8 	st  %l7, [ %fp + -24 ]                         
 2016fb4:	ac 15 a2 34 	or  %l6, 0x234, %l6                            
 2016fb8:	aa 15 61 74 	or  %l5, 0x174, %l5                            
 2016fbc:	b8 17 20 e0 	or  %i4, 0xe0, %i4                             
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2016fc0:	a2 06 20 30 	add  %i0, 0x30, %l1                            
    /*                                                                
     *  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 );
 2016fc4:	a6 06 20 68 	add  %i0, 0x68, %l3                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2016fc8:	b2 06 20 08 	add  %i0, 8, %i1                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2016fcc:	b4 06 20 40 	add  %i0, 0x40, %i2                            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
 2016fd0:	b6 10 20 01 	mov  1, %i3                                    
{                                                                     
  /*                                                                  
   *  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;                                    
 2016fd4:	fa 26 20 78 	st  %i5, [ %i0 + 0x78 ]                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2016fd8:	c2 05 80 00 	ld  [ %l6 ], %g1                               
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 2016fdc:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2016fe0:	90 10 00 11 	mov  %l1, %o0                                  
 2016fe4:	92 20 40 09 	sub  %g1, %o1, %o1                             
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2016fe8:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2016fec:	40 00 12 9c 	call  201ba5c <_Watchdog_Adjust_to_chain>      
 2016ff0:	94 10 00 12 	mov  %l2, %o2                                  
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 2016ff4:	d2 06 20 74 	ld  [ %i0 + 0x74 ], %o1                        
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2016ff8:	e0 05 40 00 	ld  [ %l5 ], %l0                               
  /*                                                                  
   *  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 ) {                                   
 2016ffc:	80 a4 00 09 	cmp  %l0, %o1                                  
 2017000:	38 80 00 2f 	bgu,a   20170bc <_Timer_server_Body+0x140>     
 2017004:	92 24 00 09 	sub  %l0, %o1, %o1                             
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 2017008:	80 a4 00 09 	cmp  %l0, %o1                                  
 201700c:	0a 80 00 30 	bcs  20170cc <_Timer_server_Body+0x150>        
 2017010:	94 22 40 10 	sub  %o1, %l0, %o2                             
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2017014:	e0 26 20 74 	st  %l0, [ %i0 + 0x74 ]                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 2017018:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 201701c:	40 00 02 b1 	call  2017ae0 <_Chain_Get>                     
 2017020:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 2017024:	80 a2 20 00 	cmp  %o0, 0                                    
 2017028:	02 80 00 10 	be  2017068 <_Timer_server_Body+0xec>          
 201702c:	01 00 00 00 	nop                                            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
 2017030:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2017034:	80 a0 60 01 	cmp  %g1, 1                                    
 2017038:	02 80 00 29 	be  20170dc <_Timer_server_Body+0x160>         
 201703c:	80 a0 60 03 	cmp  %g1, 3                                    
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 2017040:	12 bf ff f6 	bne  2017018 <_Timer_server_Body+0x9c>         <== NEVER TAKEN
 2017044:	92 02 20 10 	add  %o0, 0x10, %o1                            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 2017048:	40 00 12 bb 	call  201bb34 <_Watchdog_Insert>               
 201704c:	90 10 00 13 	mov  %l3, %o0                                  
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 2017050:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 2017054:	40 00 02 a3 	call  2017ae0 <_Chain_Get>                     
 2017058:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 201705c:	80 a2 20 00 	cmp  %o0, 0                                    
 2017060:	32 bf ff f5 	bne,a   2017034 <_Timer_server_Body+0xb8>      <== NEVER TAKEN
 2017064:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        <== NOT EXECUTED
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 2017068:	7f ff e0 f4 	call  200f438 <sparc_disable_interrupts>       
 201706c:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 2017070:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2017074:	80 a5 00 01 	cmp  %l4, %g1                                  
 2017078:	02 80 00 1d 	be  20170ec <_Timer_server_Body+0x170>         <== ALWAYS TAKEN
 201707c:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 2017080:	7f ff e0 f2 	call  200f448 <sparc_enable_interrupts>        <== NOT EXECUTED
 2017084:	01 00 00 00 	nop                                            <== NOT EXECUTED
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2017088:	c2 05 80 00 	ld  [ %l6 ], %g1                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 201708c:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        <== NOT EXECUTED
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2017090:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 2017094:	92 20 40 09 	sub  %g1, %o1, %o1                             <== NOT EXECUTED
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2017098:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        <== NOT EXECUTED
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 201709c:	40 00 12 70 	call  201ba5c <_Watchdog_Adjust_to_chain>      <== NOT EXECUTED
 20170a0:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 20170a4:	d2 06 20 74 	ld  [ %i0 + 0x74 ], %o1                        <== NOT EXECUTED
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 20170a8:	e0 05 40 00 	ld  [ %l5 ], %l0                               <== NOT EXECUTED
  /*                                                                  
   *  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 ) {                                   
 20170ac:	80 a4 00 09 	cmp  %l0, %o1                                  <== NOT EXECUTED
 20170b0:	08 bf ff d7 	bleu  201700c <_Timer_server_Body+0x90>        <== NOT EXECUTED
 20170b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
    /*                                                                
     *  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 );
 20170b8:	92 24 00 09 	sub  %l0, %o1, %o1                             <== NOT EXECUTED
 20170bc:	90 10 00 13 	mov  %l3, %o0                                  
 20170c0:	40 00 12 67 	call  201ba5c <_Watchdog_Adjust_to_chain>      
 20170c4:	94 10 00 12 	mov  %l2, %o2                                  
 20170c8:	30 bf ff d3 	b,a   2017014 <_Timer_server_Body+0x98>        
     /*                                                               
      *  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 ); 
 20170cc:	90 10 00 13 	mov  %l3, %o0                                  
 20170d0:	40 00 12 33 	call  201b99c <_Watchdog_Adjust>               
 20170d4:	92 10 20 01 	mov  1, %o1                                    
 20170d8:	30 bf ff cf 	b,a   2017014 <_Timer_server_Body+0x98>        
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 20170dc:	92 02 20 10 	add  %o0, 0x10, %o1                            
 20170e0:	40 00 12 95 	call  201bb34 <_Watchdog_Insert>               
 20170e4:	90 10 00 11 	mov  %l1, %o0                                  
 20170e8:	30 bf ff cc 	b,a   2017018 <_Timer_server_Body+0x9c>        
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
 20170ec:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 20170f0:	7f ff e0 d6 	call  200f448 <sparc_enable_interrupts>        
 20170f4:	01 00 00 00 	nop                                            
  _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 ) ) {                          
 20170f8:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 20170fc:	80 a5 c0 01 	cmp  %l7, %g1                                  
 2017100:	12 80 00 0c 	bne  2017130 <_Timer_server_Body+0x1b4>        
 2017104:	01 00 00 00 	nop                                            
 2017108:	30 80 00 13 	b,a   2017154 <_Timer_server_Body+0x1d8>       
         *  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;                        
 201710c:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  the_chain->first    = new_first;                                    
 2017110:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         
  new_first->previous = _Chain_Head(the_chain);                       
 2017114:	e4 20 60 04 	st  %l2, [ %g1 + 4 ]                           
          _ISR_Enable( level );                                       
 2017118:	7f ff e0 cc 	call  200f448 <sparc_enable_interrupts>        
 201711c:	01 00 00 00 	nop                                            
        /*                                                            
         *  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 );    
 2017120:	d2 04 20 24 	ld  [ %l0 + 0x24 ], %o1                        
 2017124:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 2017128:	9f c0 40 00 	call  %g1                                      
 201712c:	d0 04 20 20 	ld  [ %l0 + 0x20 ], %o0                        
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 2017130:	7f ff e0 c2 	call  200f438 <sparc_disable_interrupts>       
 2017134:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 2017138:	e0 07 bf e8 	ld  [ %fp + -24 ], %l0                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 201713c:	80 a5 c0 10 	cmp  %l7, %l0                                  
 2017140:	32 bf ff f3 	bne,a   201710c <_Timer_server_Body+0x190>     
 2017144:	c2 04 00 00 	ld  [ %l0 ], %g1                               
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 2017148:	7f ff e0 c0 	call  200f448 <sparc_enable_interrupts>        
 201714c:	01 00 00 00 	nop                                            
 2017150:	30 bf ff a1 	b,a   2016fd4 <_Timer_server_Body+0x58>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 2017154:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
 2017158:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 201715c:	82 00 60 01 	inc  %g1                                       
 2017160:	c2 27 00 00 	st  %g1, [ %i4 ]                               
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 2017164:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2017168:	40 00 0f 55 	call  201aebc <_Thread_Set_state>              
 201716c:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 2017170:	7f ff ff 59 	call  2016ed4 <_Timer_server_Reset_interval_system_watchdog>
 2017174:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 2017178:	7f ff ff 6c 	call  2016f28 <_Timer_server_Reset_tod_system_watchdog>
 201717c:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 2017180:	40 00 0c 4d 	call  201a2b4 <_Thread_Enable_dispatch>        
 2017184:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2017188:	90 10 00 19 	mov  %i1, %o0                                  
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
 201718c:	f6 2e 20 7c 	stb  %i3, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2017190:	40 00 12 d2 	call  201bcd8 <_Watchdog_Remove>               
 2017194:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2017198:	40 00 12 d0 	call  201bcd8 <_Watchdog_Remove>               
 201719c:	90 10 00 1a 	mov  %i2, %o0                                  
 20171a0:	30 bf ff 8d 	b,a   2016fd4 <_Timer_server_Body+0x58>        
                                                                      

02009eb4 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
 2009eb4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009eb8:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009ebc:	a2 14 61 d8 	or  %l1, 0x1d8, %l1	! 201f5d8 <_User_extensions_List>
 2009ec0:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 2009ec4:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009ec8:	02 80 00 0d 	be  2009efc <_User_extensions_Fatal+0x48>      <== NEVER TAKEN
 2009ecc:	b2 0e 60 ff 	and  %i1, 0xff, %i1                            
        !_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 )                      
 2009ed0:	c2 04 20 30 	ld  [ %l0 + 0x30 ], %g1                        
 2009ed4:	80 a0 60 00 	cmp  %g1, 0                                    
 2009ed8:	02 80 00 05 	be  2009eec <_User_extensions_Fatal+0x38>      
 2009edc:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
 2009ee0:	92 10 00 19 	mov  %i1, %o1                                  
 2009ee4:	9f c0 40 00 	call  %g1                                      
 2009ee8:	94 10 00 1a 	mov  %i2, %o2                                  
  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 ) {                             
 2009eec:	e0 04 20 04 	ld  [ %l0 + 4 ], %l0                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009ef0:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009ef4:	32 bf ff f8 	bne,a   2009ed4 <_User_extensions_Fatal+0x20>  
 2009ef8:	c2 04 20 30 	ld  [ %l0 + 0x30 ], %g1                        
 2009efc:	81 c7 e0 08 	ret                                            
 2009f00:	81 e8 00 00 	restore                                        
                                                                      

02009d60 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
 2009d60:	9d e3 bf a0 	save  %sp, -96, %sp                            
  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;  
 2009d64:	07 00 80 7a 	sethi  %hi(0x201e800), %g3                     
 2009d68:	86 10 e0 68 	or  %g3, 0x68, %g3	! 201e868 <Configuration>   
  initial_extensions   = Configuration.User_extension_table;          
 2009d6c:	e6 00 e0 3c 	ld  [ %g3 + 0x3c ], %l3                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2009d70:	1b 00 80 7d 	sethi  %hi(0x201f400), %o5                     
 2009d74:	09 00 80 7c 	sethi  %hi(0x201f000), %g4                     
 2009d78:	84 13 61 d8 	or  %o5, 0x1d8, %g2                            
 2009d7c:	82 11 23 a4 	or  %g4, 0x3a4, %g1                            
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2009d80:	c4 20 a0 08 	st  %g2, [ %g2 + 8 ]                           
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 2009d84:	c0 20 a0 04 	clr  [ %g2 + 4 ]                               
  the_chain->last           = _Chain_Head(the_chain);                 
 2009d88:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 2009d8c:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2009d90:	84 00 a0 04 	add  %g2, 4, %g2                               
 2009d94:	82 00 60 04 	add  %g1, 4, %g1                               
 2009d98:	c4 23 61 d8 	st  %g2, [ %o5 + 0x1d8 ]                       
 2009d9c:	c2 21 23 a4 	st  %g1, [ %g4 + 0x3a4 ]                       
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
 2009da0:	80 a4 e0 00 	cmp  %l3, 0                                    
 2009da4:	02 80 00 1b 	be  2009e10 <_User_extensions_Handler_initialization+0xb0>
 2009da8:	e4 00 e0 38 	ld  [ %g3 + 0x38 ], %l2                        
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
 2009dac:	83 2c a0 02 	sll  %l2, 2, %g1                               
 2009db0:	a3 2c a0 04 	sll  %l2, 4, %l1                               
 2009db4:	a2 24 40 01 	sub  %l1, %g1, %l1                             
 2009db8:	a2 04 40 12 	add  %l1, %l2, %l1                             
 2009dbc:	a3 2c 60 02 	sll  %l1, 2, %l1                               
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 2009dc0:	40 00 01 6f 	call  200a37c <_Workspace_Allocate_or_fatal_error>
 2009dc4:	90 10 00 11 	mov  %l1, %o0                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 2009dc8:	94 10 00 11 	mov  %l1, %o2                                  
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 2009dcc:	a0 10 00 08 	mov  %o0, %l0                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 2009dd0:	40 00 21 86 	call  20123e8 <memset>                         
 2009dd4:	92 10 20 00 	clr  %o1                                       
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 2009dd8:	80 a4 a0 00 	cmp  %l2, 0                                    
 2009ddc:	02 80 00 0d 	be  2009e10 <_User_extensions_Handler_initialization+0xb0><== NEVER TAKEN
 2009de0:	a2 10 20 00 	clr  %l1                                       
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 2009de4:	93 2c 60 05 	sll  %l1, 5, %o1                               
 2009de8:	94 10 20 20 	mov  0x20, %o2                                 
 2009dec:	92 04 c0 09 	add  %l3, %o1, %o1                             
 2009df0:	40 00 21 3f 	call  20122ec <memcpy>                         
 2009df4:	90 04 20 14 	add  %l0, 0x14, %o0                            
                                                                      
  _User_extensions_Add_set( extension );                              
 2009df8:	40 00 13 9b 	call  200ec64 <_User_extensions_Add_set>       
 2009dfc:	90 10 00 10 	mov  %l0, %o0                                  
 2009e00:	a2 04 60 01 	inc  %l1                                       
 2009e04:	80 a4 80 11 	cmp  %l2, %l1                                  
 2009e08:	18 bf ff f7 	bgu  2009de4 <_User_extensions_Handler_initialization+0x84>
 2009e0c:	a0 04 20 34 	add  %l0, 0x34, %l0                            
 2009e10:	81 c7 e0 08 	ret                                            
 2009e14:	81 e8 00 00 	restore                                        
                                                                      

02009e18 <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
 2009e18:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009e1c:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009e20:	e0 04 61 d8 	ld  [ %l1 + 0x1d8 ], %l0	! 201f5d8 <_User_extensions_List>
 2009e24:	a2 14 61 d8 	or  %l1, 0x1d8, %l1                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2009e28:	a2 04 60 04 	add  %l1, 4, %l1                               
 2009e2c:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009e30:	02 80 00 0c 	be  2009e60 <_User_extensions_Thread_begin+0x48><== NEVER TAKEN
 2009e34:	01 00 00 00 	nop                                            
        !_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 )               
 2009e38:	c2 04 20 28 	ld  [ %l0 + 0x28 ], %g1                        
 2009e3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009e40:	02 80 00 04 	be  2009e50 <_User_extensions_Thread_begin+0x38>
 2009e44:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.thread_begin)( executing );           
 2009e48:	9f c0 40 00 	call  %g1                                      
 2009e4c:	01 00 00 00 	nop                                            
  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 ) {                                 
 2009e50:	e0 04 00 00 	ld  [ %l0 ], %l0                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009e54:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009e58:	32 bf ff f9 	bne,a   2009e3c <_User_extensions_Thread_begin+0x24>
 2009e5c:	c2 04 20 28 	ld  [ %l0 + 0x28 ], %g1                        
 2009e60:	81 c7 e0 08 	ret                                            
 2009e64:	81 e8 00 00 	restore                                        
                                                                      

02009f04 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
 2009f04:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009f08:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009f0c:	e0 04 61 d8 	ld  [ %l1 + 0x1d8 ], %l0	! 201f5d8 <_User_extensions_List>
 2009f10:	a2 14 61 d8 	or  %l1, 0x1d8, %l1                            
 2009f14:	a2 04 60 04 	add  %l1, 4, %l1                               
 2009f18:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009f1c:	02 80 00 10 	be  2009f5c <_User_extensions_Thread_create+0x58><== NEVER TAKEN
 2009f20:	25 00 80 7d 	sethi  %hi(0x201f400), %l2                     
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
      status = (*the_extension->Callouts.thread_create)(              
 2009f24:	a4 14 a0 60 	or  %l2, 0x60, %l2	! 201f460 <_Thread_Executing>
        !_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 ) {            
 2009f28:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2009f2c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009f30:	02 80 00 07 	be  2009f4c <_User_extensions_Thread_create+0x48>
 2009f34:	92 10 00 18 	mov  %i0, %o1                                  
      status = (*the_extension->Callouts.thread_create)(              
 2009f38:	9f c0 40 00 	call  %g1                                      
 2009f3c:	d0 04 80 00 	ld  [ %l2 ], %o0                               
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
 2009f40:	80 8a 20 ff 	btst  0xff, %o0                                
 2009f44:	02 80 00 08 	be  2009f64 <_User_extensions_Thread_create+0x60>
 2009f48:	01 00 00 00 	nop                                            
  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 ) {                                 
 2009f4c:	e0 04 00 00 	ld  [ %l0 ], %l0                               
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009f50:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009f54:	32 bf ff f6 	bne,a   2009f2c <_User_extensions_Thread_create+0x28>
 2009f58:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2009f5c:	81 c7 e0 08 	ret                                            
 2009f60:	91 e8 20 01 	restore  %g0, 1, %o0                           
    if ( the_extension->Callouts.thread_create != NULL ) {            
      status = (*the_extension->Callouts.thread_create)(              
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
 2009f64:	81 c7 e0 08 	ret                                            
 2009f68:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02009f6c <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
 2009f6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009f70:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009f74:	a2 14 61 d8 	or  %l1, 0x1d8, %l1	! 201f5d8 <_User_extensions_List>
 2009f78:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 2009f7c:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009f80:	02 80 00 0d 	be  2009fb4 <_User_extensions_Thread_delete+0x48><== NEVER TAKEN
 2009f84:	25 00 80 7d 	sethi  %hi(0x201f400), %l2                     
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
      (*the_extension->Callouts.thread_delete)(                       
 2009f88:	a4 14 a0 60 	or  %l2, 0x60, %l2	! 201f460 <_Thread_Executing>
        !_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 )              
 2009f8c:	c2 04 20 20 	ld  [ %l0 + 0x20 ], %g1                        
 2009f90:	80 a0 60 00 	cmp  %g1, 0                                    
 2009f94:	02 80 00 04 	be  2009fa4 <_User_extensions_Thread_delete+0x38>
 2009f98:	92 10 00 18 	mov  %i0, %o1                                  
      (*the_extension->Callouts.thread_delete)(                       
 2009f9c:	9f c0 40 00 	call  %g1                                      
 2009fa0:	d0 04 80 00 	ld  [ %l2 ], %o0                               
  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 ) {                             
 2009fa4:	e0 04 20 04 	ld  [ %l0 + 4 ], %l0                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009fa8:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009fac:	32 bf ff f9 	bne,a   2009f90 <_User_extensions_Thread_delete+0x24>
 2009fb0:	c2 04 20 20 	ld  [ %l0 + 0x20 ], %g1                        
 2009fb4:	81 c7 e0 08 	ret                                            
 2009fb8:	81 e8 00 00 	restore                                        
                                                                      

02009e68 <_User_extensions_Thread_exitted>: } void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
 2009e68:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009e6c:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009e70:	a2 14 61 d8 	or  %l1, 0x1d8, %l1	! 201f5d8 <_User_extensions_List>
 2009e74:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 2009e78:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009e7c:	02 80 00 0c 	be  2009eac <_User_extensions_Thread_exitted+0x44><== NEVER TAKEN
 2009e80:	01 00 00 00 	nop                                            
        !_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 )             
 2009e84:	c2 04 20 2c 	ld  [ %l0 + 0x2c ], %g1                        
 2009e88:	80 a0 60 00 	cmp  %g1, 0                                    
 2009e8c:	02 80 00 04 	be  2009e9c <_User_extensions_Thread_exitted+0x34>
 2009e90:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.thread_exitted)( executing );         
 2009e94:	9f c0 40 00 	call  %g1                                      
 2009e98:	01 00 00 00 	nop                                            
  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 ) {                             
 2009e9c:	e0 04 20 04 	ld  [ %l0 + 4 ], %l0                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
 2009ea0:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009ea4:	32 bf ff f9 	bne,a   2009e88 <_User_extensions_Thread_exitted+0x20>
 2009ea8:	c2 04 20 2c 	ld  [ %l0 + 0x2c ], %g1                        
 2009eac:	81 c7 e0 08 	ret                                            
 2009eb0:	81 e8 00 00 	restore                                        
                                                                      

0200acc4 <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
 200acc4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 200acc8:	23 00 80 8f 	sethi  %hi(0x2023c00), %l1                     
 200accc:	e0 04 63 78 	ld  [ %l1 + 0x378 ], %l0	! 2023f78 <_User_extensions_List>
 200acd0:	a2 14 63 78 	or  %l1, 0x378, %l1                            
 200acd4:	a2 04 60 04 	add  %l1, 4, %l1                               
 200acd8:	80 a4 00 11 	cmp  %l0, %l1                                  
 200acdc:	02 80 00 0d 	be  200ad10 <_User_extensions_Thread_restart+0x4c><== NEVER TAKEN
 200ace0:	25 00 80 8f 	sethi  %hi(0x2023c00), %l2                     
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
      (*the_extension->Callouts.thread_restart)(                      
 200ace4:	a4 14 a2 00 	or  %l2, 0x200, %l2	! 2023e00 <_Thread_Executing>
        !_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 )             
 200ace8:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 200acec:	80 a0 60 00 	cmp  %g1, 0                                    
 200acf0:	02 80 00 04 	be  200ad00 <_User_extensions_Thread_restart+0x3c>
 200acf4:	92 10 00 18 	mov  %i0, %o1                                  
      (*the_extension->Callouts.thread_restart)(                      
 200acf8:	9f c0 40 00 	call  %g1                                      
 200acfc:	d0 04 80 00 	ld  [ %l2 ], %o0                               
  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 ) {                                 
 200ad00:	e0 04 00 00 	ld  [ %l0 ], %l0                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 200ad04:	80 a4 00 11 	cmp  %l0, %l1                                  
 200ad08:	32 bf ff f9 	bne,a   200acec <_User_extensions_Thread_restart+0x28>
 200ad0c:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 200ad10:	81 c7 e0 08 	ret                                            
 200ad14:	81 e8 00 00 	restore                                        
                                                                      

02009fbc <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
 2009fbc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009fc0:	23 00 80 7d 	sethi  %hi(0x201f400), %l1                     
 2009fc4:	e0 04 61 d8 	ld  [ %l1 + 0x1d8 ], %l0	! 201f5d8 <_User_extensions_List>
 2009fc8:	a2 14 61 d8 	or  %l1, 0x1d8, %l1                            
 2009fcc:	a2 04 60 04 	add  %l1, 4, %l1                               
 2009fd0:	80 a4 00 11 	cmp  %l0, %l1                                  
 2009fd4:	02 80 00 0d 	be  200a008 <_User_extensions_Thread_start+0x4c><== NEVER TAKEN
 2009fd8:	25 00 80 7d 	sethi  %hi(0x201f400), %l2                     
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
      (*the_extension->Callouts.thread_start)(                        
 2009fdc:	a4 14 a0 60 	or  %l2, 0x60, %l2	! 201f460 <_Thread_Executing>
        !_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 )               
 2009fe0:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
 2009fe4:	80 a0 60 00 	cmp  %g1, 0                                    
 2009fe8:	02 80 00 04 	be  2009ff8 <_User_extensions_Thread_start+0x3c>
 2009fec:	92 10 00 18 	mov  %i0, %o1                                  
      (*the_extension->Callouts.thread_start)(                        
 2009ff0:	9f c0 40 00 	call  %g1                                      
 2009ff4:	d0 04 80 00 	ld  [ %l2 ], %o0                               
  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 ) {                                 
 2009ff8:	e0 04 00 00 	ld  [ %l0 ], %l0                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.first ;                      
 2009ffc:	80 a4 00 11 	cmp  %l0, %l1                                  
 200a000:	32 bf ff f9 	bne,a   2009fe4 <_User_extensions_Thread_start+0x28>
 200a004:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
 200a008:	81 c7 e0 08 	ret                                            
 200a00c:	81 e8 00 00 	restore                                        
                                                                      

0200a010 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
 200a010:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
 200a014:	23 00 80 7c 	sethi  %hi(0x201f000), %l1                     
 200a018:	e0 04 63 a4 	ld  [ %l1 + 0x3a4 ], %l0	! 201f3a4 <_User_extensions_Switches_list>
 200a01c:	a2 14 63 a4 	or  %l1, 0x3a4, %l1                            
 200a020:	a2 04 60 04 	add  %l1, 4, %l1                               
 200a024:	80 a4 00 11 	cmp  %l0, %l1                                  
 200a028:	02 80 00 0a 	be  200a050 <_User_extensions_Thread_switch+0x40><== NEVER TAKEN
 200a02c:	01 00 00 00 	nop                                            
        !_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 );        
 200a030:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 200a034:	90 10 00 18 	mov  %i0, %o0                                  
 200a038:	9f c0 40 00 	call  %g1                                      
 200a03c:	92 10 00 19 	mov  %i1, %o1                                  
  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 ) {                                 
 200a040:	e0 04 00 00 	ld  [ %l0 ], %l0                               
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _User_extensions_Switches_list.first ;             
 200a044:	80 a4 00 11 	cmp  %l0, %l1                                  
 200a048:	32 bf ff fb 	bne,a   200a034 <_User_extensions_Thread_switch+0x24>
 200a04c:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 200a050:	81 c7 e0 08 	ret                                            
 200a054:	81 e8 00 00 	restore                                        
                                                                      

0200c2a4 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200c2a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200c2a8:	7f ff db 5c 	call  2003018 <sparc_disable_interrupts>       
 200c2ac:	a0 10 00 18 	mov  %i0, %l0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200c2b0:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200c2b4:	a2 06 20 04 	add  %i0, 4, %l1                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
 200c2b8:	80 a0 40 11 	cmp  %g1, %l1                                  
 200c2bc:	02 80 00 1f 	be  200c338 <_Watchdog_Adjust+0x94>            
 200c2c0:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200c2c4:	12 80 00 1f 	bne  200c340 <_Watchdog_Adjust+0x9c>           
 200c2c8:	80 a6 60 01 	cmp  %i1, 1                                    
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200c2cc:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c2d0:	02 80 00 1a 	be  200c338 <_Watchdog_Adjust+0x94>            <== NEVER TAKEN
 200c2d4:	01 00 00 00 	nop                                            
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200c2d8:	f2 00 60 10 	ld  [ %g1 + 0x10 ], %i1                        
 200c2dc:	80 a6 80 19 	cmp  %i2, %i1                                  
 200c2e0:	1a 80 00 0b 	bcc  200c30c <_Watchdog_Adjust+0x68>           <== ALWAYS TAKEN
 200c2e4:	a4 10 20 01 	mov  1, %l2                                    
            _Watchdog_First( header )->delta_interval -= units;       
 200c2e8:	10 80 00 1d 	b  200c35c <_Watchdog_Adjust+0xb8>             <== NOT EXECUTED
 200c2ec:	b4 26 40 1a 	sub  %i1, %i2, %i2                             <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200c2f0:	b4 a6 80 19 	subcc  %i2, %i1, %i2                           
 200c2f4:	02 80 00 11 	be  200c338 <_Watchdog_Adjust+0x94>            <== NEVER TAKEN
 200c2f8:	01 00 00 00 	nop                                            
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200c2fc:	f2 00 60 10 	ld  [ %g1 + 0x10 ], %i1                        
 200c300:	80 a6 40 1a 	cmp  %i1, %i2                                  
 200c304:	38 80 00 16 	bgu,a   200c35c <_Watchdog_Adjust+0xb8>        
 200c308:	b4 26 40 1a 	sub  %i1, %i2, %i2                             
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
 200c30c:	e4 20 60 10 	st  %l2, [ %g1 + 0x10 ]                        
                                                                      
            _ISR_Enable( level );                                     
 200c310:	7f ff db 46 	call  2003028 <sparc_enable_interrupts>        
 200c314:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200c318:	40 00 00 b2 	call  200c5e0 <_Watchdog_Tickle>               
 200c31c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200c320:	7f ff db 3e 	call  2003018 <sparc_disable_interrupts>       
 200c324:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200c328:	c4 04 00 00 	ld  [ %l0 ], %g2                               
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200c32c:	80 a4 40 02 	cmp  %l1, %g2                                  
 200c330:	12 bf ff f0 	bne  200c2f0 <_Watchdog_Adjust+0x4c>           
 200c334:	82 10 00 02 	mov  %g2, %g1                                  
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200c338:	7f ff db 3c 	call  2003028 <sparc_enable_interrupts>        
 200c33c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
 200c340:	12 bf ff fe 	bne  200c338 <_Watchdog_Adjust+0x94>           <== NEVER TAKEN
 200c344:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200c348:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200c34c:	b4 00 80 1a 	add  %g2, %i2, %i2                             
 200c350:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200c354:	7f ff db 35 	call  2003028 <sparc_enable_interrupts>        
 200c358:	91 e8 00 08 	restore  %g0, %o0, %o0                         
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
 200c35c:	10 bf ff f7 	b  200c338 <_Watchdog_Adjust+0x94>             
 200c360:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
                                                                      

0200a1fc <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 200a1fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 200a200:	7f ff df a9 	call  20020a4 <sparc_disable_interrupts>       
 200a204:	01 00 00 00 	nop                                            
  previous_state = the_watchdog->state;                               
 200a208:	e0 06 20 08 	ld  [ %i0 + 8 ], %l0                           
  switch ( previous_state ) {                                         
 200a20c:	80 a4 20 01 	cmp  %l0, 1                                    
 200a210:	02 80 00 2a 	be  200a2b8 <_Watchdog_Remove+0xbc>            
 200a214:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200a218:	1a 80 00 09 	bcc  200a23c <_Watchdog_Remove+0x40>           
 200a21c:	80 a4 20 03 	cmp  %l0, 3                                    
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200a220:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200a224:	c2 00 60 f4 	ld  [ %g1 + 0xf4 ], %g1	! 201f4f4 <_Watchdog_Ticks_since_boot>
 200a228:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200a22c:	7f ff df a2 	call  20020b4 <sparc_enable_interrupts>        
 200a230:	b0 10 00 10 	mov  %l0, %i0                                  
  return( previous_state );                                           
}                                                                     
 200a234:	81 c7 e0 08 	ret                                            
 200a238:	81 e8 00 00 	restore                                        
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
 200a23c:	18 bf ff fa 	bgu  200a224 <_Watchdog_Remove+0x28>           <== NEVER TAKEN
 200a240:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
 200a244:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 200a248:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 200a24c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200a250:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a254:	02 80 00 07 	be  200a270 <_Watchdog_Remove+0x74>            
 200a258:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 200a25c:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 200a260:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 200a264:	84 00 c0 02 	add  %g3, %g2, %g2                             
 200a268:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 200a26c:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 200a270:	c4 00 a0 f0 	ld  [ %g2 + 0xf0 ], %g2	! 201f4f0 <_Watchdog_Sync_count>
 200a274:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a278:	22 80 00 07 	be,a   200a294 <_Watchdog_Remove+0x98>         
 200a27c:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 200a280:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 200a284:	c6 00 a0 3c 	ld  [ %g2 + 0x3c ], %g3	! 201f43c <_ISR_Nest_level>
 200a288:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 200a28c:	c6 20 a0 5c 	st  %g3, [ %g2 + 0x5c ]	! 201f45c <_Watchdog_Sync_level>
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200a290:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
  next->previous = previous;                                          
  previous->next = next;                                              
 200a294:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200a298:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200a29c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200a2a0:	c2 00 60 f4 	ld  [ %g1 + 0xf4 ], %g1	! 201f4f4 <_Watchdog_Ticks_since_boot>
 200a2a4:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200a2a8:	7f ff df 83 	call  20020b4 <sparc_enable_interrupts>        
 200a2ac:	b0 10 00 10 	mov  %l0, %i0                                  
  return( previous_state );                                           
}                                                                     
 200a2b0:	81 c7 e0 08 	ret                                            
 200a2b4:	81 e8 00 00 	restore                                        
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200a2b8:	c2 00 60 f4 	ld  [ %g1 + 0xf4 ], %g1                        
                                                                      
      /*                                                              
       *  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;                        
 200a2bc:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200a2c0:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200a2c4:	7f ff df 7c 	call  20020b4 <sparc_enable_interrupts>        
 200a2c8:	b0 10 00 10 	mov  %l0, %i0                                  
  return( previous_state );                                           
}                                                                     
 200a2cc:	81 c7 e0 08 	ret                                            
 200a2d0:	81 e8 00 00 	restore                                        
                                                                      

0200ba50 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200ba50:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200ba54:	7f ff dc 38 	call  2002b34 <sparc_disable_interrupts>       
 200ba58:	a0 10 00 18 	mov  %i0, %l0                                  
 200ba5c:	b0 10 00 08 	mov  %o0, %i0                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200ba60:	11 00 80 8b 	sethi  %hi(0x2022c00), %o0                     
 200ba64:	94 10 00 19 	mov  %i1, %o2                                  
 200ba68:	90 12 23 e0 	or  %o0, 0x3e0, %o0                            
 200ba6c:	7f ff e4 07 	call  2004a88 <printk>                         
 200ba70:	92 10 00 10 	mov  %l0, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200ba74:	e2 06 40 00 	ld  [ %i1 ], %l1                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200ba78:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200ba7c:	80 a4 40 19 	cmp  %l1, %i1                                  
 200ba80:	02 80 00 0f 	be  200babc <_Watchdog_Report_chain+0x6c>      
 200ba84:	11 00 80 8c 	sethi  %hi(0x2023000), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200ba88:	92 10 00 11 	mov  %l1, %o1                                  
 200ba8c:	40 00 00 11 	call  200bad0 <_Watchdog_Report>               
 200ba90:	90 10 20 00 	clr  %o0                                       
  _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 )                                       
 200ba94:	e2 04 40 00 	ld  [ %l1 ], %l1                               
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
 200ba98:	80 a4 40 19 	cmp  %l1, %i1                                  
 200ba9c:	12 bf ff fc 	bne  200ba8c <_Watchdog_Report_chain+0x3c>     <== NEVER TAKEN
 200baa0:	92 10 00 11 	mov  %l1, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200baa4:	92 10 00 10 	mov  %l0, %o1                                  
 200baa8:	11 00 80 8b 	sethi  %hi(0x2022c00), %o0                     
 200baac:	7f ff e3 f7 	call  2004a88 <printk>                         
 200bab0:	90 12 23 f8 	or  %o0, 0x3f8, %o0	! 2022ff8 <_Status_Object_name_errors_to_status+0x30>
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
 200bab4:	7f ff dc 24 	call  2002b44 <sparc_enable_interrupts>        
 200bab8:	81 e8 00 00 	restore                                        
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200babc:	7f ff e3 f3 	call  2004a88 <printk>                         
 200bac0:	90 12 20 08 	or  %o0, 8, %o0                                
    }                                                                 
  _ISR_Enable( level );                                               
 200bac4:	7f ff dc 20 	call  2002b44 <sparc_enable_interrupts>        
 200bac8:	81 e8 00 00 	restore                                        
                                                                      

02006804 <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
 2006804:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
 2006808:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 200680c:	02 80 00 55 	be  2006960 <adjtime+0x15c>                    
 2006810:	03 00 03 d0 	sethi  %hi(0xf4000), %g1                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
 2006814:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
 2006818:	82 10 62 3f 	or  %g1, 0x23f, %g1                            
 200681c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006820:	18 80 00 50 	bgu  2006960 <adjtime+0x15c>                   
 2006824:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
 2006828:	22 80 00 06 	be,a   2006840 <adjtime+0x3c>                  
 200682c:	c2 04 00 00 	ld  [ %l0 ], %g1                               
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
 2006830:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 2006834:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
    olddelta->tv_sec  = 0;                                            
 2006838:	c0 26 40 00 	clr  [ %i1 ]                                   
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 200683c:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2006840:	07 00 80 80 	sethi  %hi(0x2020000), %g3                     
 2006844:	c8 00 e1 14 	ld  [ %g3 + 0x114 ], %g4	! 2020114 <Configuration+0xc>
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 2006848:	9b 28 60 08 	sll  %g1, 8, %o5                               
 200684c:	87 28 60 03 	sll  %g1, 3, %g3                               
 2006850:	86 23 40 03 	sub  %o5, %g3, %g3                             
 2006854:	9b 28 e0 06 	sll  %g3, 6, %o5                               
 2006858:	86 23 40 03 	sub  %o5, %g3, %g3                             
 200685c:	82 00 c0 01 	add  %g3, %g1, %g1                             
 2006860:	83 28 60 06 	sll  %g1, 6, %g1                               
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2006864:	84 00 80 01 	add  %g2, %g1, %g2                             
 2006868:	80 a0 80 04 	cmp  %g2, %g4                                  
 200686c:	1a 80 00 04 	bcc  200687c <adjtime+0x78>                    
 2006870:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
 2006874:	81 c7 e0 08 	ret                                            
 2006878:	91 e8 20 00 	restore  %g0, 0, %o0                           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 200687c:	c4 00 61 70 	ld  [ %g1 + 0x170 ], %g2                       
 2006880:	84 00 a0 01 	inc  %g2                                       
 2006884:	c4 20 61 70 	st  %g2, [ %g1 + 0x170 ]                       
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
 2006888:	a2 07 bf f8 	add  %fp, -8, %l1                              
 200688c:	40 00 06 81 	call  2008290 <_TOD_Get>                       
 2006890:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2006894:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 2006898:	c4 04 00 00 	ld  [ %l0 ], %g2                               
 200689c:	c8 07 bf f8 	ld  [ %fp + -8 ], %g4                          
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 20068a0:	87 28 60 02 	sll  %g1, 2, %g3                               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 20068a4:	84 01 00 02 	add  %g4, %g2, %g2                             
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 20068a8:	89 28 60 07 	sll  %g1, 7, %g4                               
 20068ac:	86 21 00 03 	sub  %g4, %g3, %g3                             
 20068b0:	82 00 c0 01 	add  %g3, %g1, %g1                             
 20068b4:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
 20068b8:	83 28 60 03 	sll  %g1, 3, %g1                               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 20068bc:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 20068c0:	82 00 40 03 	add  %g1, %g3, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 20068c4:	09 0e e6 b2 	sethi  %hi(0x3b9ac800), %g4                    
 20068c8:	88 11 21 ff 	or  %g4, 0x1ff, %g4	! 3b9ac9ff <RAM_END+0x395ac9ff>
 20068cc:	80 a0 40 04 	cmp  %g1, %g4                                  
 20068d0:	08 80 00 0a 	bleu  20068f8 <adjtime+0xf4>                   
 20068d4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
 20068d8:	07 31 19 4d 	sethi  %hi(0xc4653400), %g3                    
 20068dc:	86 10 e2 00 	or  %g3, 0x200, %g3	! c4653600 <RAM_END+0xc2253600>
 20068e0:	82 00 40 03 	add  %g1, %g3, %g1                             
                                                                      
    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 ) {              
 20068e4:	80 a0 40 04 	cmp  %g1, %g4                                  
 20068e8:	18 bf ff fe 	bgu  20068e0 <adjtime+0xdc>                    <== NEVER TAKEN
 20068ec:	84 00 a0 01 	inc  %g2                                       
 20068f0:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
 20068f4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
      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) ) {       
 20068f8:	09 31 19 4d 	sethi  %hi(0xc4653400), %g4                    
 20068fc:	88 11 22 00 	or  %g4, 0x200, %g4	! c4653600 <RAM_END+0xc2253600>
 2006900:	80 a0 40 04 	cmp  %g1, %g4                                  
 2006904:	18 80 00 0a 	bgu  200692c <adjtime+0x128>                   <== NEVER TAKEN
 2006908:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
 200690c:	07 0e e6 b2 	sethi  %hi(0x3b9ac800), %g3                    
 2006910:	86 10 e2 00 	or  %g3, 0x200, %g3	! 3b9aca00 <RAM_END+0x395aca00>
 2006914:	82 00 40 03 	add  %g1, %g3, %g1                             
      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) ) {       
 2006918:	80 a0 40 04 	cmp  %g1, %g4                                  
 200691c:	08 bf ff fe 	bleu  2006914 <adjtime+0x110>                  
 2006920:	84 00 bf ff 	add  %g2, -1, %g2                              
 2006924:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
 2006928:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
 200692c:	40 00 06 85 	call  2008340 <_TOD_Set>                       
 2006930:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  _Thread_Enable_dispatch();                                          
 2006934:	40 00 0b be 	call  200982c <_Thread_Enable_dispatch>        
 2006938:	01 00 00 00 	nop                                            
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
 200693c:	80 a6 60 00 	cmp  %i1, 0                                    
 2006940:	02 bf ff cd 	be  2006874 <adjtime+0x70>                     <== NEVER TAKEN
 2006944:	01 00 00 00 	nop                                            
    *olddelta = *delta;                                               
 2006948:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 200694c:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 2006950:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2006954:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
 2006958:	81 c7 e0 08 	ret                                            
 200695c:	91 e8 20 00 	restore  %g0, 0, %o0                           
   */                                                                 
  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 );                   
 2006960:	40 00 2f 8e 	call  2012798 <__errno>                        
 2006964:	b0 10 3f ff 	mov  -1, %i0                                   
 2006968:	82 10 20 16 	mov  0x16, %g1                                 
 200696c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006970:	81 c7 e0 08 	ret                                            
 2006974:	81 e8 00 00 	restore                                        
                                                                      

020067f0 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
 20067f0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 20067f4:	80 a6 60 00 	cmp  %i1, 0                                    
 20067f8:	02 80 00 20 	be  2006878 <clock_gettime+0x88>               
 20067fc:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2006800:	02 80 00 19 	be  2006864 <clock_gettime+0x74>               
 2006804:	80 a6 20 04 	cmp  %i0, 4                                    
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
 2006808:	02 80 00 12 	be  2006850 <clock_gettime+0x60>               <== NEVER TAKEN
 200680c:	80 a6 20 02 	cmp  %i0, 2                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
 2006810:	02 80 00 10 	be  2006850 <clock_gettime+0x60>               
 2006814:	80 a6 20 03 	cmp  %i0, 3                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
 2006818:	02 80 00 08 	be  2006838 <clock_gettime+0x48>               
 200681c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2006820:	40 00 31 45 	call  2012d34 <__errno>                        
 2006824:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2006828:	82 10 20 16 	mov  0x16, %g1                                 
 200682c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 2006830:	81 c7 e0 08 	ret                                            
 2006834:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 2006838:	40 00 31 3f 	call  2012d34 <__errno>                        
 200683c:	b0 10 3f ff 	mov  -1, %i0                                   
 2006840:	82 10 20 58 	mov  0x58, %g1                                 
 2006844:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006848:	81 c7 e0 08 	ret                                            
 200684c:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
    _TOD_Get_uptime_as_timespec( tp );                                
 2006850:	90 10 00 19 	mov  %i1, %o0                                  
 2006854:	40 00 08 69 	call  20089f8 <_TOD_Get_uptime_as_timespec>    
 2006858:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 200685c:	81 c7 e0 08 	ret                                            
 2006860:	81 e8 00 00 	restore                                        
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
 2006864:	90 10 00 19 	mov  %i1, %o0                                  
 2006868:	40 00 08 45 	call  200897c <_TOD_Get>                       
 200686c:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 2006870:	81 c7 e0 08 	ret                                            
 2006874:	81 e8 00 00 	restore                                        
  clockid_t        clock_id,                                          
  struct timespec *tp                                                 
)                                                                     
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2006878:	40 00 31 2f 	call  2012d34 <__errno>                        
 200687c:	b0 10 3f ff 	mov  -1, %i0                                   
 2006880:	82 10 20 16 	mov  0x16, %g1                                 
 2006884:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006888:	81 c7 e0 08 	ret                                            
 200688c:	81 e8 00 00 	restore                                        
                                                                      

0202ee24 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
 202ee24:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 202ee28:	80 a6 60 00 	cmp  %i1, 0                                    
 202ee2c:	02 80 00 24 	be  202eebc <clock_settime+0x98>               <== NEVER TAKEN
 202ee30:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 202ee34:	02 80 00 0c 	be  202ee64 <clock_settime+0x40>               
 202ee38:	80 a6 20 02 	cmp  %i0, 2                                    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
 202ee3c:	02 80 00 1a 	be  202eea4 <clock_settime+0x80>               
 202ee40:	80 a6 20 03 	cmp  %i0, 3                                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
 202ee44:	02 80 00 18 	be  202eea4 <clock_settime+0x80>               
 202ee48:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 202ee4c:	40 00 6d 8d 	call  204a480 <__errno>                        
 202ee50:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 202ee54:	82 10 20 16 	mov  0x16, %g1                                 
 202ee58:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 202ee5c:	81 c7 e0 08 	ret                                            
 202ee60:	81 e8 00 00 	restore                                        
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
 202ee64:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 202ee68:	03 08 76 b9 	sethi  %hi(0x21dae400), %g1                    
 202ee6c:	82 10 60 ff 	or  %g1, 0xff, %g1	! 21dae4ff <RAM_END+0x1f9ae4ff>
 202ee70:	80 a0 80 01 	cmp  %g2, %g1                                  
 202ee74:	08 80 00 12 	bleu  202eebc <clock_settime+0x98>             
 202ee78:	03 00 81 d3 	sethi  %hi(0x2074c00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 202ee7c:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2	! 2074e40 <_Thread_Dispatch_disable_level>
 202ee80:	84 00 a0 01 	inc  %g2                                       
 202ee84:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
 202ee88:	90 10 00 19 	mov  %i1, %o0                                  
 202ee8c:	40 00 06 85 	call  20308a0 <_TOD_Set>                       
 202ee90:	b0 10 20 00 	clr  %i0                                       
    _Thread_Enable_dispatch();                                        
 202ee94:	7f ff 84 59 	call  200fff8 <_Thread_Enable_dispatch>        
 202ee98:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
 202ee9c:	81 c7 e0 08 	ret                                            
 202eea0:	81 e8 00 00 	restore                                        
  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 );                   
 202eea4:	40 00 6d 77 	call  204a480 <__errno>                        
 202eea8:	b0 10 3f ff 	mov  -1, %i0                                   
 202eeac:	82 10 20 58 	mov  0x58, %g1                                 
 202eeb0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202eeb4:	81 c7 e0 08 	ret                                            
 202eeb8:	81 e8 00 00 	restore                                        
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 202eebc:	40 00 6d 71 	call  204a480 <__errno>                        
 202eec0:	b0 10 3f ff 	mov  -1, %i0                                   
 202eec4:	82 10 20 16 	mov  0x16, %g1                                 
 202eec8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202eecc:	81 c7 e0 08 	ret                                            
 202eed0:	81 e8 00 00 	restore                                        
                                                                      

020109f4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
 20109f4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
 20109f8:	7f ff f0 54 	call  200cb48 <getpid>                         
 20109fc:	01 00 00 00 	nop                                            
 2010a00:	80 a2 00 18 	cmp  %o0, %i0                                  
 2010a04:	12 80 00 b6 	bne  2010cdc <killinfo+0x2e8>                  <== NEVER TAKEN
 2010a08:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
 2010a0c:	02 80 00 ba 	be  2010cf4 <killinfo+0x300>                   <== NEVER TAKEN
 2010a10:	82 06 7f ff 	add  %i1, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 2010a14:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2010a18:	18 80 00 b7 	bgu  2010cf4 <killinfo+0x300>                  <== NEVER TAKEN
 2010a1c:	23 00 80 7e 	sethi  %hi(0x201f800), %l1                     
    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 )          
 2010a20:	a5 2e 60 02 	sll  %i1, 2, %l2                               
 2010a24:	a2 14 61 28 	or  %l1, 0x128, %l1                            
 2010a28:	a7 2e 60 04 	sll  %i1, 4, %l3                               
 2010a2c:	84 24 c0 12 	sub  %l3, %l2, %g2                             
 2010a30:	84 04 40 02 	add  %l1, %g2, %g2                             
 2010a34:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 2010a38:	80 a0 a0 01 	cmp  %g2, 1                                    
 2010a3c:	02 80 00 45 	be  2010b50 <killinfo+0x15c>                   
 2010a40:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  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 ) )      
 2010a44:	80 a6 60 04 	cmp  %i1, 4                                    
 2010a48:	02 80 00 44 	be  2010b58 <killinfo+0x164>                   
 2010a4c:	80 a6 60 08 	cmp  %i1, 8                                    
 2010a50:	02 80 00 42 	be  2010b58 <killinfo+0x164>                   
 2010a54:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 2010a58:	02 80 00 40 	be  2010b58 <killinfo+0x164>                   
 2010a5c:	a0 10 20 01 	mov  1, %l0                                    
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
 2010a60:	f2 27 bf f4 	st  %i1, [ %fp + -12 ]                         
  siginfo->si_code = SI_USER;                                         
 2010a64:	e0 27 bf f8 	st  %l0, [ %fp + -8 ]                          
  if ( !value ) {                                                     
 2010a68:	80 a6 a0 00 	cmp  %i2, 0                                    
 2010a6c:	02 80 00 41 	be  2010b70 <killinfo+0x17c>                   
 2010a70:	a1 2c 00 01 	sll  %l0, %g1, %l0                             
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
 2010a74:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2010a78:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2010a7c:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2010a80:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
 2010a84:	84 00 a0 01 	inc  %g2                                       
 2010a88:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
                                                                      
  /*                                                                  
   *  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;                                     
 2010a8c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2010a90:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2010a94:	c4 00 61 6c 	ld  [ %g1 + 0x16c ], %g2                       
 2010a98:	c4 00 a0 cc 	ld  [ %g2 + 0xcc ], %g2                        
 2010a9c:	80 ac 00 02 	andncc  %l0, %g2, %g0                          
 2010aa0:	12 80 00 1a 	bne  2010b08 <killinfo+0x114>                  
 2010aa4:	09 00 80 7e 	sethi  %hi(0x201f800), %g4                     
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
 2010aa8:	c4 01 22 b4 	ld  [ %g4 + 0x2b4 ], %g2	! 201fab4 <_POSIX_signals_Wait_queue>
 2010aac:	88 11 22 b4 	or  %g4, 0x2b4, %g4                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2010ab0:	88 01 20 04 	add  %g4, 4, %g4                               
 2010ab4:	80 a0 80 04 	cmp  %g2, %g4                                  
 2010ab8:	02 80 00 30 	be  2010b78 <killinfo+0x184>                   
 2010abc:	82 10 00 02 	mov  %g2, %g1                                  
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 2010ac0:	c6 00 a0 30 	ld  [ %g2 + 0x30 ], %g3                        
 2010ac4:	80 8c 00 03 	btst  %l0, %g3                                 
 2010ac8:	02 80 00 0c 	be  2010af8 <killinfo+0x104>                   
 2010acc:	c6 00 a1 6c 	ld  [ %g2 + 0x16c ], %g3                       
   *  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;                   
 2010ad0:	10 80 00 0f 	b  2010b0c <killinfo+0x118>                    
 2010ad4:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
 2010ad8:	80 a0 80 04 	cmp  %g2, %g4                                  
 2010adc:	22 80 00 28 	be,a   2010b7c <killinfo+0x188>                <== ALWAYS TAKEN
 2010ae0:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 2010ae4:	c2 00 a0 30 	ld  [ %g2 + 0x30 ], %g1                        <== NOT EXECUTED
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
 2010ae8:	c6 00 a1 6c 	ld  [ %g2 + 0x16c ], %g3                       <== NOT EXECUTED
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 2010aec:	80 8c 00 01 	btst  %l0, %g1                                 <== NOT EXECUTED
 2010af0:	12 80 00 06 	bne  2010b08 <killinfo+0x114>                  <== NOT EXECUTED
 2010af4:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
 2010af8:	c6 00 e0 cc 	ld  [ %g3 + 0xcc ], %g3                        
 2010afc:	80 ac 00 03 	andncc  %l0, %g3, %g0                          
 2010b00:	22 bf ff f6 	be,a   2010ad8 <killinfo+0xe4>                 
 2010b04:	c4 00 80 00 	ld  [ %g2 ], %g2                               
   *  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;                   
 2010b08:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  /*                                                                  
   *  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 ) ) {  
 2010b0c:	90 10 00 01 	mov  %g1, %o0                                  
 2010b10:	92 10 00 19 	mov  %i1, %o1                                  
   *  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;                   
 2010b14:	c4 28 60 74 	stb  %g2, [ %g1 + 0x74 ]                       
                                                                      
  /*                                                                  
   *  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 ) ) {  
 2010b18:	40 00 01 10 	call  2010f58 <_POSIX_signals_Unblock_thread>  
 2010b1c:	94 07 bf f4 	add  %fp, -12, %o2                             
 2010b20:	80 8a 20 ff 	btst  0xff, %o0                                
 2010b24:	12 80 00 5a 	bne  2010c8c <killinfo+0x298>                  
 2010b28:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  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 );                         
 2010b2c:	40 00 00 fb 	call  2010f18 <_POSIX_signals_Set_process_signals>
 2010b30:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
 2010b34:	a4 24 c0 12 	sub  %l3, %l2, %l2                             
 2010b38:	c2 04 40 12 	ld  [ %l1 + %l2 ], %g1                         
 2010b3c:	80 a0 60 02 	cmp  %g1, 2                                    
 2010b40:	02 80 00 57 	be  2010c9c <killinfo+0x2a8>                   
 2010b44:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
 2010b48:	7f ff e0 96 	call  2008da0 <_Thread_Enable_dispatch>        
 2010b4c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2010b50:	81 c7 e0 08 	ret                                            
 2010b54:	81 e8 00 00 	restore                                        
   *  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 );                     
 2010b58:	40 00 01 d8 	call  20112b8 <pthread_self>                   
 2010b5c:	01 00 00 00 	nop                                            
 2010b60:	40 00 01 9b 	call  20111cc <pthread_kill>                   
 2010b64:	92 10 00 19 	mov  %i1, %o1                                  
 2010b68:	81 c7 e0 08 	ret                                            
 2010b6c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
 2010b70:	10 bf ff c3 	b  2010a7c <killinfo+0x88>                     
 2010b74:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 2010b78:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2010b7c:	da 08 60 64 	ldub  [ %g1 + 0x64 ], %o5	! 201e864 <rtems_maximum_priority>
 2010b80:	13 00 80 7c 	sethi  %hi(0x201f000), %o1                     
 2010b84:	9a 03 60 01 	inc  %o5                                       
 2010b88:	92 12 63 08 	or  %o1, 0x308, %o1                            
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 2010b8c:	82 10 20 00 	clr  %g1                                       
 2010b90:	90 02 60 0c 	add  %o1, 0xc, %o0                             
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 2010b94:	35 04 00 00 	sethi  %hi(0x10000000), %i2                    
  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 ] )                     
 2010b98:	c4 02 40 00 	ld  [ %o1 ], %g2                               
 2010b9c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2010ba0:	22 80 00 2d 	be,a   2010c54 <killinfo+0x260>                
 2010ba4:	92 02 60 04 	add  %o1, 4, %o1                               
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
 2010ba8:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
 2010bac:	d8 10 a0 10 	lduh  [ %g2 + 0x10 ], %o4                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 2010bb0:	80 a3 20 00 	cmp  %o4, 0                                    
 2010bb4:	02 80 00 27 	be  2010c50 <killinfo+0x25c>                   
 2010bb8:	d6 00 a0 1c 	ld  [ %g2 + 0x1c ], %o3                        
 2010bbc:	84 10 20 01 	mov  1, %g2                                    
      the_thread = (Thread_Control *) object_table[ index ];          
 2010bc0:	87 28 a0 02 	sll  %g2, 2, %g3                               
 2010bc4:	c6 02 c0 03 	ld  [ %o3 + %g3 ], %g3                         
                                                                      
      if ( !the_thread )                                              
 2010bc8:	80 a0 e0 00 	cmp  %g3, 0                                    
 2010bcc:	02 80 00 1e 	be  2010c44 <killinfo+0x250>                   
 2010bd0:	84 00 a0 01 	inc  %g2                                       
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
 2010bd4:	c8 00 e0 14 	ld  [ %g3 + 0x14 ], %g4                        
 2010bd8:	80 a1 00 0d 	cmp  %g4, %o5                                  
 2010bdc:	18 80 00 1b 	bgu  2010c48 <killinfo+0x254>                  
 2010be0:	80 a3 00 02 	cmp  %o4, %g2                                  
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 2010be4:	d4 00 e1 6c 	ld  [ %g3 + 0x16c ], %o2                       
 2010be8:	d4 02 a0 cc 	ld  [ %o2 + 0xcc ], %o2                        
 2010bec:	80 ac 00 0a 	andncc  %l0, %o2, %g0                          
 2010bf0:	02 80 00 16 	be  2010c48 <killinfo+0x254>                   
 2010bf4:	80 a3 00 02 	cmp  %o4, %g2                                  
       *                                                              
       *  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 ) {     
 2010bf8:	80 a1 00 0d 	cmp  %g4, %o5                                  
 2010bfc:	2a 80 00 11 	bcs,a   2010c40 <killinfo+0x24c>               
 2010c00:	9a 10 00 04 	mov  %g4, %o5                                  
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
 2010c04:	d4 00 60 10 	ld  [ %g1 + 0x10 ], %o2                        
 2010c08:	80 a2 a0 00 	cmp  %o2, 0                                    
 2010c0c:	02 80 00 0f 	be  2010c48 <killinfo+0x254>                   <== NEVER TAKEN
 2010c10:	80 a3 00 02 	cmp  %o4, %g2                                  
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 2010c14:	de 00 e0 10 	ld  [ %g3 + 0x10 ], %o7                        
 2010c18:	80 a3 e0 00 	cmp  %o7, 0                                    
 2010c1c:	22 80 00 09 	be,a   2010c40 <killinfo+0x24c>                
 2010c20:	9a 10 00 04 	mov  %g4, %o5                                  
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 2010c24:	80 8a 80 1a 	btst  %o2, %i2                                 
 2010c28:	12 80 00 08 	bne  2010c48 <killinfo+0x254>                  
 2010c2c:	80 a3 00 02 	cmp  %o4, %g2                                  
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
 2010c30:	80 8b c0 1a 	btst  %o7, %i2                                 
 2010c34:	02 80 00 05 	be  2010c48 <killinfo+0x254>                   
 2010c38:	80 a3 00 02 	cmp  %o4, %g2                                  
 2010c3c:	9a 10 00 04 	mov  %g4, %o5                                  
 2010c40:	82 10 00 03 	mov  %g3, %g1                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 2010c44:	80 a3 00 02 	cmp  %o4, %g2                                  
 2010c48:	1a bf ff df 	bcc  2010bc4 <killinfo+0x1d0>                  
 2010c4c:	87 28 a0 02 	sll  %g2, 2, %g3                               
 2010c50:	92 02 60 04 	add  %o1, 4, %o1                               
   *    + 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++) {
 2010c54:	80 a2 40 08 	cmp  %o1, %o0                                  
 2010c58:	32 bf ff d1 	bne,a   2010b9c <killinfo+0x1a8>               
 2010c5c:	c4 02 40 00 	ld  [ %o1 ], %g2                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
 2010c60:	80 a0 60 00 	cmp  %g1, 0                                    
 2010c64:	02 bf ff b2 	be  2010b2c <killinfo+0x138>                   
 2010c68:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  /*                                                                  
   *  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 ) ) {  
 2010c6c:	90 10 00 01 	mov  %g1, %o0                                  
 2010c70:	92 10 00 19 	mov  %i1, %o1                                  
   *  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;                   
 2010c74:	c4 28 60 74 	stb  %g2, [ %g1 + 0x74 ]                       
                                                                      
  /*                                                                  
   *  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 ) ) {  
 2010c78:	40 00 00 b8 	call  2010f58 <_POSIX_signals_Unblock_thread>  
 2010c7c:	94 07 bf f4 	add  %fp, -12, %o2                             
 2010c80:	80 8a 20 ff 	btst  0xff, %o0                                
 2010c84:	02 bf ff aa 	be  2010b2c <killinfo+0x138>                   <== ALWAYS TAKEN
 2010c88:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 2010c8c:	7f ff e0 45 	call  2008da0 <_Thread_Enable_dispatch>        
 2010c90:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
    return 0;                                                         
 2010c94:	81 c7 e0 08 	ret                                            
 2010c98:	81 e8 00 00 	restore                                        
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
 2010c9c:	7f ff d9 b4 	call  200736c <_Chain_Get>                     
 2010ca0:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
 2010ca4:	80 a2 20 00 	cmp  %o0, 0                                    
 2010ca8:	02 80 00 19 	be  2010d0c <killinfo+0x318>                   
 2010cac:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 2010cb0:	92 10 00 08 	mov  %o0, %o1                                  
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 2010cb4:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
 2010cb8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2010cbc:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
 2010cc0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2010cc4:	c2 22 20 10 	st  %g1, [ %o0 + 0x10 ]                        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 2010cc8:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 2010ccc:	90 12 23 20 	or  %o0, 0x320, %o0	! 201fb20 <_POSIX_signals_Siginfo>
 2010cd0:	7f ff d9 91 	call  2007314 <_Chain_Append>                  
 2010cd4:	90 02 00 12 	add  %o0, %l2, %o0                             
 2010cd8:	30 bf ff 9c 	b,a   2010b48 <killinfo+0x154>                 
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 2010cdc:	40 00 03 48 	call  20119fc <__errno>                        <== NOT EXECUTED
 2010ce0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010ce4:	82 10 20 03 	mov  3, %g1                                    <== NOT EXECUTED
 2010ce8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2010cec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010cf0:	81 e8 00 00 	restore                                        <== 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 );                   
 2010cf4:	40 00 03 42 	call  20119fc <__errno>                        <== NOT EXECUTED
 2010cf8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2010cfc:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2010d00:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2010d04:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010d08:	81 e8 00 00 	restore                                        <== 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();                                      
 2010d0c:	7f ff e0 25 	call  2008da0 <_Thread_Enable_dispatch>        
 2010d10:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
 2010d14:	40 00 03 3a 	call  20119fc <__errno>                        
 2010d18:	01 00 00 00 	nop                                            
 2010d1c:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 2010d20:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2010d24:	81 c7 e0 08 	ret                                            
 2010d28:	81 e8 00 00 	restore                                        
                                                                      

0200b7f8 <mq_open>: int oflag, ... /* mode_t mode, */ /* struct mq_attr attr */ ) {
 200b7f8:	9d e3 bf 90 	save  %sp, -112, %sp                           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 200b7fc:	03 00 80 a5 	sethi  %hi(0x2029400), %g1                     
 200b800:	c4 00 62 60 	ld  [ %g1 + 0x260 ], %g2	! 2029660 <_Thread_Dispatch_disable_level>
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 200b804:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 200b808:	84 00 a0 01 	inc  %g2                                       
 200b80c:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 200b810:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 200b814:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 200b818:	c4 20 62 60 	st  %g2, [ %g1 + 0x260 ]                       
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 200b81c:	a6 8e 62 00 	andcc  %i1, 0x200, %l3                         
 200b820:	12 80 00 34 	bne  200b8f0 <mq_open+0xf8>                    
 200b824:	23 00 80 a6 	sethi  %hi(0x2029800), %l1                     
 200b828:	a8 10 20 00 	clr  %l4                                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
 200b82c:	40 00 0c 69 	call  200e9d0 <_Objects_Allocate>              
 200b830:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
    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 ) {                                                 
 200b834:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200b838:	02 80 00 36 	be  200b910 <mq_open+0x118>                    <== NEVER TAKEN
 200b83c:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
  the_mq_fd->oflag = oflag;                                           
 200b840:	f2 24 20 14 	st  %i1, [ %l0 + 0x14 ]                        
                                                                      
  status = _POSIX_Message_queue_Name_to_id( name, &the_mq_id );       
 200b844:	90 10 00 18 	mov  %i0, %o0                                  
 200b848:	40 00 22 c3 	call  2014354 <_POSIX_Message_queue_Name_to_id>
 200b84c:	92 07 bf f8 	add  %fp, -8, %o1                              
   *  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 ) {                                                     
 200b850:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 200b854:	22 80 00 0f 	be,a   200b890 <mq_open+0x98>                  
 200b858:	b2 0e 6a 00 	and  %i1, 0xa00, %i1                           
    /*                                                                
     * 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) ) ) {               
 200b85c:	80 a4 a0 02 	cmp  %l2, 2                                    
 200b860:	02 80 00 3f 	be  200b95c <mq_open+0x164>                    
 200b864:	80 a4 e0 00 	cmp  %l3, 0                                    
                                                                      
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 );
 200b868:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
 200b86c:	40 00 0d 45 	call  200ed80 <_Objects_Free>                  
 200b870:	92 10 00 10 	mov  %l0, %o1                                  
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
 200b874:	40 00 10 3c 	call  200f964 <_Thread_Enable_dispatch>        
 200b878:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
 200b87c:	40 00 34 88 	call  2018a9c <__errno>                        
 200b880:	01 00 00 00 	nop                                            
 200b884:	e4 22 00 00 	st  %l2, [ %o0 ]                               
 200b888:	81 c7 e0 08 	ret                                            
 200b88c:	81 e8 00 00 	restore                                        
                                                                      
  } else {                /* name -> ID translation succeeded */      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 200b890:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 200b894:	02 80 00 27 	be  200b930 <mq_open+0x138>                    
 200b898:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control *)                              
 200b89c:	94 07 bf f0 	add  %fp, -16, %o2                             
 200b8a0:	11 00 80 a6 	sethi  %hi(0x2029800), %o0                     
 200b8a4:	40 00 0d 9f 	call  200ef20 <_Objects_Get>                   
 200b8a8:	90 12 21 f0 	or  %o0, 0x1f0, %o0	! 20299f0 <_POSIX_Message_queue_Information>
    /*                                                                
     * 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 );        
    the_mq->open_count += 1;                                          
 200b8ac:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200b8b0:	a2 14 63 7c 	or  %l1, 0x37c, %l1                            
 200b8b4:	82 00 60 01 	inc  %g1                                       
 200b8b8:	c4 04 60 1c 	ld  [ %l1 + 0x1c ], %g2                        
 200b8bc:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
 200b8c0:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
                                                                      
    /*                                                                
     * 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 );        
 200b8c4:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
 200b8c8:	83 28 60 02 	sll  %g1, 2, %g1                               
 200b8cc:	e0 20 80 01 	st  %l0, [ %g2 + %g1 ]                         
    the_mq->open_count += 1;                                          
    the_mq_fd->Queue = the_mq;                                        
 200b8d0:	d0 24 20 10 	st  %o0, [ %l0 + 0x10 ]                        
    _Objects_Open_string(                                             
      &_POSIX_Message_queue_Information_fds,                          
      &the_mq_fd->Object,                                             
      NULL                                                            
    );                                                                
    _Thread_Enable_dispatch();                                        
 200b8d4:	40 00 10 24 	call  200f964 <_Thread_Enable_dispatch>        
 200b8d8:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    _Thread_Enable_dispatch();                                        
 200b8dc:	40 00 10 22 	call  200f964 <_Thread_Enable_dispatch>        
 200b8e0:	01 00 00 00 	nop                                            
    return (mqd_t)the_mq_fd->Object.id;                               
 200b8e4:	f0 04 20 08 	ld  [ %l0 + 8 ], %i0                           
 200b8e8:	81 c7 e0 08 	ret                                            
 200b8ec:	81 e8 00 00 	restore                                        
  _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 * );        
 200b8f0:	82 07 a0 54 	add  %fp, 0x54, %g1                            
 200b8f4:	e8 07 a0 50 	ld  [ %fp + 0x50 ], %l4                        
 200b8f8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
 200b8fc:	40 00 0c 35 	call  200e9d0 <_Objects_Allocate>              
 200b900:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
 200b904:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200b908:	32 bf ff cf 	bne,a   200b844 <mq_open+0x4c>                 
 200b90c:	f2 24 20 14 	st  %i1, [ %l0 + 0x14 ]                        
    _Thread_Enable_dispatch();                                        
 200b910:	40 00 10 15 	call  200f964 <_Thread_Enable_dispatch>        
 200b914:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_set_errno_and_return_minus_one( ENFILE );                   
 200b918:	40 00 34 61 	call  2018a9c <__errno>                        
 200b91c:	01 00 00 00 	nop                                            
 200b920:	82 10 20 17 	mov  0x17, %g1	! 17 <PROM_START+0x17>          
 200b924:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200b928:	81 c7 e0 08 	ret                                            
 200b92c:	81 e8 00 00 	restore                                        
                                                                      
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 );
 200b930:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
 200b934:	40 00 0d 13 	call  200ed80 <_Objects_Free>                  
 200b938:	92 10 00 10 	mov  %l0, %o1                                  
    /*                                                                
     * 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();                                      
 200b93c:	40 00 10 0a 	call  200f964 <_Thread_Enable_dispatch>        
 200b940:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, mqd_t );     
 200b944:	40 00 34 56 	call  2018a9c <__errno>                        
 200b948:	01 00 00 00 	nop                                            
 200b94c:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 200b950:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200b954:	81 c7 e0 08 	ret                                            
 200b958:	81 e8 00 00 	restore                                        
  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) ) ) {               
 200b95c:	02 bf ff c4 	be  200b86c <mq_open+0x74>                     
 200b960:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
                                                                      
  /*                                                                  
   *  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(                       
 200b964:	90 10 00 18 	mov  %i0, %o0                                  
 200b968:	94 10 00 14 	mov  %l4, %o2                                  
 200b96c:	92 10 20 01 	mov  1, %o1                                    
 200b970:	40 00 22 16 	call  20141c8 <_POSIX_Message_queue_Create_support>
 200b974:	96 07 bf f4 	add  %fp, -12, %o3                             
  );                                                                  
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
 200b978:	80 a2 3f ff 	cmp  %o0, -1                                   
 200b97c:	02 80 00 0e 	be  200b9b4 <mq_open+0x1bc>                    
 200b980:	90 14 63 7c 	or  %l1, 0x37c, %o0                            
 200b984:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
 200b988:	a2 14 63 7c 	or  %l1, 0x37c, %l1                            
 200b98c:	c4 04 60 1c 	ld  [ %l1 + 0x1c ], %g2                        
 200b990:	83 28 60 02 	sll  %g1, 2, %g1                               
 200b994:	e0 20 80 01 	st  %l0, [ %g2 + %g1 ]                         
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
    return (mqd_t) -1;                                                
  }                                                                   
                                                                      
  the_mq_fd->Queue = the_mq;                                          
 200b998:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
 200b99c:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_Message_queue_Information_fds,                            
    &the_mq_fd->Object,                                               
    NULL                                                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
 200b9a0:	40 00 0f f1 	call  200f964 <_Thread_Enable_dispatch>        
 200b9a4:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
 200b9a8:	f0 04 20 08 	ld  [ %l0 + 8 ], %i0                           
}                                                                     
 200b9ac:	81 c7 e0 08 	ret                                            
 200b9b0:	81 e8 00 00 	restore                                        
 200b9b4:	92 10 00 10 	mov  %l0, %o1                                  
 200b9b8:	40 00 0c f2 	call  200ed80 <_Objects_Free>                  
 200b9bc:	b0 10 3f ff 	mov  -1, %i0                                   
  /*                                                                  
   * 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();                                        
 200b9c0:	40 00 0f e9 	call  200f964 <_Thread_Enable_dispatch>        
 200b9c4:	01 00 00 00 	nop                                            
    return (mqd_t) -1;                                                
 200b9c8:	81 c7 e0 08 	ret                                            
 200b9cc:	81 e8 00 00 	restore                                        
                                                                      

0202bb4c <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
 202bb4c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
 202bb50:	40 00 00 67 	call  202bcec <_Timespec_Is_valid>             
 202bb54:	90 10 00 18 	mov  %i0, %o0                                  
 202bb58:	80 8a 20 ff 	btst  0xff, %o0                                
 202bb5c:	02 80 00 43 	be  202bc68 <nanosleep+0x11c>                  
 202bb60:	01 00 00 00 	nop                                            
   *  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 )                        
 202bb64:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 202bb68:	80 a0 60 00 	cmp  %g1, 0                                    
 202bb6c:	06 80 00 3f 	bl  202bc68 <nanosleep+0x11c>                  <== NEVER TAKEN
 202bb70:	01 00 00 00 	nop                                            
 202bb74:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 202bb78:	80 a0 60 00 	cmp  %g1, 0                                    
 202bb7c:	06 80 00 3b 	bl  202bc68 <nanosleep+0x11c>                  <== NEVER TAKEN
 202bb80:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
 202bb84:	7f ff b2 8a 	call  20185ac <_Timespec_To_ticks>             
 202bb88:	90 10 00 18 	mov  %i0, %o0                                  
   *  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 ) {                                                     
 202bb8c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202bb90:	02 80 00 28 	be  202bc30 <nanosleep+0xe4>                   
 202bb94:	03 00 80 c8 	sethi  %hi(0x2032000), %g1                     
 202bb98:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2	! 20320d0 <_Thread_Dispatch_disable_level>
 202bb9c:	84 00 a0 01 	inc  %g2                                       
 202bba0:	c4 20 60 d0 	st  %g2, [ %g1 + 0xd0 ]                        
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
 202bba4:	21 00 80 c8 	sethi  %hi(0x2032000), %l0                     
 202bba8:	d0 04 21 90 	ld  [ %l0 + 0x190 ], %o0	! 2032190 <_Thread_Executing>
 202bbac:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
 202bbb0:	7f ff 8f d2 	call  200faf8 <_Thread_Set_state>              
 202bbb4:	92 12 60 08 	or  %o1, 8, %o1	! 10000008 <RAM_END+0xdc00008> 
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
 202bbb8:	c2 04 21 90 	ld  [ %l0 + 0x190 ], %g1                       
 202bbbc:	11 00 80 c8 	sethi  %hi(0x2032000), %o0                     
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
 202bbc0:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 202bbc4:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 202bbc8:	c4 20 60 68 	st  %g2, [ %g1 + 0x68 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 202bbcc:	92 00 60 48 	add  %g1, 0x48, %o1                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 202bbd0:	05 00 80 3b 	sethi  %hi(0x200ec00), %g2                     
 202bbd4:	84 10 a2 78 	or  %g2, 0x278, %g2	! 200ee78 <_Thread_Delay_ended>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 202bbd8:	c0 20 60 50 	clr  [ %g1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 202bbdc:	c0 20 60 6c 	clr  [ %g1 + 0x6c ]                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 202bbe0:	f0 20 60 54 	st  %i0, [ %g1 + 0x54 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 202bbe4:	7f ff 91 fb 	call  20103d0 <_Watchdog_Insert>               
 202bbe8:	c4 20 60 64 	st  %g2, [ %g1 + 0x64 ]                        
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );       
  _Thread_Enable_dispatch();                                          
 202bbec:	7f ff 8d 1b 	call  200f058 <_Thread_Enable_dispatch>        
 202bbf0:	01 00 00 00 	nop                                            
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
 202bbf4:	80 a6 60 00 	cmp  %i1, 0                                    
 202bbf8:	02 80 00 0c 	be  202bc28 <nanosleep+0xdc>                   
 202bbfc:	c2 04 21 90 	ld  [ %l0 + 0x190 ], %g1                       
    ticks -=                                                          
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 202bc00:	92 10 00 19 	mov  %i1, %o1                                  
  _Thread_Enable_dispatch();                                          
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    ticks -=                                                          
 202bc04:	c4 00 60 60 	ld  [ %g1 + 0x60 ], %g2                        
 202bc08:	c2 00 60 5c 	ld  [ %g1 + 0x5c ], %g1                        
 202bc0c:	82 20 40 02 	sub  %g1, %g2, %g1                             
 202bc10:	b0 00 40 18 	add  %g1, %i0, %i0                             
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 202bc14:	40 00 00 21 	call  202bc98 <_Timespec_From_ticks>           
 202bc18:	90 10 00 18 	mov  %i0, %o0                                  
     */                                                               
    #if defined(RTEMS_POSIX_API)                                      
        /*                                                            
         *  If there is time remaining, then we were interrupted by a signal.
         */                                                           
        if ( ticks )                                                  
 202bc1c:	80 a6 20 00 	cmp  %i0, 0                                    
 202bc20:	12 80 00 18 	bne  202bc80 <nanosleep+0x134>                 
 202bc24:	01 00 00 00 	nop                                            
          rtems_set_errno_and_return_minus_one( EINTR );              
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 202bc28:	81 c7 e0 08 	ret                                            
 202bc2c:	91 e8 20 00 	restore  %g0, 0, %o0                           
 202bc30:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2                        
 202bc34:	84 00 a0 01 	inc  %g2                                       
 202bc38:	c4 20 60 d0 	st  %g2, [ %g1 + 0xd0 ]                        
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
 202bc3c:	7f ff 90 b3 	call  200ff08 <_Thread_Yield_processor>        
 202bc40:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 202bc44:	7f ff 8d 05 	call  200f058 <_Thread_Enable_dispatch>        
 202bc48:	01 00 00 00 	nop                                            
    if ( rmtp ) {                                                     
 202bc4c:	80 a6 60 00 	cmp  %i1, 0                                    
 202bc50:	02 bf ff f6 	be  202bc28 <nanosleep+0xdc>                   
 202bc54:	01 00 00 00 	nop                                            
       rmtp->tv_sec = 0;                                              
       rmtp->tv_nsec = 0;                                             
 202bc58:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
       rmtp->tv_sec = 0;                                              
 202bc5c:	c0 26 40 00 	clr  [ %i1 ]                                   
 202bc60:	81 c7 e0 08 	ret                                            
 202bc64:	81 e8 00 00 	restore                                        
   *                                                                  
   *  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 );                   
 202bc68:	7f ff c1 a9 	call  201c30c <__errno>                        
 202bc6c:	b0 10 3f ff 	mov  -1, %i0                                   
 202bc70:	82 10 20 16 	mov  0x16, %g1                                 
 202bc74:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202bc78:	81 c7 e0 08 	ret                                            
 202bc7c:	81 e8 00 00 	restore                                        
    #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 );              
 202bc80:	7f ff c1 a3 	call  201c30c <__errno>                        
 202bc84:	b0 10 3f ff 	mov  -1, %i0                                   
 202bc88:	82 10 20 04 	mov  4, %g1                                    
 202bc8c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202bc90:	81 c7 e0 08 	ret                                            
 202bc94:	81 e8 00 00 	restore                                        
                                                                      

0200b294 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) { if ( !attr || !attr->is_initialized )
 200b294:	80 a2 20 00 	cmp  %o0, 0                                    
 200b298:	02 80 00 11 	be  200b2dc <pthread_attr_setschedpolicy+0x48> 
 200b29c:	01 00 00 00 	nop                                            
 200b2a0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200b2a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200b2a8:	02 80 00 0d 	be  200b2dc <pthread_attr_setschedpolicy+0x48> 
 200b2ac:	80 a2 60 04 	cmp  %o1, 4                                    
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
 200b2b0:	08 80 00 04 	bleu  200b2c0 <pthread_attr_setschedpolicy+0x2c>
 200b2b4:	82 10 20 01 	mov  1, %g1                                    
 200b2b8:	81 c3 e0 08 	retl                                           
 200b2bc:	90 10 20 86 	mov  0x86, %o0                                 
 200b2c0:	83 28 40 09 	sll  %g1, %o1, %g1                             
 200b2c4:	80 88 60 17 	btst  0x17, %g1                                
 200b2c8:	02 bf ff fc 	be  200b2b8 <pthread_attr_setschedpolicy+0x24> <== NEVER TAKEN
 200b2cc:	01 00 00 00 	nop                                            
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
 200b2d0:	d2 22 20 14 	st  %o1, [ %o0 + 0x14 ]                        
      return 0;                                                       
 200b2d4:	81 c3 e0 08 	retl                                           
 200b2d8:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200b2dc:	81 c3 e0 08 	retl                                           
 200b2e0:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02006e04 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
 2006e04:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
 2006e08:	80 a6 20 00 	cmp  %i0, 0                                    
 2006e0c:	02 80 00 27 	be  2006ea8 <pthread_barrier_init+0xa4>        
 2006e10:	80 a6 a0 00 	cmp  %i2, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
 2006e14:	02 80 00 25 	be  2006ea8 <pthread_barrier_init+0xa4>        
 2006e18:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2006e1c:	22 80 00 29 	be,a   2006ec0 <pthread_barrier_init+0xbc>     
 2006e20:	b2 07 bf f0 	add  %fp, -16, %i1                             
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2006e24:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2006e28:	80 a0 60 00 	cmp  %g1, 0                                    
 2006e2c:	02 80 00 1f 	be  2006ea8 <pthread_barrier_init+0xa4>        
 2006e30:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2006e34:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2006e38:	80 a0 60 00 	cmp  %g1, 0                                    
 2006e3c:	12 80 00 1b 	bne  2006ea8 <pthread_barrier_init+0xa4>       <== NEVER TAKEN
 2006e40:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2006e44:	c4 00 62 a0 	ld  [ %g1 + 0x2a0 ], %g2	! 2020ea0 <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  the_attributes.maximum_count = count;                               
 2006e48:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 2006e4c:	84 00 a0 01 	inc  %g2                                       
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
 2006e50:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2006e54:	c4 20 62 a0 	st  %g2, [ %g1 + 0x2a0 ]                       
 *  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 *)                                    
 2006e58:	23 00 80 84 	sethi  %hi(0x2021000), %l1                     
 2006e5c:	40 00 08 cd 	call  2009190 <_Objects_Allocate>              
 2006e60:	90 14 62 b0 	or  %l1, 0x2b0, %o0	! 20212b0 <_POSIX_Barrier_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
 2006e64:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2006e68:	02 80 00 12 	be  2006eb0 <pthread_barrier_init+0xac>        
 2006e6c:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 2006e70:	40 00 06 20 	call  20086f0 <_CORE_barrier_Initialize>       
 2006e74:	92 07 bf f8 	add  %fp, -8, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2006e78:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2006e7c:	a2 14 62 b0 	or  %l1, 0x2b0, %l1                            
 2006e80:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2006e84:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 2006e88:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2006e8c:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2006e90:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
 2006e94:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  _Thread_Enable_dispatch();                                          
 2006e98:	40 00 0c 91 	call  200a0dc <_Thread_Enable_dispatch>        
 2006e9c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 2006ea0:	81 c7 e0 08 	ret                                            
 2006ea4:	81 e8 00 00 	restore                                        
}                                                                     
 2006ea8:	81 c7 e0 08 	ret                                            
 2006eac:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
 2006eb0:	40 00 0c 8b 	call  200a0dc <_Thread_Enable_dispatch>        
 2006eb4:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2006eb8:	81 c7 e0 08 	ret                                            
 2006ebc:	81 e8 00 00 	restore                                        
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
 2006ec0:	7f ff ff 9b 	call  2006d2c <pthread_barrierattr_init>       
 2006ec4:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2006ec8:	10 bf ff d8 	b  2006e28 <pthread_barrier_init+0x24>         
 2006ecc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      

0200658c <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
 200658c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  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 )                                                     
 2006590:	80 a6 20 00 	cmp  %i0, 0                                    
 2006594:	02 80 00 12 	be  20065dc <pthread_cleanup_push+0x50>        
 2006598:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 200659c:	c4 00 63 70 	ld  [ %g1 + 0x370 ], %g2	! 2021370 <_Thread_Dispatch_disable_level>
 20065a0:	84 00 a0 01 	inc  %g2                                       
 20065a4:	c4 20 63 70 	st  %g2, [ %g1 + 0x370 ]                       
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
 20065a8:	40 00 12 96 	call  200b000 <_Workspace_Allocate>            
 20065ac:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if ( handler ) {                                                    
 20065b0:	92 92 20 00 	orcc  %o0, 0, %o1                              
 20065b4:	02 80 00 08 	be  20065d4 <pthread_cleanup_push+0x48>        <== NEVER TAKEN
 20065b8:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 20065bc:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1	! 2021430 <_Thread_Executing>
                                                                      
    handler->routine = routine;                                       
 20065c0:	f0 22 60 08 	st  %i0, [ %o1 + 8 ]                           
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
                                                                      
  if ( handler ) {                                                    
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 20065c4:	d0 00 61 6c 	ld  [ %g1 + 0x16c ], %o0                       
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
 20065c8:	f2 22 60 0c 	st  %i1, [ %o1 + 0xc ]                         
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 20065cc:	40 00 06 62 	call  2007f54 <_Chain_Append>                  
 20065d0:	90 02 20 e0 	add  %o0, 0xe0, %o0                            
  }                                                                   
  _Thread_Enable_dispatch();                                          
 20065d4:	40 00 0c d5 	call  2009928 <_Thread_Enable_dispatch>        
 20065d8:	81 e8 00 00 	restore                                        
 20065dc:	81 c7 e0 08 	ret                                            
 20065e0:	81 e8 00 00 	restore                                        
                                                                      

020076c8 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
 20076c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
 20076cc:	25 00 80 81 	sethi  %hi(0x2020400), %l2                     
 20076d0:	80 a6 60 00 	cmp  %i1, 0                                    
 20076d4:	02 80 00 03 	be  20076e0 <pthread_cond_init+0x18>           
 20076d8:	a4 14 a0 78 	or  %l2, 0x78, %l2                             
 20076dc:	a4 10 00 19 	mov  %i1, %l2                                  
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
 20076e0:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
 20076e4:	80 a0 60 01 	cmp  %g1, 1                                    
 20076e8:	02 80 00 06 	be  2007700 <pthread_cond_init+0x38>           <== NEVER TAKEN
 20076ec:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
 20076f0:	c2 04 80 00 	ld  [ %l2 ], %g1                               
 20076f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20076f8:	12 80 00 04 	bne  2007708 <pthread_cond_init+0x40>          
 20076fc:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
 2007700:	81 c7 e0 08 	ret                                            
 2007704:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2007708:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2                       
 200770c:	84 00 a0 01 	inc  %g2                                       
 2007710:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
 2007714:	23 00 80 89 	sethi  %hi(0x2022400), %l1                     
 2007718:	40 00 0a 6b 	call  200a0c4 <_Objects_Allocate>              
 200771c:	90 14 62 e8 	or  %l1, 0x2e8, %o0	! 20226e8 <_POSIX_Condition_variables_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
 2007720:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2007724:	02 80 00 15 	be  2007778 <pthread_cond_init+0xb0>           
 2007728:	90 04 20 18 	add  %l0, 0x18, %o0                            
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 200772c:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
 2007730:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
 2007734:	92 10 20 00 	clr  %o1                                       
 2007738:	94 10 28 00 	mov  0x800, %o2                                
 200773c:	96 10 20 74 	mov  0x74, %o3                                 
 2007740:	40 00 10 84 	call  200b950 <_Thread_queue_Initialize>       
 2007744:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007748:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 200774c:	a2 14 62 e8 	or  %l1, 0x2e8, %l1                            
 2007750:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2007754:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 2007758:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200775c:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2007760:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
 2007764:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2007768:	40 00 0e 2a 	call  200b010 <_Thread_Enable_dispatch>        
 200776c:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
 2007770:	81 c7 e0 08 	ret                                            
 2007774:	81 e8 00 00 	restore                                        
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
 2007778:	40 00 0e 26 	call  200b010 <_Thread_Enable_dispatch>        
 200777c:	b0 10 20 0c 	mov  0xc, %i0                                  
    return ENOMEM;                                                    
 2007780:	81 c7 e0 08 	ret                                            
 2007784:	81 e8 00 00 	restore                                        
                                                                      

0200753c <pthread_condattr_destroy>: int pthread_condattr_destroy( pthread_condattr_t *attr ) { if ( !attr || attr->is_initialized == false )
 200753c:	80 a2 20 00 	cmp  %o0, 0                                    
 2007540:	02 80 00 09 	be  2007564 <pthread_condattr_destroy+0x28>    
 2007544:	01 00 00 00 	nop                                            
 2007548:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200754c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007550:	02 80 00 05 	be  2007564 <pthread_condattr_destroy+0x28>    <== NEVER TAKEN
 2007554:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
 2007558:	c0 22 00 00 	clr  [ %o0 ]                                   
  return 0;                                                           
 200755c:	81 c3 e0 08 	retl                                           
 2007560:	90 10 20 00 	clr  %o0                                       
}                                                                     
 2007564:	81 c3 e0 08 	retl                                           
 2007568:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02006afc <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
 2006afc:	9d e3 bf 58 	save  %sp, -168, %sp                           
 2006b00:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
 2006b04:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006b08:	02 80 00 66 	be  2006ca0 <pthread_create+0x1a4>             
 2006b0c:	b0 10 20 0e 	mov  0xe, %i0                                  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 2006b10:	23 00 80 7a 	sethi  %hi(0x201e800), %l1                     
 2006b14:	80 a6 60 00 	cmp  %i1, 0                                    
 2006b18:	02 80 00 03 	be  2006b24 <pthread_create+0x28>              
 2006b1c:	a2 14 63 f8 	or  %l1, 0x3f8, %l1                            
 2006b20:	a2 10 00 19 	mov  %i1, %l1                                  
                                                                      
  if ( !the_attr->is_initialized )                                    
 2006b24:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 2006b28:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b2c:	22 80 00 5d 	be,a   2006ca0 <pthread_create+0x1a4>          
 2006b30:	b0 10 20 16 	mov  0x16, %i0                                 
   *  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) )
 2006b34:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2006b38:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b3c:	02 80 00 07 	be  2006b58 <pthread_create+0x5c>              
 2006b40:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006b44:	c4 04 60 08 	ld  [ %l1 + 8 ], %g2                           
 2006b48:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1                       
 2006b4c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006b50:	2a 80 00 54 	bcs,a   2006ca0 <pthread_create+0x1a4>         
 2006b54:	b0 10 20 16 	mov  0x16, %i0                                 
   *  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 ) {                                 
 2006b58:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2006b5c:	80 a0 60 01 	cmp  %g1, 1                                    
 2006b60:	02 80 00 52 	be  2006ca8 <pthread_create+0x1ac>             
 2006b64:	80 a0 60 02 	cmp  %g1, 2                                    
 2006b68:	22 80 00 04 	be,a   2006b78 <pthread_create+0x7c>           
 2006b6c:	c2 04 60 18 	ld  [ %l1 + 0x18 ], %g1                        
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
 2006b70:	81 c7 e0 08 	ret                                            
 2006b74:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
 2006b78:	e4 04 60 14 	ld  [ %l1 + 0x14 ], %l2                        
      schedparam  = the_attr->schedparam;                             
 2006b7c:	c2 27 bf dc 	st  %g1, [ %fp + -36 ]                         
 2006b80:	c2 04 60 1c 	ld  [ %l1 + 0x1c ], %g1                        
 2006b84:	c2 27 bf e0 	st  %g1, [ %fp + -32 ]                         
 2006b88:	c2 04 60 20 	ld  [ %l1 + 0x20 ], %g1                        
 2006b8c:	c2 27 bf e4 	st  %g1, [ %fp + -28 ]                         
 2006b90:	c2 04 60 24 	ld  [ %l1 + 0x24 ], %g1                        
 2006b94:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         
 2006b98:	c2 04 60 28 	ld  [ %l1 + 0x28 ], %g1                        
 2006b9c:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
 2006ba0:	c2 04 60 2c 	ld  [ %l1 + 0x2c ], %g1                        
 2006ba4:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
 2006ba8:	c2 04 60 30 	ld  [ %l1 + 0x30 ], %g1                        
 2006bac:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
 2006bb0:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
 2006bb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2006bb8:	12 80 00 3a 	bne  2006ca0 <pthread_create+0x1a4>            
 2006bbc:	b0 10 20 86 	mov  0x86, %i0                                 
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
 2006bc0:	40 00 20 32 	call  200ec88 <_POSIX_Priority_Is_valid>       
 2006bc4:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 2006bc8:	80 8a 20 ff 	btst  0xff, %o0                                
 2006bcc:	02 80 00 35 	be  2006ca0 <pthread_create+0x1a4>             <== NEVER TAKEN
 2006bd0:	b0 10 20 16 	mov  0x16, %i0                                 
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 2006bd4:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
 2006bd8:	ea 07 bf dc 	ld  [ %fp + -36 ], %l5                         
 2006bdc:	ec 08 62 78 	ldub  [ %g1 + 0x278 ], %l6                     
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
 2006be0:	90 10 00 12 	mov  %l2, %o0                                  
 2006be4:	92 07 bf dc 	add  %fp, -36, %o1                             
 2006be8:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006bec:	40 00 20 34 	call  200ecbc <_POSIX_Thread_Translate_sched_param>
 2006bf0:	96 07 bf f8 	add  %fp, -8, %o3                              
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 2006bf4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2006bf8:	12 80 00 2a 	bne  2006ca0 <pthread_create+0x1a4>            
 2006bfc:	29 00 80 82 	sethi  %hi(0x2020800), %l4                     
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
 2006c00:	d0 05 22 48 	ld  [ %l4 + 0x248 ], %o0	! 2020a48 <_RTEMS_Allocator_Mutex>
 2006c04:	40 00 06 86 	call  200861c <_API_Mutex_Lock>                
 2006c08:	2f 00 80 83 	sethi  %hi(0x2020c00), %l7                     
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
 2006c0c:	40 00 09 48 	call  200912c <_Objects_Allocate>              
 2006c10:	90 15 e0 20 	or  %l7, 0x20, %o0	! 2020c20 <_POSIX_Threads_Information>
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
 2006c14:	a6 92 20 00 	orcc  %o0, 0, %l3                              
 2006c18:	02 80 00 1f 	be  2006c94 <pthread_create+0x198>             
 2006c1c:	05 00 80 7f 	sethi  %hi(0x201fc00), %g2                     
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 2006c20:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
 2006c24:	d6 00 a2 74 	ld  [ %g2 + 0x274 ], %o3                       
 2006c28:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 2006c2c:	97 2a e0 01 	sll  %o3, 1, %o3                               
 2006c30:	80 a2 c0 01 	cmp  %o3, %g1                                  
 2006c34:	1a 80 00 03 	bcc  2006c40 <pthread_create+0x144>            
 2006c38:	d4 04 60 04 	ld  [ %l1 + 4 ], %o2                           
 2006c3c:	96 10 00 01 	mov  %g1, %o3                                  
 2006c40:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006c44:	9a 0d a0 ff 	and  %l6, 0xff, %o5                            
 2006c48:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2006c4c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2006c50:	9a 23 40 15 	sub  %o5, %l5, %o5                             
 2006c54:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2006c58:	82 07 bf d4 	add  %fp, -44, %g1                             
 2006c5c:	c0 23 a0 68 	clr  [ %sp + 0x68 ]                            
 2006c60:	90 15 e0 20 	or  %l7, 0x20, %o0                             
 2006c64:	aa 10 20 01 	mov  1, %l5                                    
 2006c68:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2006c6c:	ea 23 a0 5c 	st  %l5, [ %sp + 0x5c ]                        
 2006c70:	92 10 00 13 	mov  %l3, %o1                                  
 2006c74:	40 00 0d 50 	call  200a1b4 <_Thread_Initialize>             
 2006c78:	98 10 20 01 	mov  1, %o4                                    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
 2006c7c:	80 8a 20 ff 	btst  0xff, %o0                                
 2006c80:	12 80 00 1d 	bne  2006cf4 <pthread_create+0x1f8>            
 2006c84:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
 2006c88:	92 10 00 13 	mov  %l3, %o1                                  
 2006c8c:	40 00 0a 14 	call  20094dc <_Objects_Free>                  
 2006c90:	90 12 20 20 	or  %o0, 0x20, %o0                             
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
 2006c94:	d0 05 22 48 	ld  [ %l4 + 0x248 ], %o0                       
 2006c98:	40 00 06 77 	call  2008674 <_API_Mutex_Unlock>              
 2006c9c:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2006ca0:	81 c7 e0 08 	ret                                            
 2006ca4:	81 e8 00 00 	restore                                        
   *  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 ];    
 2006ca8:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
 2006cac:	c2 00 62 50 	ld  [ %g1 + 0x250 ], %g1	! 2020a50 <_Thread_Executing>
 2006cb0:	c2 00 61 6c 	ld  [ %g1 + 0x16c ], %g1                       
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2006cb4:	c4 00 60 84 	ld  [ %g1 + 0x84 ], %g2                        
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
 2006cb8:	e4 00 60 80 	ld  [ %g1 + 0x80 ], %l2                        
      schedparam  = api->schedparam;                                  
 2006cbc:	c4 27 bf dc 	st  %g2, [ %fp + -36 ]                         
 2006cc0:	c4 00 60 88 	ld  [ %g1 + 0x88 ], %g2                        
 2006cc4:	c4 27 bf e0 	st  %g2, [ %fp + -32 ]                         
 2006cc8:	c4 00 60 8c 	ld  [ %g1 + 0x8c ], %g2                        
 2006ccc:	c4 27 bf e4 	st  %g2, [ %fp + -28 ]                         
 2006cd0:	c4 00 60 90 	ld  [ %g1 + 0x90 ], %g2                        
 2006cd4:	c4 27 bf e8 	st  %g2, [ %fp + -24 ]                         
 2006cd8:	c4 00 60 94 	ld  [ %g1 + 0x94 ], %g2                        
 2006cdc:	c4 27 bf ec 	st  %g2, [ %fp + -20 ]                         
 2006ce0:	c4 00 60 98 	ld  [ %g1 + 0x98 ], %g2                        
 2006ce4:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         
 2006ce8:	c2 00 60 9c 	ld  [ %g1 + 0x9c ], %g1                        
      break;                                                          
 2006cec:	10 bf ff b1 	b  2006bb0 <pthread_create+0xb4>               
 2006cf0:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2006cf4:	ec 04 e1 6c 	ld  [ %l3 + 0x16c ], %l6                       
                                                                      
  api->Attributes  = *the_attr;                                       
 2006cf8:	92 10 00 11 	mov  %l1, %o1                                  
 2006cfc:	94 10 20 3c 	mov  0x3c, %o2                                 
 2006d00:	40 00 31 aa 	call  20133a8 <memcpy>                         
 2006d04:	90 10 00 16 	mov  %l6, %o0                                  
  api->detachstate = the_attr->detachstate;                           
 2006d08:	c2 04 60 38 	ld  [ %l1 + 0x38 ], %g1                        
  api->schedpolicy = schedpolicy;                                     
 2006d0c:	e4 25 a0 80 	st  %l2, [ %l6 + 0x80 ]                        
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
 2006d10:	c2 25 a0 3c 	st  %g1, [ %l6 + 0x3c ]                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d14:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
   *  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;                   
 2006d18:	ea 2c e0 74 	stb  %l5, [ %l3 + 0x74 ]                       
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d1c:	c2 25 a0 84 	st  %g1, [ %l6 + 0x84 ]                        
 2006d20:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d24:	94 10 00 1a 	mov  %i2, %o2                                  
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d28:	c2 25 a0 88 	st  %g1, [ %l6 + 0x88 ]                        
 2006d2c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d30:	96 10 00 1b 	mov  %i3, %o3                                  
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d34:	c2 25 a0 8c 	st  %g1, [ %l6 + 0x8c ]                        
 2006d38:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d3c:	90 10 00 13 	mov  %l3, %o0                                  
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d40:	c2 25 a0 90 	st  %g1, [ %l6 + 0x90 ]                        
 2006d44:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d48:	92 10 20 01 	mov  1, %o1                                    
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d4c:	c2 25 a0 94 	st  %g1, [ %l6 + 0x94 ]                        
 2006d50:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d54:	98 10 20 00 	clr  %o4                                       
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2006d58:	c2 25 a0 98 	st  %g1, [ %l6 + 0x98 ]                        
 2006d5c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2006d60:	40 00 10 34 	call  200ae30 <_Thread_Start>                  
 2006d64:	c2 25 a0 9c 	st  %g1, [ %l6 + 0x9c ]                        
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
 2006d68:	80 a4 a0 04 	cmp  %l2, 4                                    
 2006d6c:	02 80 00 08 	be  2006d8c <pthread_create+0x290>             
 2006d70:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2006d74:	c2 04 e0 08 	ld  [ %l3 + 8 ], %g1                           
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2006d78:	d0 05 22 48 	ld  [ %l4 + 0x248 ], %o0                       
 2006d7c:	40 00 06 3e 	call  2008674 <_API_Mutex_Unlock>              
 2006d80:	c2 24 00 00 	st  %g1, [ %l0 ]                               
  return 0;                                                           
 2006d84:	81 c7 e0 08 	ret                                            
 2006d88:	81 e8 00 00 	restore                                        
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
 2006d8c:	40 00 10 d6 	call  200b0e4 <_Timespec_To_ticks>             
 2006d90:	90 05 a0 8c 	add  %l6, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006d94:	92 05 a0 a4 	add  %l6, 0xa4, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2006d98:	d0 25 a0 b0 	st  %o0, [ %l6 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006d9c:	11 00 80 82 	sethi  %hi(0x2020800), %o0                     
 2006da0:	40 00 11 bf 	call  200b49c <_Watchdog_Insert>               
 2006da4:	90 12 22 70 	or  %o0, 0x270, %o0	! 2020a70 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2006da8:	10 bf ff f4 	b  2006d78 <pthread_create+0x27c>              
 2006dac:	c2 04 e0 08 	ld  [ %l3 + 8 ], %g1                           
                                                                      

020111cc <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
 20111cc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
 20111d0:	80 a6 60 00 	cmp  %i1, 0                                    
 20111d4:	02 80 00 2d 	be  2011288 <pthread_kill+0xbc>                <== NEVER TAKEN
 20111d8:	a2 06 7f ff 	add  %i1, -1, %l1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 20111dc:	80 a4 60 1f 	cmp  %l1, 0x1f                                 
 20111e0:	18 80 00 2a 	bgu  2011288 <pthread_kill+0xbc>               
 20111e4:	90 10 00 18 	mov  %i0, %o0                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
 20111e8:	7f ff de fc 	call  2008dd8 <_Thread_Get>                    
 20111ec:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 20111f0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20111f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20111f8:	12 80 00 2a 	bne  20112a0 <pthread_kill+0xd4>               <== NEVER TAKEN
 20111fc:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
 2011200:	83 2e 60 02 	sll  %i1, 2, %g1                               
 2011204:	85 2e 60 04 	sll  %i1, 4, %g2                               
 2011208:	84 20 80 01 	sub  %g2, %g1, %g2                             
 201120c:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 2011210:	82 10 61 28 	or  %g1, 0x128, %g1	! 201f928 <_POSIX_signals_Vectors>
 2011214:	82 00 40 02 	add  %g1, %g2, %g1                             
 2011218:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201121c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2011220:	02 80 00 14 	be  2011270 <pthread_kill+0xa4>                <== NEVER TAKEN
 2011224:	c2 02 21 6c 	ld  [ %o0 + 0x16c ], %g1                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 2011228:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2                        
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 201122c:	92 10 00 19 	mov  %i1, %o1                                  
 2011230:	94 10 20 00 	clr  %o2                                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 2011234:	b2 10 20 01 	mov  1, %i1                                    
 2011238:	a3 2e 40 11 	sll  %i1, %l1, %l1                             
 201123c:	a2 10 80 11 	or  %g2, %l1, %l1                              
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 2011240:	7f ff ff 46 	call  2010f58 <_POSIX_signals_Unblock_thread>  
 2011244:	e2 20 60 d0 	st  %l1, [ %g1 + 0xd0 ]                        
                                                                      
        the_thread->do_post_task_switch_extension = true;             
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2011248:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 201124c:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1	! 201f43c <_ISR_Nest_level>
 2011250:	80 a0 60 00 	cmp  %g1, 0                                    
 2011254:	02 80 00 07 	be  2011270 <pthread_kill+0xa4>                
 2011258:	f2 2c 20 74 	stb  %i1, [ %l0 + 0x74 ]                       
 201125c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 2011260:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1	! 201f460 <_Thread_Executing>
 2011264:	80 a4 00 01 	cmp  %l0, %g1                                  
 2011268:	02 80 00 06 	be  2011280 <pthread_kill+0xb4>                
 201126c:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
          _ISR_Signals_to_thread_executing = true;                    
      }                                                               
      _Thread_Enable_dispatch();                                      
 2011270:	7f ff de cc 	call  2008da0 <_Thread_Enable_dispatch>        
 2011274:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
 2011278:	81 c7 e0 08 	ret                                            
 201127c:	81 e8 00 00 	restore                                        
        (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;                    
 2011280:	10 bf ff fc 	b  2011270 <pthread_kill+0xa4>                 
 2011284:	f2 28 60 f8 	stb  %i1, [ %g1 + 0xf8 ]                       
                                                                      
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2011288:	40 00 01 dd 	call  20119fc <__errno>                        
 201128c:	b0 10 3f ff 	mov  -1, %i0                                   
 2011290:	82 10 20 16 	mov  0x16, %g1                                 
 2011294:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2011298:	81 c7 e0 08 	ret                                            
 201129c:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
 20112a0:	40 00 01 d7 	call  20119fc <__errno>                        <== NOT EXECUTED
 20112a4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20112a8:	82 10 20 03 	mov  3, %g1                                    <== NOT EXECUTED
 20112ac:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
}                                                                     
 20112b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20112b4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02006314 <pthread_mutexattr_gettype>: int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) { if ( !attr )
 2006314:	80 a2 20 00 	cmp  %o0, 0                                    
 2006318:	02 80 00 0c 	be  2006348 <pthread_mutexattr_gettype+0x34>   
 200631c:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2006320:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2006324:	80 a0 60 00 	cmp  %g1, 0                                    
 2006328:	02 80 00 08 	be  2006348 <pthread_mutexattr_gettype+0x34>   
 200632c:	80 a2 60 00 	cmp  %o1, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
 2006330:	02 80 00 06 	be  2006348 <pthread_mutexattr_gettype+0x34>   <== NEVER TAKEN
 2006334:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 2006338:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 200633c:	90 10 20 00 	clr  %o0                                       
  return 0;                                                           
 2006340:	81 c3 e0 08 	retl                                           
 2006344:	c2 22 40 00 	st  %g1, [ %o1 ]                               
}                                                                     
 2006348:	81 c3 e0 08 	retl                                           
 200634c:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

020088e0 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) { if ( !attr || !attr->is_initialized )
 20088e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20088e4:	02 80 00 08 	be  2008904 <pthread_mutexattr_setpshared+0x24>
 20088e8:	01 00 00 00 	nop                                            
 20088ec:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20088f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20088f4:	02 80 00 04 	be  2008904 <pthread_mutexattr_setpshared+0x24>
 20088f8:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 20088fc:	28 80 00 04 	bleu,a   200890c <pthread_mutexattr_setpshared+0x2c><== ALWAYS TAKEN
 2008900:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2008904:	81 c3 e0 08 	retl                                           
 2008908:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
 200890c:	81 c3 e0 08 	retl                                           
 2008910:	90 10 20 00 	clr  %o0                                       
                                                                      

020063a0 <pthread_mutexattr_settype>: int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) { if ( !attr || !attr->is_initialized )
 20063a0:	80 a2 20 00 	cmp  %o0, 0                                    
 20063a4:	02 80 00 08 	be  20063c4 <pthread_mutexattr_settype+0x24>   
 20063a8:	01 00 00 00 	nop                                            
 20063ac:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20063b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20063b4:	02 80 00 04 	be  20063c4 <pthread_mutexattr_settype+0x24>   <== NEVER TAKEN
 20063b8:	80 a2 60 03 	cmp  %o1, 3                                    
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
 20063bc:	28 80 00 04 	bleu,a   20063cc <pthread_mutexattr_settype+0x2c>
 20063c0:	d2 22 20 10 	st  %o1, [ %o0 + 0x10 ]                        
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 20063c4:	81 c3 e0 08 	retl                                           
 20063c8:	90 10 20 16 	mov  0x16, %o0                                 
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
      return 0;                                                       
 20063cc:	81 c3 e0 08 	retl                                           
 20063d0:	90 10 20 00 	clr  %o0                                       
                                                                      

02007298 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
 2007298:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !once_control || !init_routine )                               
 200729c:	80 a6 60 00 	cmp  %i1, 0                                    
 20072a0:	02 80 00 0b 	be  20072cc <pthread_once+0x34>                
 20072a4:	a0 10 00 18 	mov  %i0, %l0                                  
 20072a8:	80 a6 20 00 	cmp  %i0, 0                                    
 20072ac:	02 80 00 08 	be  20072cc <pthread_once+0x34>                
 20072b0:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
 20072b4:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 20072b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20072bc:	02 80 00 06 	be  20072d4 <pthread_once+0x3c>                
 20072c0:	b0 10 20 00 	clr  %i0                                       
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
 20072c4:	81 c7 e0 08 	ret                                            
 20072c8:	81 e8 00 00 	restore                                        
int pthread_once(                                                     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
 20072cc:	81 c7 e0 08 	ret                                            
 20072d0:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 20072d4:	a2 07 bf fc 	add  %fp, -4, %l1                              
 20072d8:	90 10 21 00 	mov  0x100, %o0                                
 20072dc:	92 10 21 00 	mov  0x100, %o1                                
 20072e0:	40 00 03 05 	call  2007ef4 <rtems_task_mode>                
 20072e4:	94 10 00 11 	mov  %l1, %o2                                  
    if ( !once_control->init_executed ) {                             
 20072e8:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 20072ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20072f0:	02 80 00 09 	be  2007314 <pthread_once+0x7c>                <== ALWAYS TAKEN
 20072f4:	82 10 20 01 	mov  1, %g1                                    
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 20072f8:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
 20072fc:	94 10 00 11 	mov  %l1, %o2                                  
 2007300:	92 10 21 00 	mov  0x100, %o1                                
 2007304:	40 00 02 fc 	call  2007ef4 <rtems_task_mode>                
 2007308:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
  return 0;                                                           
}                                                                     
 200730c:	81 c7 e0 08 	ret                                            
 2007310:	81 e8 00 00 	restore                                        
  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;                            
      once_control->init_executed = true;                             
 2007314:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
      (*init_routine)();                                              
 2007318:	9f c6 40 00 	call  %i1                                      
 200731c:	c2 24 00 00 	st  %g1, [ %l0 ]                               
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2007320:	10 bf ff f7 	b  20072fc <pthread_once+0x64>                 
 2007324:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      

02007928 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
 2007928:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
 200792c:	80 a6 20 00 	cmp  %i0, 0                                    
 2007930:	02 80 00 23 	be  20079bc <pthread_rwlock_init+0x94>         
 2007934:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2007938:	22 80 00 27 	be,a   20079d4 <pthread_rwlock_init+0xac>      
 200793c:	b2 07 bf f4 	add  %fp, -12, %i1                             
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2007940:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007944:	80 a0 60 00 	cmp  %g1, 0                                    
 2007948:	02 80 00 1d 	be  20079bc <pthread_rwlock_init+0x94>         <== NEVER TAKEN
 200794c:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2007950:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2007954:	80 a0 60 00 	cmp  %g1, 0                                    
 2007958:	12 80 00 19 	bne  20079bc <pthread_rwlock_init+0x94>        <== NEVER TAKEN
 200795c:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2007960:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 2022730 <_Thread_Dispatch_disable_level>
 2007964:	84 00 a0 01 	inc  %g2                                       
 2007968:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
 *  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 *)                                     
 200796c:	23 00 80 8a 	sethi  %hi(0x2022800), %l1                     
 2007970:	40 00 0a 64 	call  200a300 <_Objects_Allocate>              
 2007974:	90 14 61 80 	or  %l1, 0x180, %o0	! 2022980 <_POSIX_RWLock_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
 2007978:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200797c:	02 80 00 12 	be  20079c4 <pthread_rwlock_init+0x9c>         
 2007980:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
 2007984:	40 00 08 12 	call  20099cc <_CORE_RWLock_Initialize>        
 2007988:	92 07 bf fc 	add  %fp, -4, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200798c:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2007990:	a2 14 61 80 	or  %l1, 0x180, %l1                            
 2007994:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2007998:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 200799c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20079a0:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20079a4:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
 20079a8:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 20079ac:	40 00 0e 28 	call  200b24c <_Thread_Enable_dispatch>        
 20079b0:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 20079b4:	81 c7 e0 08 	ret                                            
 20079b8:	81 e8 00 00 	restore                                        
}                                                                     
 20079bc:	81 c7 e0 08 	ret                                            
 20079c0:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    _Thread_Enable_dispatch();                                        
 20079c4:	40 00 0e 22 	call  200b24c <_Thread_Enable_dispatch>        
 20079c8:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 20079cc:	81 c7 e0 08 	ret                                            
 20079d0:	81 e8 00 00 	restore                                        
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
 20079d4:	40 00 02 8d 	call  2008408 <pthread_rwlockattr_init>        
 20079d8:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 20079dc:	10 bf ff da 	b  2007944 <pthread_rwlock_init+0x1c>          
 20079e0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      

02007a50 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2007a50:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2007a54:	80 a6 20 00 	cmp  %i0, 0                                    
 2007a58:	02 80 00 24 	be  2007ae8 <pthread_rwlock_timedrdlock+0x98>  
 2007a5c:	92 07 bf f8 	add  %fp, -8, %o1                              
   *                                                                  
   *  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 );       
 2007a60:	40 00 20 ac 	call  200fd10 <_POSIX_Absolute_timeout_to_ticks>
 2007a64:	90 10 00 19 	mov  %i1, %o0                                  
 2007a68:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2007a6c:	a0 10 00 08 	mov  %o0, %l0                                  
 2007a70:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007a74:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 2007a78:	40 00 0b 76 	call  200a850 <_Objects_Get>                   
 2007a7c:	90 12 21 80 	or  %o0, 0x180, %o0	! 2022980 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2007a80:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007a84:	80 a0 60 00 	cmp  %g1, 0                                    
 2007a88:	12 80 00 18 	bne  2007ae8 <pthread_rwlock_timedrdlock+0x98> 
 2007a8c:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 2007a90:	d2 06 00 00 	ld  [ %i0 ], %o1                               
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,                                
 2007a94:	82 1c 20 03 	xor  %l0, 3, %g1                               
 2007a98:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2007a9c:	80 a0 00 01 	cmp  %g0, %g1                                  
 2007aa0:	98 10 20 00 	clr  %o4                                       
 2007aa4:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 2007aa8:	40 00 07 d4 	call  20099f8 <_CORE_RWLock_Obtain_for_reading>
 2007aac:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2007ab0:	40 00 0d e7 	call  200b24c <_Thread_Enable_dispatch>        
 2007ab4:	01 00 00 00 	nop                                            
      if ( !do_wait ) {                                               
 2007ab8:	80 a4 60 00 	cmp  %l1, 0                                    
 2007abc:	12 80 00 13 	bne  2007b08 <pthread_rwlock_timedrdlock+0xb8> 
 2007ac0:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 2007ac4:	c2 00 63 f0 	ld  [ %g1 + 0x3f0 ], %g1	! 20227f0 <_Thread_Executing>
 2007ac8:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2007acc:	80 a2 20 02 	cmp  %o0, 2                                    
 2007ad0:	02 80 00 08 	be  2007af0 <pthread_rwlock_timedrdlock+0xa0>  
 2007ad4:	80 a4 20 00 	cmp  %l0, 0                                    
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2007ad8:	40 00 00 40 	call  2007bd8 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2007adc:	01 00 00 00 	nop                                            
 2007ae0:	81 c7 e0 08 	ret                                            
 2007ae4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2007ae8:	81 c7 e0 08 	ret                                            
 2007aec:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
 2007af0:	02 bf ff fe 	be  2007ae8 <pthread_rwlock_timedrdlock+0x98>  <== NEVER TAKEN
 2007af4:	80 a4 20 02 	cmp  %l0, 2                                    
 2007af8:	18 bf ff f8 	bgu  2007ad8 <pthread_rwlock_timedrdlock+0x88> <== NEVER TAKEN
 2007afc:	b0 10 20 74 	mov  0x74, %i0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2007b00:	81 c7 e0 08 	ret                                            
 2007b04:	81 e8 00 00 	restore                                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  switch (status) {                                                  
 2007b08:	c2 00 63 f0 	ld  [ %g1 + 0x3f0 ], %g1                       
 2007b0c:	10 bf ff f3 	b  2007ad8 <pthread_rwlock_timedrdlock+0x88>   
 2007b10:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
                                                                      

02007b14 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2007b14:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2007b18:	80 a6 20 00 	cmp  %i0, 0                                    
 2007b1c:	02 80 00 24 	be  2007bac <pthread_rwlock_timedwrlock+0x98>  
 2007b20:	92 07 bf f8 	add  %fp, -8, %o1                              
   *                                                                  
   *  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 );       
 2007b24:	40 00 20 7b 	call  200fd10 <_POSIX_Absolute_timeout_to_ticks>
 2007b28:	90 10 00 19 	mov  %i1, %o0                                  
 2007b2c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2007b30:	a0 10 00 08 	mov  %o0, %l0                                  
 2007b34:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007b38:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 2007b3c:	40 00 0b 45 	call  200a850 <_Objects_Get>                   
 2007b40:	90 12 21 80 	or  %o0, 0x180, %o0	! 2022980 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2007b44:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007b48:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b4c:	12 80 00 18 	bne  2007bac <pthread_rwlock_timedwrlock+0x98> 
 2007b50:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 2007b54:	d2 06 00 00 	ld  [ %i0 ], %o1                               
        (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,                                
 2007b58:	82 1c 20 03 	xor  %l0, 3, %g1                               
 2007b5c:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2007b60:	80 a0 00 01 	cmp  %g0, %g1                                  
 2007b64:	98 10 20 00 	clr  %o4                                       
 2007b68:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 2007b6c:	40 00 07 d8 	call  2009acc <_CORE_RWLock_Obtain_for_writing>
 2007b70:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2007b74:	40 00 0d b6 	call  200b24c <_Thread_Enable_dispatch>        
 2007b78:	01 00 00 00 	nop                                            
      if ( !do_wait &&                                                
 2007b7c:	80 a4 60 00 	cmp  %l1, 0                                    
 2007b80:	12 80 00 13 	bne  2007bcc <pthread_rwlock_timedwrlock+0xb8> 
 2007b84:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
 2007b88:	c2 00 63 f0 	ld  [ %g1 + 0x3f0 ], %g1	! 20227f0 <_Thread_Executing>
 2007b8c:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
 2007b90:	80 a2 20 02 	cmp  %o0, 2                                    
 2007b94:	02 80 00 08 	be  2007bb4 <pthread_rwlock_timedwrlock+0xa0>  
 2007b98:	80 a4 20 00 	cmp  %l0, 0                                    
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2007b9c:	40 00 00 0f 	call  2007bd8 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2007ba0:	01 00 00 00 	nop                                            
 2007ba4:	81 c7 e0 08 	ret                                            
 2007ba8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2007bac:	81 c7 e0 08 	ret                                            
 2007bb0:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
 2007bb4:	02 bf ff fe 	be  2007bac <pthread_rwlock_timedwrlock+0x98>  <== NEVER TAKEN
 2007bb8:	80 a4 20 02 	cmp  %l0, 2                                    
 2007bbc:	18 bf ff f8 	bgu  2007b9c <pthread_rwlock_timedwrlock+0x88> <== NEVER TAKEN
 2007bc0:	b0 10 20 74 	mov  0x74, %i0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2007bc4:	81 c7 e0 08 	ret                                            
 2007bc8:	81 e8 00 00 	restore                                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
 2007bcc:	c2 00 63 f0 	ld  [ %g1 + 0x3f0 ], %g1                       
 2007bd0:	10 bf ff f3 	b  2007b9c <pthread_rwlock_timedwrlock+0x88>   
 2007bd4:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
                                                                      

0200842c <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) { if ( !attr )
 200842c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008430:	02 80 00 08 	be  2008450 <pthread_rwlockattr_setpshared+0x24>
 2008434:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2008438:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200843c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008440:	02 80 00 04 	be  2008450 <pthread_rwlockattr_setpshared+0x24>
 2008444:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2008448:	28 80 00 04 	bleu,a   2008458 <pthread_rwlockattr_setpshared+0x2c><== ALWAYS TAKEN
 200844c:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2008450:	81 c3 e0 08 	retl                                           
 2008454:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
 2008458:	81 c3 e0 08 	retl                                           
 200845c:	90 10 20 00 	clr  %o0                                       
                                                                      

020096b4 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
 20096b4:	9d e3 bf 90 	save  %sp, -112, %sp                           
 20096b8:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
 20096bc:	80 a6 a0 00 	cmp  %i2, 0                                    
 20096c0:	02 80 00 3a 	be  20097a8 <pthread_setschedparam+0xf4>       
 20096c4:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
 20096c8:	90 10 00 19 	mov  %i1, %o0                                  
 20096cc:	92 10 00 1a 	mov  %i2, %o1                                  
 20096d0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20096d4:	40 00 1e 50 	call  2011014 <_POSIX_Thread_Translate_sched_param>
 20096d8:	96 07 bf f8 	add  %fp, -8, %o3                              
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 20096dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20096e0:	12 80 00 32 	bne  20097a8 <pthread_setschedparam+0xf4>      
 20096e4:	90 10 00 10 	mov  %l0, %o0                                  
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
 20096e8:	40 00 0b 29 	call  200c38c <_Thread_Get>                    
 20096ec:	92 07 bf f4 	add  %fp, -12, %o1                             
  switch ( location ) {                                               
 20096f0:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 20096f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20096f8:	12 80 00 2e 	bne  20097b0 <pthread_setschedparam+0xfc>      
 20096fc:	a2 10 00 08 	mov  %o0, %l1                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 2009700:	e0 02 21 6c 	ld  [ %o0 + 0x16c ], %l0                       
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
 2009704:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 2009708:	80 a0 60 04 	cmp  %g1, 4                                    
 200970c:	02 80 00 36 	be  20097e4 <pthread_setschedparam+0x130>      
 2009710:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
 2009714:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
      api->schedparam  = *param;                                      
 2009718:	c2 06 80 00 	ld  [ %i2 ], %g1                               
      the_thread->budget_algorithm = budget_algorithm;                
 200971c:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 2009720:	c2 24 20 84 	st  %g1, [ %l0 + 0x84 ]                        
 2009724:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
      the_thread->budget_algorithm = budget_algorithm;                
 2009728:	c6 24 60 7c 	st  %g3, [ %l1 + 0x7c ]                        
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 200972c:	c4 24 20 88 	st  %g2, [ %l0 + 0x88 ]                        
 2009730:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
 2009734:	c6 07 bf f8 	ld  [ %fp + -8 ], %g3                          
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 2009738:	c4 24 20 8c 	st  %g2, [ %l0 + 0x8c ]                        
 200973c:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
 2009740:	c6 24 60 80 	st  %g3, [ %l1 + 0x80 ]                        
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 2009744:	c4 24 20 90 	st  %g2, [ %l0 + 0x90 ]                        
 2009748:	c4 06 a0 10 	ld  [ %i2 + 0x10 ], %g2                        
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 200974c:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 2009750:	c4 24 20 94 	st  %g2, [ %l0 + 0x94 ]                        
 2009754:	c4 06 a0 14 	ld  [ %i2 + 0x14 ], %g2                        
 2009758:	c4 24 20 98 	st  %g2, [ %l0 + 0x98 ]                        
 200975c:	c4 06 a0 18 	ld  [ %i2 + 0x18 ], %g2                        
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 2009760:	06 80 00 10 	bl  20097a0 <pthread_setschedparam+0xec>       <== NEVER TAKEN
 2009764:	c4 24 20 9c 	st  %g2, [ %l0 + 0x9c ]                        
 2009768:	80 a6 60 02 	cmp  %i1, 2                                    
 200976c:	14 80 00 13 	bg  20097b8 <pthread_setschedparam+0x104>      
 2009770:	80 a6 60 04 	cmp  %i1, 4                                    
 2009774:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 2009778:	05 00 80 93 	sethi  %hi(0x2024c00), %g2                     
 200977c:	07 00 80 90 	sethi  %hi(0x2024000), %g3                     
 2009780:	c4 00 a2 78 	ld  [ %g2 + 0x278 ], %g2                       
 2009784:	d2 08 e3 a8 	ldub  [ %g3 + 0x3a8 ], %o1                     
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 2009788:	90 10 00 11 	mov  %l1, %o0                                  
 200978c:	92 22 40 01 	sub  %o1, %g1, %o1                             
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 2009790:	c4 24 60 78 	st  %g2, [ %l1 + 0x78 ]                        
                                                                      
          the_thread->real_priority =                                 
 2009794:	d2 24 60 18 	st  %o1, [ %l1 + 0x18 ]                        
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 2009798:	40 00 09 51 	call  200bcdc <_Thread_Change_priority>        
 200979c:	94 10 20 01 	mov  1, %o2                                    
          _Watchdog_Remove( &api->Sporadic_timer );                   
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 20097a0:	40 00 0a ed 	call  200c354 <_Thread_Enable_dispatch>        
 20097a4:	01 00 00 00 	nop                                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
 20097a8:	81 c7 e0 08 	ret                                            
 20097ac:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
 20097b0:	81 c7 e0 08 	ret                                            
 20097b4:	91 e8 20 03 	restore  %g0, 3, %o0                           
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 20097b8:	12 bf ff fa 	bne  20097a0 <pthread_setschedparam+0xec>      <== NEVER TAKEN
 20097bc:	01 00 00 00 	nop                                            
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
 20097c0:	c2 24 20 a0 	st  %g1, [ %l0 + 0xa0 ]                        
          _Watchdog_Remove( &api->Sporadic_timer );                   
 20097c4:	40 00 10 7e 	call  200d9bc <_Watchdog_Remove>               
 20097c8:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
 20097cc:	92 10 00 11 	mov  %l1, %o1                                  
 20097d0:	7f ff ff 93 	call  200961c <_POSIX_Threads_Sporadic_budget_TSR>
 20097d4:	90 10 20 00 	clr  %o0                                       
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 20097d8:	40 00 0a df 	call  200c354 <_Thread_Enable_dispatch>        
 20097dc:	01 00 00 00 	nop                                            
 20097e0:	30 bf ff f2 	b,a   20097a8 <pthread_setschedparam+0xf4>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
 20097e4:	40 00 10 76 	call  200d9bc <_Watchdog_Remove>               
 20097e8:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
                                                                      
      api->schedpolicy = policy;                                      
 20097ec:	10 bf ff cb 	b  2009718 <pthread_setschedparam+0x64>        
 20097f0:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
                                                                      

02006e38 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
 2006e38:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *  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() )                                        
 2006e3c:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 2006e40:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1	! 202140c <_ISR_Nest_level>
 2006e44:	80 a0 60 00 	cmp  %g1, 0                                    
 2006e48:	12 80 00 15 	bne  2006e9c <pthread_testcancel+0x64>         <== NEVER TAKEN
 2006e4c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 2006e50:	21 00 80 85 	sethi  %hi(0x2021400), %l0                     
 2006e54:	c6 00 63 70 	ld  [ %g1 + 0x370 ], %g3                       
 2006e58:	c4 04 20 30 	ld  [ %l0 + 0x30 ], %g2                        
 2006e5c:	86 00 e0 01 	inc  %g3                                       
 2006e60:	c6 20 63 70 	st  %g3, [ %g1 + 0x370 ]                       
 2006e64:	c2 00 a1 6c 	ld  [ %g2 + 0x16c ], %g1                       
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 2006e68:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 2006e6c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006e70:	12 80 00 0d 	bne  2006ea4 <pthread_testcancel+0x6c>         <== NEVER TAKEN
 2006e74:	01 00 00 00 	nop                                            
         thread_support->cancelation_requested )                      
 2006e78:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
 2006e7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006e80:	02 80 00 09 	be  2006ea4 <pthread_testcancel+0x6c>          
 2006e84:	01 00 00 00 	nop                                            
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 2006e88:	40 00 0a a8 	call  2009928 <_Thread_Enable_dispatch>        
 2006e8c:	b2 10 3f ff 	mov  -1, %i1	! ffffffff <RAM_END+0xfdbfffff>   
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
 2006e90:	f0 04 20 30 	ld  [ %l0 + 0x30 ], %i0                        
 2006e94:	40 00 1e 15 	call  200e6e8 <_POSIX_Thread_Exit>             
 2006e98:	81 e8 00 00 	restore                                        
 2006e9c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006ea0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 2006ea4:	40 00 0a a1 	call  2009928 <_Thread_Enable_dispatch>        
 2006ea8:	81 e8 00 00 	restore                                        
                                                                      

0200daf8 <rtems_barrier_create>: rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id ) {
 200daf8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 200dafc:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 200db00:	02 80 00 23 	be  200db8c <rtems_barrier_create+0x94>        
 200db04:	b0 10 20 03 	mov  3, %i0                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
 200db08:	80 a6 e0 00 	cmp  %i3, 0                                    
 200db0c:	02 80 00 20 	be  200db8c <rtems_barrier_create+0x94>        
 200db10:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
 200db14:	80 8e 60 10 	btst  0x10, %i1                                
 200db18:	02 80 00 1f 	be  200db94 <rtems_barrier_create+0x9c>        
 200db1c:	80 a6 a0 00 	cmp  %i2, 0                                    
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
 200db20:	02 80 00 1b 	be  200db8c <rtems_barrier_create+0x94>        
 200db24:	b0 10 20 0a 	mov  0xa, %i0                                  
 200db28:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 200db2c:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
 200db30:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
 200db34:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 200db38:	84 00 a0 01 	inc  %g2                                       
 200db3c:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
 *  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 );
 200db40:	25 00 80 7f 	sethi  %hi(0x201fc00), %l2                     
 200db44:	7f ff e8 96 	call  2007d9c <_Objects_Allocate>              
 200db48:	90 14 a0 c8 	or  %l2, 0xc8, %o0	! 201fcc8 <_Barrier_Information>
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
 200db4c:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 200db50:	02 80 00 1e 	be  200dbc8 <rtems_barrier_create+0xd0>        <== NEVER TAKEN
 200db54:	90 04 60 14 	add  %l1, 0x14, %o0                            
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_barrier->attribute_set = attribute_set;                         
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 200db58:	92 07 bf f8 	add  %fp, -8, %o1                              
 200db5c:	40 00 01 54 	call  200e0ac <_CORE_barrier_Initialize>       
 200db60:	f2 24 60 10 	st  %i1, [ %l1 + 0x10 ]                        
 200db64:	c2 14 60 0a 	lduh  [ %l1 + 0xa ], %g1                       
 200db68:	c6 04 60 08 	ld  [ %l1 + 8 ], %g3                           
 200db6c:	a4 14 a0 c8 	or  %l2, 0xc8, %l2                             
 200db70:	c4 04 a0 1c 	ld  [ %l2 + 0x1c ], %g2                        
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 200db74:	e0 24 60 0c 	st  %l0, [ %l1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200db78:	83 28 60 02 	sll  %g1, 2, %g1                               
    &_Barrier_Information,                                            
    &the_barrier->Object,                                             
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_barrier->Object.id;                                       
 200db7c:	c6 26 c0 00 	st  %g3, [ %i3 ]                               
 200db80:	e2 20 80 01 	st  %l1, [ %g2 + %g1 ]                         
                                                                      
  _Thread_Enable_dispatch();                                          
 200db84:	7f ff ec 87 	call  2008da0 <_Thread_Enable_dispatch>        
 200db88:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200db8c:	81 c7 e0 08 	ret                                            
 200db90:	81 e8 00 00 	restore                                        
  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;          
 200db94:	82 10 20 01 	mov  1, %g1                                    
 200db98:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 200db9c:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 200dba0:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 201f3a0 <_Thread_Dispatch_disable_level>
  the_attributes.maximum_count = maximum_waiters;                     
 200dba4:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 200dba8:	84 00 a0 01 	inc  %g2                                       
 200dbac:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
 200dbb0:	25 00 80 7f 	sethi  %hi(0x201fc00), %l2                     
 200dbb4:	7f ff e8 7a 	call  2007d9c <_Objects_Allocate>              
 200dbb8:	90 14 a0 c8 	or  %l2, 0xc8, %o0	! 201fcc8 <_Barrier_Information>
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
 200dbbc:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 200dbc0:	12 bf ff e6 	bne  200db58 <rtems_barrier_create+0x60>       
 200dbc4:	90 04 60 14 	add  %l1, 0x14, %o0                            
    _Thread_Enable_dispatch();                                        
 200dbc8:	7f ff ec 76 	call  2008da0 <_Thread_Enable_dispatch>        
 200dbcc:	b0 10 20 05 	mov  5, %i0                                    
    return RTEMS_TOO_MANY;                                            
 200dbd0:	81 c7 e0 08 	ret                                            
 200dbd4:	81 e8 00 00 	restore                                        
                                                                      

02008424 <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 ) {
 2008424:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 2008428:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 200842c:	c2 00 63 ec 	ld  [ %g1 + 0x3ec ], %g1	! 20233ec <_ISR_Nest_level>
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
 2008430:	09 00 80 8f 	sethi  %hi(0x2023c00), %g4                     
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 2008434:	80 a0 60 00 	cmp  %g1, 0                                    
 2008438:	84 10 20 12 	mov  0x12, %g2                                 
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                  
)                                                                     
{                                                                     
 200843c:	82 10 00 19 	mov  %i1, %g1                                  
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 2008440:	12 80 00 49 	bne  2008564 <rtems_io_register_driver+0x140>  
 2008444:	c6 01 20 bc 	ld  [ %g4 + 0xbc ], %g3                        
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
 2008448:	80 a6 a0 00 	cmp  %i2, 0                                    
 200844c:	02 80 00 4b 	be  2008578 <rtems_io_register_driver+0x154>   
 2008450:	80 a6 60 00 	cmp  %i1, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
 2008454:	02 80 00 49 	be  2008578 <rtems_io_register_driver+0x154>   
 2008458:	c6 26 80 00 	st  %g3, [ %i2 ]                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 200845c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2008460:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008464:	22 80 00 42 	be,a   200856c <rtems_io_register_driver+0x148>
 2008468:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
 200846c:	80 a0 c0 18 	cmp  %g3, %i0                                  
 2008470:	08 80 00 3d 	bleu  2008564 <rtems_io_register_driver+0x140> 
 2008474:	84 10 20 0a 	mov  0xa, %g2                                  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2008478:	05 00 80 8c 	sethi  %hi(0x2023000), %g2                     
 200847c:	c6 00 a3 50 	ld  [ %g2 + 0x350 ], %g3	! 2023350 <_Thread_Dispatch_disable_level>
 2008480:	86 00 e0 01 	inc  %g3                                       
 2008484:	c6 20 a3 50 	st  %g3, [ %g2 + 0x350 ]                       
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
 2008488:	80 a6 20 00 	cmp  %i0, 0                                    
 200848c:	12 80 00 2b 	bne  2008538 <rtems_io_register_driver+0x114>  
 2008490:	05 00 80 8f 	sethi  %hi(0x2023c00), %g2                     
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
 2008494:	da 01 20 bc 	ld  [ %g4 + 0xbc ], %o5                        
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
 2008498:	80 a3 60 00 	cmp  %o5, 0                                    
 200849c:	02 80 00 3a 	be  2008584 <rtems_io_register_driver+0x160>   <== NEVER TAKEN
 20084a0:	d8 00 a0 c0 	ld  [ %g2 + 0xc0 ], %o4                        
 20084a4:	10 80 00 05 	b  20084b8 <rtems_io_register_driver+0x94>     
 20084a8:	86 10 00 0c 	mov  %o4, %g3                                  
 20084ac:	80 a3 40 18 	cmp  %o5, %i0                                  
 20084b0:	08 80 00 0b 	bleu  20084dc <rtems_io_register_driver+0xb8>  
 20084b4:	86 00 e0 18 	add  %g3, 0x18, %g3                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 20084b8:	c8 00 c0 00 	ld  [ %g3 ], %g4                               
 20084bc:	80 a1 20 00 	cmp  %g4, 0                                    
 20084c0:	32 bf ff fb 	bne,a   20084ac <rtems_io_register_driver+0x88>
 20084c4:	b0 06 20 01 	inc  %i0                                       
 20084c8:	c8 00 e0 04 	ld  [ %g3 + 4 ], %g4                           
 20084cc:	80 a1 20 00 	cmp  %g4, 0                                    
 20084d0:	32 bf ff f7 	bne,a   20084ac <rtems_io_register_driver+0x88>
 20084d4:	b0 06 20 01 	inc  %i0                                       
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
 20084d8:	80 a3 40 18 	cmp  %o5, %i0                                  
 20084dc:	02 80 00 2b 	be  2008588 <rtems_io_register_driver+0x164>   
 20084e0:	f0 26 80 00 	st  %i0, [ %i2 ]                               
 20084e4:	85 2e 20 03 	sll  %i0, 3, %g2                               
 20084e8:	87 2e 20 05 	sll  %i0, 5, %g3                               
 20084ec:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 20084f0:	84 03 00 02 	add  %o4, %g2, %g2                             
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 20084f4:	c6 00 40 00 	ld  [ %g1 ], %g3                               
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 20084f8:	b2 10 20 00 	clr  %i1                                       
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 20084fc:	c6 20 80 00 	st  %g3, [ %g2 ]                               
 2008500:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2008504:	b4 10 20 00 	clr  %i2                                       
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 2008508:	c6 20 a0 04 	st  %g3, [ %g2 + 4 ]                           
 200850c:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
 2008510:	c6 20 a0 08 	st  %g3, [ %g2 + 8 ]                           
 2008514:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
 2008518:	c6 20 a0 0c 	st  %g3, [ %g2 + 0xc ]                         
 200851c:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 2008520:	c6 20 a0 10 	st  %g3, [ %g2 + 0x10 ]                        
 2008524:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
                                                                      
  _Thread_Enable_dispatch();                                          
 2008528:	40 00 07 53 	call  200a274 <_Thread_Enable_dispatch>        
 200852c:	c2 20 a0 14 	st  %g1, [ %g2 + 0x14 ]                        
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2008530:	40 00 27 fb 	call  201251c <rtems_io_initialize>            
 2008534:	81 e8 00 00 	restore                                        
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
 2008538:	c6 00 a0 c0 	ld  [ %g2 + 0xc0 ], %g3                        
 200853c:	89 2e 20 05 	sll  %i0, 5, %g4                               
 2008540:	85 2e 20 03 	sll  %i0, 3, %g2                               
 2008544:	84 21 00 02 	sub  %g4, %g2, %g2                             
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 2008548:	c8 00 c0 02 	ld  [ %g3 + %g2 ], %g4                         
 200854c:	80 a1 20 00 	cmp  %g4, 0                                    
 2008550:	02 80 00 12 	be  2008598 <rtems_io_register_driver+0x174>   
 2008554:	84 00 c0 02 	add  %g3, %g2, %g2                             
    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();                                      
 2008558:	40 00 07 47 	call  200a274 <_Thread_Enable_dispatch>        
 200855c:	01 00 00 00 	nop                                            
 2008560:	84 10 20 0c 	mov  0xc, %g2	! c <PROM_START+0xc>             
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
 2008564:	81 c7 e0 08 	ret                                            
 2008568:	91 e8 00 02 	restore  %g0, %g2, %o0                         
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 200856c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008570:	12 bf ff c0 	bne  2008470 <rtems_io_register_driver+0x4c>   
 2008574:	80 a0 c0 18 	cmp  %g3, %i0                                  
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2008578:	84 10 20 09 	mov  9, %g2                                    
}                                                                     
 200857c:	81 c7 e0 08 	ret                                            
 2008580:	91 e8 00 02 	restore  %g0, %g2, %o0                         
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 2008584:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
 2008588:	40 00 07 3b 	call  200a274 <_Thread_Enable_dispatch>        
 200858c:	01 00 00 00 	nop                                            
      return sc;                                                      
 2008590:	10 bf ff f5 	b  2008564 <rtems_io_register_driver+0x140>    
 2008594:	84 10 20 05 	mov  5, %g2	! 5 <PROM_START+0x5>               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 2008598:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200859c:	80 a0 e0 00 	cmp  %g3, 0                                    
 20085a0:	12 bf ff ee 	bne  2008558 <rtems_io_register_driver+0x134>  
 20085a4:	01 00 00 00 	nop                                            
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
 20085a8:	10 bf ff d3 	b  20084f4 <rtems_io_register_driver+0xd0>     
 20085ac:	f0 26 80 00 	st  %i0, [ %i2 ]                               
                                                                      

020099a0 <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) {
 20099a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 20099a4:	80 a6 20 00 	cmp  %i0, 0                                    
 20099a8:	02 80 00 23 	be  2009a34 <rtems_iterate_over_all_threads+0x94><== NEVER TAKEN
 20099ac:	25 00 80 97 	sethi  %hi(0x2025c00), %l2                     
 20099b0:	a4 14 a3 24 	or  %l2, 0x324, %l2	! 2025f24 <_Objects_Information_table+0x4>
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 20099b4:	a6 04 a0 10 	add  %l2, 0x10, %l3                            
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
 20099b8:	c2 04 80 00 	ld  [ %l2 ], %g1                               
 20099bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20099c0:	22 80 00 1a 	be,a   2009a28 <rtems_iterate_over_all_threads+0x88>
 20099c4:	a4 04 a0 04 	add  %l2, 4, %l2                               
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 20099c8:	e2 00 60 04 	ld  [ %g1 + 4 ], %l1                           
    if ( !information )                                               
 20099cc:	80 a4 60 00 	cmp  %l1, 0                                    
 20099d0:	22 80 00 16 	be,a   2009a28 <rtems_iterate_over_all_threads+0x88>
 20099d4:	a4 04 a0 04 	add  %l2, 4, %l2                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 20099d8:	c2 14 60 10 	lduh  [ %l1 + 0x10 ], %g1                      
 20099dc:	84 90 60 00 	orcc  %g1, 0, %g2                              
 20099e0:	22 80 00 12 	be,a   2009a28 <rtems_iterate_over_all_threads+0x88>
 20099e4:	a4 04 a0 04 	add  %l2, 4, %l2                               
 20099e8:	a0 10 20 01 	mov  1, %l0                                    
      the_thread = (Thread_Control *)information->local_table[ i ];   
 20099ec:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 20099f0:	83 2c 20 02 	sll  %l0, 2, %g1                               
 20099f4:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
                                                                      
      if ( !the_thread )                                              
 20099f8:	90 90 60 00 	orcc  %g1, 0, %o0                              
 20099fc:	02 80 00 05 	be  2009a10 <rtems_iterate_over_all_threads+0x70><== NEVER TAKEN
 2009a00:	a0 04 20 01 	inc  %l0                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 2009a04:	9f c6 00 00 	call  %i0                                      
 2009a08:	01 00 00 00 	nop                                            
 2009a0c:	c4 14 60 10 	lduh  [ %l1 + 0x10 ], %g2                      
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 2009a10:	83 28 a0 10 	sll  %g2, 0x10, %g1                            
 2009a14:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2009a18:	80 a0 40 10 	cmp  %g1, %l0                                  
 2009a1c:	3a bf ff f5 	bcc,a   20099f0 <rtems_iterate_over_all_threads+0x50>
 2009a20:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2009a24:	a4 04 a0 04 	add  %l2, 4, %l2                               
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 2009a28:	80 a4 80 13 	cmp  %l2, %l3                                  
 2009a2c:	32 bf ff e4 	bne,a   20099bc <rtems_iterate_over_all_threads+0x1c>
 2009a30:	c2 04 80 00 	ld  [ %l2 ], %g1                               
 2009a34:	81 c7 e0 08 	ret                                            
 2009a38:	81 e8 00 00 	restore                                        
                                                                      

02008508 <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 ) {
 2008508:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200850c:	90 10 00 18 	mov  %i0, %o0                                  
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
 2008510:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008514:	02 80 00 20 	be  2008594 <rtems_object_get_class_information+0x8c>
 2008518:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
 200851c:	92 10 00 19 	mov  %i1, %o1                                  
 2008520:	40 00 07 72 	call  200a2e8 <_Objects_Get_information>       
 2008524:	b0 10 20 0a 	mov  0xa, %i0                                  
  if ( !obj_info )                                                    
 2008528:	80 a2 20 00 	cmp  %o0, 0                                    
 200852c:	02 80 00 1a 	be  2008594 <rtems_object_get_class_information+0x8c>
 2008530:	01 00 00 00 	nop                                            
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 2008534:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
 2008538:	c8 12 20 10 	lduh  [ %o0 + 0x10 ], %g4                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
 200853c:	c4 0a 20 12 	ldub  [ %o0 + 0x12 ], %g2                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 2008540:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  info->maximum_id  = obj_info->maximum_id;                           
 2008544:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  info->auto_extend = obj_info->auto_extend;                          
 2008548:	c4 2e a0 0c 	stb  %g2, [ %i2 + 0xc ]                        
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
 200854c:	c2 26 a0 04 	st  %g1, [ %i2 + 4 ]                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
 2008550:	c8 26 a0 08 	st  %g4, [ %i2 + 8 ]                           
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 2008554:	80 a1 20 00 	cmp  %g4, 0                                    
 2008558:	02 80 00 0d 	be  200858c <rtems_object_get_class_information+0x84><== NEVER TAKEN
 200855c:	84 10 20 00 	clr  %g2                                       
 2008560:	da 02 20 1c 	ld  [ %o0 + 0x1c ], %o5                        
 2008564:	86 10 20 01 	mov  1, %g3                                    
 2008568:	82 10 20 01 	mov  1, %g1                                    
    if ( !obj_info->local_table[i] )                                  
 200856c:	87 28 e0 02 	sll  %g3, 2, %g3                               
 2008570:	c6 03 40 03 	ld  [ %o5 + %g3 ], %g3                         
  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++ )               
 2008574:	82 00 60 01 	inc  %g1                                       
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
 2008578:	80 a0 00 03 	cmp  %g0, %g3                                  
 200857c:	84 60 bf ff 	subx  %g2, -1, %g2                             
  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++ )               
 2008580:	80 a1 00 01 	cmp  %g4, %g1                                  
 2008584:	1a bf ff fa 	bcc  200856c <rtems_object_get_class_information+0x64>
 2008588:	86 10 00 01 	mov  %g1, %g3                                  
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
 200858c:	c4 26 a0 10 	st  %g2, [ %i2 + 0x10 ]                        
 2008590:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2008594:	81 c7 e0 08 	ret                                            
 2008598:	81 e8 00 00 	restore                                        
                                                                      

02014734 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 2014734:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 2014738:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 201473c:	02 80 00 31 	be  2014800 <rtems_partition_create+0xcc>      
 2014740:	b0 10 20 03 	mov  3, %i0                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 2014744:	80 a6 60 00 	cmp  %i1, 0                                    
 2014748:	02 80 00 32 	be  2014810 <rtems_partition_create+0xdc>      
 201474c:	80 a7 60 00 	cmp  %i5, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 2014750:	02 80 00 30 	be  2014810 <rtems_partition_create+0xdc>      <== NEVER TAKEN
 2014754:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2014758:	02 80 00 2c 	be  2014808 <rtems_partition_create+0xd4>      
 201475c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2014760:	02 80 00 2a 	be  2014808 <rtems_partition_create+0xd4>      
 2014764:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2014768:	0a 80 00 28 	bcs  2014808 <rtems_partition_create+0xd4>     
 201476c:	80 8e e0 07 	btst  7, %i3                                   
 2014770:	12 80 00 26 	bne  2014808 <rtems_partition_create+0xd4>     
 2014774:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 2014778:	12 80 00 26 	bne  2014810 <rtems_partition_create+0xdc>     
 201477c:	03 00 81 03 	sethi  %hi(0x2040c00), %g1                     
 2014780:	c4 00 60 e0 	ld  [ %g1 + 0xe0 ], %g2	! 2040ce0 <_Thread_Dispatch_disable_level>
 2014784:	84 00 a0 01 	inc  %g2                                       
 2014788:	c4 20 60 e0 	st  %g2, [ %g1 + 0xe0 ]                        
 *  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 );
 201478c:	25 00 81 02 	sethi  %hi(0x2040800), %l2                     
 2014790:	40 00 12 8d 	call  20191c4 <_Objects_Allocate>              
 2014794:	90 14 a2 e4 	or  %l2, 0x2e4, %o0	! 2040ae4 <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 2014798:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 201479c:	02 80 00 1f 	be  2014818 <rtems_partition_create+0xe4>      
 20147a0:	92 10 00 1b 	mov  %i3, %o1                                  
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
 20147a4:	f8 24 60 1c 	st  %i4, [ %l1 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 20147a8:	f2 24 60 10 	st  %i1, [ %l1 + 0x10 ]                        
  the_partition->length                = length;                      
 20147ac:	f4 24 60 14 	st  %i2, [ %l1 + 0x14 ]                        
  the_partition->buffer_size           = buffer_size;                 
 20147b0:	f6 24 60 18 	st  %i3, [ %l1 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
 20147b4:	c0 24 60 20 	clr  [ %l1 + 0x20 ]                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 20147b8:	40 00 6c c1 	call  202fabc <.udiv>                          
 20147bc:	90 10 00 1a 	mov  %i2, %o0                                  
 20147c0:	92 10 00 19 	mov  %i1, %o1                                  
 20147c4:	94 10 00 08 	mov  %o0, %o2                                  
 20147c8:	96 10 00 1b 	mov  %i3, %o3                                  
 20147cc:	b8 04 60 24 	add  %l1, 0x24, %i4                            
 20147d0:	40 00 0c d7 	call  2017b2c <_Chain_Initialize>              
 20147d4:	90 10 00 1c 	mov  %i4, %o0                                  
 20147d8:	c2 14 60 0a 	lduh  [ %l1 + 0xa ], %g1                       
 20147dc:	c6 04 60 08 	ld  [ %l1 + 8 ], %g3                           
 20147e0:	a4 14 a2 e4 	or  %l2, 0x2e4, %l2                            
 20147e4:	c4 04 a0 1c 	ld  [ %l2 + 0x1c ], %g2                        
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 20147e8:	e0 24 60 0c 	st  %l0, [ %l1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20147ec:	83 28 60 02 	sll  %g1, 2, %g1                               
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
 20147f0:	c6 27 40 00 	st  %g3, [ %i5 ]                               
 20147f4:	e2 20 80 01 	st  %l1, [ %g2 + %g1 ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 20147f8:	40 00 16 af 	call  201a2b4 <_Thread_Enable_dispatch>        
 20147fc:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
 2014800:	81 c7 e0 08 	ret                                            
 2014804:	81 e8 00 00 	restore                                        
}                                                                     
 2014808:	81 c7 e0 08 	ret                                            
 201480c:	91 e8 20 08 	restore  %g0, 8, %o0                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
 2014810:	81 c7 e0 08 	ret                                            
 2014814:	91 e8 20 09 	restore  %g0, 9, %o0                           
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
 2014818:	40 00 16 a7 	call  201a2b4 <_Thread_Enable_dispatch>        
 201481c:	b0 10 20 05 	mov  5, %i0                                    
    return RTEMS_TOO_MANY;                                            
 2014820:	81 c7 e0 08 	ret                                            
 2014824:	81 e8 00 00 	restore                                        
                                                                      

02046ea8 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 2046ea8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2046eac:	11 00 81 d6 	sethi  %hi(0x2075800), %o0                     
 2046eb0:	92 10 00 18 	mov  %i0, %o1                                  
 2046eb4:	90 12 21 68 	or  %o0, 0x168, %o0                            
 2046eb8:	7f ff 21 a7 	call  200f554 <_Objects_Get>                   
 2046ebc:	94 07 bf fc 	add  %fp, -4, %o2                              
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
 2046ec0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2046ec4:	80 a0 60 00 	cmp  %g1, 0                                    
 2046ec8:	02 80 00 04 	be  2046ed8 <rtems_rate_monotonic_period+0x30> 
 2046ecc:	a0 10 00 08 	mov  %o0, %l0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2046ed0:	81 c7 e0 08 	ret                                            
 2046ed4:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 2046ed8:	23 00 81 d3 	sethi  %hi(0x2074c00), %l1                     
 2046edc:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 2046ee0:	c2 04 63 00 	ld  [ %l1 + 0x300 ], %g1                       
 2046ee4:	80 a0 80 01 	cmp  %g2, %g1                                  
 2046ee8:	02 80 00 06 	be  2046f00 <rtems_rate_monotonic_period+0x58> 
 2046eec:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 2046ef0:	7f ff 24 42 	call  200fff8 <_Thread_Enable_dispatch>        
 2046ef4:	b0 10 20 17 	mov  0x17, %i0                                 
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
 2046ef8:	81 c7 e0 08 	ret                                            
 2046efc:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 2046f00:	12 80 00 0e 	bne  2046f38 <rtems_rate_monotonic_period+0x90>
 2046f04:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 2046f08:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2046f0c:	80 a0 60 04 	cmp  %g1, 4                                    
 2046f10:	18 80 00 06 	bgu  2046f28 <rtems_rate_monotonic_period+0x80><== NEVER TAKEN
 2046f14:	b0 10 20 00 	clr  %i0                                       
 2046f18:	83 28 60 02 	sll  %g1, 2, %g1                               
 2046f1c:	05 00 81 bb 	sethi  %hi(0x206ec00), %g2                     
 2046f20:	84 10 a3 50 	or  %g2, 0x350, %g2	! 206ef50 <CSWTCH.48>      
 2046f24:	f0 00 80 01 	ld  [ %g2 + %g1 ], %i0                         
          );                                                          
                                                                      
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 2046f28:	7f ff 24 34 	call  200fff8 <_Thread_Enable_dispatch>        
 2046f2c:	01 00 00 00 	nop                                            
          return RTEMS_SUCCESSFUL;                                    
 2046f30:	81 c7 e0 08 	ret                                            
 2046f34:	81 e8 00 00 	restore                                        
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 2046f38:	7f fe f2 ba 	call  2003a20 <sparc_disable_interrupts>       
 2046f3c:	01 00 00 00 	nop                                            
 2046f40:	a6 10 00 08 	mov  %o0, %l3                                  
      switch ( the_period->state ) {                                  
 2046f44:	e4 04 20 38 	ld  [ %l0 + 0x38 ], %l2                        
 2046f48:	80 a4 a0 02 	cmp  %l2, 2                                    
 2046f4c:	02 80 00 1a 	be  2046fb4 <rtems_rate_monotonic_period+0x10c>
 2046f50:	80 a4 a0 04 	cmp  %l2, 4                                    
 2046f54:	02 80 00 32 	be  204701c <rtems_rate_monotonic_period+0x174>
 2046f58:	80 a4 a0 00 	cmp  %l2, 0                                    
 2046f5c:	12 bf ff dd 	bne  2046ed0 <rtems_rate_monotonic_period+0x28><== NEVER TAKEN
 2046f60:	01 00 00 00 	nop                                            
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
 2046f64:	7f fe f2 b3 	call  2003a30 <sparc_enable_interrupts>        
 2046f68:	01 00 00 00 	nop                                            
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
 2046f6c:	7f ff ff 48 	call  2046c8c <_Rate_monotonic_Initiate_statistics>
 2046f70:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2046f74:	82 10 20 02 	mov  2, %g1                                    
 2046f78:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2046f7c:	03 00 81 1c 	sethi  %hi(0x2047000), %g1                     
 2046f80:	82 10 60 6c 	or  %g1, 0x6c, %g1	! 204706c <_Rate_monotonic_Timeout>
  the_watchdog->id        = id;                                       
 2046f84:	f0 24 20 30 	st  %i0, [ %l0 + 0x30 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2046f88:	92 04 20 10 	add  %l0, 0x10, %o1                            
 2046f8c:	11 00 81 d3 	sethi  %hi(0x2074c00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2046f90:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2046f94:	90 12 23 20 	or  %o0, 0x320, %o0                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2046f98:	c0 24 20 18 	clr  [ %l0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2046f9c:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
 2046fa0:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2046fa4:	c2 24 20 2c 	st  %g1, [ %l0 + 0x2c ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2046fa8:	7f ff 28 d8 	call  2011308 <_Watchdog_Insert>               
 2046fac:	b0 10 20 00 	clr  %i0                                       
 2046fb0:	30 bf ff de 	b,a   2046f28 <rtems_rate_monotonic_period+0x80>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 2046fb4:	7f ff ff 7d 	call  2046da8 <_Rate_monotonic_Update_statistics>
 2046fb8:	90 10 00 10 	mov  %l0, %o0                                  
          /*                                                          
           *  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;       
 2046fbc:	82 10 20 01 	mov  1, %g1                                    
          the_period->next_length = length;                           
 2046fc0:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
          /*                                                          
           *  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;       
 2046fc4:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
 2046fc8:	7f fe f2 9a 	call  2003a30 <sparc_enable_interrupts>        
 2046fcc:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 2046fd0:	c2 04 63 00 	ld  [ %l1 + 0x300 ], %g1                       
 2046fd4:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2046fd8:	90 10 00 01 	mov  %g1, %o0                                  
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 2046fdc:	c4 20 60 20 	st  %g2, [ %g1 + 0x20 ]                        
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2046fe0:	7f ff 26 ae 	call  2010a98 <_Thread_Set_state>              
 2046fe4:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
 2046fe8:	7f fe f2 8e 	call  2003a20 <sparc_disable_interrupts>       
 2046fec:	01 00 00 00 	nop                                            
            local_state = the_period->state;                          
 2046ff0:	e6 04 20 38 	ld  [ %l0 + 0x38 ], %l3                        
            the_period->state = RATE_MONOTONIC_ACTIVE;                
 2046ff4:	e4 24 20 38 	st  %l2, [ %l0 + 0x38 ]                        
          _ISR_Enable( level );                                       
 2046ff8:	7f fe f2 8e 	call  2003a30 <sparc_enable_interrupts>        
 2046ffc:	01 00 00 00 	nop                                            
                                                                      
          /*                                                          
           *  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 ) 
 2047000:	80 a4 e0 03 	cmp  %l3, 3                                    
 2047004:	02 80 00 17 	be  2047060 <rtems_rate_monotonic_period+0x1b8>
 2047008:	d0 04 63 00 	ld  [ %l1 + 0x300 ], %o0                       
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
          _Thread_Enable_dispatch();                                  
 204700c:	7f ff 23 fb 	call  200fff8 <_Thread_Enable_dispatch>        
 2047010:	b0 10 20 00 	clr  %i0                                       
          return RTEMS_SUCCESSFUL;                                    
 2047014:	81 c7 e0 08 	ret                                            
 2047018:	81 e8 00 00 	restore                                        
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 204701c:	7f ff ff 63 	call  2046da8 <_Rate_monotonic_Update_statistics>
 2047020:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          _ISR_Enable( level );                                       
 2047024:	7f fe f2 83 	call  2003a30 <sparc_enable_interrupts>        
 2047028:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 204702c:	82 10 20 02 	mov  2, %g1                                    
 2047030:	92 04 20 10 	add  %l0, 0x10, %o1                            
 2047034:	11 00 81 d3 	sethi  %hi(0x2074c00), %o0                     
 2047038:	90 12 23 20 	or  %o0, 0x320, %o0	! 2074f20 <_Watchdog_Ticks_chain>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 204703c:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
          the_period->next_length = length;                           
 2047040:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2047044:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2047048:	7f ff 28 b0 	call  2011308 <_Watchdog_Insert>               
 204704c:	b0 10 20 06 	mov  6, %i0                                    
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 2047050:	7f ff 23 ea 	call  200fff8 <_Thread_Enable_dispatch>        
 2047054:	01 00 00 00 	nop                                            
          return RTEMS_TIMEOUT;                                       
 2047058:	81 c7 e0 08 	ret                                            
 204705c:	81 e8 00 00 	restore                                        
          /*                                                          
           *  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 );
 2047060:	7f ff 22 cc 	call  200fb90 <_Thread_Clear_state>            
 2047064:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 2047068:	30 bf ff e9 	b,a   204700c <rtems_rate_monotonic_period+0x164>
                                                                      

0202fcb0 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 202fcb0:	9d e3 bf 30 	save  %sp, -208, %sp                           
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
 202fcb4:	80 a6 60 00 	cmp  %i1, 0                                    
 202fcb8:	02 80 00 4d 	be  202fdec <rtems_rate_monotonic_report_statistics_with_plugin+0x13c><== NEVER TAKEN
 202fcbc:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 202fcc0:	13 00 81 ac 	sethi  %hi(0x206b000), %o1                     
 202fcc4:	9f c6 40 00 	call  %i1                                      
 202fcc8:	92 12 61 f8 	or  %o1, 0x1f8, %o1	! 206b1f8 <_TOD_Days_per_month+0x68>
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 202fccc:	90 10 00 18 	mov  %i0, %o0                                  
 202fcd0:	13 00 81 ac 	sethi  %hi(0x206b000), %o1                     
 202fcd4:	9f c6 40 00 	call  %i1                                      
 202fcd8:	92 12 62 18 	or  %o1, 0x218, %o1	! 206b218 <_TOD_Days_per_month+0x88>
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 202fcdc:	90 10 00 18 	mov  %i0, %o0                                  
 202fce0:	13 00 81 ac 	sethi  %hi(0x206b000), %o1                     
 202fce4:	9f c6 40 00 	call  %i1                                      
 202fce8:	92 12 62 40 	or  %o1, 0x240, %o1	! 206b240 <_TOD_Days_per_month+0xb0>
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 202fcec:	90 10 00 18 	mov  %i0, %o0                                  
 202fcf0:	13 00 81 ac 	sethi  %hi(0x206b000), %o1                     
 202fcf4:	9f c6 40 00 	call  %i1                                      
 202fcf8:	92 12 62 68 	or  %o1, 0x268, %o1	! 206b268 <_TOD_Days_per_month+0xd8>
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 202fcfc:	90 10 00 18 	mov  %i0, %o0                                  
 202fd00:	13 00 81 ac 	sethi  %hi(0x206b000), %o1                     
 202fd04:	9f c6 40 00 	call  %i1                                      
 202fd08:	92 12 62 b8 	or  %o1, 0x2b8, %o1	! 206b2b8 <_TOD_Days_per_month+0x128>
                                                                      
  /*                                                                  
   * 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 ;                   
 202fd0c:	23 00 81 d6 	sethi  %hi(0x2075800), %l1                     
 202fd10:	a2 14 61 68 	or  %l1, 0x168, %l1	! 2075968 <_Rate_monotonic_Information>
 202fd14:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 202fd18:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
 202fd1c:	80 a4 00 01 	cmp  %l0, %g1                                  
 202fd20:	18 80 00 33 	bgu  202fdec <rtems_rate_monotonic_report_statistics_with_plugin+0x13c><== NEVER TAKEN
 202fd24:	3b 00 81 ac 	sethi  %hi(0x206b000), %i5                     
      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 );
      (*print)( context,                                              
 202fd28:	39 00 81 ac 	sethi  %hi(0x206b000), %i4                     
      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);
      (*print)( context,                                              
 202fd2c:	35 00 81 ac 	sethi  %hi(0x206b000), %i2                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202fd30:	2f 00 81 ac 	sethi  %hi(0x206b000), %l7                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202fd34:	ba 17 63 08 	or  %i5, 0x308, %i5                            
      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 );
      (*print)( context,                                              
 202fd38:	b8 17 23 28 	or  %i4, 0x328, %i4                            
      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);
      (*print)( context,                                              
 202fd3c:	b4 16 a3 48 	or  %i2, 0x348, %i2                            
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202fd40:	ae 15 e3 20 	or  %l7, 0x320, %l7                            
 202fd44:	a4 07 bf a0 	add  %fp, -96, %l2                             
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    if ( status != RTEMS_SUCCESSFUL )                                 
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 202fd48:	ac 07 bf d8 	add  %fp, -40, %l6                             
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202fd4c:	a6 07 bf f8 	add  %fp, -8, %l3                              
      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 );
 202fd50:	aa 07 bf b8 	add  %fp, -72, %l5                             
 202fd54:	10 80 00 06 	b  202fd6c <rtems_rate_monotonic_report_statistics_with_plugin+0xbc>
 202fd58:	a8 07 bf f0 	add  %fp, -16, %l4                             
   * 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++ ) {                                                      
 202fd5c:	a0 04 20 01 	inc  %l0                                       
                                                                      
  /*                                                                  
   * 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 ;                   
 202fd60:	80 a0 40 10 	cmp  %g1, %l0                                  
 202fd64:	0a 80 00 22 	bcs  202fdec <rtems_rate_monotonic_report_statistics_with_plugin+0x13c>
 202fd68:	01 00 00 00 	nop                                            
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 202fd6c:	90 10 00 10 	mov  %l0, %o0                                  
 202fd70:	40 00 5b 67 	call  2046b0c <rtems_rate_monotonic_get_statistics>
 202fd74:	92 10 00 12 	mov  %l2, %o1                                  
    if ( status != RTEMS_SUCCESSFUL )                                 
 202fd78:	80 a2 20 00 	cmp  %o0, 0                                    
 202fd7c:	32 bf ff f8 	bne,a   202fd5c <rtems_rate_monotonic_report_statistics_with_plugin+0xac>
 202fd80:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 202fd84:	92 10 00 16 	mov  %l6, %o1                                  
 202fd88:	40 00 5b 90 	call  2046bc8 <rtems_rate_monotonic_get_status>
 202fd8c:	90 10 00 10 	mov  %l0, %o0                                  
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202fd90:	d0 07 bf d8 	ld  [ %fp + -40 ], %o0                         
 202fd94:	94 10 00 13 	mov  %l3, %o2                                  
 202fd98:	7f ff 75 6a 	call  200d340 <rtems_object_get_name>          
 202fd9c:	92 10 20 05 	mov  5, %o1                                    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202fda0:	d8 1f bf a0 	ldd  [ %fp + -96 ], %o4                        
 202fda4:	92 10 00 1d 	mov  %i5, %o1                                  
 202fda8:	94 10 00 10 	mov  %l0, %o2                                  
 202fdac:	90 10 00 18 	mov  %i0, %o0                                  
 202fdb0:	9f c6 40 00 	call  %i1                                      
 202fdb4:	96 10 00 13 	mov  %l3, %o3                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202fdb8:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
      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 );
 202fdbc:	94 10 00 14 	mov  %l4, %o2                                  
 202fdc0:	90 10 00 15 	mov  %l5, %o0                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202fdc4:	80 a0 60 00 	cmp  %g1, 0                                    
 202fdc8:	12 80 00 0b 	bne  202fdf4 <rtems_rate_monotonic_report_statistics_with_plugin+0x144>
 202fdcc:	92 10 00 17 	mov  %l7, %o1                                  
      (*print)( context, "\n" );                                      
 202fdd0:	9f c6 40 00 	call  %i1                                      
 202fdd4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  /*                                                                  
   * 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 ;                   
 202fdd8:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 202fddc:	a0 04 20 01 	inc  %l0                                       
                                                                      
  /*                                                                  
   * 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 ;                   
 202fde0:	80 a0 40 10 	cmp  %g1, %l0                                  
 202fde4:	1a bf ff e3 	bcc  202fd70 <rtems_rate_monotonic_report_statistics_with_plugin+0xc0><== ALWAYS TAKEN
 202fde8:	90 10 00 10 	mov  %l0, %o0                                  
 202fdec:	81 c7 e0 08 	ret                                            
 202fdf0:	81 e8 00 00 	restore                                        
      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 );
 202fdf4:	40 00 05 b6 	call  20314cc <_Timespec_Divide_by_integer>    
 202fdf8:	92 10 00 01 	mov  %g1, %o1                                  
      (*print)( context,                                              
 202fdfc:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202fe00:	40 00 ca e3 	call  206298c <.div>                           
 202fe04:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe08:	96 10 00 08 	mov  %o0, %o3                                  
 202fe0c:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
 202fe10:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 202fe14:	40 00 ca de 	call  206298c <.div>                           
 202fe18:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe1c:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202fe20:	b6 10 00 08 	mov  %o0, %i3                                  
 202fe24:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202fe28:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202fe2c:	40 00 ca d8 	call  206298c <.div>                           
 202fe30:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe34:	d8 07 bf b0 	ld  [ %fp + -80 ], %o4                         
 202fe38:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 202fe3c:	d4 07 bf a8 	ld  [ %fp + -88 ], %o2                         
 202fe40:	9a 10 00 1b 	mov  %i3, %o5                                  
 202fe44:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202fe48:	92 10 00 1c 	mov  %i4, %o1                                  
 202fe4c:	9f c6 40 00 	call  %i1                                      
 202fe50:	90 10 00 18 	mov  %i0, %o0                                  
      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);
 202fe54:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 202fe58:	94 10 00 14 	mov  %l4, %o2                                  
 202fe5c:	40 00 05 9c 	call  20314cc <_Timespec_Divide_by_integer>    
 202fe60:	90 07 bf d0 	add  %fp, -48, %o0                             
      (*print)( context,                                              
 202fe64:	d0 07 bf c4 	ld  [ %fp + -60 ], %o0                         
 202fe68:	40 00 ca c9 	call  206298c <.div>                           
 202fe6c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe70:	96 10 00 08 	mov  %o0, %o3                                  
 202fe74:	d0 07 bf cc 	ld  [ %fp + -52 ], %o0                         
 202fe78:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 202fe7c:	40 00 ca c4 	call  206298c <.div>                           
 202fe80:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe84:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202fe88:	b6 10 00 08 	mov  %o0, %i3                                  
 202fe8c:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202fe90:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202fe94:	40 00 ca be 	call  206298c <.div>                           
 202fe98:	92 10 23 e8 	mov  0x3e8, %o1                                
 202fe9c:	d4 07 bf c0 	ld  [ %fp + -64 ], %o2                         
 202fea0:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 202fea4:	d8 07 bf c8 	ld  [ %fp + -56 ], %o4                         
 202fea8:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202feac:	9a 10 00 1b 	mov  %i3, %o5                                  
 202feb0:	90 10 00 18 	mov  %i0, %o0                                  
 202feb4:	9f c6 40 00 	call  %i1                                      
 202feb8:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
  /*                                                                  
   * 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 ;                   
 202febc:	10 bf ff a8 	b  202fd5c <rtems_rate_monotonic_report_statistics_with_plugin+0xac>
 202fec0:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
                                                                      

0202fee0 <rtems_rate_monotonic_reset_all_statistics>: /* * rtems_rate_monotonic_reset_all_statistics */ void rtems_rate_monotonic_reset_all_statistics( void ) {
 202fee0:	9d e3 bf a0 	save  %sp, -96, %sp                            
 202fee4:	03 00 81 d3 	sethi  %hi(0x2074c00), %g1                     
 202fee8:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2	! 2074e40 <_Thread_Dispatch_disable_level>
 202feec:	84 00 a0 01 	inc  %g2                                       
 202fef0:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
                                                                      
    /*                                                                
     * 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 ;                 
 202fef4:	23 00 81 d6 	sethi  %hi(0x2075800), %l1                     
 202fef8:	a2 14 61 68 	or  %l1, 0x168, %l1	! 2075968 <_Rate_monotonic_Information>
 202fefc:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 202ff00:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
 202ff04:	80 a4 00 01 	cmp  %l0, %g1                                  
 202ff08:	18 80 00 09 	bgu  202ff2c <rtems_rate_monotonic_reset_all_statistics+0x4c><== NEVER TAKEN
 202ff0c:	01 00 00 00 	nop                                            
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      status = rtems_rate_monotonic_reset_statistics( id );           
 202ff10:	40 00 00 0a 	call  202ff38 <rtems_rate_monotonic_reset_statistics>
 202ff14:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    /*                                                                
     * 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 ;                 
 202ff18:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
 202ff1c:	a0 04 20 01 	inc  %l0                                       
                                                                      
    /*                                                                
     * 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 ;                 
 202ff20:	80 a0 40 10 	cmp  %g1, %l0                                  
 202ff24:	1a bf ff fb 	bcc  202ff10 <rtems_rate_monotonic_reset_all_statistics+0x30>
 202ff28:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
 202ff2c:	7f ff 80 33 	call  200fff8 <_Thread_Enable_dispatch>        
 202ff30:	81 e8 00 00 	restore                                        
                                                                      

02015618 <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
 2015618:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
 201561c:	80 a6 60 00 	cmp  %i1, 0                                    
 2015620:	02 80 00 22 	be  20156a8 <rtems_region_get_segment_size+0x90>
 2015624:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
 2015628:	02 80 00 20 	be  20156a8 <rtems_region_get_segment_size+0x90>
 201562c:	21 00 81 03 	sethi  %hi(0x2040c00), %l0                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
 2015630:	40 00 08 f4 	call  2017a00 <_API_Mutex_Lock>                
 2015634:	d0 04 21 98 	ld  [ %l0 + 0x198 ], %o0	! 2040d98 <_RTEMS_Allocator_Mutex>
 2015638:	92 10 00 18 	mov  %i0, %o1                                  
 201563c:	11 00 81 02 	sethi  %hi(0x2040800), %o0                     
 2015640:	94 07 bf fc 	add  %fp, -4, %o2                              
 2015644:	40 00 10 34 	call  2019714 <_Objects_Get_no_protection>     
 2015648:	90 12 23 64 	or  %o0, 0x364, %o0                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
 201564c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2015650:	80 a0 60 00 	cmp  %g1, 0                                    
 2015654:	12 80 00 0f 	bne  2015690 <rtems_region_get_segment_size+0x78>
 2015658:	80 a0 60 01 	cmp  %g1, 1                                    
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
 201565c:	90 02 20 68 	add  %o0, 0x68, %o0                            
 2015660:	92 10 00 19 	mov  %i1, %o1                                  
 2015664:	94 10 00 1a 	mov  %i2, %o2                                  
 2015668:	40 00 0e 88 	call  2019088 <_Heap_Size_of_alloc_area>       
 201566c:	b0 10 20 09 	mov  9, %i0                                    
 2015670:	80 8a 20 ff 	btst  0xff, %o0                                
 2015674:	02 80 00 03 	be  2015680 <rtems_region_get_segment_size+0x68><== NEVER TAKEN
 2015678:	01 00 00 00 	nop                                            
 201567c:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2015680:	40 00 08 f6 	call  2017a58 <_API_Mutex_Unlock>              
 2015684:	d0 04 21 98 	ld  [ %l0 + 0x198 ], %o0                       
  return return_status;                                               
 2015688:	81 c7 e0 08 	ret                                            
 201568c:	81 e8 00 00 	restore                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
 2015690:	12 bf ff fb 	bne  201567c <rtems_region_get_segment_size+0x64><== NEVER TAKEN
 2015694:	b0 10 20 04 	mov  4, %i0                                    
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2015698:	40 00 08 f0 	call  2017a58 <_API_Mutex_Unlock>              
 201569c:	d0 04 21 98 	ld  [ %l0 + 0x198 ], %o0                       
  return return_status;                                               
 20156a0:	81 c7 e0 08 	ret                                            
 20156a4:	81 e8 00 00 	restore                                        
}                                                                     
 20156a8:	81 c7 e0 08 	ret                                            
 20156ac:	91 e8 20 09 	restore  %g0, 9, %o0                           
                                                                      

02015d3c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 2015d3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 2015d40:	80 a6 60 00 	cmp  %i1, 0                                    
 2015d44:	12 80 00 04 	bne  2015d54 <rtems_signal_send+0x18>          
 2015d48:	82 10 20 0a 	mov  0xa, %g1                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2015d4c:	81 c7 e0 08 	ret                                            
 2015d50:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2015d54:	90 10 00 18 	mov  %i0, %o0                                  
 2015d58:	40 00 11 7b 	call  201a344 <_Thread_Get>                    
 2015d5c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2015d60:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2015d64:	a2 10 00 08 	mov  %o0, %l1                                  
  switch ( location ) {                                               
 2015d68:	80 a0 a0 00 	cmp  %g2, 0                                    
 2015d6c:	12 bf ff f8 	bne  2015d4c <rtems_signal_send+0x10>          
 2015d70:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 2015d74:	e0 02 21 68 	ld  [ %o0 + 0x168 ], %l0                       
      asr = &api->Signal;                                             
 2015d78:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 2015d7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2015d80:	02 80 00 26 	be  2015e18 <rtems_signal_send+0xdc>           
 2015d84:	01 00 00 00 	nop                                            
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
 2015d88:	c2 0c 20 08 	ldub  [ %l0 + 8 ], %g1                         
 2015d8c:	80 a0 60 00 	cmp  %g1, 0                                    
 2015d90:	02 80 00 16 	be  2015de8 <rtems_signal_send+0xac>           
 2015d94:	01 00 00 00 	nop                                            
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2015d98:	7f ff e5 a8 	call  200f438 <sparc_disable_interrupts>       
 2015d9c:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2015da0:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2015da4:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2015da8:	f2 24 20 14 	st  %i1, [ %l0 + 0x14 ]                        
  _ISR_Enable( _level );                                              
 2015dac:	7f ff e5 a7 	call  200f448 <sparc_enable_interrupts>        
 2015db0:	01 00 00 00 	nop                                            
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2015db4:	03 00 81 03 	sethi  %hi(0x2040c00), %g1                     
 2015db8:	c4 00 61 7c 	ld  [ %g1 + 0x17c ], %g2	! 2040d7c <_ISR_Nest_level>
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
 2015dbc:	82 10 20 01 	mov  1, %g1                                    
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2015dc0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2015dc4:	02 80 00 10 	be  2015e04 <rtems_signal_send+0xc8>           
 2015dc8:	c2 2c 60 74 	stb  %g1, [ %l1 + 0x74 ]                       
 2015dcc:	05 00 81 03 	sethi  %hi(0x2040c00), %g2                     
 2015dd0:	c4 00 a1 a0 	ld  [ %g2 + 0x1a0 ], %g2	! 2040da0 <_Thread_Executing>
 2015dd4:	80 a4 40 02 	cmp  %l1, %g2                                  
 2015dd8:	12 80 00 0b 	bne  2015e04 <rtems_signal_send+0xc8>          <== NEVER TAKEN
 2015ddc:	05 00 81 03 	sethi  %hi(0x2040c00), %g2                     
            _ISR_Signals_to_thread_executing = true;                  
 2015de0:	10 80 00 09 	b  2015e04 <rtems_signal_send+0xc8>            
 2015de4:	c2 28 a2 38 	stb  %g1, [ %g2 + 0x238 ]	! 2040e38 <_ISR_Signals_to_thread_executing>
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2015de8:	7f ff e5 94 	call  200f438 <sparc_disable_interrupts>       
 2015dec:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2015df0:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
 2015df4:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2015df8:	f2 24 20 18 	st  %i1, [ %l0 + 0x18 ]                        
  _ISR_Enable( _level );                                              
 2015dfc:	7f ff e5 93 	call  200f448 <sparc_enable_interrupts>        
 2015e00:	01 00 00 00 	nop                                            
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
 2015e04:	40 00 11 2c 	call  201a2b4 <_Thread_Enable_dispatch>        
 2015e08:	01 00 00 00 	nop                                            
 2015e0c:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2015e10:	81 c7 e0 08 	ret                                            
 2015e14:	91 e8 00 01 	restore  %g0, %g1, %o0                         
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 2015e18:	40 00 11 27 	call  201a2b4 <_Thread_Enable_dispatch>        
 2015e1c:	01 00 00 00 	nop                                            
      return RTEMS_NOT_DEFINED;                                       
 2015e20:	10 bf ff cb 	b  2015d4c <rtems_signal_send+0x10>            
 2015e24:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
                                                                      

020112dc <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 20112dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
 20112e0:	80 a6 a0 00 	cmp  %i2, 0                                    
 20112e4:	02 80 00 44 	be  20113f4 <rtems_task_mode+0x118>            
 20112e8:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 20112ec:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20112f0:	e0 00 60 60 	ld  [ %g1 + 0x60 ], %l0	! 201f460 <_Thread_Executing>
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 20112f4:	c4 0c 20 75 	ldub  [ %l0 + 0x75 ], %g2                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 20112f8:	c2 04 20 7c 	ld  [ %l0 + 0x7c ], %g1                        
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 20112fc:	80 a0 00 02 	cmp  %g0, %g2                                  
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 2011300:	e2 04 21 68 	ld  [ %l0 + 0x168 ], %l1                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2011304:	a4 60 3f ff 	subx  %g0, -1, %l2                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 2011308:	80 a0 60 00 	cmp  %g1, 0                                    
 201130c:	12 80 00 3c 	bne  20113fc <rtems_task_mode+0x120>           
 2011310:	a5 2c a0 08 	sll  %l2, 8, %l2                               
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2011314:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
 2011318:	80 a0 00 01 	cmp  %g0, %g1                                  
    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();                                       
 201131c:	7f ff e5 92 	call  200a964 <_CPU_ISR_Get_level>             
 2011320:	a6 60 3f ff 	subx  %g0, -1, %l3                             
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2011324:	a7 2c e0 0a 	sll  %l3, 0xa, %l3                             
  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;           
 2011328:	a6 14 c0 08 	or  %l3, %o0, %l3                              
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 201132c:	a4 14 c0 12 	or  %l3, %l2, %l2                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 2011330:	80 8e 61 00 	btst  0x100, %i1                               
 2011334:	02 80 00 06 	be  201134c <rtems_task_mode+0x70>             
 2011338:	e4 26 80 00 	st  %l2, [ %i2 ]                               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 201133c:	83 36 20 08 	srl  %i0, 8, %g1                               
 2011340:	82 18 60 01 	xor  %g1, 1, %g1                               
 2011344:	82 08 60 01 	and  %g1, 1, %g1                               
 2011348:	c2 2c 20 75 	stb  %g1, [ %l0 + 0x75 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 201134c:	80 8e 62 00 	btst  0x200, %i1                               
 2011350:	02 80 00 0b 	be  201137c <rtems_task_mode+0xa0>             
 2011354:	80 8e 60 0f 	btst  0xf, %i1                                 
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 2011358:	80 8e 22 00 	btst  0x200, %i0                               
 201135c:	22 80 00 07 	be,a   2011378 <rtems_task_mode+0x9c>          
 2011360:	c0 24 20 7c 	clr  [ %l0 + 0x7c ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 2011364:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2011368:	c2 00 62 f8 	ld  [ %g1 + 0x2f8 ], %g1	! 201f2f8 <_Thread_Ticks_per_timeslice>
 201136c:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
 2011370:	82 10 20 01 	mov  1, %g1                                    
 2011374:	c2 24 20 7c 	st  %g1, [ %l0 + 0x7c ]                        
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 2011378:	80 8e 60 0f 	btst  0xf, %i1                                 
 201137c:	12 80 00 2d 	bne  2011430 <rtems_task_mode+0x154>           
 2011380:	01 00 00 00 	nop                                            
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 2011384:	80 8e 64 00 	btst  0x400, %i1                               
 2011388:	22 80 00 16 	be,a   20113e0 <rtems_task_mode+0x104>         
 201138c:	a0 10 20 00 	clr  %l0                                       
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2011390:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 2011394:	b1 36 20 0a 	srl  %i0, 0xa, %i0                             
 2011398:	b0 1e 20 01 	xor  %i0, 1, %i0                               
 201139c:	b0 0e 20 01 	and  %i0, 1, %i0                               
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 20113a0:	80 a0 40 18 	cmp  %g1, %i0                                  
 20113a4:	22 80 00 0f 	be,a   20113e0 <rtems_task_mode+0x104>         
 20113a8:	a0 10 20 00 	clr  %l0                                       
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 20113ac:	7f ff c3 3e 	call  20020a4 <sparc_disable_interrupts>       
 20113b0:	f0 2c 60 08 	stb  %i0, [ %l1 + 8 ]                          
    _signals                     = information->signals_pending;      
 20113b4:	c4 04 60 18 	ld  [ %l1 + 0x18 ], %g2                        
    information->signals_pending = information->signals_posted;       
 20113b8:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
    information->signals_posted  = _signals;                          
 20113bc:	c4 24 60 14 	st  %g2, [ %l1 + 0x14 ]                        
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 20113c0:	c2 24 60 18 	st  %g1, [ %l1 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 20113c4:	7f ff c3 3c 	call  20020b4 <sparc_enable_interrupts>        
 20113c8:	01 00 00 00 	nop                                            
 20113cc:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 20113d0:	80 a0 60 00 	cmp  %g1, 0                                    
 20113d4:	12 80 00 28 	bne  2011474 <rtems_task_mode+0x198>           
 20113d8:	82 10 20 01 	mov  1, %g1                                    
    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;              
 20113dc:	a0 10 20 00 	clr  %l0                                       
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
 20113e0:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 20113e4:	c2 00 61 40 	ld  [ %g1 + 0x140 ], %g1	! 201f540 <_System_state_Current>
 20113e8:	80 a0 60 03 	cmp  %g1, 3                                    
 20113ec:	02 80 00 16 	be  2011444 <rtems_task_mode+0x168>            <== ALWAYS TAKEN
 20113f0:	82 10 20 00 	clr  %g1                                       
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20113f4:	81 c7 e0 08 	ret                                            
 20113f8:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 20113fc:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
  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;                                      
 2011400:	a4 14 a2 00 	or  %l2, 0x200, %l2                            
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2011404:	80 a0 00 01 	cmp  %g0, %g1                                  
    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();                                       
 2011408:	7f ff e5 57 	call  200a964 <_CPU_ISR_Get_level>             
 201140c:	a6 60 3f ff 	subx  %g0, -1, %l3                             
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2011410:	a7 2c e0 0a 	sll  %l3, 0xa, %l3                             
  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;           
 2011414:	a6 14 c0 08 	or  %l3, %o0, %l3                              
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 2011418:	a4 14 c0 12 	or  %l3, %l2, %l2                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 201141c:	80 8e 61 00 	btst  0x100, %i1                               
 2011420:	02 bf ff cb 	be  201134c <rtems_task_mode+0x70>             
 2011424:	e4 26 80 00 	st  %l2, [ %i2 ]                               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 2011428:	10 bf ff c6 	b  2011340 <rtems_task_mode+0x64>              
 201142c:	83 36 20 08 	srl  %i0, 8, %g1                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 2011430:	90 0e 20 0f 	and  %i0, 0xf, %o0                             
 2011434:	7f ff c3 20 	call  20020b4 <sparc_enable_interrupts>        
 2011438:	91 2a 20 08 	sll  %o0, 8, %o0                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 201143c:	10 bf ff d3 	b  2011388 <rtems_task_mode+0xac>              
 2011440:	80 8e 64 00 	btst  0x400, %i1                               
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
 2011444:	40 00 00 8f 	call  2011680 <_Thread_Evaluate_mode>          
 2011448:	01 00 00 00 	nop                                            
 201144c:	80 8a 20 ff 	btst  0xff, %o0                                
 2011450:	12 80 00 04 	bne  2011460 <rtems_task_mode+0x184>           
 2011454:	80 8c 20 ff 	btst  0xff, %l0                                
 2011458:	02 bf ff e7 	be  20113f4 <rtems_task_mode+0x118>            
 201145c:	82 10 20 00 	clr  %g1                                       
      _Thread_Dispatch();                                             
 2011460:	7f ff dd e8 	call  2008c00 <_Thread_Dispatch>               
 2011464:	01 00 00 00 	nop                                            
 2011468:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 201146c:	81 c7 e0 08 	ret                                            
 2011470:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    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;              
 2011474:	c2 2c 20 74 	stb  %g1, [ %l0 + 0x74 ]                       
 2011478:	10 bf ff da 	b  20113e0 <rtems_task_mode+0x104>             
 201147c:	a0 10 20 01 	mov  1, %l0                                    
                                                                      

0200b884 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
 200b884:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 200b888:	80 a6 60 00 	cmp  %i1, 0                                    
 200b88c:	02 80 00 07 	be  200b8a8 <rtems_task_set_priority+0x24>     
 200b890:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
 200b894:	03 00 80 8d 	sethi  %hi(0x2023400), %g1                     
 200b898:	c2 08 60 24 	ldub  [ %g1 + 0x24 ], %g1	! 2023424 <rtems_maximum_priority>
 200b89c:	80 a6 40 01 	cmp  %i1, %g1                                  
 200b8a0:	18 80 00 1c 	bgu  200b910 <rtems_task_set_priority+0x8c>    
 200b8a4:	b0 10 20 13 	mov  0x13, %i0                                 
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 200b8a8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200b8ac:	02 80 00 19 	be  200b910 <rtems_task_set_priority+0x8c>     
 200b8b0:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200b8b4:	40 00 08 c9 	call  200dbd8 <_Thread_Get>                    
 200b8b8:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200b8bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200b8c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200b8c4:	12 80 00 13 	bne  200b910 <rtems_task_set_priority+0x8c>    
 200b8c8:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 200b8cc:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 200b8d0:	80 a6 60 00 	cmp  %i1, 0                                    
 200b8d4:	02 80 00 0d 	be  200b908 <rtems_task_set_priority+0x84>     
 200b8d8:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 200b8dc:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200b8e0:	80 a0 60 00 	cmp  %g1, 0                                    
 200b8e4:	02 80 00 06 	be  200b8fc <rtems_task_set_priority+0x78>     
 200b8e8:	f2 22 20 18 	st  %i1, [ %o0 + 0x18 ]                        
             the_thread->current_priority > new_priority )            
 200b8ec:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200b8f0:	80 a6 40 01 	cmp  %i1, %g1                                  
 200b8f4:	1a 80 00 05 	bcc  200b908 <rtems_task_set_priority+0x84>    <== ALWAYS TAKEN
 200b8f8:	01 00 00 00 	nop                                            
          _Thread_Change_priority( the_thread, new_priority, false ); 
 200b8fc:	92 10 00 19 	mov  %i1, %o1                                  
 200b900:	40 00 06 f4 	call  200d4d0 <_Thread_Change_priority>        
 200b904:	94 10 20 00 	clr  %o2                                       
      }                                                               
      _Thread_Enable_dispatch();                                      
 200b908:	40 00 08 90 	call  200db48 <_Thread_Enable_dispatch>        
 200b90c:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 200b910:	81 c7 e0 08 	ret                                            
 200b914:	81 e8 00 00 	restore                                        
                                                                      

02030350 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
 2030350:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
 2030354:	80 a6 60 00 	cmp  %i1, 0                                    
 2030358:	02 80 00 09 	be  203037c <rtems_task_variable_delete+0x2c>  
 203035c:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 2030360:	90 10 00 18 	mov  %i0, %o0                                  
 2030364:	7f ff 7f 49 	call  2010088 <_Thread_Get>                    
 2030368:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch (location) {                                                 
 203036c:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 2030370:	80 a0 a0 00 	cmp  %g2, 0                                    
 2030374:	02 80 00 04 	be  2030384 <rtems_task_variable_delete+0x34>  
 2030378:	82 10 20 04 	mov  4, %g1                                    
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 203037c:	81 c7 e0 08 	ret                                            
 2030380:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
 2030384:	d2 02 21 78 	ld  [ %o0 + 0x178 ], %o1                       
      while (tvp) {                                                   
 2030388:	80 a2 60 00 	cmp  %o1, 0                                    
 203038c:	02 80 00 10 	be  20303cc <rtems_task_variable_delete+0x7c>  
 2030390:	01 00 00 00 	nop                                            
        if (tvp->ptr == ptr) {                                        
 2030394:	c2 02 60 04 	ld  [ %o1 + 4 ], %g1                           
 2030398:	80 a0 40 19 	cmp  %g1, %i1                                  
 203039c:	12 80 00 08 	bne  20303bc <rtems_task_variable_delete+0x6c> 
 20303a0:	84 10 00 09 	mov  %o1, %g2                                  
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
 20303a4:	10 80 00 17 	b  2030400 <rtems_task_variable_delete+0xb0>   
 20303a8:	c2 02 40 00 	ld  [ %o1 ], %g1                               
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
 20303ac:	80 a0 40 19 	cmp  %g1, %i1                                  
 20303b0:	22 80 00 0c 	be,a   20303e0 <rtems_task_variable_delete+0x90>
 20303b4:	c2 02 40 00 	ld  [ %o1 ], %g1                               
          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;                                    
 20303b8:	84 10 00 09 	mov  %o1, %g2                                  
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
 20303bc:	d2 02 40 00 	ld  [ %o1 ], %o1                               
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
 20303c0:	80 a2 60 00 	cmp  %o1, 0                                    
 20303c4:	32 bf ff fa 	bne,a   20303ac <rtems_task_variable_delete+0x5c><== ALWAYS TAKEN
 20303c8:	c2 02 60 04 	ld  [ %o1 + 4 ], %g1                           
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 20303cc:	7f ff 7f 0b 	call  200fff8 <_Thread_Enable_dispatch>        
 20303d0:	01 00 00 00 	nop                                            
 20303d4:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20303d8:	81 c7 e0 08 	ret                                            
 20303dc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
 20303e0:	c2 20 80 00 	st  %g1, [ %g2 ]                               
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
 20303e4:	40 00 00 2d 	call  2030498 <_RTEMS_Tasks_Invoke_task_variable_dtor>
 20303e8:	01 00 00 00 	nop                                            
          _Thread_Enable_dispatch();                                  
 20303ec:	7f ff 7f 03 	call  200fff8 <_Thread_Enable_dispatch>        
 20303f0:	01 00 00 00 	nop                                            
 20303f4:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20303f8:	81 c7 e0 08 	ret                                            
 20303fc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
 2030400:	10 bf ff f9 	b  20303e4 <rtems_task_variable_delete+0x94>   
 2030404:	c2 22 21 78 	st  %g1, [ %o0 + 0x178 ]                       
                                                                      

02030408 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
 2030408:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
 203040c:	80 a6 60 00 	cmp  %i1, 0                                    
 2030410:	02 80 00 1c 	be  2030480 <rtems_task_variable_get+0x78>     
 2030414:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
 2030418:	02 80 00 1a 	be  2030480 <rtems_task_variable_get+0x78>     
 203041c:	90 10 00 18 	mov  %i0, %o0                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 2030420:	7f ff 7f 1a 	call  2010088 <_Thread_Get>                    
 2030424:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch (location) {                                                 
 2030428:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 203042c:	80 a0 60 00 	cmp  %g1, 0                                    
 2030430:	12 80 00 12 	bne  2030478 <rtems_task_variable_get+0x70>    
 2030434:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
 2030438:	c2 02 21 78 	ld  [ %o0 + 0x178 ], %g1                       
      while (tvp) {                                                   
 203043c:	80 a0 60 00 	cmp  %g1, 0                                    
 2030440:	32 80 00 07 	bne,a   203045c <rtems_task_variable_get+0x54> 
 2030444:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2030448:	30 80 00 10 	b,a   2030488 <rtems_task_variable_get+0x80>   
 203044c:	80 a0 60 00 	cmp  %g1, 0                                    
 2030450:	02 80 00 0e 	be  2030488 <rtems_task_variable_get+0x80>     <== NEVER TAKEN
 2030454:	01 00 00 00 	nop                                            
        if (tvp->ptr == ptr) {                                        
 2030458:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 203045c:	80 a0 80 19 	cmp  %g2, %i1                                  
 2030460:	32 bf ff fb 	bne,a   203044c <rtems_task_variable_get+0x44> 
 2030464:	c2 00 40 00 	ld  [ %g1 ], %g1                               
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
 2030468:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
          _Thread_Enable_dispatch();                                  
 203046c:	b0 10 20 00 	clr  %i0                                       
 2030470:	7f ff 7e e2 	call  200fff8 <_Thread_Enable_dispatch>        
 2030474:	c2 26 80 00 	st  %g1, [ %i2 ]                               
          return RTEMS_SUCCESSFUL;                                    
 2030478:	81 c7 e0 08 	ret                                            
 203047c:	81 e8 00 00 	restore                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2030480:	81 c7 e0 08 	ret                                            
 2030484:	91 e8 20 09 	restore  %g0, 9, %o0                           
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 2030488:	7f ff 7e dc 	call  200fff8 <_Thread_Enable_dispatch>        
 203048c:	b0 10 20 09 	mov  9, %i0                                    
      return RTEMS_INVALID_ADDRESS;                                   
 2030490:	81 c7 e0 08 	ret                                            
 2030494:	81 e8 00 00 	restore                                        
                                                                      

02016778 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 2016778:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 201677c:	11 00 81 05 	sethi  %hi(0x2041400), %o0                     
 2016780:	92 10 00 18 	mov  %i0, %o1                                  
 2016784:	90 12 22 94 	or  %o0, 0x294, %o0                            
 2016788:	40 00 0b f5 	call  201975c <_Objects_Get>                   
 201678c:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2016790:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2016794:	80 a0 60 00 	cmp  %g1, 0                                    
 2016798:	12 80 00 0a 	bne  20167c0 <rtems_timer_cancel+0x48>         
 201679c:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 20167a0:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 20167a4:	80 a0 60 04 	cmp  %g1, 4                                    
 20167a8:	02 80 00 04 	be  20167b8 <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 20167ac:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 20167b0:	40 00 15 4a 	call  201bcd8 <_Watchdog_Remove>               
 20167b4:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 20167b8:	40 00 0e bf 	call  201a2b4 <_Thread_Enable_dispatch>        
 20167bc:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20167c0:	81 c7 e0 08 	ret                                            
 20167c4:	81 e8 00 00 	restore                                        
                                                                      

02016c84 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 2016c84:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
 2016c88:	03 00 81 05 	sethi  %hi(0x2041400), %g1                     
 2016c8c:	e0 00 62 d4 	ld  [ %g1 + 0x2d4 ], %l0	! 20416d4 <_Timer_server>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 2016c90:	a2 10 00 18 	mov  %i0, %l1                                  
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
 2016c94:	80 a4 20 00 	cmp  %l0, 0                                    
 2016c98:	02 80 00 34 	be  2016d68 <rtems_timer_server_fire_when+0xe4>
 2016c9c:	b0 10 20 0e 	mov  0xe, %i0                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 2016ca0:	03 00 81 03 	sethi  %hi(0x2040c00), %g1                     
 2016ca4:	c2 08 60 f4 	ldub  [ %g1 + 0xf4 ], %g1	! 2040cf4 <_TOD_Is_set>
 2016ca8:	80 a0 60 00 	cmp  %g1, 0                                    
 2016cac:	02 80 00 2f 	be  2016d68 <rtems_timer_server_fire_when+0xe4><== NEVER TAKEN
 2016cb0:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 2016cb4:	80 a6 a0 00 	cmp  %i2, 0                                    
 2016cb8:	02 80 00 2c 	be  2016d68 <rtems_timer_server_fire_when+0xe4>
 2016cbc:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2016cc0:	7f ff f3 d6 	call  2013c18 <_TOD_Validate>                  
 2016cc4:	90 10 00 19 	mov  %i1, %o0                                  
 2016cc8:	80 8a 20 ff 	btst  0xff, %o0                                
 2016ccc:	12 80 00 04 	bne  2016cdc <rtems_timer_server_fire_when+0x58>
 2016cd0:	01 00 00 00 	nop                                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2016cd4:	81 c7 e0 08 	ret                                            
 2016cd8:	91 e8 20 14 	restore  %g0, 0x14, %o0                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 2016cdc:	7f ff f3 99 	call  2013b40 <_TOD_To_seconds>                
 2016ce0:	90 10 00 19 	mov  %i1, %o0                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 2016ce4:	25 00 81 03 	sethi  %hi(0x2040c00), %l2                     
 2016ce8:	c2 04 a1 74 	ld  [ %l2 + 0x174 ], %g1	! 2040d74 <_TOD_Now>  
 2016cec:	80 a2 00 01 	cmp  %o0, %g1                                  
 2016cf0:	08 bf ff f9 	bleu  2016cd4 <rtems_timer_server_fire_when+0x50>
 2016cf4:	b2 10 00 08 	mov  %o0, %i1                                  
 2016cf8:	11 00 81 05 	sethi  %hi(0x2041400), %o0                     
 2016cfc:	92 10 00 11 	mov  %l1, %o1                                  
 2016d00:	90 12 22 94 	or  %o0, 0x294, %o0                            
 2016d04:	40 00 0a 96 	call  201975c <_Objects_Get>                   
 2016d08:	94 07 bf fc 	add  %fp, -4, %o2                              
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2016d0c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2016d10:	a6 10 00 08 	mov  %o0, %l3                                  
 2016d14:	80 a0 60 00 	cmp  %g1, 0                                    
 2016d18:	12 80 00 14 	bne  2016d68 <rtems_timer_server_fire_when+0xe4>
 2016d1c:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 2016d20:	40 00 13 ee 	call  201bcd8 <_Watchdog_Remove>               
 2016d24:	90 02 20 10 	add  %o0, 0x10, %o0                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2016d28:	e2 24 e0 30 	st  %l1, [ %l3 + 0x30 ]                        
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2016d2c:	c4 04 a1 74 	ld  [ %l2 + 0x174 ], %g2                       
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2016d30:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2016d34:	90 10 00 10 	mov  %l0, %o0                                  
 2016d38:	92 10 00 13 	mov  %l3, %o1                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2016d3c:	b2 26 40 02 	sub  %i1, %g2, %i1                             
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 2016d40:	84 10 20 03 	mov  3, %g2                                    
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2016d44:	f4 24 e0 2c 	st  %i2, [ %l3 + 0x2c ]                        
 2016d48:	c4 24 e0 38 	st  %g2, [ %l3 + 0x38 ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2016d4c:	f6 24 e0 34 	st  %i3, [ %l3 + 0x34 ]                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2016d50:	f2 24 e0 1c 	st  %i1, [ %l3 + 0x1c ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2016d54:	c0 24 e0 18 	clr  [ %l3 + 0x18 ]                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2016d58:	9f c0 40 00 	call  %g1                                      
 2016d5c:	b0 10 20 00 	clr  %i0                                       
                                                                      
      _Thread_Enable_dispatch();                                      
 2016d60:	40 00 0d 55 	call  201a2b4 <_Thread_Enable_dispatch>        
 2016d64:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2016d68:	81 c7 e0 08 	ret                                            
 2016d6c:	81 e8 00 00 	restore                                        
                                                                      

02007338 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
 2007338:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 200733c:	80 a6 20 04 	cmp  %i0, 4                                    
 2007340:	08 80 00 08 	bleu  2007360 <sched_get_priority_max+0x28>    
 2007344:	82 10 20 01 	mov  1, %g1                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2007348:	40 00 2d dc 	call  2012ab8 <__errno>                        
 200734c:	b0 10 3f ff 	mov  -1, %i0                                   
 2007350:	82 10 20 16 	mov  0x16, %g1                                 
 2007354:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007358:	81 c7 e0 08 	ret                                            
 200735c:	81 e8 00 00 	restore                                        
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
 2007360:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2007364:	80 8e 20 17 	btst  0x17, %i0                                
 2007368:	02 bf ff f8 	be  2007348 <sched_get_priority_max+0x10>      <== NEVER TAKEN
 200736c:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
 2007370:	f0 08 62 78 	ldub  [ %g1 + 0x278 ], %i0	! 201fe78 <rtems_maximum_priority>
}                                                                     
 2007374:	81 c7 e0 08 	ret                                            
 2007378:	91 ee 3f ff 	restore  %i0, -1, %o0                          
                                                                      

0200737c <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
 200737c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2007380:	80 a6 20 04 	cmp  %i0, 4                                    
 2007384:	08 80 00 08 	bleu  20073a4 <sched_get_priority_min+0x28>    
 2007388:	82 10 20 01 	mov  1, %g1                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 200738c:	40 00 2d cb 	call  2012ab8 <__errno>                        
 2007390:	b0 10 3f ff 	mov  -1, %i0                                   
 2007394:	82 10 20 16 	mov  0x16, %g1                                 
 2007398:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 200739c:	81 c7 e0 08 	ret                                            
 20073a0:	81 e8 00 00 	restore                                        
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
 20073a4:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 20073a8:	80 8e 20 17 	btst  0x17, %i0                                
 20073ac:	02 bf ff f8 	be  200738c <sched_get_priority_min+0x10>      <== NEVER TAKEN
 20073b0:	b0 10 20 01 	mov  1, %i0                                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 20073b4:	81 c7 e0 08 	ret                                            
 20073b8:	81 e8 00 00 	restore                                        
                                                                      

020073bc <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
 20073bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 20073c0:	80 a6 20 00 	cmp  %i0, 0                                    
 20073c4:	12 80 00 0a 	bne  20073ec <sched_rr_get_interval+0x30>      <== ALWAYS TAKEN
 20073c8:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
 20073cc:	02 80 00 13 	be  2007418 <sched_rr_get_interval+0x5c>       
 20073d0:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
 20073d4:	d0 00 60 e8 	ld  [ %g1 + 0xe8 ], %o0	! 20208e8 <_Thread_Ticks_per_timeslice>
 20073d8:	92 10 00 19 	mov  %i1, %o1                                  
 20073dc:	40 00 0f 17 	call  200b038 <_Timespec_From_ticks>           
 20073e0:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 20073e4:	81 c7 e0 08 	ret                                            
 20073e8:	81 e8 00 00 	restore                                        
{                                                                     
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 20073ec:	7f ff f0 88 	call  200360c <getpid>                         
 20073f0:	01 00 00 00 	nop                                            
 20073f4:	80 a2 00 18 	cmp  %o0, %i0                                  
 20073f8:	02 bf ff f5 	be  20073cc <sched_rr_get_interval+0x10>       
 20073fc:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 2007400:	40 00 2d ae 	call  2012ab8 <__errno>                        
 2007404:	b0 10 3f ff 	mov  -1, %i0                                   
 2007408:	82 10 20 03 	mov  3, %g1                                    
 200740c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007410:	81 c7 e0 08 	ret                                            
 2007414:	81 e8 00 00 	restore                                        
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007418:	40 00 2d a8 	call  2012ab8 <__errno>                        
 200741c:	b0 10 3f ff 	mov  -1, %i0                                   
 2007420:	82 10 20 16 	mov  0x16, %g1                                 
 2007424:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007428:	81 c7 e0 08 	ret                                            
 200742c:	81 e8 00 00 	restore                                        
                                                                      

02009a88 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
 2009a88:	9d e3 bf 90 	save  %sp, -112, %sp                           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2009a8c:	03 00 80 96 	sethi  %hi(0x2025800), %g1                     
 2009a90:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2	! 20258d0 <_Thread_Dispatch_disable_level>
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2009a94:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2009a98:	84 00 a0 01 	inc  %g2                                       
 2009a9c:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2009aa0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2009aa4:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 2009aa8:	c4 20 60 d0 	st  %g2, [ %g1 + 0xd0 ]                        
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2009aac:	a0 8e 62 00 	andcc  %i1, 0x200, %l0                         
 2009ab0:	12 80 00 26 	bne  2009b48 <sem_open+0xc0>                   
 2009ab4:	82 07 a0 54 	add  %fp, 0x54, %g1                            
 2009ab8:	a2 10 20 00 	clr  %l1                                       
    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 );    
 2009abc:	90 10 00 18 	mov  %i0, %o0                                  
 2009ac0:	40 00 1f f3 	call  2011a8c <_POSIX_Semaphore_Name_to_id>    
 2009ac4:	92 07 bf f8 	add  %fp, -8, %o1                              
   *  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 ) {                                                     
 2009ac8:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2009acc:	22 80 00 0e 	be,a   2009b04 <sem_open+0x7c>                 
 2009ad0:	b2 0e 6a 00 	and  %i1, 0xa00, %i1                           
    /*                                                                
     * 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) ) ) {               
 2009ad4:	80 a4 a0 02 	cmp  %l2, 2                                    
 2009ad8:	12 80 00 04 	bne  2009ae8 <sem_open+0x60>                   <== NEVER TAKEN
 2009adc:	80 a4 20 00 	cmp  %l0, 0                                    
 2009ae0:	12 80 00 1d 	bne  2009b54 <sem_open+0xcc>                   
 2009ae4:	94 10 00 11 	mov  %l1, %o2                                  
      _Thread_Enable_dispatch();                                      
 2009ae8:	40 00 0b 58 	call  200c848 <_Thread_Enable_dispatch>        
 2009aec:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
 2009af0:	40 00 31 42 	call  2015ff8 <__errno>                        
 2009af4:	01 00 00 00 	nop                                            
 2009af8:	e4 22 00 00 	st  %l2, [ %o0 ]                               
 2009afc:	81 c7 e0 08 	ret                                            
 2009b00:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 2009b04:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 2009b08:	02 80 00 1f 	be  2009b84 <sem_open+0xfc>                    
 2009b0c:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2009b10:	94 07 bf f0 	add  %fp, -16, %o2                             
 2009b14:	11 00 80 96 	sethi  %hi(0x2025800), %o0                     
 2009b18:	40 00 08 bb 	call  200be04 <_Objects_Get>                   
 2009b1c:	90 12 23 e0 	or  %o0, 0x3e0, %o0	! 2025be0 <_POSIX_Semaphore_Information>
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
 2009b20:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
 2009b24:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_semaphore->open_count += 1;                                   
 2009b28:	82 00 60 01 	inc  %g1                                       
    _Thread_Enable_dispatch();                                        
 2009b2c:	40 00 0b 47 	call  200c848 <_Thread_Enable_dispatch>        
 2009b30:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
    _Thread_Enable_dispatch();                                        
 2009b34:	40 00 0b 45 	call  200c848 <_Thread_Enable_dispatch>        
 2009b38:	01 00 00 00 	nop                                            
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;                          
 2009b3c:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
  #endif                                                              
  return id;                                                          
}                                                                     
 2009b40:	81 c7 e0 08 	ret                                            
 2009b44:	91 ee 20 08 	restore  %i0, 8, %o0                           
  _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 );                              
 2009b48:	e2 07 a0 50 	ld  [ %fp + 0x50 ], %l1                        
 2009b4c:	10 bf ff dc 	b  2009abc <sem_open+0x34>                     
 2009b50:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
  /*                                                                  
   *  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(                            
 2009b54:	90 10 00 18 	mov  %i0, %o0                                  
 2009b58:	92 10 20 00 	clr  %o1                                       
 2009b5c:	40 00 1f 71 	call  2011920 <_POSIX_Semaphore_Create_support>
 2009b60:	96 07 bf f4 	add  %fp, -12, %o3                             
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 2009b64:	40 00 0b 39 	call  200c848 <_Thread_Enable_dispatch>        
 2009b68:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
  if ( status == -1 )                                                 
 2009b6c:	80 a4 3f ff 	cmp  %l0, -1                                   
 2009b70:	02 bf ff e3 	be  2009afc <sem_open+0x74>                    
 2009b74:	b0 10 3f ff 	mov  -1, %i0                                   
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;                          
 2009b78:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 2009b7c:	81 c7 e0 08 	ret                                            
 2009b80:	91 ee 20 08 	restore  %i0, 8, %o0                           
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
 2009b84:	40 00 0b 31 	call  200c848 <_Thread_Enable_dispatch>        
 2009b88:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
 2009b8c:	40 00 31 1b 	call  2015ff8 <__errno>                        
 2009b90:	01 00 00 00 	nop                                            
 2009b94:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 2009b98:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2009b9c:	81 c7 e0 08 	ret                                            
 2009ba0:	81 e8 00 00 	restore                                        
                                                                      

02009c00 <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
 2009c00:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   *  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 );       
 2009c04:	90 10 00 19 	mov  %i1, %o0                                  
 2009c08:	40 00 1c cf 	call  2010f44 <_POSIX_Absolute_timeout_to_ticks>
 2009c0c:	92 07 bf fc 	add  %fp, -4, %o1                              
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
 2009c10:	80 a2 20 03 	cmp  %o0, 3                                    
 2009c14:	02 80 00 07 	be  2009c30 <sem_timedwait+0x30>               <== ALWAYS TAKEN
 2009c18:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
 2009c1c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2009c20:	40 00 1f bd 	call  2011b14 <_POSIX_Semaphore_Wait_support>  <== NOT EXECUTED
 2009c24:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
 2009c28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2009c2c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== 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 ); 
 2009c30:	90 10 00 18 	mov  %i0, %o0                                  
 2009c34:	40 00 1f b8 	call  2011b14 <_POSIX_Semaphore_Wait_support>  
 2009c38:	92 10 20 01 	mov  1, %o1                                    
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
 2009c3c:	81 c7 e0 08 	ret                                            
 2009c40:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

020071f4 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
 20071f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
 20071f8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20071fc:	02 80 00 0d 	be  2007230 <sigaction+0x3c>                   
 2007200:	87 2e 20 04 	sll  %i0, 4, %g3                               
    *oact = _POSIX_signals_Vectors[ sig ];                            
 2007204:	05 00 80 87 	sethi  %hi(0x2021c00), %g2                     
 2007208:	83 2e 20 02 	sll  %i0, 2, %g1                               
 200720c:	84 10 a2 b8 	or  %g2, 0x2b8, %g2                            
 2007210:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 2007214:	c6 00 80 01 	ld  [ %g2 + %g1 ], %g3                         
 2007218:	82 00 80 01 	add  %g2, %g1, %g1                             
 200721c:	c6 26 80 00 	st  %g3, [ %i2 ]                               
 2007220:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2007224:	c4 26 a0 04 	st  %g2, [ %i2 + 4 ]                           
 2007228:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 200722c:	c2 26 a0 08 	st  %g1, [ %i2 + 8 ]                           
                                                                      
  if ( !sig )                                                         
 2007230:	80 a6 20 00 	cmp  %i0, 0                                    
 2007234:	02 80 00 33 	be  2007300 <sigaction+0x10c>                  
 2007238:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 200723c:	82 06 3f ff 	add  %i0, -1, %g1                              
 2007240:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2007244:	18 80 00 2f 	bgu  2007300 <sigaction+0x10c>                 
 2007248:	80 a6 20 09 	cmp  %i0, 9                                    
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
 200724c:	02 80 00 2d 	be  2007300 <sigaction+0x10c>                  
 2007250:	80 a6 60 00 	cmp  %i1, 0                                    
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
 2007254:	02 80 00 1a 	be  20072bc <sigaction+0xc8>                   <== NEVER TAKEN
 2007258:	82 10 20 00 	clr  %g1                                       
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
 200725c:	7f ff ed 22 	call  20026e4 <sparc_disable_interrupts>       
 2007260:	01 00 00 00 	nop                                            
 2007264:	b4 10 00 08 	mov  %o0, %i2                                  
      if ( act->sa_handler == SIG_DFL ) {                             
 2007268:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200726c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007270:	02 80 00 15 	be  20072c4 <sigaction+0xd0>                   
 2007274:	83 2e 20 04 	sll  %i0, 4, %g1                               
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
 2007278:	40 00 1d cc 	call  200e9a8 <_POSIX_signals_Clear_process_signals>
 200727c:	90 10 00 18 	mov  %i0, %o0                                  
         _POSIX_signals_Vectors[ sig ] = *act;                        
 2007280:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2007284:	87 2e 20 04 	sll  %i0, 4, %g3                               
 2007288:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 200728c:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2007290:	82 10 62 b8 	or  %g1, 0x2b8, %g1                            
 2007294:	b0 20 c0 18 	sub  %g3, %i0, %i0                             
 2007298:	c4 20 40 18 	st  %g2, [ %g1 + %i0 ]                         
 200729c:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 20072a0:	b0 00 40 18 	add  %g1, %i0, %i0                             
 20072a4:	c4 26 20 04 	st  %g2, [ %i0 + 4 ]                           
 20072a8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20072ac:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
      }                                                               
    _ISR_Enable( level );                                             
 20072b0:	7f ff ed 11 	call  20026f4 <sparc_enable_interrupts>        
 20072b4:	90 10 00 1a 	mov  %i2, %o0                                  
 20072b8:	82 10 20 00 	clr  %g1                                       
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 20072bc:	81 c7 e0 08 	ret                                            
 20072c0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
     *  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 ];
 20072c4:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 20072c8:	b0 20 40 18 	sub  %g1, %i0, %i0                             
 20072cc:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 20072d0:	82 10 63 a8 	or  %g1, 0x3a8, %g1	! 201ffa8 <_POSIX_signals_Default_vectors>
 20072d4:	c8 00 40 18 	ld  [ %g1 + %i0 ], %g4                         
 20072d8:	82 00 40 18 	add  %g1, %i0, %g1                             
 20072dc:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
 20072e0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 20072e4:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 20072e8:	82 10 62 b8 	or  %g1, 0x2b8, %g1	! 2021eb8 <_POSIX_signals_Vectors>
 20072ec:	c8 20 40 18 	st  %g4, [ %g1 + %i0 ]                         
 20072f0:	b0 00 40 18 	add  %g1, %i0, %i0                             
 20072f4:	c6 26 20 08 	st  %g3, [ %i0 + 8 ]                           
 20072f8:	10 bf ff ee 	b  20072b0 <sigaction+0xbc>                    
 20072fc:	c4 26 20 04 	st  %g2, [ %i0 + 4 ]                           
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007300:	40 00 2e 8d 	call  2012d34 <__errno>                        
 2007304:	01 00 00 00 	nop                                            
 2007308:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 200730c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007310:	10 bf ff eb 	b  20072bc <sigaction+0xc8>                    
 2007314:	82 10 3f ff 	mov  -1, %g1                                   
                                                                      

02009544 <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
 2009544:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
 2009548:	90 10 20 01 	mov  1, %o0                                    
 200954c:	92 10 00 18 	mov  %i0, %o1                                  
 2009550:	a0 07 bf fc 	add  %fp, -4, %l0                              
 2009554:	7f ff ff f1 	call  2009518 <sigprocmask>                    
 2009558:	94 10 00 10 	mov  %l0, %o2                                  
                                                                      
  (void) sigfillset( &all_signals );                                  
 200955c:	a2 07 bf f8 	add  %fp, -8, %l1                              
 2009560:	7f ff ff b7 	call  200943c <sigfillset>                     
 2009564:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
 2009568:	90 10 00 11 	mov  %l1, %o0                                  
 200956c:	92 10 20 00 	clr  %o1                                       
 2009570:	40 00 00 2b 	call  200961c <sigtimedwait>                   
 2009574:	94 10 20 00 	clr  %o2                                       
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2009578:	92 10 00 10 	mov  %l0, %o1                                  
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
                                                                      
  (void) sigfillset( &all_signals );                                  
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
 200957c:	a2 10 00 08 	mov  %o0, %l1                                  
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2009580:	94 10 20 00 	clr  %o2                                       
 2009584:	7f ff ff e5 	call  2009518 <sigprocmask>                    
 2009588:	90 10 20 00 	clr  %o0                                       
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
 200958c:	80 a4 7f ff 	cmp  %l1, -1                                   
 2009590:	12 80 00 05 	bne  20095a4 <sigsuspend+0x60>                 <== ALWAYS TAKEN
 2009594:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINTR );                    
                                                                      
  return status;                                                      
}                                                                     
 2009598:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 200959c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20095a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  /*                                                                  
   * 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 );                    
 20095a4:	40 00 2d bb 	call  2014c90 <__errno>                        
 20095a8:	b0 10 3f ff 	mov  -1, %i0                                   
 20095ac:	82 10 20 04 	mov  4, %g1                                    
 20095b0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20095b4:	81 c7 e0 08 	ret                                            
 20095b8:	81 e8 00 00 	restore                                        
                                                                      

02007780 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
 2007780:	9d e3 bf 90 	save  %sp, -112, %sp                           
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
 2007784:	80 a6 20 00 	cmp  %i0, 0                                    
 2007788:	02 80 00 69 	be  200792c <sigtimedwait+0x1ac>               
 200778c:	80 a6 a0 00 	cmp  %i2, 0                                    
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
 2007790:	22 80 00 0c 	be,a   20077c0 <sigtimedwait+0x40>             
 2007794:	b4 10 20 00 	clr  %i2                                       
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
 2007798:	40 00 0f 15 	call  200b3ec <_Timespec_Is_valid>             
 200779c:	90 10 00 1a 	mov  %i2, %o0                                  
 20077a0:	80 8a 20 ff 	btst  0xff, %o0                                
 20077a4:	02 80 00 62 	be  200792c <sigtimedwait+0x1ac>               
 20077a8:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
 20077ac:	40 00 0f 37 	call  200b488 <_Timespec_To_ticks>             
 20077b0:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if ( !interval )                                                  
 20077b4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20077b8:	02 80 00 5d 	be  200792c <sigtimedwait+0x1ac>               <== NEVER TAKEN
 20077bc:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 20077c0:	80 a6 60 00 	cmp  %i1, 0                                    
 20077c4:	02 80 00 03 	be  20077d0 <sigtimedwait+0x50>                
 20077c8:	a0 07 bf f4 	add  %fp, -12, %l0                             
 20077cc:	a0 10 00 19 	mov  %i1, %l0                                  
                                                                      
  the_thread = _Thread_Executing;                                     
 20077d0:	23 00 80 87 	sethi  %hi(0x2021c00), %l1                     
 20077d4:	f2 04 62 60 	ld  [ %l1 + 0x260 ], %i1	! 2021e60 <_Thread_Executing>
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 20077d8:	7f ff ec a1 	call  2002a5c <sparc_disable_interrupts>       
 20077dc:	e6 06 61 6c 	ld  [ %i1 + 0x16c ], %l3                       
 20077e0:	a4 10 00 08 	mov  %o0, %l2                                  
  if ( *set & api->signals_pending ) {                                
 20077e4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 20077e8:	c4 04 e0 d0 	ld  [ %l3 + 0xd0 ], %g2                        
 20077ec:	80 88 40 02 	btst  %g1, %g2                                 
 20077f0:	12 80 00 3e 	bne  20078e8 <sigtimedwait+0x168>              
 20077f4:	01 00 00 00 	nop                                            
    return the_info->si_signo;                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
 20077f8:	05 00 80 89 	sethi  %hi(0x2022400), %g2                     
 20077fc:	c4 00 a1 1c 	ld  [ %g2 + 0x11c ], %g2	! 202251c <_POSIX_signals_Pending>
 2007800:	80 88 40 02 	btst  %g1, %g2                                 
 2007804:	12 80 00 28 	bne  20078a4 <sigtimedwait+0x124>              
 2007808:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 200780c:	c4 00 61 a0 	ld  [ %g1 + 0x1a0 ], %g2	! 2021da0 <_Thread_Dispatch_disable_level>
 2007810:	84 00 a0 01 	inc  %g2                                       
 2007814:	c4 20 61 a0 	st  %g2, [ %g1 + 0x1a0 ]                       
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
 2007818:	82 10 3f ff 	mov  -1, %g1                                   
 200781c:	c2 24 00 00 	st  %g1, [ %l0 ]                               
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
 2007820:	82 10 20 04 	mov  4, %g1                                    
 2007824:	c2 26 60 34 	st  %g1, [ %i1 + 0x34 ]                        
    the_thread->Wait.option          = *set;                          
 2007828:	c2 06 00 00 	ld  [ %i0 ], %g1                               
    the_thread->Wait.return_argument = the_info;                      
 200782c:	e0 26 60 28 	st  %l0, [ %i1 + 0x28 ]                        
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
 2007830:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
 2007834:	25 00 80 89 	sethi  %hi(0x2022400), %l2                     
                                                                      
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;
 2007838:	82 10 20 01 	mov  1, %g1                                    
 200783c:	a4 14 a0 b4 	or  %l2, 0xb4, %l2                             
 2007840:	e4 26 60 44 	st  %l2, [ %i1 + 0x44 ]                        
 2007844:	c2 24 a0 30 	st  %g1, [ %l2 + 0x30 ]                        
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
    the_thread->Wait.return_argument = the_info;                      
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
 2007848:	7f ff ec 89 	call  2002a6c <sparc_enable_interrupts>        
 200784c:	01 00 00 00 	nop                                            
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
 2007850:	90 10 00 12 	mov  %l2, %o0                                  
 2007854:	92 10 00 1a 	mov  %i2, %o1                                  
 2007858:	15 00 80 2b 	sethi  %hi(0x200ac00), %o2                     
 200785c:	40 00 0c 7d 	call  200aa50 <_Thread_queue_Enqueue_with_handler>
 2007860:	94 12 a2 24 	or  %o2, 0x224, %o2	! 200ae24 <_Thread_queue_Timeout>
  _Thread_Enable_dispatch();                                          
 2007864:	40 00 0b 08 	call  200a484 <_Thread_Enable_dispatch>        
 2007868:	01 00 00 00 	nop                                            
  /*                                                                  
   * 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 );
 200786c:	d2 04 00 00 	ld  [ %l0 ], %o1                               
 2007870:	94 10 00 10 	mov  %l0, %o2                                  
 2007874:	96 10 20 00 	clr  %o3                                       
 2007878:	98 10 20 00 	clr  %o4                                       
 200787c:	40 00 1e 72 	call  200f244 <_POSIX_signals_Clear_signals>   
 2007880:	90 10 00 13 	mov  %l3, %o0                                  
  errno = _Thread_Executing->Wait.return_code;                        
 2007884:	40 00 2e 18 	call  20130e4 <__errno>                        
 2007888:	01 00 00 00 	nop                                            
 200788c:	c2 04 62 60 	ld  [ %l1 + 0x260 ], %g1                       
 2007890:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2007894:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  return the_info->si_signo;                                          
 2007898:	f0 04 00 00 	ld  [ %l0 ], %i0                               
}                                                                     
 200789c:	81 c7 e0 08 	ret                                            
 20078a0:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 20078a4:	7f ff ff 9f 	call  2007720 <_POSIX_signals_Get_highest>     
 20078a8:	90 10 00 02 	mov  %g2, %o0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 20078ac:	94 10 00 10 	mov  %l0, %o2                                  
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 20078b0:	b0 10 00 08 	mov  %o0, %i0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 20078b4:	96 10 20 01 	mov  1, %o3                                    
 20078b8:	90 10 00 13 	mov  %l3, %o0                                  
 20078bc:	92 10 00 18 	mov  %i0, %o1                                  
 20078c0:	40 00 1e 61 	call  200f244 <_POSIX_signals_Clear_signals>   
 20078c4:	98 10 20 00 	clr  %o4                                       
    _ISR_Enable( level );                                             
 20078c8:	7f ff ec 69 	call  2002a6c <sparc_enable_interrupts>        
 20078cc:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
 20078d0:	82 10 20 01 	mov  1, %g1                                    
    the_info->si_value.sival_int = 0;                                 
 20078d4:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
 20078d8:	f0 24 00 00 	st  %i0, [ %l0 ]                               
    the_info->si_code = SI_USER;                                      
 20078dc:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
 20078e0:	81 c7 e0 08 	ret                                            
 20078e4:	81 e8 00 00 	restore                                        
  /* 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 );
 20078e8:	7f ff ff 8e 	call  2007720 <_POSIX_signals_Get_highest>     
 20078ec:	90 10 00 02 	mov  %g2, %o0                                  
    _POSIX_signals_Clear_signals(                                     
 20078f0:	94 10 00 10 	mov  %l0, %o2                                  
  /* 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 );
 20078f4:	92 10 00 08 	mov  %o0, %o1                                  
    _POSIX_signals_Clear_signals(                                     
 20078f8:	96 10 20 00 	clr  %o3                                       
 20078fc:	90 10 00 13 	mov  %l3, %o0                                  
  /* 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 );
 2007900:	d2 24 00 00 	st  %o1, [ %l0 ]                               
    _POSIX_signals_Clear_signals(                                     
 2007904:	40 00 1e 50 	call  200f244 <_POSIX_signals_Clear_signals>   
 2007908:	98 10 20 00 	clr  %o4                                       
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
 200790c:	7f ff ec 58 	call  2002a6c <sparc_enable_interrupts>        
 2007910:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_code = SI_USER;                                      
 2007914:	82 10 20 01 	mov  1, %g1                                    
    the_info->si_value.sival_int = 0;                                 
 2007918:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
    return the_info->si_signo;                                        
 200791c:	f0 04 00 00 	ld  [ %l0 ], %i0                               
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
 2007920:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
 2007924:	81 c7 e0 08 	ret                                            
 2007928:	81 e8 00 00 	restore                                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
                                                                      
    if ( !interval )                                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 200792c:	40 00 2d ee 	call  20130e4 <__errno>                        
 2007930:	b0 10 3f ff 	mov  -1, %i0                                   
 2007934:	82 10 20 16 	mov  0x16, %g1                                 
 2007938:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200793c:	81 c7 e0 08 	ret                                            
 2007940:	81 e8 00 00 	restore                                        
                                                                      

020097f4 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
 20097f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
 20097f8:	92 10 20 00 	clr  %o1                                       
 20097fc:	90 10 00 18 	mov  %i0, %o0                                  
 2009800:	7f ff ff 87 	call  200961c <sigtimedwait>                   
 2009804:	94 10 20 00 	clr  %o2                                       
                                                                      
  if ( status != -1 ) {                                               
 2009808:	80 a2 3f ff 	cmp  %o0, -1                                   
 200980c:	02 80 00 07 	be  2009828 <sigwait+0x34>                     
 2009810:	80 a6 60 00 	cmp  %i1, 0                                    
    if ( sig )                                                        
 2009814:	02 80 00 03 	be  2009820 <sigwait+0x2c>                     <== NEVER TAKEN
 2009818:	b0 10 20 00 	clr  %i0                                       
      *sig = status;                                                  
 200981c:	d0 26 40 00 	st  %o0, [ %i1 ]                               
 2009820:	81 c7 e0 08 	ret                                            
 2009824:	81 e8 00 00 	restore                                        
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
 2009828:	40 00 2d 1a 	call  2014c90 <__errno>                        
 200982c:	01 00 00 00 	nop                                            
 2009830:	f0 02 00 00 	ld  [ %o0 ], %i0                               
}                                                                     
 2009834:	81 c7 e0 08 	ret                                            
 2009838:	81 e8 00 00 	restore                                        
                                                                      

020063fc <sysconf>: */ long sysconf( int name ) {
 20063fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( name == _SC_CLK_TCK )                                          
 2006400:	80 a6 20 02 	cmp  %i0, 2                                    
 2006404:	02 80 00 0f 	be  2006440 <sysconf+0x44>                     
 2006408:	82 10 00 18 	mov  %i0, %g1                                  
    return (TOD_MICROSECONDS_PER_SECOND /                             
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
 200640c:	80 a6 20 04 	cmp  %i0, 4                                    
 2006410:	02 80 00 13 	be  200645c <sysconf+0x60>                     
 2006414:	80 a6 20 33 	cmp  %i0, 0x33                                 
    return rtems_libio_number_iops;                                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
 2006418:	02 80 00 08 	be  2006438 <sysconf+0x3c>                     
 200641c:	b0 10 24 00 	mov  0x400, %i0                                
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
 2006420:	80 a0 60 08 	cmp  %g1, 8                                    
 2006424:	02 80 00 05 	be  2006438 <sysconf+0x3c>                     
 2006428:	b0 06 2c 00 	add  %i0, 0xc00, %i0                           
    return PAGE_SIZE;                                                 
                                                                      
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
 200642c:	80 a0 62 03 	cmp  %g1, 0x203                                
 2006430:	12 80 00 0f 	bne  200646c <sysconf+0x70>                    <== ALWAYS TAKEN
 2006434:	b0 10 20 00 	clr  %i0                                       
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
 2006438:	81 c7 e0 08 	ret                                            
 200643c:	81 e8 00 00 	restore                                        
long sysconf(                                                         
  int name                                                            
)                                                                     
{                                                                     
  if ( name == _SC_CLK_TCK )                                          
    return (TOD_MICROSECONDS_PER_SECOND /                             
 2006440:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006444:	d2 00 61 c8 	ld  [ %g1 + 0x1c8 ], %o1	! 201fdc8 <Configuration+0xc>
 2006448:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 200644c:	40 00 55 f8 	call  201bc2c <.udiv>                          
 2006450:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 2006454:	81 c7 e0 08 	ret                                            
 2006458:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
    return rtems_libio_number_iops;                                   
 200645c:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 2006460:	f0 00 60 e4 	ld  [ %g1 + 0xe4 ], %i0	! 201fce4 <rtems_libio_number_iops>
 2006464:	81 c7 e0 08 	ret                                            
 2006468:	81 e8 00 00 	restore                                        
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 200646c:	40 00 2f 4d 	call  20121a0 <__errno>                        
 2006470:	b0 10 3f ff 	mov  -1, %i0                                   
 2006474:	82 10 20 16 	mov  0x16, %g1                                 
 2006478:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200647c:	81 c7 e0 08 	ret                                            
 2006480:	81 e8 00 00 	restore                                        
                                                                      

0200676c <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
 200676c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
 2006770:	80 a6 20 01 	cmp  %i0, 1                                    
 2006774:	12 80 00 3d 	bne  2006868 <timer_create+0xfc>               
 2006778:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
 200677c:	02 80 00 3b 	be  2006868 <timer_create+0xfc>                
 2006780:	80 a6 60 00 	cmp  %i1, 0                                    
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
 2006784:	02 80 00 0e 	be  20067bc <timer_create+0x50>                
 2006788:	03 00 80 8f 	sethi  %hi(0x2023c00), %g1                     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
 200678c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2006790:	82 00 7f ff 	add  %g1, -1, %g1                              
 2006794:	80 a0 60 01 	cmp  %g1, 1                                    
 2006798:	18 80 00 34 	bgu  2006868 <timer_create+0xfc>               <== NEVER TAKEN
 200679c:	01 00 00 00 	nop                                            
         ( 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 )                                         
 20067a0:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 20067a4:	80 a0 60 00 	cmp  %g1, 0                                    
 20067a8:	02 80 00 30 	be  2006868 <timer_create+0xfc>                <== NEVER TAKEN
 20067ac:	82 00 7f ff 	add  %g1, -1, %g1                              
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
 20067b0:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 20067b4:	18 80 00 2d 	bgu  2006868 <timer_create+0xfc>               <== NEVER TAKEN
 20067b8:	03 00 80 8f 	sethi  %hi(0x2023c00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 20067bc:	c4 00 60 70 	ld  [ %g1 + 0x70 ], %g2	! 2023c70 <_Thread_Dispatch_disable_level>
 20067c0:	84 00 a0 01 	inc  %g2                                       
 20067c4:	c4 20 60 70 	st  %g2, [ %g1 + 0x70 ]                        
 *  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 );
 20067c8:	21 00 80 8f 	sethi  %hi(0x2023c00), %l0                     
 20067cc:	40 00 08 41 	call  20088d0 <_Objects_Allocate>              
 20067d0:	90 14 23 c0 	or  %l0, 0x3c0, %o0	! 2023fc0 <_POSIX_Timer_Information>
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
 20067d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20067d8:	02 80 00 2a 	be  2006880 <timer_create+0x114>               
 20067dc:	82 10 20 02 	mov  2, %g1                                    
    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;                   
 20067e0:	c2 2a 20 3c 	stb  %g1, [ %o0 + 0x3c ]                       
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 20067e4:	03 00 80 8f 	sethi  %hi(0x2023c00), %g1                     
 20067e8:	c2 00 61 30 	ld  [ %g1 + 0x130 ], %g1	! 2023d30 <_Thread_Executing>
                                                                      
  if ( evp != NULL ) {                                                
 20067ec:	80 a6 60 00 	cmp  %i1, 0                                    
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 20067f0:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( evp != NULL ) {                                                
 20067f4:	02 80 00 08 	be  2006814 <timer_create+0xa8>                
 20067f8:	c2 22 20 38 	st  %g1, [ %o0 + 0x38 ]                        
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 20067fc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 2006800:	c6 06 40 00 	ld  [ %i1 ], %g3                               
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2006804:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 2006808:	c6 22 20 40 	st  %g3, [ %o0 + 0x40 ]                        
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 200680c:	c4 22 20 44 	st  %g2, [ %o0 + 0x44 ]                        
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 2006810:	c2 22 20 48 	st  %g1, [ %o0 + 0x48 ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2006814:	c4 12 20 0a 	lduh  [ %o0 + 0xa ], %g2                       
 2006818:	a0 14 23 c0 	or  %l0, 0x3c0, %l0                            
 200681c:	c6 04 20 1c 	ld  [ %l0 + 0x1c ], %g3                        
 2006820:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
 2006824:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2006828:	d0 20 c0 02 	st  %o0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 200682c:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
 2006830:	c0 22 20 68 	clr  [ %o0 + 0x68 ]                            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
 2006834:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
 2006838:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
 200683c:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
 2006840:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2006844:	c0 22 20 30 	clr  [ %o0 + 0x30 ]                            
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
 2006848:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 200684c:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 2006850:	c0 22 20 2c 	clr  [ %o0 + 0x2c ]                            
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2006854:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
  _Thread_Enable_dispatch();                                          
 2006858:	40 00 0b f1 	call  200981c <_Thread_Enable_dispatch>        
 200685c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2006860:	81 c7 e0 08 	ret                                            
 2006864:	81 e8 00 00 	restore                                        
                                                                      
     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 );                
 2006868:	40 00 2f b1 	call  201272c <__errno>                        
 200686c:	b0 10 3f ff 	mov  -1, %i0                                   
 2006870:	82 10 20 16 	mov  0x16, %g1                                 
 2006874:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006878:	81 c7 e0 08 	ret                                            
 200687c:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
    _Thread_Enable_dispatch();                                        
 2006880:	40 00 0b e7 	call  200981c <_Thread_Enable_dispatch>        
 2006884:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
 2006888:	40 00 2f a9 	call  201272c <__errno>                        
 200688c:	01 00 00 00 	nop                                            
 2006890:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 2006894:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006898:	81 c7 e0 08 	ret                                            
 200689c:	81 e8 00 00 	restore                                        
                                                                      

020068a0 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
 20068a0:	9d e3 bf 80 	save  %sp, -128, %sp                           
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
 20068a4:	80 a6 a0 00 	cmp  %i2, 0                                    
 20068a8:	02 80 00 89 	be  2006acc <timer_settime+0x22c>              <== NEVER TAKEN
 20068ac:	03 0e e6 b2 	sethi  %hi(0x3b9ac800), %g1                    
    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 ) ||   
 20068b0:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
 20068b4:	82 10 61 ff 	or  %g1, 0x1ff, %g1                            
 20068b8:	80 a0 80 01 	cmp  %g2, %g1                                  
 20068bc:	18 80 00 84 	bgu  2006acc <timer_settime+0x22c>             
 20068c0:	01 00 00 00 	nop                                            
       ( value->it_value.tv_nsec < 0 ) ||                             
       ( value->it_interval.tv_nsec >= TOD_NANOSECONDS_PER_SECOND) || 
 20068c4:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 20068c8:	80 a0 80 01 	cmp  %g2, %g1                                  
 20068cc:	18 80 00 80 	bgu  2006acc <timer_settime+0x22c>             <== NEVER TAKEN
 20068d0:	80 a6 60 00 	cmp  %i1, 0                                    
       ( 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 ) {    
 20068d4:	12 80 00 7c 	bne  2006ac4 <timer_settime+0x224>             
 20068d8:	80 a6 60 04 	cmp  %i1, 4                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
 20068dc:	c8 06 80 00 	ld  [ %i2 ], %g4                               
 20068e0:	c6 06 a0 04 	ld  [ %i2 + 4 ], %g3                           
 20068e4:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
 20068e8:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
 20068ec:	c8 27 bf e4 	st  %g4, [ %fp + -28 ]                         
 20068f0:	c6 27 bf e8 	st  %g3, [ %fp + -24 ]                         
 20068f4:	c4 27 bf ec 	st  %g2, [ %fp + -20 ]                         
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
 20068f8:	80 a6 60 04 	cmp  %i1, 4                                    
 20068fc:	02 80 00 3b 	be  20069e8 <timer_settime+0x148>              
 2006900:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
 2006904:	92 10 00 18 	mov  %i0, %o1                                  
 2006908:	11 00 80 8f 	sethi  %hi(0x2023c00), %o0                     
 200690c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006910:	40 00 09 44 	call  2008e20 <_Objects_Get>                   
 2006914:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
 2006918:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200691c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006920:	12 80 00 48 	bne  2006a40 <timer_settime+0x1a0>             <== NEVER TAKEN
 2006924:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    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 ) {
 2006928:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 200692c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006930:	12 80 00 05 	bne  2006944 <timer_settime+0xa4>              
 2006934:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 2006938:	80 a0 60 00 	cmp  %g1, 0                                    
 200693c:	02 80 00 47 	be  2006a58 <timer_settime+0x1b8>              
 2006940:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
 2006944:	40 00 0f b8 	call  200a824 <_Timespec_To_ticks>             
 2006948:	90 10 00 1a 	mov  %i2, %o0                                  
 200694c:	d0 24 20 64 	st  %o0, [ %l0 + 0x64 ]                        
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 2006950:	40 00 0f b5 	call  200a824 <_Timespec_To_ticks>             
 2006954:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2006958:	d4 04 20 08 	ld  [ %l0 + 8 ], %o2                           
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 200695c:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2006960:	17 00 80 1a 	sethi  %hi(0x2006800), %o3                     
 2006964:	90 04 20 10 	add  %l0, 0x10, %o0                            
 2006968:	96 12 e2 e4 	or  %o3, 0x2e4, %o3                            
 200696c:	40 00 1f a1 	call  200e7f0 <_POSIX_Timer_Insert_helper>     
 2006970:	98 10 00 10 	mov  %l0, %o4                                  
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
 2006974:	80 8a 20 ff 	btst  0xff, %o0                                
 2006978:	02 80 00 18 	be  20069d8 <timer_settime+0x138>              
 200697c:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
 2006980:	02 80 00 0b 	be  20069ac <timer_settime+0x10c>              
 2006984:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
         *ovalue = ptimer->timer_data;                                
 2006988:	c2 04 20 54 	ld  [ %l0 + 0x54 ], %g1                        
 200698c:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 2006990:	c2 04 20 58 	ld  [ %l0 + 0x58 ], %g1                        
 2006994:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
 2006998:	c2 04 20 5c 	ld  [ %l0 + 0x5c ], %g1                        
 200699c:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
 20069a0:	c2 04 20 60 	ld  [ %l0 + 0x60 ], %g1                        
 20069a4:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
       ptimer->timer_data = normalize;                                
 20069a8:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 20069ac:	84 10 20 03 	mov  3, %g2                                    
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
         *ovalue = ptimer->timer_data;                                
       ptimer->timer_data = normalize;                                
 20069b0:	c2 24 20 54 	st  %g1, [ %l0 + 0x54 ]                        
 20069b4:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
       _TOD_Get( &ptimer->time );                                     
 20069b8:	90 04 20 6c 	add  %l0, 0x6c, %o0                            
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
         *ovalue = ptimer->timer_data;                                
       ptimer->timer_data = normalize;                                
 20069bc:	c2 24 20 58 	st  %g1, [ %l0 + 0x58 ]                        
 20069c0:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 20069c4:	c2 24 20 5c 	st  %g1, [ %l0 + 0x5c ]                        
 20069c8:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 20069cc:	c4 2c 20 3c 	stb  %g2, [ %l0 + 0x3c ]                       
       _TOD_Get( &ptimer->time );                                     
 20069d0:	40 00 06 55 	call  2008324 <_TOD_Get>                       
 20069d4:	c2 24 20 60 	st  %g1, [ %l0 + 0x60 ]                        
       _Thread_Enable_dispatch();                                     
 20069d8:	40 00 0b 91 	call  200981c <_Thread_Enable_dispatch>        
 20069dc:	b0 10 20 00 	clr  %i0                                       
       return 0;                                                      
 20069e0:	81 c7 e0 08 	ret                                            
 20069e4:	81 e8 00 00 	restore                                        
  normalize = *value;                                                 
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
 20069e8:	a0 07 bf f4 	add  %fp, -12, %l0                             
 20069ec:	40 00 06 4e 	call  2008324 <_TOD_Get>                       
 20069f0:	90 10 00 10 	mov  %l0, %o0                                  
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
 20069f4:	a2 07 bf ec 	add  %fp, -20, %l1                             
 20069f8:	90 10 00 10 	mov  %l0, %o0                                  
 20069fc:	40 00 0f 62 	call  200a784 <_Timespec_Greater_than>         
 2006a00:	92 10 00 11 	mov  %l1, %o1                                  
 2006a04:	80 8a 20 ff 	btst  0xff, %o0                                
 2006a08:	12 80 00 31 	bne  2006acc <timer_settime+0x22c>             
 2006a0c:	90 10 00 10 	mov  %l0, %o0                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
 2006a10:	92 10 00 11 	mov  %l1, %o1                                  
 2006a14:	40 00 0f 6e 	call  200a7cc <_Timespec_Subtract>             
 2006a18:	94 10 00 11 	mov  %l1, %o2                                  
 2006a1c:	92 10 00 18 	mov  %i0, %o1                                  
 2006a20:	11 00 80 8f 	sethi  %hi(0x2023c00), %o0                     
 2006a24:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006a28:	40 00 08 fe 	call  2008e20 <_Objects_Get>                   
 2006a2c:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
 2006a30:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006a34:	80 a0 60 00 	cmp  %g1, 0                                    
 2006a38:	02 bf ff bc 	be  2006928 <timer_settime+0x88>               
 2006a3c:	a0 10 00 08 	mov  %o0, %l0                                  
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2006a40:	40 00 2f 3b 	call  201272c <__errno>                        
 2006a44:	b0 10 3f ff 	mov  -1, %i0                                   
 2006a48:	82 10 20 16 	mov  0x16, %g1                                 
 2006a4c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 2006a50:	81 c7 e0 08 	ret                                            
 2006a54:	81 e8 00 00 	restore                                        
                                                                      
    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 );                   
 2006a58:	40 00 10 bb 	call  200ad44 <_Watchdog_Remove>               
 2006a5c:	90 02 20 10 	add  %o0, 0x10, %o0                            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
 2006a60:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006a64:	02 80 00 0b 	be  2006a90 <timer_settime+0x1f0>              
 2006a68:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
           *ovalue = ptimer->timer_data;                              
 2006a6c:	c2 04 20 54 	ld  [ %l0 + 0x54 ], %g1                        
 2006a70:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 2006a74:	c2 04 20 58 	ld  [ %l0 + 0x58 ], %g1                        
 2006a78:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
 2006a7c:	c2 04 20 5c 	ld  [ %l0 + 0x5c ], %g1                        
 2006a80:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
 2006a84:	c2 04 20 60 	ld  [ %l0 + 0x60 ], %g1                        
 2006a88:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2006a8c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 2006a90:	84 10 20 04 	mov  4, %g2                                    
         (void) _Watchdog_Remove( &ptimer->Timer );                   
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
           *ovalue = ptimer->timer_data;                              
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2006a94:	c2 24 20 54 	st  %g1, [ %l0 + 0x54 ]                        
 2006a98:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
 2006a9c:	b0 10 20 00 	clr  %i0                                       
         (void) _Watchdog_Remove( &ptimer->Timer );                   
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
           *ovalue = ptimer->timer_data;                              
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2006aa0:	c2 24 20 58 	st  %g1, [ %l0 + 0x58 ]                        
 2006aa4:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 2006aa8:	c2 24 20 5c 	st  %g1, [ %l0 + 0x5c ]                        
 2006aac:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 2006ab0:	c4 2c 20 3c 	stb  %g2, [ %l0 + 0x3c ]                       
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
 2006ab4:	40 00 0b 5a 	call  200981c <_Thread_Enable_dispatch>        
 2006ab8:	c2 24 20 60 	st  %g1, [ %l0 + 0x60 ]                        
        return 0;                                                     
 2006abc:	81 c7 e0 08 	ret                                            
 2006ac0:	81 e8 00 00 	restore                                        
       ( 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 ) {    
 2006ac4:	22 bf ff 87 	be,a   20068e0 <timer_settime+0x40>            
 2006ac8:	c8 06 80 00 	ld  [ %i2 ], %g4                               
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006acc:	40 00 2f 18 	call  201272c <__errno>                        
 2006ad0:	b0 10 3f ff 	mov  -1, %i0                                   
 2006ad4:	82 10 20 16 	mov  0x16, %g1                                 
 2006ad8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006adc:	81 c7 e0 08 	ret                                            
 2006ae0:	81 e8 00 00 	restore                                        
                                                                      

020066d0 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
 20066d0:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
 20066d4:	21 00 80 86 	sethi  %hi(0x2021800), %l0                     
 20066d8:	a0 14 23 b0 	or  %l0, 0x3b0, %l0	! 2021bb0 <_POSIX_signals_Ualarm_timer>
 20066dc:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 20066e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20066e4:	02 80 00 24 	be  2006774 <ualarm+0xa4>                      
 20066e8:	a2 10 00 18 	mov  %i0, %l1                                  
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
 20066ec:	40 00 10 8e 	call  200a924 <_Watchdog_Remove>               
 20066f0:	90 10 00 10 	mov  %l0, %o0                                  
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
 20066f4:	90 02 3f fe 	add  %o0, -2, %o0                              
 20066f8:	80 a2 20 01 	cmp  %o0, 1                                    
 20066fc:	08 80 00 26 	bleu  2006794 <ualarm+0xc4>                    <== ALWAYS TAKEN
 2006700:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  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 ) {                                                   
 2006704:	80 a4 60 00 	cmp  %l1, 0                                    
 2006708:	02 80 00 19 	be  200676c <ualarm+0x9c>                      
 200670c:	25 00 03 d0 	sethi  %hi(0xf4000), %l2                       
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2006710:	90 10 00 11 	mov  %l1, %o0                                  
 2006714:	40 00 59 06 	call  201cb2c <.udiv>                          
 2006718:	92 14 a2 40 	or  %l2, 0x240, %o1                            
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 200671c:	92 14 a2 40 	or  %l2, 0x240, %o1                            
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2006720:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2006724:	40 00 59 ae 	call  201cddc <.urem>                          
 2006728:	90 10 00 11 	mov  %l1, %o0                                  
 200672c:	85 2a 20 07 	sll  %o0, 7, %g2                               
 2006730:	83 2a 20 02 	sll  %o0, 2, %g1                               
 2006734:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2006738:	90 00 40 08 	add  %g1, %o0, %o0                             
 200673c:	91 2a 20 03 	sll  %o0, 3, %o0                               
    ticks = _Timespec_To_ticks( &tp );                                
 2006740:	a2 07 bf f8 	add  %fp, -8, %l1                              
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2006744:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
    ticks = _Timespec_To_ticks( &tp );                                
 2006748:	40 00 0e ff 	call  200a344 <_Timespec_To_ticks>             
 200674c:	90 10 00 11 	mov  %l1, %o0                                  
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
 2006750:	40 00 0e fd 	call  200a344 <_Timespec_To_ticks>             
 2006754:	90 10 00 11 	mov  %l1, %o0                                  
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006758:	92 10 00 10 	mov  %l0, %o1                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200675c:	d0 24 20 0c 	st  %o0, [ %l0 + 0xc ]                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006760:	11 00 80 84 	sethi  %hi(0x2021000), %o0                     
 2006764:	40 00 10 07 	call  200a780 <_Watchdog_Insert>               
 2006768:	90 12 23 90 	or  %o0, 0x390, %o0	! 2021390 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
 200676c:	81 c7 e0 08 	ret                                            
 2006770:	81 e8 00 00 	restore                                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006774:	03 00 80 19 	sethi  %hi(0x2006400), %g1                     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2006778:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  the_watchdog->routine   = routine;                                  
 200677c:	82 10 63 e4 	or  %g1, 0x3e4, %g1                            
  the_watchdog->id        = id;                                       
 2006780:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
  the_watchdog->user_data = user_data;                                
 2006784:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006788:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 200678c:	10 bf ff de 	b  2006704 <ualarm+0x34>                       
 2006790:	b0 10 20 00 	clr  %i0                                       
       *  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);        
 2006794:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2006798:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
       *  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);        
 200679c:	d0 04 20 14 	ld  [ %l0 + 0x14 ], %o0                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20067a0:	92 07 bf f8 	add  %fp, -8, %o1                              
       *  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);        
 20067a4:	90 02 00 02 	add  %o0, %g2, %o0                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20067a8:	40 00 0e bc 	call  200a298 <_Timespec_From_ticks>           
 20067ac:	90 22 00 01 	sub  %o0, %g1, %o0                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20067b0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      remaining += tp.tv_nsec / 1000;                                 
 20067b4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20067b8:	85 28 60 03 	sll  %g1, 3, %g2                               
 20067bc:	87 28 60 08 	sll  %g1, 8, %g3                               
 20067c0:	84 20 c0 02 	sub  %g3, %g2, %g2                             
      remaining += tp.tv_nsec / 1000;                                 
 20067c4:	92 10 23 e8 	mov  0x3e8, %o1                                
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20067c8:	b1 28 a0 06 	sll  %g2, 6, %i0                               
 20067cc:	b0 26 00 02 	sub  %i0, %g2, %i0                             
      remaining += tp.tv_nsec / 1000;                                 
 20067d0:	40 00 58 d9 	call  201cb34 <.div>                           
 20067d4:	b0 06 00 01 	add  %i0, %g1, %i0                             
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20067d8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
      remaining += tp.tv_nsec / 1000;                                 
 20067dc:	10 bf ff ca 	b  2006704 <ualarm+0x34>                       
 20067e0:	b0 02 00 18 	add  %o0, %i0, %i0