RTEMS 4.10
Annotated Report
Thu May 27 16:53:56 2010

020089a4 <_CORE_RWLock_Obtain_for_reading>:                           
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
 20089a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 20089a8:	03 00 80 7b 	sethi  %hi(0x201ec00), %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 );                                              
 20089ac:	7f ff eb 99 	call  2003810 <sparc_disable_interrupts>       
 20089b0:	e0 00 63 10 	ld  [ %g1 + 0x310 ], %l0	! 201ef10 <_Thread_Executing>
 20089b4:	a2 10 00 08 	mov  %o0, %l1                                  
    switch ( the_rwlock->current_state ) {                            
 20089b8:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 20089bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20089c0:	22 80 00 06 	be,a   20089d8 <_CORE_RWLock_Obtain_for_reading+0x34>
 20089c4:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 20089c8:	80 a0 60 01 	cmp  %g1, 1                                    
 20089cc:	12 80 00 16 	bne  2008a24 <_CORE_RWLock_Obtain_for_reading+0x80>
 20089d0:	80 8e a0 ff 	btst  0xff, %i2                                
 20089d4:	30 80 00 06 	b,a   20089ec <_CORE_RWLock_Obtain_for_reading+0x48>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
 20089d8:	84 10 20 01 	mov  1, %g2                                    
	the_rwlock->number_of_readers += 1;                                  
 20089dc:	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;          
 20089e0:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
	the_rwlock->number_of_readers += 1;                                  
 20089e4:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	_ISR_Enable( level );                                                
 20089e8:	30 80 00 0a 	b,a   2008a10 <_CORE_RWLock_Obtain_for_reading+0x6c>
	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 );      
 20089ec:	40 00 07 e4 	call  200a97c <_Thread_queue_First>            
 20089f0:	90 10 00 18 	mov  %i0, %o0                                  
        if ( !waiter ) {                                              
 20089f4:	80 a2 20 00 	cmp  %o0, 0                                    
 20089f8:	12 80 00 0b 	bne  2008a24 <_CORE_RWLock_Obtain_for_reading+0x80><== NEVER TAKEN
 20089fc:	80 8e a0 ff 	btst  0xff, %i2                                
	  the_rwlock->number_of_readers += 1;                                
 2008a00:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2008a04:	82 00 60 01 	inc  %g1                                       
 2008a08:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	  _ISR_Enable( level );                                              
 2008a0c:	90 10 00 11 	mov  %l1, %o0                                  
 2008a10:	7f ff eb 84 	call  2003820 <sparc_enable_interrupts>        
 2008a14:	01 00 00 00 	nop                                            
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
 2008a18:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
          return;                                                     
 2008a1c:	81 c7 e0 08 	ret                                            
 2008a20:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
 2008a24:	32 80 00 08 	bne,a   2008a44 <_CORE_RWLock_Obtain_for_reading+0xa0>
 2008a28:	f2 24 20 20 	st  %i1, [ %l0 + 0x20 ]                        
      _ISR_Enable( level );                                           
 2008a2c:	7f ff eb 7d 	call  2003820 <sparc_enable_interrupts>        
 2008a30:	90 10 00 11 	mov  %l1, %o0                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2008a34:	82 10 20 02 	mov  2, %g1                                    
 2008a38:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
 2008a3c:	81 c7 e0 08 	ret                                            
 2008a40:	81 e8 00 00 	restore                                        
                                                                      
    _Thread_queue_Enter_critical_section( &the_rwlock->Wait_queue );  
    executing->Wait.queue       = &the_rwlock->Wait_queue;            
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 2008a44:	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;            
 2008a48:	f0 24 20 44 	st  %i0, [ %l0 + 0x44 ]                        
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
 2008a4c:	c0 24 20 30 	clr  [ %l0 + 0x30 ]                            
 2008a50:	82 10 20 01 	mov  1, %g1                                    
 2008a54:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
 2008a58:	90 10 00 11 	mov  %l1, %o0                                  
 2008a5c:	7f ff eb 71 	call  2003820 <sparc_enable_interrupts>        
 2008a60:	35 00 80 22 	sethi  %hi(0x2008800), %i2                     
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
 2008a64:	b2 10 00 1b 	mov  %i3, %i1                                  
 2008a68:	40 00 06 e5 	call  200a5fc <_Thread_queue_Enqueue_with_handler>
 2008a6c:	95 ee a3 f4 	restore  %i2, 0x3f4, %o2                       
                                                                      

02008afc <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
 2008afc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 2008b00:	03 00 80 7b 	sethi  %hi(0x201ec00), %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 );                                              
 2008b04:	7f ff eb 43 	call  2003810 <sparc_disable_interrupts>       
 2008b08:	e0 00 63 10 	ld  [ %g1 + 0x310 ], %l0	! 201ef10 <_Thread_Executing>
 2008b0c:	84 10 00 08 	mov  %o0, %g2                                  
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
 2008b10:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 2008b14:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b18:	12 80 00 08 	bne  2008b38 <_CORE_RWLock_Release+0x3c>       
 2008b1c:	80 a0 60 01 	cmp  %g1, 1                                    
      _ISR_Enable( level );                                           
 2008b20:	7f ff eb 40 	call  2003820 <sparc_enable_interrupts>        
 2008b24:	b0 10 20 00 	clr  %i0                                       
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2008b28:	82 10 20 02 	mov  2, %g1                                    
 2008b2c:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
 2008b30:	81 c7 e0 08 	ret                                            
 2008b34:	81 e8 00 00 	restore                                        
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
 2008b38:	32 80 00 0b 	bne,a   2008b64 <_CORE_RWLock_Release+0x68>    
 2008b3c:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
	the_rwlock->number_of_readers -= 1;                                  
 2008b40:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2008b44:	82 00 7f ff 	add  %g1, -1, %g1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
 2008b48:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b4c:	02 80 00 05 	be  2008b60 <_CORE_RWLock_Release+0x64>        
 2008b50:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
 2008b54:	7f ff eb 33 	call  2003820 <sparc_enable_interrupts>        
 2008b58:	b0 10 20 00 	clr  %i0                                       
          return CORE_RWLOCK_SUCCESSFUL;                              
 2008b5c:	30 80 00 24 	b,a   2008bec <_CORE_RWLock_Release+0xf0>      
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 2008b60:	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;                 
 2008b64:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
  _ISR_Enable( level );                                               
 2008b68:	7f ff eb 2e 	call  2003820 <sparc_enable_interrupts>        
 2008b6c:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
 2008b70:	40 00 06 40 	call  200a470 <_Thread_queue_Dequeue>          
 2008b74:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( next ) {                                                       
 2008b78:	80 a2 20 00 	cmp  %o0, 0                                    
 2008b7c:	22 80 00 1c 	be,a   2008bec <_CORE_RWLock_Release+0xf0>     
 2008b80:	b0 10 20 00 	clr  %i0                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
 2008b84:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 2008b88:	80 a0 60 01 	cmp  %g1, 1                                    
 2008b8c:	32 80 00 05 	bne,a   2008ba0 <_CORE_RWLock_Release+0xa4>    
 2008b90:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
 2008b94:	82 10 20 02 	mov  2, %g1                                    
      return CORE_RWLOCK_SUCCESSFUL;                                  
 2008b98:	10 80 00 14 	b  2008be8 <_CORE_RWLock_Release+0xec>         
 2008b9c:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 2008ba0:	84 10 20 01 	mov  1, %g2                                    
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 2008ba4:	82 00 60 01 	inc  %g1                                       
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 2008ba8:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 2008bac:	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 );          
 2008bb0:	40 00 07 73 	call  200a97c <_Thread_queue_First>            
 2008bb4:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !next ||                                                   
 2008bb8:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2008bbc:	22 80 00 0c 	be,a   2008bec <_CORE_RWLock_Release+0xf0>     
 2008bc0:	b0 10 20 00 	clr  %i0                                       
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
 2008bc4:	c2 02 60 30 	ld  [ %o1 + 0x30 ], %g1                        
 2008bc8:	80 a0 60 01 	cmp  %g1, 1                                    
 2008bcc:	02 80 00 07 	be  2008be8 <_CORE_RWLock_Release+0xec>        <== NEVER TAKEN
 2008bd0:	90 10 00 18 	mov  %i0, %o0                                  
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 2008bd4:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2008bd8:	82 00 60 01 	inc  %g1                                       
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 2008bdc:	40 00 07 18 	call  200a83c <_Thread_queue_Extract>          
 2008be0:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    }                                                                 
 2008be4:	30 bf ff f3 	b,a   2008bb0 <_CORE_RWLock_Release+0xb4>      
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 2008be8:	b0 10 20 00 	clr  %i0                                       
 2008bec:	81 c7 e0 08 	ret                                            
 2008bf0:	81 e8 00 00 	restore                                        
                                                                      

02008bf4 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
 2008bf4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008bf8:	90 10 00 18 	mov  %i0, %o0                                  
 2008bfc:	40 00 05 28 	call  200a09c <_Thread_Get>                    
 2008c00:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008c04:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008c08:	80 a0 60 00 	cmp  %g1, 0                                    
 2008c0c:	12 80 00 08 	bne  2008c2c <_CORE_RWLock_Timeout+0x38>       <== NEVER TAKEN
 2008c10:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2008c14:	40 00 07 96 	call  200aa6c <_Thread_queue_Process_timeout>  
 2008c18:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2008c1c:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2008c20:	c4 00 62 50 	ld  [ %g1 + 0x250 ], %g2	! 201ee50 <_Thread_Dispatch_disable_level>
 2008c24:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008c28:	c4 20 62 50 	st  %g2, [ %g1 + 0x250 ]                       
 2008c2c:	81 c7 e0 08 	ret                                            
 2008c30:	81 e8 00 00 	restore                                        
                                                                      

0201607c <_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 ) {
 201607c:	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 ) {             
 2016080:	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                    
)                                                                     
{                                                                     
 2016084:	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 ) {             
 2016088:	80 a6 80 01 	cmp  %i2, %g1                                  
 201608c:	18 80 00 17 	bgu  20160e8 <_CORE_message_queue_Broadcast+0x6c><== NEVER TAKEN
 2016090:	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 ) {         
 2016094:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 2016098:	80 a0 60 00 	cmp  %g1, 0                                    
 201609c:	02 80 00 0a 	be  20160c4 <_CORE_message_queue_Broadcast+0x48>
 20160a0:	a2 10 20 00 	clr  %l1                                       
    *count = 0;                                                       
 20160a4:	c0 27 40 00 	clr  [ %i5 ]                                   
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
 20160a8:	81 c7 e0 08 	ret                                            
 20160ac:	91 e8 20 00 	restore  %g0, 0, %o0                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 20160b0:	d0 04 a0 2c 	ld  [ %l2 + 0x2c ], %o0                        
 20160b4:	40 00 28 25 	call  2020148 <memcpy>                         
 20160b8:	a2 04 60 01 	inc  %l1                                       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
 20160bc:	c2 04 a0 28 	ld  [ %l2 + 0x28 ], %g1                        
 20160c0:	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))) {   
 20160c4:	40 00 0a 5d 	call  2018a38 <_Thread_queue_Dequeue>          
 20160c8:	90 10 00 10 	mov  %l0, %o0                                  
 20160cc:	92 10 00 19 	mov  %i1, %o1                                  
 20160d0:	a4 10 00 08 	mov  %o0, %l2                                  
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
 20160d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20160d8:	12 bf ff f6 	bne  20160b0 <_CORE_message_queue_Broadcast+0x34>
 20160dc:	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;                                        
 20160e0:	e2 27 40 00 	st  %l1, [ %i5 ]                               
 20160e4:	b0 10 20 00 	clr  %i0                                       
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
 20160e8:	81 c7 e0 08 	ret                                            
 20160ec:	81 e8 00 00 	restore                                        
                                                                      

0200fbd0 <_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 ) {
 200fbd0:	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;                  
 200fbd4:	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;
 200fbd8:	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;
 200fbdc:	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;                 
 200fbe0:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
    the_message_queue->notify_argument = the_argument;                
 200fbe4:	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)) {              
 200fbe8:	80 8e e0 03 	btst  3, %i3                                   
 200fbec:	02 80 00 07 	be  200fc08 <_CORE_message_queue_Initialize+0x38>
 200fbf0:	a2 10 00 1b 	mov  %i3, %l1                                  
    allocated_message_size += sizeof(uint32_t);                       
 200fbf4:	a2 06 e0 04 	add  %i3, 4, %l1                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 200fbf8:	a2 0c 7f fc 	and  %l1, -4, %l1                              
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 200fbfc:	80 a4 40 1b 	cmp  %l1, %i3                                  
 200fc00:	0a 80 00 23 	bcs  200fc8c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
 200fc04:	01 00 00 00 	nop                                            
  /*                                                                  
   *  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));
 200fc08:	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 *    
 200fc0c:	92 10 00 1a 	mov  %i2, %o1                                  
 200fc10:	40 00 50 6c 	call  2023dc0 <.umul>                          
 200fc14:	90 10 00 10 	mov  %l0, %o0                                  
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
 200fc18:	80 a2 00 11 	cmp  %o0, %l1                                  
 200fc1c:	0a 80 00 1c 	bcs  200fc8c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
 200fc20:	01 00 00 00 	nop                                            
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 200fc24:	40 00 0c 06 	call  2012c3c <_Workspace_Allocate>            
 200fc28:	01 00 00 00 	nop                                            
 200fc2c:	d0 26 20 5c 	st  %o0, [ %i0 + 0x5c ]                        
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 200fc30:	80 a2 20 00 	cmp  %o0, 0                                    
 200fc34:	02 80 00 16 	be  200fc8c <_CORE_message_queue_Initialize+0xbc>
 200fc38:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 200fc3c:	90 06 20 68 	add  %i0, 0x68, %o0                            
 200fc40:	94 10 00 1a 	mov  %i2, %o2                                  
 200fc44:	40 00 16 74 	call  2015614 <_Chain_Initialize>              
 200fc48:	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(                                           
 200fc4c:	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;                                   
 200fc50:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 200fc54:	82 18 60 01 	xor  %g1, 1, %g1                               
 200fc58:	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);                 
 200fc5c:	82 06 20 54 	add  %i0, 0x54, %g1                            
 200fc60:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 200fc64:	82 06 20 50 	add  %i0, 0x50, %g1                            
 200fc68:	90 10 00 18 	mov  %i0, %o0                                  
 200fc6c:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
 200fc70:	92 60 3f ff 	subx  %g0, -1, %o1                             
 200fc74:	94 10 20 80 	mov  0x80, %o2                                 
 200fc78:	96 10 20 06 	mov  6, %o3                                    
 200fc7c:	40 00 08 cb 	call  2011fa8 <_Thread_queue_Initialize>       
 200fc80:	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;                                                        
 200fc84:	81 c7 e0 08 	ret                                            
 200fc88:	81 e8 00 00 	restore                                        
}                                                                     
 200fc8c:	81 c7 e0 08 	ret                                            
 200fc90:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200fc94 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
 200fc94:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
 200fc98:	23 00 80 aa 	sethi  %hi(0x202a800), %l1                     
 200fc9c:	e0 04 61 e0 	ld  [ %l1 + 0x1e0 ], %l0	! 202a9e0 <_Thread_Executing>
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
 200fca0:	a4 10 00 19 	mov  %i1, %l2                                  
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
 200fca4:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
  _ISR_Disable( level );                                              
 200fca8:	7f ff de b7 	call  2007784 <sparc_disable_interrupts>       
 200fcac:	a6 10 00 18 	mov  %i0, %l3                                  
 200fcb0:	82 10 00 08 	mov  %o0, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200fcb4:	f2 06 20 50 	ld  [ %i0 + 0x50 ], %i1                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200fcb8:	84 06 20 54 	add  %i0, 0x54, %g2                            
 200fcbc:	80 a6 40 02 	cmp  %i1, %g2                                  
 200fcc0:	02 80 00 24 	be  200fd50 <_CORE_message_queue_Seize+0xbc>   
 200fcc4:	86 06 20 50 	add  %i0, 0x50, %g3                            
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
 200fcc8:	c4 06 40 00 	ld  [ %i1 ], %g2                               
  the_chain->first    = new_first;                                    
 200fccc:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
 200fcd0:	80 a6 60 00 	cmp  %i1, 0                                    
 200fcd4:	02 80 00 1f 	be  200fd50 <_CORE_message_queue_Seize+0xbc>   <== NEVER TAKEN
 200fcd8:	c6 20 a0 04 	st  %g3, [ %g2 + 4 ]                           
    the_message_queue->number_of_pending_messages -= 1;               
 200fcdc:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 200fce0:	82 00 7f ff 	add  %g1, -1, %g1                              
 200fce4:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    _ISR_Enable( level );                                             
 200fce8:	7f ff de ab 	call  2007794 <sparc_enable_interrupts>        
 200fcec:	a0 06 60 10 	add  %i1, 0x10, %l0                            
                                                                      
    *size_p = the_message->Contents.size;                             
 200fcf0:	d4 06 60 0c 	ld  [ %i1 + 0xc ], %o2                         
    _Thread_Executing->Wait.count =                                   
 200fcf4:	c2 04 61 e0 	ld  [ %l1 + 0x1e0 ], %g1                       
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
 200fcf8:	d4 26 c0 00 	st  %o2, [ %i3 ]                               
    _Thread_Executing->Wait.count =                                   
 200fcfc:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 200fd00:	c4 20 60 24 	st  %g2, [ %g1 + 0x24 ]                        
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 200fd04:	92 10 00 10 	mov  %l0, %o1                                  
 200fd08:	40 00 24 12 	call  2018d50 <memcpy>                         
 200fd0c:	90 10 00 1a 	mov  %i2, %o0                                  
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
 200fd10:	40 00 07 9e 	call  2011b88 <_Thread_queue_Dequeue>          
 200fd14:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !the_thread ) {                                            
 200fd18:	80 a2 20 00 	cmp  %o0, 0                                    
 200fd1c:	32 80 00 04 	bne,a   200fd2c <_CORE_message_queue_Seize+0x98>
 200fd20:	d4 02 20 30 	ld  [ %o0 + 0x30 ], %o2                        
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
 200fd24:	7f ff ff 7a 	call  200fb0c <_Chain_Append>                  
 200fd28:	91 ee 20 68 	restore  %i0, 0x68, %o0                        
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
 200fd2c:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
 200fd30:	d4 26 60 0c 	st  %o2, [ %i1 + 0xc ]                         
 200fd34:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 200fd38:	d2 02 20 2c 	ld  [ %o0 + 0x2c ], %o1                        
 200fd3c:	40 00 24 05 	call  2018d50 <memcpy>                         
 200fd40:	90 10 00 10 	mov  %l0, %o0                                  
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
 200fd44:	f4 06 60 08 	ld  [ %i1 + 8 ], %i2                           
 200fd48:	40 00 16 41 	call  201564c <_CORE_message_queue_Insert_message>
 200fd4c:	81 e8 00 00 	restore                                        
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
 200fd50:	80 8f 20 ff 	btst  0xff, %i4                                
 200fd54:	12 80 00 08 	bne  200fd74 <_CORE_message_queue_Seize+0xe0>  
 200fd58:	84 10 20 01 	mov  1, %g2                                    
    _ISR_Enable( level );                                             
 200fd5c:	7f ff de 8e 	call  2007794 <sparc_enable_interrupts>        
 200fd60:	90 10 00 01 	mov  %g1, %o0                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
 200fd64:	82 10 20 04 	mov  4, %g1                                    
 200fd68:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
 200fd6c:	81 c7 e0 08 	ret                                            
 200fd70:	81 e8 00 00 	restore                                        
                                                                      
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;
 200fd74:	c4 24 e0 30 	st  %g2, [ %l3 + 0x30 ]                        
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
 200fd78:	f6 24 20 28 	st  %i3, [ %l0 + 0x28 ]                        
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
 200fd7c:	e4 24 20 20 	st  %l2, [ %l0 + 0x20 ]                        
  executing->Wait.return_argument_second.mutable_object = buffer;     
 200fd80:	f4 24 20 2c 	st  %i2, [ %l0 + 0x2c ]                        
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
 200fd84:	e6 24 20 44 	st  %l3, [ %l0 + 0x44 ]                        
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
 200fd88:	90 10 00 01 	mov  %g1, %o0                                  
 200fd8c:	7f ff de 82 	call  2007794 <sparc_enable_interrupts>        
 200fd90:	35 00 80 48 	sethi  %hi(0x2012000), %i2                     
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
 200fd94:	b0 10 00 13 	mov  %l3, %i0                                  
 200fd98:	b2 10 00 1d 	mov  %i5, %i1                                  
 200fd9c:	40 00 07 de 	call  2011d14 <_Thread_queue_Enqueue_with_handler>
 200fda0:	95 ee a0 74 	restore  %i2, 0x74, %o2                        
                                                                      

020065dc <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
 20065dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 20065e0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20065e4:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1	! 201bd20 <_Thread_Dispatch_disable_level>
 20065e8:	80 a0 60 00 	cmp  %g1, 0                                    
 20065ec:	02 80 00 0d 	be  2006620 <_CORE_mutex_Seize+0x44>           
 20065f0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20065f4:	80 8e a0 ff 	btst  0xff, %i2                                
 20065f8:	02 80 00 0b 	be  2006624 <_CORE_mutex_Seize+0x48>           <== NEVER TAKEN
 20065fc:	90 10 00 18 	mov  %i0, %o0                                  
 2006600:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2006604:	c2 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g1	! 201bec0 <_System_state_Current>
 2006608:	80 a0 60 01 	cmp  %g1, 1                                    
 200660c:	08 80 00 05 	bleu  2006620 <_CORE_mutex_Seize+0x44>         
 2006610:	90 10 20 00 	clr  %o0                                       
 2006614:	92 10 20 00 	clr  %o1                                       
 2006618:	40 00 01 b4 	call  2006ce8 <_Internal_error_Occurred>       
 200661c:	94 10 20 13 	mov  0x13, %o2                                 
 2006620:	90 10 00 18 	mov  %i0, %o0                                  
 2006624:	40 00 15 f7 	call  200be00 <_CORE_mutex_Seize_interrupt_trylock>
 2006628:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 200662c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006630:	02 80 00 09 	be  2006654 <_CORE_mutex_Seize+0x78>           
 2006634:	80 8e a0 ff 	btst  0xff, %i2                                
 2006638:	12 80 00 09 	bne  200665c <_CORE_mutex_Seize+0x80>          
 200663c:	35 00 80 6f 	sethi  %hi(0x201bc00), %i2                     
 2006640:	7f ff ee e0 	call  20021c0 <sparc_enable_interrupts>        
 2006644:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2006648:	c2 06 a1 e0 	ld  [ %i2 + 0x1e0 ], %g1                       
 200664c:	84 10 20 01 	mov  1, %g2                                    
 2006650:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
 2006654:	81 c7 e0 08 	ret                                            
 2006658:	81 e8 00 00 	restore                                        
 200665c:	c4 06 a1 e0 	ld  [ %i2 + 0x1e0 ], %g2                       
 2006660:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2006664:	c6 00 61 20 	ld  [ %g1 + 0x120 ], %g3	! 201bd20 <_Thread_Dispatch_disable_level>
 2006668:	f2 20 a0 20 	st  %i1, [ %g2 + 0x20 ]                        
 200666c:	f0 20 a0 44 	st  %i0, [ %g2 + 0x44 ]                        
 2006670:	84 00 e0 01 	add  %g3, 1, %g2                               
 2006674:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
                                                                      
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;
 2006678:	82 10 20 01 	mov  1, %g1                                    
 200667c:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
 2006680:	7f ff ee d0 	call  20021c0 <sparc_enable_interrupts>        
 2006684:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2006688:	90 10 00 18 	mov  %i0, %o0                                  
 200668c:	7f ff ff bb 	call  2006578 <_CORE_mutex_Seize_interrupt_blocking>
 2006690:	92 10 00 1b 	mov  %i3, %o1                                  
 2006694:	81 c7 e0 08 	ret                                            
 2006698:	81 e8 00 00 	restore                                        
                                                                      

02006840 <_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 ) {
 2006840:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2006844:	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)) ) {
 2006848:	b0 10 20 00 	clr  %i0                                       
 200684c:	40 00 05 ff 	call  2008048 <_Thread_queue_Dequeue>          
 2006850:	90 10 00 10 	mov  %l0, %o0                                  
 2006854:	80 a2 20 00 	cmp  %o0, 0                                    
 2006858:	12 80 00 0e 	bne  2006890 <_CORE_semaphore_Surrender+0x50>  
 200685c:	01 00 00 00 	nop                                            
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 2006860:	7f ff ee 54 	call  20021b0 <sparc_disable_interrupts>       
 2006864:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 2006868:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 200686c:	c4 04 20 40 	ld  [ %l0 + 0x40 ], %g2                        
 2006870:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006874:	1a 80 00 05 	bcc  2006888 <_CORE_semaphore_Surrender+0x48>  <== NEVER TAKEN
 2006878:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 200687c:	82 00 60 01 	inc  %g1                                       
 2006880:	b0 10 20 00 	clr  %i0                                       
 2006884:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 2006888:	7f ff ee 4e 	call  20021c0 <sparc_enable_interrupts>        
 200688c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2006890:	81 c7 e0 08 	ret                                            
 2006894:	81 e8 00 00 	restore                                        
                                                                      

02005464 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
 2005464:	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;                                      
 2005468:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200546c:	e0 00 61 e0 	ld  [ %g1 + 0x1e0 ], %l0	! 201bde0 <_Thread_Executing>
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
 2005470:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
                                                                      
  _ISR_Disable( level );                                              
 2005474:	7f ff f3 4f 	call  20021b0 <sparc_disable_interrupts>       
 2005478:	e4 04 21 68 	ld  [ %l0 + 0x168 ], %l2                       
  pending_events = api->pending_events;                               
 200547c:	c2 04 80 00 	ld  [ %l2 ], %g1                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
 2005480:	a2 8e 00 01 	andcc  %i0, %g1, %l1                           
 2005484:	02 80 00 0e 	be  20054bc <_Event_Seize+0x58>                
 2005488:	80 8e 60 01 	btst  1, %i1                                   
 200548c:	80 a4 40 18 	cmp  %l1, %i0                                  
 2005490:	02 80 00 04 	be  20054a0 <_Event_Seize+0x3c>                
 2005494:	80 8e 60 02 	btst  2, %i1                                   
 2005498:	02 80 00 09 	be  20054bc <_Event_Seize+0x58>                <== NEVER TAKEN
 200549c:	80 8e 60 01 	btst  1, %i1                                   
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
 20054a0:	82 28 40 11 	andn  %g1, %l1, %g1                            
 20054a4:	c2 24 80 00 	st  %g1, [ %l2 ]                               
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
 20054a8:	7f ff f3 46 	call  20021c0 <sparc_enable_interrupts>        
 20054ac:	01 00 00 00 	nop                                            
 20054b0:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
 20054b4:	81 c7 e0 08 	ret                                            
 20054b8:	81 e8 00 00 	restore                                        
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
 20054bc:	22 80 00 09 	be,a   20054e0 <_Event_Seize+0x7c>             
 20054c0:	f2 24 20 30 	st  %i1, [ %l0 + 0x30 ]                        
    _ISR_Enable( level );                                             
 20054c4:	7f ff f3 3f 	call  20021c0 <sparc_enable_interrupts>        
 20054c8:	01 00 00 00 	nop                                            
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
 20054cc:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
 20054d0:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
    *event_out = seized_events;                                       
 20054d4:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
 20054d8:	81 c7 e0 08 	ret                                            
 20054dc:	81 e8 00 00 	restore                                        
   *                                                                  
   *  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;          
  executing->Wait.count             = (uint32_t) event_in;            
 20054e0:	f0 24 20 24 	st  %i0, [ %l0 + 0x24 ]                        
  executing->Wait.return_argument   = event_out;                      
 20054e4:	f6 24 20 28 	st  %i3, [ %l0 + 0x28 ]                        
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 20054e8:	84 10 20 01 	mov  1, %g2                                    
 20054ec:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 20054f0:	c4 20 62 54 	st  %g2, [ %g1 + 0x254 ]	! 201c654 <_Event_Sync_state>
                                                                      
  _ISR_Enable( level );                                               
 20054f4:	7f ff f3 33 	call  20021c0 <sparc_enable_interrupts>        
 20054f8:	01 00 00 00 	nop                                            
                                                                      
  if ( ticks ) {                                                      
 20054fc:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005500:	02 80 00 0f 	be  200553c <_Event_Seize+0xd8>                
 2005504:	90 10 00 10 	mov  %l0, %o0                                  
    _Watchdog_Initialize(                                             
 2005508:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200550c:	11 00 80 6f 	sethi  %hi(0x201bc00), %o0                     
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2005510:	c2 24 20 68 	st  %g1, [ %l0 + 0x68 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005514:	03 00 80 15 	sethi  %hi(0x2005400), %g1                     
 2005518:	82 10 63 10 	or  %g1, 0x310, %g1	! 2005710 <_Event_Timeout> 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200551c:	f4 24 20 54 	st  %i2, [ %l0 + 0x54 ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2005520:	c0 24 20 50 	clr  [ %l0 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2005524:	c0 24 20 6c 	clr  [ %l0 + 0x6c ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005528:	c2 24 20 64 	st  %g1, [ %l0 + 0x64 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200552c:	90 12 22 00 	or  %o0, 0x200, %o0                            
 2005530:	40 00 0e 35 	call  2008e04 <_Watchdog_Insert>               
 2005534:	92 04 20 48 	add  %l0, 0x48, %o1                            
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
 2005538:	90 10 00 10 	mov  %l0, %o0                                  
 200553c:	40 00 0c 28 	call  20085dc <_Thread_Set_state>              
 2005540:	92 10 21 00 	mov  0x100, %o1                                
                                                                      
  _ISR_Disable( level );                                              
 2005544:	7f ff f3 1b 	call  20021b0 <sparc_disable_interrupts>       
 2005548:	01 00 00 00 	nop                                            
                                                                      
  sync_state = _Event_Sync_state;                                     
 200554c:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005550:	f0 00 62 54 	ld  [ %g1 + 0x254 ], %i0	! 201c654 <_Event_Sync_state>
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
 2005554:	c0 20 62 54 	clr  [ %g1 + 0x254 ]                           
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
 2005558:	80 a6 20 01 	cmp  %i0, 1                                    
 200555c:	12 80 00 04 	bne  200556c <_Event_Seize+0x108>              
 2005560:	b2 10 00 10 	mov  %l0, %i1                                  
    _ISR_Enable( level );                                             
 2005564:	7f ff f3 17 	call  20021c0 <sparc_enable_interrupts>        
 2005568:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *  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 );  
 200556c:	40 00 08 15 	call  20075c0 <_Thread_blocking_operation_Cancel>
 2005570:	95 e8 00 08 	restore  %g0, %o0, %o2                         
                                                                      

020055d0 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 20055d0:	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 ];               
 20055d4:	e2 06 21 68 	ld  [ %i0 + 0x168 ], %l1                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
 20055d8:	e4 06 20 30 	ld  [ %i0 + 0x30 ], %l2                        
                                                                      
  _ISR_Disable( level );                                              
 20055dc:	7f ff f2 f5 	call  20021b0 <sparc_disable_interrupts>       
 20055e0:	a0 10 00 18 	mov  %i0, %l0                                  
 20055e4:	b0 10 00 08 	mov  %o0, %i0                                  
  pending_events  = api->pending_events;                              
 20055e8:	c4 04 40 00 	ld  [ %l1 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 20055ec:	c6 04 20 24 	ld  [ %l0 + 0x24 ], %g3                        
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 20055f0:	82 88 c0 02 	andcc  %g3, %g2, %g1                           
 20055f4:	12 80 00 03 	bne  2005600 <_Event_Surrender+0x30>           
 20055f8:	09 00 80 6f 	sethi  %hi(0x201bc00), %g4                     
    _ISR_Enable( level );                                             
 20055fc:	30 80 00 42 	b,a   2005704 <_Event_Surrender+0x134>         
                                                                      
  /*                                                                  
   *  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() &&                                       
 2005600:	c8 01 21 bc 	ld  [ %g4 + 0x1bc ], %g4	! 201bdbc <_ISR_Nest_level>
 2005604:	80 a1 20 00 	cmp  %g4, 0                                    
 2005608:	22 80 00 1e 	be,a   2005680 <_Event_Surrender+0xb0>         
 200560c:	c8 04 20 10 	ld  [ %l0 + 0x10 ], %g4                        
 2005610:	09 00 80 6f 	sethi  %hi(0x201bc00), %g4                     
 2005614:	c8 01 21 e0 	ld  [ %g4 + 0x1e0 ], %g4	! 201bde0 <_Thread_Executing>
 2005618:	80 a4 00 04 	cmp  %l0, %g4                                  
 200561c:	32 80 00 19 	bne,a   2005680 <_Event_Surrender+0xb0>        
 2005620:	c8 04 20 10 	ld  [ %l0 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 2005624:	09 00 80 71 	sethi  %hi(0x201c400), %g4                     
 2005628:	da 01 22 54 	ld  [ %g4 + 0x254 ], %o5	! 201c654 <_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() &&                                       
 200562c:	80 a3 60 02 	cmp  %o5, 2                                    
 2005630:	02 80 00 07 	be  200564c <_Event_Surrender+0x7c>            <== NEVER TAKEN
 2005634:	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)) ) {
 2005638:	c8 01 22 54 	ld  [ %g4 + 0x254 ], %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() &&                                       
 200563c:	80 a1 20 01 	cmp  %g4, 1                                    
 2005640:	32 80 00 10 	bne,a   2005680 <_Event_Surrender+0xb0>        
 2005644:	c8 04 20 10 	ld  [ %l0 + 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) ) {
 2005648:	80 a0 40 03 	cmp  %g1, %g3                                  
 200564c:	02 80 00 04 	be  200565c <_Event_Surrender+0x8c>            
 2005650:	80 8c a0 02 	btst  2, %l2                                   
 2005654:	02 80 00 0a 	be  200567c <_Event_Surrender+0xac>            <== NEVER TAKEN
 2005658:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 200565c:	84 28 80 01 	andn  %g2, %g1, %g2                            
 2005660:	c4 24 40 00 	st  %g2, [ %l1 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2005664:	c4 04 20 28 	ld  [ %l0 + 0x28 ], %g2                        
       _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 );
      the_thread->Wait.count = 0;                                     
 2005668:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 200566c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 2005670:	84 10 20 03 	mov  3, %g2                                    
 2005674:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005678:	c4 20 62 54 	st  %g2, [ %g1 + 0x254 ]	! 201c654 <_Event_Sync_state>
    }                                                                 
    _ISR_Enable( level );                                             
 200567c:	30 80 00 22 	b,a   2005704 <_Event_Surrender+0x134>         
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 2005680:	80 89 21 00 	btst  0x100, %g4                               
 2005684:	02 80 00 20 	be  2005704 <_Event_Surrender+0x134>           
 2005688:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 200568c:	02 80 00 04 	be  200569c <_Event_Surrender+0xcc>            
 2005690:	80 8c a0 02 	btst  2, %l2                                   
 2005694:	02 80 00 1c 	be  2005704 <_Event_Surrender+0x134>           <== NEVER TAKEN
 2005698:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 200569c:	84 28 80 01 	andn  %g2, %g1, %g2                            
 20056a0:	c4 24 40 00 	st  %g2, [ %l1 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20056a4:	c4 04 20 28 	ld  [ %l0 + 0x28 ], %g2                        
   *  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 );
      the_thread->Wait.count = 0;                                     
 20056a8:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20056ac:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _ISR_Flash( level );                                            
 20056b0:	7f ff f2 c4 	call  20021c0 <sparc_enable_interrupts>        
 20056b4:	90 10 00 18 	mov  %i0, %o0                                  
 20056b8:	7f ff f2 be 	call  20021b0 <sparc_disable_interrupts>       
 20056bc:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 20056c0:	c2 04 20 50 	ld  [ %l0 + 0x50 ], %g1                        
 20056c4:	80 a0 60 02 	cmp  %g1, 2                                    
 20056c8:	02 80 00 06 	be  20056e0 <_Event_Surrender+0x110>           
 20056cc:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 20056d0:	7f ff f2 bc 	call  20021c0 <sparc_enable_interrupts>        
 20056d4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 20056d8:	10 80 00 08 	b  20056f8 <_Event_Surrender+0x128>            
 20056dc:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 20056e0:	c2 24 20 50 	st  %g1, [ %l0 + 0x50 ]                        
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 20056e4:	7f ff f2 b7 	call  20021c0 <sparc_enable_interrupts>        
 20056e8:	90 10 00 18 	mov  %i0, %o0                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
 20056ec:	40 00 0e 23 	call  2008f78 <_Watchdog_Remove>               
 20056f0:	90 04 20 48 	add  %l0, 0x48, %o0                            
 20056f4:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
 20056f8:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
 20056fc:	40 00 08 3f 	call  20077f8 <_Thread_Clear_state>            
 2005700:	91 e8 00 10 	restore  %g0, %l0, %o0                         
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 2005704:	7f ff f2 af 	call  20021c0 <sparc_enable_interrupts>        
 2005708:	81 e8 00 00 	restore                                        
                                                                      

02005710 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2005710:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2005714:	90 10 00 18 	mov  %i0, %o0                                  
 2005718:	40 00 09 57 	call  2007c74 <_Thread_Get>                    
 200571c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2005720:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2005724:	80 a0 60 00 	cmp  %g1, 0                                    
 2005728:	12 80 00 1c 	bne  2005798 <_Event_Timeout+0x88>             <== NEVER TAKEN
 200572c:	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 );                                          
 2005730:	7f ff f2 a0 	call  20021b0 <sparc_disable_interrupts>       
 2005734:	01 00 00 00 	nop                                            
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 2005738:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200573c:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1	! 201bde0 <_Thread_Executing>
 2005740:	80 a4 00 01 	cmp  %l0, %g1                                  
 2005744:	12 80 00 09 	bne  2005768 <_Event_Timeout+0x58>             
 2005748:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 200574c:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005750:	c4 00 62 54 	ld  [ %g1 + 0x254 ], %g2	! 201c654 <_Event_Sync_state>
 2005754:	80 a0 a0 01 	cmp  %g2, 1                                    
 2005758:	32 80 00 05 	bne,a   200576c <_Event_Timeout+0x5c>          
 200575c:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 2005760:	84 10 20 02 	mov  2, %g2                                    
 2005764:	c4 20 62 54 	st  %g2, [ %g1 + 0x254 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2005768:	82 10 20 06 	mov  6, %g1                                    
 200576c:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
      _ISR_Enable( level );                                           
 2005770:	7f ff f2 94 	call  20021c0 <sparc_enable_interrupts>        
 2005774:	01 00 00 00 	nop                                            
 2005778:	90 10 00 10 	mov  %l0, %o0                                  
 200577c:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 2005780:	40 00 08 1e 	call  20077f8 <_Thread_Clear_state>            
 2005784:	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;                                
 2005788:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200578c:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201bd20 <_Thread_Dispatch_disable_level>
 2005790:	84 00 bf ff 	add  %g2, -1, %g2                              
 2005794:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
 2005798:	81 c7 e0 08 	ret                                            
 200579c:	81 e8 00 00 	restore                                        
                                                                      

0200c02c <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
 200c02c:	9d e3 bf 90 	save  %sp, -112, %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;                                         
 200c030:	ac 06 60 04 	add  %i1, 4, %l6                               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200c034:	e4 06 20 08 	ld  [ %i0 + 8 ], %l2                           
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
 200c038:	80 a5 80 19 	cmp  %l6, %i1                                  
 200c03c:	0a 80 00 6d 	bcs  200c1f0 <_Heap_Allocate_aligned_with_boundary+0x1c4>
 200c040:	e8 06 20 10 	ld  [ %i0 + 0x10 ], %l4                        
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
 200c044:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c048:	02 80 00 08 	be  200c068 <_Heap_Allocate_aligned_with_boundary+0x3c>
 200c04c:	82 10 20 04 	mov  4, %g1                                    
    if ( boundary < alloc_size ) {                                    
 200c050:	80 a6 c0 19 	cmp  %i3, %i1                                  
 200c054:	0a 80 00 67 	bcs  200c1f0 <_Heap_Allocate_aligned_with_boundary+0x1c4>
 200c058:	80 a6 a0 00 	cmp  %i2, 0                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200c05c:	22 80 00 03 	be,a   200c068 <_Heap_Allocate_aligned_with_boundary+0x3c>
 200c060:	b4 10 00 14 	mov  %l4, %i2                                  
  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;                     
 200c064:	82 10 20 04 	mov  4, %g1                                    
 200c068:	82 20 40 19 	sub  %g1, %i1, %g1                             
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200c06c:	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;                     
 200c070:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
    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;      
 200c074:	b8 10 3f f8 	mov  -8, %i4                                   
  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;                         
 200c078:	82 05 20 07 	add  %l4, 7, %g1                               
 200c07c:	10 80 00 4b 	b  200c1a8 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200c080:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
    /*                                                                
     * 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 ) {                  
 200c084:	80 a4 c0 16 	cmp  %l3, %l6                                  
 200c088:	08 80 00 47 	bleu  200c1a4 <_Heap_Allocate_aligned_with_boundary+0x178>
 200c08c:	a2 04 60 01 	inc  %l1                                       
      if ( alignment == 0 ) {                                         
 200c090:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c094:	12 80 00 04 	bne  200c0a4 <_Heap_Allocate_aligned_with_boundary+0x78>
 200c098:	aa 04 a0 08 	add  %l2, 8, %l5                               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
 200c09c:	10 80 00 3f 	b  200c198 <_Heap_Allocate_aligned_with_boundary+0x16c>
 200c0a0:	a0 10 00 15 	mov  %l5, %l0                                  
  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;                     
 200c0a4:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200c0a8:	ee 06 20 14 	ld  [ %i0 + 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;               
 200c0ac:	a6 0c ff fe 	and  %l3, -2, %l3                              
 200c0b0:	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;                     
 200c0b4:	a0 00 80 13 	add  %g2, %l3, %l0                             
  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;                         
 200c0b8:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200c0bc:	90 10 00 10 	mov  %l0, %o0                                  
 200c0c0:	82 20 80 17 	sub  %g2, %l7, %g1                             
 200c0c4:	92 10 00 1a 	mov  %i2, %o1                                  
 200c0c8:	40 00 31 52 	call  2018610 <.urem>                          
 200c0cc:	a6 00 40 13 	add  %g1, %l3, %l3                             
 200c0d0:	a0 24 00 08 	sub  %l0, %o0, %l0                             
  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 ) {                          
 200c0d4:	80 a4 00 13 	cmp  %l0, %l3                                  
 200c0d8:	08 80 00 07 	bleu  200c0f4 <_Heap_Allocate_aligned_with_boundary+0xc8>
 200c0dc:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c0e0:	90 10 00 13 	mov  %l3, %o0                                  
 200c0e4:	40 00 31 4b 	call  2018610 <.urem>                          
 200c0e8:	92 10 00 1a 	mov  %i2, %o1                                  
 200c0ec:	a0 24 c0 08 	sub  %l3, %o0, %l0                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
 200c0f0:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c0f4:	02 80 00 1d 	be  200c168 <_Heap_Allocate_aligned_with_boundary+0x13c>
 200c0f8:	80 a4 00 15 	cmp  %l0, %l5                                  
  /* 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;                               
 200c0fc:	a6 04 00 19 	add  %l0, %i1, %l3                             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
 200c100:	82 05 40 19 	add  %l5, %i1, %g1                             
 200c104:	92 10 00 1b 	mov  %i3, %o1                                  
 200c108:	90 10 00 13 	mov  %l3, %o0                                  
 200c10c:	10 80 00 0b 	b  200c138 <_Heap_Allocate_aligned_with_boundary+0x10c>
 200c110:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
 200c114:	80 a0 40 02 	cmp  %g1, %g2                                  
 200c118:	2a 80 00 24 	bcs,a   200c1a8 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200c11c:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
 200c120:	40 00 31 3c 	call  2018610 <.urem>                          
 200c124:	01 00 00 00 	nop                                            
 200c128:	92 10 00 1b 	mov  %i3, %o1                                  
 200c12c:	a0 27 40 08 	sub  %i5, %o0, %l0                             
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
 200c130:	a6 04 00 19 	add  %l0, %i1, %l3                             
 200c134:	90 10 00 13 	mov  %l3, %o0                                  
 200c138:	40 00 31 36 	call  2018610 <.urem>                          
 200c13c:	01 00 00 00 	nop                                            
 200c140:	92 10 00 1a 	mov  %i2, %o1                                  
 200c144:	82 24 c0 08 	sub  %l3, %o0, %g1                             
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
 200c148:	ba 20 40 19 	sub  %g1, %i1, %i5                             
  /* 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 ) {
 200c14c:	80 a0 40 13 	cmp  %g1, %l3                                  
 200c150:	1a 80 00 05 	bcc  200c164 <_Heap_Allocate_aligned_with_boundary+0x138>
 200c154:	90 10 00 1d 	mov  %i5, %o0                                  
 200c158:	80 a4 00 01 	cmp  %l0, %g1                                  
 200c15c:	0a bf ff ee 	bcs  200c114 <_Heap_Allocate_aligned_with_boundary+0xe8>
 200c160:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
      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 ) {                           
 200c164:	80 a4 00 15 	cmp  %l0, %l5                                  
 200c168:	0a 80 00 0f 	bcs  200c1a4 <_Heap_Allocate_aligned_with_boundary+0x178>
 200c16c:	a6 27 00 12 	sub  %i4, %l2, %l3                             
    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;      
 200c170:	90 10 00 10 	mov  %l0, %o0                                  
 200c174:	a6 04 c0 10 	add  %l3, %l0, %l3                             
 200c178:	40 00 31 26 	call  2018610 <.urem>                          
 200c17c:	92 10 00 14 	mov  %l4, %o1                                  
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
 200c180:	90 a4 c0 08 	subcc  %l3, %o0, %o0                           
 200c184:	02 80 00 06 	be  200c19c <_Heap_Allocate_aligned_with_boundary+0x170>
 200c188:	80 a4 20 00 	cmp  %l0, 0                                    
 200c18c:	80 a2 00 17 	cmp  %o0, %l7                                  
 200c190:	2a 80 00 06 	bcs,a   200c1a8 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200c194:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 200c198:	80 a4 20 00 	cmp  %l0, 0                                    
 200c19c:	32 80 00 08 	bne,a   200c1bc <_Heap_Allocate_aligned_with_boundary+0x190><== ALWAYS TAKEN
 200c1a0:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
 200c1a4:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200c1a8:	80 a4 80 18 	cmp  %l2, %i0                                  
 200c1ac:	32 bf ff b6 	bne,a   200c084 <_Heap_Allocate_aligned_with_boundary+0x58>
 200c1b0:	e6 04 a0 04 	ld  [ %l2 + 4 ], %l3                           
 200c1b4:	10 80 00 09 	b  200c1d8 <_Heap_Allocate_aligned_with_boundary+0x1ac>
 200c1b8:	a0 10 20 00 	clr  %l0                                       
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200c1bc:	92 10 00 12 	mov  %l2, %o1                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200c1c0:	82 00 40 11 	add  %g1, %l1, %g1                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200c1c4:	96 10 00 19 	mov  %i1, %o3                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200c1c8:	c2 26 20 4c 	st  %g1, [ %i0 + 0x4c ]                        
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200c1cc:	90 10 00 18 	mov  %i0, %o0                                  
 200c1d0:	7f ff ea 75 	call  2006ba4 <_Heap_Block_allocate>           
 200c1d4:	94 10 00 10 	mov  %l0, %o2                                  
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 200c1d8:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 200c1dc:	80 a0 40 11 	cmp  %g1, %l1                                  
 200c1e0:	2a 80 00 02 	bcs,a   200c1e8 <_Heap_Allocate_aligned_with_boundary+0x1bc>
 200c1e4:	e2 26 20 44 	st  %l1, [ %i0 + 0x44 ]                        
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
 200c1e8:	81 c7 e0 08 	ret                                            
 200c1ec:	91 e8 00 10 	restore  %g0, %l0, %o0                         
}                                                                     
 200c1f0:	81 c7 e0 08 	ret                                            
 200c1f4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020108fc <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
 20108fc:	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;                     
 2010900:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
 2010904:	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 ) {
 2010908:	80 a6 40 01 	cmp  %i1, %g1                                  
 201090c:	1a 80 00 07 	bcc  2010928 <_Heap_Extend+0x2c>               
 2010910:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
  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;                 
 2010914:	c4 06 20 18 	ld  [ %i0 + 0x18 ], %g2                        
 2010918:	80 a6 40 02 	cmp  %i1, %g2                                  
 201091c:	1a 80 00 28 	bcc  20109bc <_Heap_Extend+0xc0>               
 2010920:	b0 10 20 01 	mov  1, %i0                                    
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
 2010924:	80 a6 40 01 	cmp  %i1, %g1                                  
 2010928:	12 80 00 25 	bne  20109bc <_Heap_Extend+0xc0>               
 201092c:	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);                                 
 2010930:	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;      
 2010934:	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                                     
 2010938:	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;                                 
 201093c:	f4 24 20 1c 	st  %i2, [ %l0 + 0x1c ]                        
                                                                      
  extend_size = new_heap_area_end                                     
 2010940:	b2 06 7f f8 	add  %i1, -8, %i1                              
 2010944:	7f ff ce 03 	call  2004150 <.urem>                          
 2010948:	90 10 00 19 	mov  %i1, %o0                                  
 201094c:	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;                                     
 2010950:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
 2010954:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2010958:	80 a2 00 01 	cmp  %o0, %g1                                  
 201095c:	0a 80 00 18 	bcs  20109bc <_Heap_Extend+0xc0>               <== NEVER TAKEN
 2010960:	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;                                 
 2010964:	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 =                                   
 2010968:	c4 04 20 20 	ld  [ %l0 + 0x20 ], %g2                        
 201096c:	82 08 60 01 	and  %g1, 1, %g1                               
 2010970:	82 12 00 01 	or  %o0, %g1, %g1                              
 2010974:	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);                 
 2010978:	82 02 00 11 	add  %o0, %l1, %g1                             
 201097c:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2010980:	84 10 a0 01 	or  %g2, 1, %g2                                
 2010984:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2010988:	c6 04 20 40 	ld  [ %l0 + 0x40 ], %g3                        
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 201098c:	f2 04 20 2c 	ld  [ %l0 + 0x2c ], %i1                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 2010990:	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;                                
 2010994:	c2 24 20 24 	st  %g1, [ %l0 + 0x24 ]                        
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2010998:	82 00 e0 01 	add  %g3, 1, %g1                               
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 201099c:	90 06 40 08 	add  %i1, %o0, %o0                             
    ++stats->used_blocks;                                             
 20109a0:	c2 24 20 40 	st  %g1, [ %l0 + 0x40 ]                        
    --stats->frees; /* Do not count subsequent call as actual free() */
 20109a4:	82 00 bf ff 	add  %g2, -1, %g1                              
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 20109a8:	d0 24 20 2c 	st  %o0, [ %l0 + 0x2c ]                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 20109ac:	c2 24 20 50 	st  %g1, [ %l0 + 0x50 ]                        
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
 20109b0:	90 10 00 10 	mov  %l0, %o0                                  
 20109b4:	7f ff e8 07 	call  200a9d0 <_Heap_Free>                     
 20109b8:	92 04 60 08 	add  %l1, 8, %o1                               
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 20109bc:	81 c7 e0 08 	ret                                            
 20109c0:	81 e8 00 00 	restore                                        
                                                                      

0200c1f8 <_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 ) {
 200c1f8:	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 )   
 200c1fc:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200c200:	40 00 31 04 	call  2018610 <.urem>                          
 200c204:	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;             
 200c208:	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 )   
 200c20c:	b2 06 7f f8 	add  %i1, -8, %i1                              
 200c210:	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           
 200c214:	80 a2 00 01 	cmp  %o0, %g1                                  
 200c218:	0a 80 00 05 	bcs  200c22c <_Heap_Free+0x34>                 
 200c21c:	84 10 20 00 	clr  %g2                                       
 200c220:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200c224:	80 a0 80 08 	cmp  %g2, %o0                                  
 200c228:	84 60 3f ff 	subx  %g0, -1, %g2                             
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
 200c22c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c230:	02 80 00 6a 	be  200c3d8 <_Heap_Free+0x1e0>                 
 200c234:	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;                
 200c238:	c8 02 20 04 	ld  [ %o0 + 4 ], %g4                           
 200c23c:	86 09 3f fe 	and  %g4, -2, %g3                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200c240:	84 02 00 03 	add  %o0, %g3, %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           
 200c244:	80 a0 80 01 	cmp  %g2, %g1                                  
 200c248:	0a 80 00 05 	bcs  200c25c <_Heap_Free+0x64>                 <== NEVER TAKEN
 200c24c:	9a 10 20 00 	clr  %o5                                       
 200c250:	da 06 20 24 	ld  [ %i0 + 0x24 ], %o5                        
 200c254:	80 a3 40 02 	cmp  %o5, %g2                                  
 200c258:	9a 60 3f ff 	subx  %g0, -1, %o5                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
 200c25c:	80 a3 60 00 	cmp  %o5, 0                                    
 200c260:	02 80 00 5e 	be  200c3d8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200c264:	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;                 
 200c268:	da 00 a0 04 	ld  [ %g2 + 4 ], %o5                           
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200c26c:	80 8b 60 01 	btst  1, %o5                                   
 200c270:	02 80 00 5a 	be  200c3d8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200c274:	9a 0b 7f fe 	and  %o5, -2, %o5                              
    return false;                                                     
  }                                                                   
                                                                      
  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 ));
 200c278:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 200c27c:	80 a0 80 09 	cmp  %g2, %o1                                  
 200c280:	02 80 00 06 	be  200c298 <_Heap_Free+0xa0>                  
 200c284:	96 10 20 00 	clr  %o3                                       
 200c288:	98 00 80 0d 	add  %g2, %o5, %o4                             
 200c28c:	d6 03 20 04 	ld  [ %o4 + 4 ], %o3                           
 200c290:	96 0a e0 01 	and  %o3, 1, %o3                               
 200c294:	96 1a e0 01 	xor  %o3, 1, %o3                               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200c298:	80 89 20 01 	btst  1, %g4                                   
 200c29c:	12 80 00 26 	bne  200c334 <_Heap_Free+0x13c>                
 200c2a0:	80 a2 e0 00 	cmp  %o3, 0                                    
    uintptr_t const prev_size = block->prev_size;                     
 200c2a4:	d8 02 00 00 	ld  [ %o0 ], %o4                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200c2a8:	88 22 00 0c 	sub  %o0, %o4, %g4                             
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           
 200c2ac:	80 a1 00 01 	cmp  %g4, %g1                                  
 200c2b0:	0a 80 00 04 	bcs  200c2c0 <_Heap_Free+0xc8>                 <== NEVER TAKEN
 200c2b4:	94 10 20 00 	clr  %o2                                       
 200c2b8:	80 a2 40 04 	cmp  %o1, %g4                                  
 200c2bc:	94 60 3f ff 	subx  %g0, -1, %o2                             
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
 200c2c0:	80 a2 a0 00 	cmp  %o2, 0                                    
 200c2c4:	02 80 00 45 	be  200c3d8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200c2c8:	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) ) {                        
 200c2cc:	c2 01 20 04 	ld  [ %g4 + 4 ], %g1                           
 200c2d0:	80 88 60 01 	btst  1, %g1                                   
 200c2d4:	02 80 00 41 	be  200c3d8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200c2d8:	80 a2 e0 00 	cmp  %o3, 0                                    
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200c2dc:	22 80 00 0f 	be,a   200c318 <_Heap_Free+0x120>              
 200c2e0:	98 00 c0 0c 	add  %g3, %o4, %o4                             
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200c2e4:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
 200c2e8:	d6 00 a0 0c 	ld  [ %g2 + 0xc ], %o3                         
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200c2ec:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200c2f0:	82 00 7f ff 	add  %g1, -1, %g1                              
 200c2f4:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 200c2f8:	9a 00 c0 0d 	add  %g3, %o5, %o5                             
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  next->prev = prev;                                                  
 200c2fc:	d6 20 a0 0c 	st  %o3, [ %g2 + 0xc ]                         
 200c300:	98 03 40 0c 	add  %o5, %o4, %o4                             
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
 200c304:	c4 22 e0 08 	st  %g2, [ %o3 + 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;                                   
 200c308:	d8 21 00 0c 	st  %o4, [ %g4 + %o4 ]                         
                                                                      
    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;        
 200c30c:	98 13 20 01 	or  %o4, 1, %o4                                
 200c310:	10 80 00 27 	b  200c3ac <_Heap_Free+0x1b4>                  
 200c314:	d8 21 20 04 	st  %o4, [ %g4 + 4 ]                           
      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;        
 200c318:	82 13 20 01 	or  %o4, 1, %g1                                
 200c31c:	c2 21 20 04 	st  %g1, [ %g4 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200c320:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
      next_block->prev_size = size;                                   
 200c324:	d8 22 00 03 	st  %o4, [ %o0 + %g3 ]                         
      _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;             
 200c328:	82 08 7f fe 	and  %g1, -2, %g1                              
 200c32c:	10 80 00 20 	b  200c3ac <_Heap_Free+0x1b4>                  
 200c330:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
 200c334:	02 80 00 0d 	be  200c368 <_Heap_Free+0x170>                 
 200c338:	82 10 e0 01 	or  %g3, 1, %g1                                
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
 200c33c:	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;                                 
 200c340:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
 200c344:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
 200c348:	c4 22 20 08 	st  %g2, [ %o0 + 8 ]                           
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
 200c34c:	d0 20 60 08 	st  %o0, [ %g1 + 8 ]                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 200c350:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]                         
    uintptr_t const size = block_size + next_block_size;              
 200c354:	82 03 40 03 	add  %o5, %g3, %g1                             
    _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;                                     
 200c358:	c2 22 00 01 	st  %g1, [ %o0 + %g1 ]                         
      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;               
 200c35c:	82 10 60 01 	or  %g1, 1, %g1                                
 200c360:	10 80 00 13 	b  200c3ac <_Heap_Free+0x1b4>                  
 200c364:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    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;         
 200c368:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200c36c:	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;                              
 200c370:	c8 06 20 08 	ld  [ %i0 + 8 ], %g4                           
 200c374:	82 08 7f fe 	and  %g1, -2, %g1                              
    next_block->prev_size = block_size;                               
 200c378:	c6 22 00 03 	st  %g3, [ %o0 + %g3 ]                         
  } 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;               
 200c37c:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200c380:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
                                                                      
  new_block->next = next;                                             
 200c384:	c8 22 20 08 	st  %g4, [ %o0 + 8 ]                           
  new_block->prev = block_before;                                     
 200c388:	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;                        
 200c38c:	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;                                             
 200c390:	82 00 60 01 	inc  %g1                                       
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200c394:	d0 21 20 0c 	st  %o0, [ %g4 + 0xc ]                         
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 200c398:	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;                        
 200c39c:	80 a0 80 01 	cmp  %g2, %g1                                  
 200c3a0:	1a 80 00 03 	bcc  200c3ac <_Heap_Free+0x1b4>                
 200c3a4:	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;                    
 200c3a8:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200c3ac:	c4 06 20 40 	ld  [ %i0 + 0x40 ], %g2                        
  ++stats->frees;                                                     
 200c3b0:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
  stats->free_size += block_size;                                     
 200c3b4:	c8 06 20 30 	ld  [ %i0 + 0x30 ], %g4                        
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200c3b8:	84 00 bf ff 	add  %g2, -1, %g2                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200c3bc:	86 01 00 03 	add  %g4, %g3, %g3                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200c3c0:	c4 26 20 40 	st  %g2, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200c3c4:	c6 26 20 30 	st  %g3, [ %i0 + 0x30 ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200c3c8:	82 00 60 01 	inc  %g1                                       
 200c3cc:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 200c3d0:	81 c7 e0 08 	ret                                            
 200c3d4:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 200c3d8:	81 c7 e0 08 	ret                                            
 200c3dc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0201993c <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 201993c:	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 )   
 2019940:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 2019944:	7f ff fb 33 	call  2018610 <.urem>                          
 2019948:	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;             
 201994c:	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 )   
 2019950:	84 06 7f f8 	add  %i1, -8, %g2                              
 2019954:	90 20 80 08 	sub  %g2, %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           
 2019958:	80 a2 00 01 	cmp  %o0, %g1                                  
 201995c:	0a 80 00 05 	bcs  2019970 <_Heap_Size_of_alloc_area+0x34>   
 2019960:	84 10 20 00 	clr  %g2                                       
 2019964:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 2019968:	80 a0 80 08 	cmp  %g2, %o0                                  
 201996c:	84 60 3f ff 	subx  %g0, -1, %g2                             
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
 2019970:	80 a0 a0 00 	cmp  %g2, 0                                    
 2019974:	02 80 00 16 	be  20199cc <_Heap_Size_of_alloc_area+0x90>    
 2019978:	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);                 
 201997c:	c4 02 20 04 	ld  [ %o0 + 4 ], %g2                           
 2019980:	84 08 bf fe 	and  %g2, -2, %g2                              
 2019984:	84 02 00 02 	add  %o0, %g2, %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           
 2019988:	80 a0 80 01 	cmp  %g2, %g1                                  
 201998c:	0a 80 00 05 	bcs  20199a0 <_Heap_Size_of_alloc_area+0x64>   <== NEVER TAKEN
 2019990:	86 10 20 00 	clr  %g3                                       
 2019994:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2019998:	80 a0 40 02 	cmp  %g1, %g2                                  
 201999c:	86 60 3f ff 	subx  %g0, -1, %g3                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 20199a0:	80 a0 e0 00 	cmp  %g3, 0                                    
 20199a4:	02 80 00 0a 	be  20199cc <_Heap_Size_of_alloc_area+0x90>    <== NEVER TAKEN
 20199a8:	01 00 00 00 	nop                                            
 20199ac:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 20199b0:	80 88 60 01 	btst  1, %g1                                   
 20199b4:	02 80 00 06 	be  20199cc <_Heap_Size_of_alloc_area+0x90>    <== NEVER TAKEN
 20199b8:	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;
 20199bc:	84 00 a0 04 	add  %g2, 4, %g2                               
 20199c0:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  return true;                                                        
 20199c4:	81 c7 e0 08 	ret                                            
 20199c8:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 20199cc:	81 c7 e0 08 	ret                                            
 20199d0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02007b24 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 2007b24:	9d e3 bf 88 	save  %sp, -120, %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;                      
 2007b28:	23 00 80 1f 	sethi  %hi(0x2007c00), %l1                     
 2007b2c:	80 8e a0 ff 	btst  0xff, %i2                                
 2007b30:	a2 14 63 fc 	or  %l1, 0x3fc, %l1                            
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2007b34:	e4 06 20 10 	ld  [ %i0 + 0x10 ], %l2                        
  uintptr_t const min_block_size = heap->min_block_size;              
 2007b38:	e6 06 20 14 	ld  [ %i0 + 0x14 ], %l3                        
  Heap_Block *const last_block = heap->last_block;                    
 2007b3c:	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;                      
 2007b40:	12 80 00 04 	bne  2007b50 <_Heap_Walk+0x2c>                 
 2007b44:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 2007b48:	23 00 80 1e 	sethi  %hi(0x2007800), %l1                     
 2007b4c:	a2 14 63 1c 	or  %l1, 0x31c, %l1	! 2007b1c <_Heap_Walk_print_nothing>
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 2007b50:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2007b54:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1	! 201e590 <_System_state_Current>
 2007b58:	80 a0 60 03 	cmp  %g1, 3                                    
 2007b5c:	12 80 01 1e 	bne  2007fd4 <_Heap_Walk+0x4b0>                
 2007b60:	90 10 00 19 	mov  %i1, %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)(                                                         
 2007b64:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 2007b68:	c6 06 20 1c 	ld  [ %i0 + 0x1c ], %g3                        
 2007b6c:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
 2007b70:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2007b74:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        
 2007b78:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 2007b7c:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2007b80:	e0 23 a0 60 	st  %l0, [ %sp + 0x60 ]                        
 2007b84:	e8 23 a0 64 	st  %l4, [ %sp + 0x64 ]                        
 2007b88:	92 10 20 00 	clr  %o1                                       
 2007b8c:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007b90:	96 10 00 12 	mov  %l2, %o3                                  
 2007b94:	94 12 a0 f0 	or  %o2, 0xf0, %o2                             
 2007b98:	9f c4 40 00 	call  %l1                                      
 2007b9c:	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 ) {                                             
 2007ba0:	80 a4 a0 00 	cmp  %l2, 0                                    
 2007ba4:	12 80 00 07 	bne  2007bc0 <_Heap_Walk+0x9c>                 
 2007ba8:	80 8c a0 07 	btst  7, %l2                                   
    (*printer)( source, true, "page size is zero\n" );                
 2007bac:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007bb0:	90 10 00 19 	mov  %i1, %o0                                  
 2007bb4:	92 10 20 01 	mov  1, %o1                                    
 2007bb8:	10 80 00 27 	b  2007c54 <_Heap_Walk+0x130>                  
 2007bbc:	94 12 a1 88 	or  %o2, 0x188, %o2                            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 2007bc0:	22 80 00 08 	be,a   2007be0 <_Heap_Walk+0xbc>               
 2007bc4:	90 10 00 13 	mov  %l3, %o0                                  
    (*printer)(                                                       
 2007bc8:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007bcc:	90 10 00 19 	mov  %i1, %o0                                  
 2007bd0:	96 10 00 12 	mov  %l2, %o3                                  
 2007bd4:	92 10 20 01 	mov  1, %o1                                    
 2007bd8:	10 80 01 05 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007bdc:	94 12 a1 a0 	or  %o2, 0x1a0, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 2007be0:	7f ff e7 be 	call  2001ad8 <.urem>                          
 2007be4:	92 10 00 12 	mov  %l2, %o1                                  
 2007be8:	80 a2 20 00 	cmp  %o0, 0                                    
 2007bec:	22 80 00 08 	be,a   2007c0c <_Heap_Walk+0xe8>               
 2007bf0:	90 04 20 08 	add  %l0, 8, %o0                               
    (*printer)(                                                       
 2007bf4:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007bf8:	90 10 00 19 	mov  %i1, %o0                                  
 2007bfc:	96 10 00 13 	mov  %l3, %o3                                  
 2007c00:	92 10 20 01 	mov  1, %o1                                    
 2007c04:	10 80 00 fa 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007c08:	94 12 a1 c0 	or  %o2, 0x1c0, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 2007c0c:	7f ff e7 b3 	call  2001ad8 <.urem>                          
 2007c10:	92 10 00 12 	mov  %l2, %o1                                  
 2007c14:	80 a2 20 00 	cmp  %o0, 0                                    
 2007c18:	22 80 00 08 	be,a   2007c38 <_Heap_Walk+0x114>              
 2007c1c:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 2007c20:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007c24:	90 10 00 19 	mov  %i1, %o0                                  
 2007c28:	96 10 00 10 	mov  %l0, %o3                                  
 2007c2c:	92 10 20 01 	mov  1, %o1                                    
 2007c30:	10 80 00 ef 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007c34:	94 12 a1 e8 	or  %o2, 0x1e8, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 2007c38:	80 88 60 01 	btst  1, %g1                                   
 2007c3c:	32 80 00 09 	bne,a   2007c60 <_Heap_Walk+0x13c>             
 2007c40:	ea 04 00 00 	ld  [ %l0 ], %l5                               
    (*printer)(                                                       
 2007c44:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007c48:	90 10 00 19 	mov  %i1, %o0                                  
 2007c4c:	92 10 20 01 	mov  1, %o1                                    
 2007c50:	94 12 a2 20 	or  %o2, 0x220, %o2                            
 2007c54:	9f c4 40 00 	call  %l1                                      
 2007c58:	b0 10 20 00 	clr  %i0                                       
 2007c5c:	30 80 00 e6 	b,a   2007ff4 <_Heap_Walk+0x4d0>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
 2007c60:	80 a5 40 12 	cmp  %l5, %l2                                  
 2007c64:	22 80 00 09 	be,a   2007c88 <_Heap_Walk+0x164>              
 2007c68:	c2 05 20 04 	ld  [ %l4 + 4 ], %g1                           
    (*printer)(                                                       
 2007c6c:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007c70:	90 10 00 19 	mov  %i1, %o0                                  
 2007c74:	96 10 00 15 	mov  %l5, %o3                                  
 2007c78:	98 10 00 12 	mov  %l2, %o4                                  
 2007c7c:	92 10 20 01 	mov  1, %o1                                    
 2007c80:	10 80 00 88 	b  2007ea0 <_Heap_Walk+0x37c>                  
 2007c84:	94 12 a2 50 	or  %o2, 0x250, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 2007c88:	82 08 7f fe 	and  %g1, -2, %g1                              
 2007c8c:	82 05 00 01 	add  %l4, %g1, %g1                             
 2007c90:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2007c94:	80 88 60 01 	btst  1, %g1                                   
 2007c98:	32 80 00 07 	bne,a   2007cb4 <_Heap_Walk+0x190>             
 2007c9c:	d6 06 20 08 	ld  [ %i0 + 8 ], %o3                           
    (*printer)(                                                       
 2007ca0:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007ca4:	90 10 00 19 	mov  %i1, %o0                                  
 2007ca8:	92 10 20 01 	mov  1, %o1                                    
 2007cac:	10 bf ff ea 	b  2007c54 <_Heap_Walk+0x130>                  
 2007cb0:	94 12 a2 80 	or  %o2, 0x280, %o2                            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2007cb4:	ec 06 20 10 	ld  [ %i0 + 0x10 ], %l6                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2007cb8:	a4 10 00 18 	mov  %i0, %l2                                  
 2007cbc:	10 80 00 32 	b  2007d84 <_Heap_Walk+0x260>                  
 2007cc0:	ae 10 00 0b 	mov  %o3, %l7                                  
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           
 2007cc4:	80 a0 80 17 	cmp  %g2, %l7                                  
 2007cc8:	18 80 00 05 	bgu  2007cdc <_Heap_Walk+0x1b8>                
 2007ccc:	82 10 20 00 	clr  %g1                                       
 2007cd0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2007cd4:	80 a0 40 17 	cmp  %g1, %l7                                  
 2007cd8:	82 60 3f ff 	subx  %g0, -1, %g1                             
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
 2007cdc:	80 a0 60 00 	cmp  %g1, 0                                    
 2007ce0:	32 80 00 08 	bne,a   2007d00 <_Heap_Walk+0x1dc>             
 2007ce4:	90 05 e0 08 	add  %l7, 8, %o0                               
      (*printer)(                                                     
 2007ce8:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007cec:	96 10 00 17 	mov  %l7, %o3                                  
 2007cf0:	90 10 00 19 	mov  %i1, %o0                                  
 2007cf4:	92 10 20 01 	mov  1, %o1                                    
 2007cf8:	10 80 00 bd 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007cfc:	94 12 a2 98 	or  %o2, 0x298, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 2007d00:	7f ff e7 76 	call  2001ad8 <.urem>                          
 2007d04:	92 10 00 16 	mov  %l6, %o1                                  
 2007d08:	80 a2 20 00 	cmp  %o0, 0                                    
 2007d0c:	22 80 00 08 	be,a   2007d2c <_Heap_Walk+0x208>              
 2007d10:	c2 05 e0 04 	ld  [ %l7 + 4 ], %g1                           
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 2007d14:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007d18:	96 10 00 17 	mov  %l7, %o3                                  
 2007d1c:	90 10 00 19 	mov  %i1, %o0                                  
 2007d20:	92 10 20 01 	mov  1, %o1                                    
 2007d24:	10 80 00 b2 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007d28:	94 12 a2 b8 	or  %o2, 0x2b8, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 2007d2c:	82 08 7f fe 	and  %g1, -2, %g1                              
 2007d30:	82 05 c0 01 	add  %l7, %g1, %g1                             
 2007d34:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2007d38:	80 88 60 01 	btst  1, %g1                                   
 2007d3c:	22 80 00 08 	be,a   2007d5c <_Heap_Walk+0x238>              
 2007d40:	d8 05 e0 0c 	ld  [ %l7 + 0xc ], %o4                         
      (*printer)(                                                     
 2007d44:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007d48:	96 10 00 17 	mov  %l7, %o3                                  
 2007d4c:	90 10 00 19 	mov  %i1, %o0                                  
 2007d50:	92 10 20 01 	mov  1, %o1                                    
 2007d54:	10 80 00 a6 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007d58:	94 12 a2 e8 	or  %o2, 0x2e8, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 2007d5c:	80 a3 00 12 	cmp  %o4, %l2                                  
 2007d60:	02 80 00 08 	be  2007d80 <_Heap_Walk+0x25c>                 
 2007d64:	a4 10 00 17 	mov  %l7, %l2                                  
      (*printer)(                                                     
 2007d68:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007d6c:	96 10 00 17 	mov  %l7, %o3                                  
 2007d70:	90 10 00 19 	mov  %i1, %o0                                  
 2007d74:	92 10 20 01 	mov  1, %o1                                    
 2007d78:	10 80 00 4a 	b  2007ea0 <_Heap_Walk+0x37c>                  
 2007d7c:	94 12 a3 08 	or  %o2, 0x308, %o2                            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 2007d80:	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 ) {                            
 2007d84:	80 a5 c0 18 	cmp  %l7, %i0                                  
 2007d88:	32 bf ff cf 	bne,a   2007cc4 <_Heap_Walk+0x1a0>             
 2007d8c:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2007d90:	10 80 00 89 	b  2007fb4 <_Heap_Walk+0x490>                  
 2007d94:	37 00 80 6d 	sethi  %hi(0x201b400), %i3                     
    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 ) {                                                
 2007d98:	80 8d a0 01 	btst  1, %l6                                   
    - 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;                
 2007d9c:	ac 0d bf fe 	and  %l6, -2, %l6                              
 2007da0:	02 80 00 0a 	be  2007dc8 <_Heap_Walk+0x2a4>                 
 2007da4:	a4 04 00 16 	add  %l0, %l6, %l2                             
      (*printer)(                                                     
 2007da8:	90 10 00 19 	mov  %i1, %o0                                  
 2007dac:	92 10 20 00 	clr  %o1                                       
 2007db0:	94 10 00 1a 	mov  %i2, %o2                                  
 2007db4:	96 10 00 10 	mov  %l0, %o3                                  
 2007db8:	9f c4 40 00 	call  %l1                                      
 2007dbc:	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           
 2007dc0:	10 80 00 0a 	b  2007de8 <_Heap_Walk+0x2c4>                  
 2007dc4:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2007dc8:	da 04 00 00 	ld  [ %l0 ], %o5                               
 2007dcc:	90 10 00 19 	mov  %i1, %o0                                  
 2007dd0:	92 10 20 00 	clr  %o1                                       
 2007dd4:	94 10 00 1b 	mov  %i3, %o2                                  
 2007dd8:	96 10 00 10 	mov  %l0, %o3                                  
 2007ddc:	9f c4 40 00 	call  %l1                                      
 2007de0:	98 10 00 16 	mov  %l6, %o4                                  
 2007de4:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
 2007de8:	80 a0 80 12 	cmp  %g2, %l2                                  
 2007dec:	18 80 00 05 	bgu  2007e00 <_Heap_Walk+0x2dc>                <== NEVER TAKEN
 2007df0:	82 10 20 00 	clr  %g1                                       
 2007df4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2007df8:	80 a0 40 12 	cmp  %g1, %l2                                  
 2007dfc:	82 60 3f ff 	subx  %g0, -1, %g1                             
        block_size,                                                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
 2007e00:	80 a0 60 00 	cmp  %g1, 0                                    
 2007e04:	32 80 00 09 	bne,a   2007e28 <_Heap_Walk+0x304>             
 2007e08:	90 10 00 16 	mov  %l6, %o0                                  
      (*printer)(                                                     
 2007e0c:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007e10:	90 10 00 19 	mov  %i1, %o0                                  
 2007e14:	96 10 00 10 	mov  %l0, %o3                                  
 2007e18:	98 10 00 12 	mov  %l2, %o4                                  
 2007e1c:	92 10 20 01 	mov  1, %o1                                    
 2007e20:	10 80 00 20 	b  2007ea0 <_Heap_Walk+0x37c>                  
 2007e24:	94 12 a3 80 	or  %o2, 0x380, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
 2007e28:	7f ff e7 2c 	call  2001ad8 <.urem>                          
 2007e2c:	92 10 00 15 	mov  %l5, %o1                                  
 2007e30:	80 a2 20 00 	cmp  %o0, 0                                    
 2007e34:	02 80 00 09 	be  2007e58 <_Heap_Walk+0x334>                 
 2007e38:	80 a5 80 13 	cmp  %l6, %l3                                  
      (*printer)(                                                     
 2007e3c:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007e40:	90 10 00 19 	mov  %i1, %o0                                  
 2007e44:	96 10 00 10 	mov  %l0, %o3                                  
 2007e48:	98 10 00 16 	mov  %l6, %o4                                  
 2007e4c:	92 10 20 01 	mov  1, %o1                                    
 2007e50:	10 80 00 14 	b  2007ea0 <_Heap_Walk+0x37c>                  
 2007e54:	94 12 a3 b0 	or  %o2, 0x3b0, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
 2007e58:	1a 80 00 0a 	bcc  2007e80 <_Heap_Walk+0x35c>                
 2007e5c:	80 a4 80 10 	cmp  %l2, %l0                                  
      (*printer)(                                                     
 2007e60:	15 00 80 6d 	sethi  %hi(0x201b400), %o2                     
 2007e64:	90 10 00 19 	mov  %i1, %o0                                  
 2007e68:	96 10 00 10 	mov  %l0, %o3                                  
 2007e6c:	98 10 00 16 	mov  %l6, %o4                                  
 2007e70:	9a 10 00 13 	mov  %l3, %o5                                  
 2007e74:	92 10 20 01 	mov  1, %o1                                    
 2007e78:	10 80 00 3b 	b  2007f64 <_Heap_Walk+0x440>                  
 2007e7c:	94 12 a3 e0 	or  %o2, 0x3e0, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
 2007e80:	38 80 00 0b 	bgu,a   2007eac <_Heap_Walk+0x388>             
 2007e84:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
      (*printer)(                                                     
 2007e88:	15 00 80 6e 	sethi  %hi(0x201b800), %o2                     
 2007e8c:	90 10 00 19 	mov  %i1, %o0                                  
 2007e90:	96 10 00 10 	mov  %l0, %o3                                  
 2007e94:	98 10 00 12 	mov  %l2, %o4                                  
 2007e98:	92 10 20 01 	mov  1, %o1                                    
 2007e9c:	94 12 a0 10 	or  %o2, 0x10, %o2                             
 2007ea0:	9f c4 40 00 	call  %l1                                      
 2007ea4:	b0 10 20 00 	clr  %i0                                       
 2007ea8:	30 80 00 53 	b,a   2007ff4 <_Heap_Walk+0x4d0>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 2007eac:	80 88 60 01 	btst  1, %g1                                   
 2007eb0:	32 80 00 46 	bne,a   2007fc8 <_Heap_Walk+0x4a4>             
 2007eb4:	a0 10 00 12 	mov  %l2, %l0                                  
  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;                 
 2007eb8:	fa 04 20 04 	ld  [ %l0 + 4 ], %i5                           
  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)(                                                         
 2007ebc:	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;                            
 2007ec0:	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;                
 2007ec4:	ac 0f 7f fe 	and  %i5, -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;                            
 2007ec8:	1b 00 80 6e 	sethi  %hi(0x201b800), %o5                     
 2007ecc:	80 a3 00 01 	cmp  %o4, %g1                                  
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 2007ed0:	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);                 
 2007ed4:	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;                            
 2007ed8:	02 80 00 07 	be  2007ef4 <_Heap_Walk+0x3d0>                 
 2007edc:	9a 13 60 48 	or  %o5, 0x48, %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)" : ""),         
 2007ee0:	1b 00 80 6e 	sethi  %hi(0x201b800), %o5                     
 2007ee4:	80 a3 00 18 	cmp  %o4, %i0                                  
 2007ee8:	02 80 00 03 	be  2007ef4 <_Heap_Walk+0x3d0>                 
 2007eec:	9a 13 60 60 	or  %o5, 0x60, %o5                             
 2007ef0:	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)(                                                         
 2007ef4:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
 2007ef8:	03 00 80 6e 	sethi  %hi(0x201b800), %g1                     
 2007efc:	80 a0 80 03 	cmp  %g2, %g3                                  
 2007f00:	02 80 00 07 	be  2007f1c <_Heap_Walk+0x3f8>                 
 2007f04:	82 10 60 70 	or  %g1, 0x70, %g1                             
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2007f08:	03 00 80 6e 	sethi  %hi(0x201b800), %g1                     
 2007f0c:	80 a0 80 18 	cmp  %g2, %i0                                  
 2007f10:	02 80 00 03 	be  2007f1c <_Heap_Walk+0x3f8>                 
 2007f14:	82 10 60 80 	or  %g1, 0x80, %g1                             
 2007f18:	82 10 00 1c 	mov  %i4, %g1                                  
  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)(                                                         
 2007f1c:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        
 2007f20:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2007f24:	90 10 00 19 	mov  %i1, %o0                                  
 2007f28:	92 10 20 00 	clr  %o1                                       
 2007f2c:	15 00 80 6e 	sethi  %hi(0x201b800), %o2                     
 2007f30:	96 10 00 10 	mov  %l0, %o3                                  
 2007f34:	9f c4 40 00 	call  %l1                                      
 2007f38:	94 12 a0 90 	or  %o2, 0x90, %o2                             
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 2007f3c:	da 05 c0 00 	ld  [ %l7 ], %o5                               
 2007f40:	80 a5 80 0d 	cmp  %l6, %o5                                  
 2007f44:	02 80 00 0b 	be  2007f70 <_Heap_Walk+0x44c>                 
 2007f48:	15 00 80 6e 	sethi  %hi(0x201b800), %o2                     
    (*printer)(                                                       
 2007f4c:	ee 23 a0 5c 	st  %l7, [ %sp + 0x5c ]                        
 2007f50:	90 10 00 19 	mov  %i1, %o0                                  
 2007f54:	96 10 00 10 	mov  %l0, %o3                                  
 2007f58:	98 10 00 16 	mov  %l6, %o4                                  
 2007f5c:	92 10 20 01 	mov  1, %o1                                    
 2007f60:	94 12 a0 c0 	or  %o2, 0xc0, %o2                             
 2007f64:	9f c4 40 00 	call  %l1                                      
 2007f68:	b0 10 20 00 	clr  %i0                                       
 2007f6c:	30 80 00 22 	b,a   2007ff4 <_Heap_Walk+0x4d0>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 2007f70:	80 8f 60 01 	btst  1, %i5                                   
 2007f74:	32 80 00 0b 	bne,a   2007fa0 <_Heap_Walk+0x47c>             
 2007f78:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    (*printer)(                                                       
 2007f7c:	15 00 80 6e 	sethi  %hi(0x201b800), %o2                     
 2007f80:	90 10 00 19 	mov  %i1, %o0                                  
 2007f84:	96 10 00 10 	mov  %l0, %o3                                  
 2007f88:	92 10 20 01 	mov  1, %o1                                    
 2007f8c:	10 80 00 18 	b  2007fec <_Heap_Walk+0x4c8>                  
 2007f90:	94 12 a1 00 	or  %o2, 0x100, %o2                            
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( free_block == block ) {                                      
 2007f94:	22 80 00 0d 	be,a   2007fc8 <_Heap_Walk+0x4a4>              
 2007f98:	a0 10 00 12 	mov  %l2, %l0                                  
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 2007f9c:	c2 00 60 08 	ld  [ %g1 + 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 ) {                            
 2007fa0:	80 a0 40 18 	cmp  %g1, %i0                                  
 2007fa4:	12 bf ff fc 	bne  2007f94 <_Heap_Walk+0x470>                
 2007fa8:	80 a0 40 10 	cmp  %g1, %l0                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2007fac:	10 80 00 0c 	b  2007fdc <_Heap_Walk+0x4b8>                  
 2007fb0:	15 00 80 6e 	sethi  %hi(0x201b800), %o2                     
    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)(                                                     
 2007fb4:	35 00 80 6d 	sethi  %hi(0x201b400), %i2                     
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2007fb8:	39 00 80 6e 	sethi  %hi(0x201b800), %i4                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2007fbc:	b6 16 e3 58 	or  %i3, 0x358, %i3                            
    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)(                                                     
 2007fc0:	b4 16 a3 40 	or  %i2, 0x340, %i2                            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2007fc4:	b8 17 20 58 	or  %i4, 0x58, %i4                             
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 2007fc8:	80 a4 00 14 	cmp  %l0, %l4                                  
 2007fcc:	32 bf ff 73 	bne,a   2007d98 <_Heap_Walk+0x274>             
 2007fd0:	ec 04 20 04 	ld  [ %l0 + 4 ], %l6                           
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2007fd4:	81 c7 e0 08 	ret                                            
 2007fd8:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2007fdc:	90 10 00 19 	mov  %i1, %o0                                  
 2007fe0:	96 10 00 10 	mov  %l0, %o3                                  
 2007fe4:	92 10 20 01 	mov  1, %o1                                    
 2007fe8:	94 12 a1 30 	or  %o2, 0x130, %o2                            
 2007fec:	9f c4 40 00 	call  %l1                                      
 2007ff0:	b0 10 20 00 	clr  %i0                                       
 2007ff4:	81 c7 e0 08 	ret                                            
 2007ff8:	81 e8 00 00 	restore                                        
                                                                      

02006da0 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 2006da0:	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 )                                       
 2006da4:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 2006da8:	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 )                                       
 2006dac:	80 a0 60 00 	cmp  %g1, 0                                    
 2006db0:	02 80 00 20 	be  2006e30 <_Objects_Allocate+0x90>           <== NEVER TAKEN
 2006db4:	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 );
 2006db8:	a2 04 20 20 	add  %l0, 0x20, %l1                            
 2006dbc:	40 00 13 f3 	call  200bd88 <_Chain_Get>                     
 2006dc0:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 2006dc4:	c2 0c 20 12 	ldub  [ %l0 + 0x12 ], %g1                      
 2006dc8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006dcc:	02 80 00 19 	be  2006e30 <_Objects_Allocate+0x90>           
 2006dd0:	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 ) {                                              
 2006dd4:	80 a2 20 00 	cmp  %o0, 0                                    
 2006dd8:	32 80 00 0a 	bne,a   2006e00 <_Objects_Allocate+0x60>       
 2006ddc:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
      _Objects_Extend_information( information );                     
 2006de0:	40 00 00 1e 	call  2006e58 <_Objects_Extend_information>    
 2006de4:	90 10 00 10 	mov  %l0, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 2006de8:	40 00 13 e8 	call  200bd88 <_Chain_Get>                     
 2006dec:	90 10 00 11 	mov  %l1, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 2006df0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2006df4:	02 80 00 0f 	be  2006e30 <_Objects_Allocate+0x90>           
 2006df8:	01 00 00 00 	nop                                            
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 2006dfc:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
 2006e00:	d0 16 20 0a 	lduh  [ %i0 + 0xa ], %o0                       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2006e04:	d2 14 20 14 	lduh  [ %l0 + 0x14 ], %o1                      
 2006e08:	40 00 45 56 	call  2018360 <.udiv>                          
 2006e0c:	90 22 00 01 	sub  %o0, %g1, %o0                             
 2006e10:	c2 04 20 30 	ld  [ %l0 + 0x30 ], %g1                        
 2006e14:	91 2a 20 02 	sll  %o0, 2, %o0                               
      information->inactive--;                                        
 2006e18:	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 ]--;                     
 2006e1c:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
      information->inactive--;                                        
 2006e20:	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 ]--;                     
 2006e24:	84 00 bf ff 	add  %g2, -1, %g2                              
      information->inactive--;                                        
 2006e28:	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 ]--;                     
 2006e2c:	c4 20 40 08 	st  %g2, [ %g1 + %o0 ]                         
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 2006e30:	81 c7 e0 08 	ret                                            
 2006e34:	81 e8 00 00 	restore                                        
                                                                      

02006e58 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
 2006e58:	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 )                           
 2006e5c:	e4 06 20 34 	ld  [ %i0 + 0x34 ], %l2                        
 2006e60:	80 a4 a0 00 	cmp  %l2, 0                                    
 2006e64:	12 80 00 06 	bne  2006e7c <_Objects_Extend_information+0x24>
 2006e68:	e6 16 20 0a 	lduh  [ %i0 + 0xa ], %l3                       
 2006e6c:	a0 10 00 13 	mov  %l3, %l0                                  
 2006e70:	a2 10 20 00 	clr  %l1                                       
 2006e74:	10 80 00 15 	b  2006ec8 <_Objects_Extend_information+0x70>  
 2006e78:	a8 10 20 00 	clr  %l4                                       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 2006e7c:	e2 16 20 14 	lduh  [ %i0 + 0x14 ], %l1                      
 2006e80:	d0 16 20 10 	lduh  [ %i0 + 0x10 ], %o0                      
 2006e84:	40 00 45 37 	call  2018360 <.udiv>                          
 2006e88:	92 10 00 11 	mov  %l1, %o1                                  
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL )              
 2006e8c:	82 10 00 11 	mov  %l1, %g1                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 2006e90:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2006e94:	a0 10 00 13 	mov  %l3, %l0                                  
 2006e98:	a9 32 20 10 	srl  %o0, 0x10, %l4                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2006e9c:	10 80 00 08 	b  2006ebc <_Objects_Extend_information+0x64>  
 2006ea0:	a2 10 20 00 	clr  %l1                                       
      if ( information->object_blocks[ block ] == NULL )              
 2006ea4:	c4 04 80 02 	ld  [ %l2 + %g2 ], %g2                         
 2006ea8:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006eac:	22 80 00 08 	be,a   2006ecc <_Objects_Extend_information+0x74>
 2006eb0:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
 2006eb4:	a0 04 00 01 	add  %l0, %g1, %l0                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2006eb8:	a2 04 60 01 	inc  %l1                                       
 2006ebc:	80 a4 40 14 	cmp  %l1, %l4                                  
 2006ec0:	0a bf ff f9 	bcs  2006ea4 <_Objects_Extend_information+0x4c>
 2006ec4:	85 2c 60 02 	sll  %l1, 2, %g2                               
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2006ec8:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
 2006ecc:	ec 16 20 10 	lduh  [ %i0 + 0x10 ], %l6                      
  /*                                                                  
   *  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 ) {                           
 2006ed0:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2006ed4:	ac 02 00 16 	add  %o0, %l6, %l6                             
  /*                                                                  
   *  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 ) {                           
 2006ed8:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 2006edc:	80 a5 80 01 	cmp  %l6, %g1                                  
 2006ee0:	18 80 00 88 	bgu  2007100 <_Objects_Extend_information+0x2a8><== NEVER TAKEN
 2006ee4:	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;      
 2006ee8:	40 00 44 e4 	call  2018278 <.umul>                          
 2006eec:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        
  if ( information->auto_extend ) {                                   
 2006ef0:	c2 0e 20 12 	ldub  [ %i0 + 0x12 ], %g1                      
 2006ef4:	80 a0 60 00 	cmp  %g1, 0                                    
 2006ef8:	02 80 00 09 	be  2006f1c <_Objects_Extend_information+0xc4> 
 2006efc:	01 00 00 00 	nop                                            
    new_object_block = _Workspace_Allocate( block_size );             
 2006f00:	40 00 08 7f 	call  20090fc <_Workspace_Allocate>            
 2006f04:	01 00 00 00 	nop                                            
    if ( !new_object_block )                                          
 2006f08:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2006f0c:	32 80 00 08 	bne,a   2006f2c <_Objects_Extend_information+0xd4>
 2006f10:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2006f14:	81 c7 e0 08 	ret                                            
 2006f18:	81 e8 00 00 	restore                                        
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
 2006f1c:	40 00 08 6a 	call  20090c4 <_Workspace_Allocate_or_fatal_error>
 2006f20:	01 00 00 00 	nop                                            
 2006f24:	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 ) {                          
 2006f28:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2006f2c:	80 a4 00 01 	cmp  %l0, %g1                                  
 2006f30:	2a 80 00 53 	bcs,a   200707c <_Objects_Extend_information+0x224>
 2006f34:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
     *  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 );       
 2006f38:	82 05 80 13 	add  %l6, %l3, %g1                             
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
 2006f3c:	ae 05 20 01 	add  %l4, 1, %l7                               
     *  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 );       
 2006f40:	91 2d e0 01 	sll  %l7, 1, %o0                               
 2006f44:	90 02 00 17 	add  %o0, %l7, %o0                             
 2006f48:	90 00 40 08 	add  %g1, %o0, %o0                             
 2006f4c:	40 00 08 6c 	call  20090fc <_Workspace_Allocate>            
 2006f50:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
    if ( !object_blocks ) {                                           
 2006f54:	aa 92 20 00 	orcc  %o0, 0, %l5                              
 2006f58:	32 80 00 06 	bne,a   2006f70 <_Objects_Extend_information+0x118>
 2006f5c:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
      _Workspace_Free( new_object_block );                            
 2006f60:	40 00 08 70 	call  2009120 <_Workspace_Free>                
 2006f64:	90 10 00 12 	mov  %l2, %o0                                  
      return;                                                         
 2006f68:	81 c7 e0 08 	ret                                            
 2006f6c:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
 2006f70:	af 2d e0 02 	sll  %l7, 2, %l7                               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
 2006f74:	80 a0 40 13 	cmp  %g1, %l3                                  
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
 2006f78:	ba 05 40 17 	add  %l5, %l7, %i5                             
 2006f7c:	82 10 20 00 	clr  %g1                                       
 2006f80:	08 80 00 14 	bleu  2006fd0 <_Objects_Extend_information+0x178>
 2006f84:	ae 07 40 17 	add  %i5, %l7, %l7                             
      /*                                                              
       *  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,                                          
 2006f88:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 2006f8c:	b9 2d 20 02 	sll  %l4, 2, %i4                               
      /*                                                              
       *  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,                                          
 2006f90:	40 00 21 fc 	call  200f780 <memcpy>                         
 2006f94:	94 10 00 1c 	mov  %i4, %o2                                  
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
 2006f98:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
 2006f9c:	94 10 00 1c 	mov  %i4, %o2                                  
 2006fa0:	40 00 21 f8 	call  200f780 <memcpy>                         
 2006fa4:	90 10 00 1d 	mov  %i5, %o0                                  
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 2006fa8:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2006fac:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 2006fb0:	a6 04 c0 01 	add  %l3, %g1, %l3                             
 2006fb4:	90 10 00 17 	mov  %l7, %o0                                  
 2006fb8:	40 00 21 f2 	call  200f780 <memcpy>                         
 2006fbc:	95 2c e0 02 	sll  %l3, 2, %o2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2006fc0:	10 80 00 08 	b  2006fe0 <_Objects_Extend_information+0x188> 
 2006fc4:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2006fc8:	82 00 60 01 	inc  %g1                                       
        local_table[ index ] = NULL;                                  
 2006fcc:	c0 20 80 17 	clr  [ %g2 + %l7 ]                             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2006fd0:	80 a0 40 13 	cmp  %g1, %l3                                  
 2006fd4:	2a bf ff fd 	bcs,a   2006fc8 <_Objects_Extend_information+0x170>
 2006fd8:	85 28 60 02 	sll  %g1, 2, %g2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2006fdc:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 2006fe0:	a9 2d 20 02 	sll  %l4, 2, %l4                               
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2006fe4:	85 2c 20 02 	sll  %l0, 2, %g2                               
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
 2006fe8:	c0 27 40 14 	clr  [ %i5 + %l4 ]                             
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 2006fec:	c0 25 40 14 	clr  [ %l5 + %l4 ]                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2006ff0:	86 04 00 03 	add  %l0, %g3, %g3                             
 2006ff4:	84 05 c0 02 	add  %l7, %g2, %g2                             
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2006ff8:	10 80 00 04 	b  2007008 <_Objects_Extend_information+0x1b0> 
 2006ffc:	82 10 00 10 	mov  %l0, %g1                                  
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
 2007000:	82 00 60 01 	inc  %g1                                       
 2007004:	84 00 a0 04 	add  %g2, 4, %g2                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2007008:	80 a0 40 03 	cmp  %g1, %g3                                  
 200700c:	2a bf ff fd 	bcs,a   2007000 <_Objects_Extend_information+0x1a8>
 2007010:	c0 20 80 00 	clr  [ %g2 ]                                   
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
 2007014:	7f ff ec 67 	call  20021b0 <sparc_disable_interrupts>       
 2007018:	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(                      
 200701c:	c8 06 00 00 	ld  [ %i0 ], %g4                               
 2007020:	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;                 
 2007024:	ec 36 20 10 	sth  %l6, [ %i0 + 0x10 ]                       
    information->maximum_id = _Objects_Build_id(                      
 2007028:	ad 2d a0 10 	sll  %l6, 0x10, %l6                            
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
 200702c:	e6 06 20 34 	ld  [ %i0 + 0x34 ], %l3                        
                                                                      
    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(                      
 2007030:	83 35 a0 10 	srl  %l6, 0x10, %g1                            
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
 2007034:	fa 26 20 30 	st  %i5, [ %i0 + 0x30 ]                        
    information->local_table = local_table;                           
 2007038:	ee 26 20 1c 	st  %l7, [ %i0 + 0x1c ]                        
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 200703c:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 2007040:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
 2007044:	ea 26 20 34 	st  %l5, [ %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(                      
 2007048:	07 00 00 40 	sethi  %hi(0x10000), %g3                       
 200704c:	ac 11 00 03 	or  %g4, %g3, %l6                              
 2007050:	ac 15 80 02 	or  %l6, %g2, %l6                              
 2007054:	ac 15 80 01 	or  %l6, %g1, %l6                              
 2007058:	ec 26 20 0c 	st  %l6, [ %i0 + 0xc ]                         
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
 200705c:	7f ff ec 59 	call  20021c0 <sparc_enable_interrupts>        
 2007060:	01 00 00 00 	nop                                            
                                                                      
    if ( old_tables )                                                 
 2007064:	80 a4 e0 00 	cmp  %l3, 0                                    
 2007068:	22 80 00 05 	be,a   200707c <_Objects_Extend_information+0x224>
 200706c:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
      _Workspace_Free( old_tables );                                  
 2007070:	40 00 08 2c 	call  2009120 <_Workspace_Free>                
 2007074:	90 10 00 13 	mov  %l3, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2007078:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 200707c:	d4 16 20 14 	lduh  [ %i0 + 0x14 ], %o2                      
 2007080:	d6 06 20 18 	ld  [ %i0 + 0x18 ], %o3                        
 2007084:	92 10 00 12 	mov  %l2, %o1                                  
 2007088:	90 07 bf f4 	add  %fp, -12, %o0                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 200708c:	a3 2c 60 02 	sll  %l1, 2, %l1                               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2007090:	a8 06 20 20 	add  %i0, 0x20, %l4                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2007094:	e4 20 40 11 	st  %l2, [ %g1 + %l1 ]                         
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 2007098:	27 00 00 40 	sethi  %hi(0x10000), %l3                       
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 200709c:	40 00 13 4b 	call  200bdc8 <_Chain_Initialize>              
 20070a0:	a4 10 00 08 	mov  %o0, %l2                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 20070a4:	30 80 00 0c 	b,a   20070d4 <_Objects_Extend_information+0x27c>
                                                                      
    the_object->id = _Objects_Build_id(                               
 20070a8:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
 20070ac:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 20070b0:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
 20070b4:	82 10 40 13 	or  %g1, %l3, %g1                              
 20070b8:	82 10 40 02 	or  %g1, %g2, %g1                              
 20070bc:	82 10 40 10 	or  %g1, %l0, %g1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 20070c0:	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(                               
 20070c4:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
 20070c8:	a0 04 20 01 	inc  %l0                                       
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 20070cc:	7f ff fc ee 	call  2006484 <_Chain_Append>                  
 20070d0:	90 10 00 14 	mov  %l4, %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 ) {
 20070d4:	40 00 13 2d 	call  200bd88 <_Chain_Get>                     
 20070d8:	90 10 00 12 	mov  %l2, %o0                                  
 20070dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20070e0:	32 bf ff f2 	bne,a   20070a8 <_Objects_Extend_information+0x250>
 20070e4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
 20070e8:	c2 16 20 2c 	lduh  [ %i0 + 0x2c ], %g1                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 20070ec:	c8 16 20 14 	lduh  [ %i0 + 0x14 ], %g4                      
 20070f0:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
  information->inactive =                                             
 20070f4:	82 01 00 01 	add  %g4, %g1, %g1                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 20070f8:	c8 20 80 11 	st  %g4, [ %g2 + %l1 ]                         
  information->inactive =                                             
 20070fc:	c2 36 20 2c 	sth  %g1, [ %i0 + 0x2c ]                       
 2007100:	81 c7 e0 08 	ret                                            
 2007104:	81 e8 00 00 	restore                                        
                                                                      

020071b0 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
 20071b0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 20071b4:	80 a6 60 00 	cmp  %i1, 0                                    
 20071b8:	22 80 00 1a 	be,a   2007220 <_Objects_Get_information+0x70> 
 20071bc:	b0 10 20 00 	clr  %i0                                       
                                                                      
  /*                                                                  
   *  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 );      
 20071c0:	40 00 14 88 	call  200c3e0 <_Objects_API_maximum_class>     
 20071c4:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 20071c8:	80 a2 20 00 	cmp  %o0, 0                                    
 20071cc:	22 80 00 15 	be,a   2007220 <_Objects_Get_information+0x70> 
 20071d0:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 20071d4:	80 a6 40 08 	cmp  %i1, %o0                                  
 20071d8:	38 80 00 12 	bgu,a   2007220 <_Objects_Get_information+0x70>
 20071dc:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 20071e0:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 20071e4:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20071e8:	82 10 60 80 	or  %g1, 0x80, %g1	! 201bc80 <_Objects_Information_table>
 20071ec:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 20071f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20071f4:	02 80 00 0b 	be  2007220 <_Objects_Get_information+0x70>    <== NEVER TAKEN
 20071f8:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 20071fc:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 2007200:	f0 00 40 19 	ld  [ %g1 + %i1 ], %i0                         
  if ( !info )                                                        
 2007204:	80 a6 20 00 	cmp  %i0, 0                                    
 2007208:	02 80 00 06 	be  2007220 <_Objects_Get_information+0x70>    <== NEVER TAKEN
 200720c:	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 )                                         
 2007210:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007214:	80 a0 60 00 	cmp  %g1, 0                                    
 2007218:	22 80 00 02 	be,a   2007220 <_Objects_Get_information+0x70> 
 200721c:	b0 10 20 00 	clr  %i0                                       
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2007220:	81 c7 e0 08 	ret                                            
 2007224:	81 e8 00 00 	restore                                        
                                                                      

02017b40 <_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;
 2017b40:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
                                                                      
  if ( information->maximum >= index ) {                              
 2017b44:	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;                           
 2017b48:	84 22 40 02 	sub  %o1, %g2, %g2                             
 2017b4c:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( information->maximum >= index ) {                              
 2017b50:	80 a0 40 02 	cmp  %g1, %g2                                  
 2017b54:	0a 80 00 09 	bcs  2017b78 <_Objects_Get_no_protection+0x38> 
 2017b58:	85 28 a0 02 	sll  %g2, 2, %g2                               
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
 2017b5c:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 2017b60:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
 2017b64:	80 a2 20 00 	cmp  %o0, 0                                    
 2017b68:	02 80 00 05 	be  2017b7c <_Objects_Get_no_protection+0x3c>  <== NEVER TAKEN
 2017b6c:	82 10 20 01 	mov  1, %g1                                    
      *location = OBJECTS_LOCAL;                                      
      return the_object;                                              
 2017b70:	81 c3 e0 08 	retl                                           
 2017b74:	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;                                          
 2017b78:	82 10 20 01 	mov  1, %g1                                    
 2017b7c:	90 10 20 00 	clr  %o0                                       
  return NULL;                                                        
}                                                                     
 2017b80:	81 c3 e0 08 	retl                                           
 2017b84:	c2 22 80 00 	st  %g1, [ %o2 ]                               
                                                                      

02008924 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 2008924:	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;
 2008928:	92 96 20 00 	orcc  %i0, 0, %o1                              
 200892c:	12 80 00 06 	bne  2008944 <_Objects_Id_to_name+0x20>        
 2008930:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 2008934:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 2008938:	c2 00 62 00 	ld  [ %g1 + 0x200 ], %g1	! 2021600 <_Thread_Executing>
 200893c:	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);
 2008940:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 2008944:	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 )                      
 2008948:	84 00 7f ff 	add  %g1, -1, %g2                              
 200894c:	80 a0 a0 03 	cmp  %g2, 3                                    
 2008950:	18 80 00 18 	bgu  20089b0 <_Objects_Id_to_name+0x8c>        
 2008954:	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 ] )                       
 2008958:	10 80 00 18 	b  20089b8 <_Objects_Id_to_name+0x94>          
 200895c:	05 00 80 85 	sethi  %hi(0x2021400), %g2                     
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 2008960:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008964:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 2008968:	80 a2 20 00 	cmp  %o0, 0                                    
 200896c:	02 80 00 11 	be  20089b0 <_Objects_Id_to_name+0x8c>         <== NEVER TAKEN
 2008970:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
 2008974:	c2 0a 20 38 	ldub  [ %o0 + 0x38 ], %g1                      
 2008978:	80 a0 60 00 	cmp  %g1, 0                                    
 200897c:	12 80 00 0d 	bne  20089b0 <_Objects_Id_to_name+0x8c>        <== NEVER TAKEN
 2008980:	01 00 00 00 	nop                                            
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 2008984:	7f ff ff cb 	call  20088b0 <_Objects_Get>                   
 2008988:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 200898c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008990:	02 80 00 08 	be  20089b0 <_Objects_Id_to_name+0x8c>         
 2008994:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 2008998:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
 200899c:	b0 10 20 00 	clr  %i0                                       
 20089a0:	40 00 02 58 	call  2009300 <_Thread_Enable_dispatch>        
 20089a4:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 20089a8:	81 c7 e0 08 	ret                                            
 20089ac:	81 e8 00 00 	restore                                        
}                                                                     
 20089b0:	81 c7 e0 08 	ret                                            
 20089b4:	91 e8 20 03 	restore  %g0, 3, %o0                           
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 20089b8:	84 10 a0 a0 	or  %g2, 0xa0, %g2                             
 20089bc:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 20089c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20089c4:	12 bf ff e7 	bne  2008960 <_Objects_Id_to_name+0x3c>        
 20089c8:	85 32 60 1b 	srl  %o1, 0x1b, %g2                            
 20089cc:	30 bf ff f9 	b,a   20089b0 <_Objects_Id_to_name+0x8c>       
                                                                      

02007b4c <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
 2007b4c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
 2007b50:	d2 16 20 3a 	lduh  [ %i0 + 0x3a ], %o1                      
 2007b54:	40 00 25 bb 	call  2011240 <strnlen>                        
 2007b58:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
 2007b5c:	c2 0e 20 38 	ldub  [ %i0 + 0x38 ], %g1                      
 2007b60:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b64:	02 80 00 17 	be  2007bc0 <_Objects_Set_name+0x74>           
 2007b68:	a0 10 00 08 	mov  %o0, %l0                                  
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
 2007b6c:	90 02 20 01 	inc  %o0                                       
 2007b70:	40 00 07 2e 	call  2009828 <_Workspace_Allocate>            
 2007b74:	b0 10 20 00 	clr  %i0                                       
    if ( !d )                                                         
 2007b78:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 2007b7c:	02 80 00 24 	be  2007c0c <_Objects_Set_name+0xc0>           <== NEVER TAKEN
 2007b80:	01 00 00 00 	nop                                            
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
 2007b84:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 2007b88:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b8c:	02 80 00 06 	be  2007ba4 <_Objects_Set_name+0x58>           
 2007b90:	92 10 00 1a 	mov  %i2, %o1                                  
      _Workspace_Free( (void *)the_object->name.name_p );             
 2007b94:	40 00 07 2e 	call  200984c <_Workspace_Free>                
 2007b98:	01 00 00 00 	nop                                            
      the_object->name.name_p = NULL;                                 
 2007b9c:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
 2007ba0:	92 10 00 1a 	mov  %i2, %o1                                  
 2007ba4:	90 10 00 11 	mov  %l1, %o0                                  
 2007ba8:	40 00 25 6b 	call  2011154 <strncpy>                        
 2007bac:	94 10 00 10 	mov  %l0, %o2                                  
    d[length] = '\0';                                                 
 2007bb0:	c0 2c 40 10 	clrb  [ %l1 + %l0 ]                            
    the_object->name.name_p = d;                                      
 2007bb4:	e2 26 60 0c 	st  %l1, [ %i1 + 0xc ]                         
 2007bb8:	81 c7 e0 08 	ret                                            
 2007bbc:	91 e8 20 01 	restore  %g0, 1, %o0                           
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2007bc0:	80 a2 20 01 	cmp  %o0, 1                                    
 2007bc4:	08 80 00 14 	bleu  2007c14 <_Objects_Set_name+0xc8>         
 2007bc8:	c8 0e 80 00 	ldub  [ %i2 ], %g4                             
 2007bcc:	c6 4e a0 01 	ldsb  [ %i2 + 1 ], %g3                         
 2007bd0:	80 a2 20 02 	cmp  %o0, 2                                    
 2007bd4:	08 80 00 11 	bleu  2007c18 <_Objects_Set_name+0xcc>         
 2007bd8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2007bdc:	c4 4e a0 02 	ldsb  [ %i2 + 2 ], %g2                         
 2007be0:	80 a2 20 03 	cmp  %o0, 3                                    
 2007be4:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2007be8:	08 80 00 03 	bleu  2007bf4 <_Objects_Set_name+0xa8>         
 2007bec:	82 10 20 20 	mov  0x20, %g1                                 
 2007bf0:	c2 4e a0 03 	ldsb  [ %i2 + 3 ], %g1                         
 2007bf4:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 2007bf8:	b0 10 20 01 	mov  1, %i0                                    
 2007bfc:	86 10 c0 04 	or  %g3, %g4, %g3                              
 2007c00:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2007c04:	82 10 80 01 	or  %g2, %g1, %g1                              
 2007c08:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2007c0c:	81 c7 e0 08 	ret                                            
 2007c10:	81 e8 00 00 	restore                                        
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2007c14:	07 00 08 00 	sethi  %hi(0x200000), %g3                      
 2007c18:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2007c1c:	10 bf ff f6 	b  2007bf4 <_Objects_Set_name+0xa8>            
 2007c20:	82 10 20 20 	mov  0x20, %g1                                 
                                                                      

02006a28 <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
 2006a28:	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 ) ) {                      
 2006a2c:	a0 07 bf fc 	add  %fp, -4, %l0                              
 2006a30:	90 10 00 19 	mov  %i1, %o0                                  
 2006a34:	40 00 00 7e 	call  2006c2c <_POSIX_Mutex_Get>               
 2006a38:	92 10 00 10 	mov  %l0, %o1                                  
 2006a3c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006a40:	22 80 00 18 	be,a   2006aa0 <_POSIX_Condition_variables_Wait_support+0x78>
 2006a44:	b0 10 20 16 	mov  0x16, %i0                                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2006a48:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2006a4c:	c4 00 61 30 	ld  [ %g1 + 0x130 ], %g2	! 201e930 <_Thread_Dispatch_disable_level>
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
 2006a50:	92 10 00 10 	mov  %l0, %o1                                  
 2006a54:	84 00 bf ff 	add  %g2, -1, %g2                              
 2006a58:	90 10 00 18 	mov  %i0, %o0                                  
 2006a5c:	c4 20 61 30 	st  %g2, [ %g1 + 0x130 ]                       
 2006a60:	7f ff ff 74 	call  2006830 <_POSIX_Condition_variables_Get> 
 2006a64:	01 00 00 00 	nop                                            
  switch ( location ) {                                               
 2006a68:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006a6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006a70:	12 80 00 34 	bne  2006b40 <_POSIX_Condition_variables_Wait_support+0x118>
 2006a74:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
 2006a78:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 2006a7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006a80:	02 80 00 0a 	be  2006aa8 <_POSIX_Condition_variables_Wait_support+0x80>
 2006a84:	01 00 00 00 	nop                                            
 2006a88:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2006a8c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006a90:	02 80 00 06 	be  2006aa8 <_POSIX_Condition_variables_Wait_support+0x80>
 2006a94:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
 2006a98:	40 00 0c ba 	call  2009d80 <_Thread_Enable_dispatch>        
 2006a9c:	b0 10 20 16 	mov  0x16, %i0	! 16 <PROM_START+0x16>          
        return EINVAL;                                                
 2006aa0:	81 c7 e0 08 	ret                                            
 2006aa4:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
 2006aa8:	40 00 00 f2 	call  2006e70 <pthread_mutex_unlock>           
 2006aac:	90 10 00 19 	mov  %i1, %o0                                  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
 2006ab0:	80 8e e0 ff 	btst  0xff, %i3                                
 2006ab4:	12 80 00 1c 	bne  2006b24 <_POSIX_Condition_variables_Wait_support+0xfc>
 2006ab8:	23 00 80 7a 	sethi  %hi(0x201e800), %l1                     
        the_cond->Mutex = *mutex;                                     
 2006abc:	c4 06 40 00 	ld  [ %i1 ], %g2                               
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 2006ac0:	c2 04 61 f0 	ld  [ %l1 + 0x1f0 ], %g1                       
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
 2006ac4:	c4 24 20 14 	st  %g2, [ %l0 + 0x14 ]                        
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 2006ac8:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
 2006acc:	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;  
 2006ad0:	84 04 20 18 	add  %l0, 0x18, %g2                            
        _Thread_Executing->Wait.id          = *cond;                  
 2006ad4:	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;  
 2006ad8:	c4 20 60 44 	st  %g2, [ %g1 + 0x44 ]                        
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
 2006adc:	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;
 2006ae0:	82 10 20 01 	mov  1, %g1                                    
 2006ae4:	90 10 00 02 	mov  %g2, %o0                                  
 2006ae8:	15 00 80 29 	sethi  %hi(0x200a400), %o2                     
 2006aec:	94 12 a2 ec 	or  %o2, 0x2ec, %o2	! 200a6ec <_Thread_queue_Timeout>
 2006af0:	40 00 0e 09 	call  200a314 <_Thread_queue_Enqueue_with_handler>
 2006af4:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
                                                                      
        _Thread_Enable_dispatch();                                    
 2006af8:	40 00 0c a2 	call  2009d80 <_Thread_Enable_dispatch>        
 2006afc:	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;                 
 2006b00:	c2 04 61 f0 	ld  [ %l1 + 0x1f0 ], %g1                       
 2006b04:	f0 00 60 34 	ld  [ %g1 + 0x34 ], %i0                        
        if ( status && status != ETIMEDOUT )                          
 2006b08:	80 a6 20 74 	cmp  %i0, 0x74                                 
 2006b0c:	02 80 00 08 	be  2006b2c <_POSIX_Condition_variables_Wait_support+0x104>
 2006b10:	80 a6 20 00 	cmp  %i0, 0                                    
 2006b14:	02 80 00 06 	be  2006b2c <_POSIX_Condition_variables_Wait_support+0x104><== ALWAYS TAKEN
 2006b18:	01 00 00 00 	nop                                            
 2006b1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006b20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
 2006b24:	40 00 0c 97 	call  2009d80 <_Thread_Enable_dispatch>        
 2006b28:	b0 10 20 74 	mov  0x74, %i0                                 
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
 2006b2c:	40 00 00 b0 	call  2006dec <pthread_mutex_lock>             
 2006b30:	90 10 00 19 	mov  %i1, %o0                                  
      if ( mutex_status )                                             
 2006b34:	80 a2 20 00 	cmp  %o0, 0                                    
 2006b38:	02 80 00 03 	be  2006b44 <_POSIX_Condition_variables_Wait_support+0x11c>
 2006b3c:	01 00 00 00 	nop                                            
 2006b40:	b0 10 20 16 	mov  0x16, %i0	! 16 <PROM_START+0x16>          
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2006b44:	81 c7 e0 08 	ret                                            
 2006b48:	81 e8 00 00 	restore                                        
                                                                      

0200a85c <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
 200a85c:	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(             
 200a860:	11 00 80 97 	sethi  %hi(0x2025c00), %o0                     
 200a864:	94 07 bf fc 	add  %fp, -4, %o2                              
 200a868:	90 12 22 3c 	or  %o0, 0x23c, %o0                            
 200a86c:	40 00 0c 61 	call  200d9f0 <_Objects_Get>                   
 200a870:	92 10 00 18 	mov  %i0, %o1                                  
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200a874:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  size_t              msg_len,                                        
  unsigned int       *msg_prio,                                       
  bool                wait,                                           
  Watchdog_Interval   timeout                                         
)                                                                     
{                                                                     
 200a878:	94 10 00 19 	mov  %i1, %o2                                  
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200a87c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a880:	12 80 00 3b 	bne  200a96c <_POSIX_Message_queue_Receive_support+0x110>
 200a884:	9a 10 00 1d 	mov  %i5, %o5                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
 200a888:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200a88c:	84 08 60 03 	and  %g1, 3, %g2                               
 200a890:	80 a0 a0 01 	cmp  %g2, 1                                    
 200a894:	32 80 00 08 	bne,a   200a8b4 <_POSIX_Message_queue_Receive_support+0x58>
 200a898:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
        _Thread_Enable_dispatch();                                    
 200a89c:	40 00 0e bc 	call  200e38c <_Thread_Enable_dispatch>        
 200a8a0:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EBADF );                
 200a8a4:	40 00 2b e9 	call  2015848 <__errno>                        
 200a8a8:	01 00 00 00 	nop                                            
 200a8ac:	10 80 00 0b 	b  200a8d8 <_POSIX_Message_queue_Receive_support+0x7c>
 200a8b0:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
 200a8b4:	c4 02 20 68 	ld  [ %o0 + 0x68 ], %g2                        
 200a8b8:	80 a6 80 02 	cmp  %i2, %g2                                  
 200a8bc:	1a 80 00 09 	bcc  200a8e0 <_POSIX_Message_queue_Receive_support+0x84>
 200a8c0:	80 8f 20 ff 	btst  0xff, %i4                                
        _Thread_Enable_dispatch();                                    
 200a8c4:	40 00 0e b2 	call  200e38c <_Thread_Enable_dispatch>        
 200a8c8:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
 200a8cc:	40 00 2b df 	call  2015848 <__errno>                        
 200a8d0:	01 00 00 00 	nop                                            
 200a8d4:	82 10 20 7a 	mov  0x7a, %g1	! 7a <PROM_START+0x7a>          
 200a8d8:	10 80 00 23 	b  200a964 <_POSIX_Message_queue_Receive_support+0x108>
 200a8dc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200a8e0:	02 80 00 05 	be  200a8f4 <_POSIX_Message_queue_Receive_support+0x98><== NEVER TAKEN
 200a8e4:	98 10 20 00 	clr  %o4                                       
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
 200a8e8:	99 30 60 0e 	srl  %g1, 0xe, %o4                             
 200a8ec:	98 1b 20 01 	xor  %o4, 1, %o4                               
 200a8f0:	98 0b 20 01 	and  %o4, 1, %o4                               
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200a8f4:	82 10 3f ff 	mov  -1, %g1                                   
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200a8f8:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 200a8fc:	92 10 00 18 	mov  %i0, %o1                                  
 200a900:	98 0b 20 01 	and  %o4, 1, %o4                               
 200a904:	96 07 bf f8 	add  %fp, -8, %o3                              
 200a908:	40 00 08 0e 	call  200c940 <_CORE_message_queue_Seize>      
 200a90c:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200a910:	40 00 0e 9f 	call  200e38c <_Thread_Enable_dispatch>        
 200a914:	35 00 80 96 	sethi  %hi(0x2025800), %i2                     
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
 200a918:	c2 06 a1 e0 	ld  [ %i2 + 0x1e0 ], %g1	! 20259e0 <_Thread_Executing>
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
 200a91c:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200a920:	c6 00 60 34 	ld  [ %g1 + 0x34 ], %g3                        
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
 200a924:	83 38 a0 1f 	sra  %g2, 0x1f, %g1                            
 200a928:	84 18 40 02 	xor  %g1, %g2, %g2                             
 200a92c:	82 20 80 01 	sub  %g2, %g1, %g1                             
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200a930:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a934:	12 80 00 05 	bne  200a948 <_POSIX_Message_queue_Receive_support+0xec>
 200a938:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
        return length_out;                                            
 200a93c:	f0 07 bf f8 	ld  [ %fp + -8 ], %i0                          
 200a940:	81 c7 e0 08 	ret                                            
 200a944:	81 e8 00 00 	restore                                        
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200a948:	40 00 2b c0 	call  2015848 <__errno>                        
 200a94c:	01 00 00 00 	nop                                            
 200a950:	c2 06 a1 e0 	ld  [ %i2 + 0x1e0 ], %g1                       
 200a954:	b6 10 00 08 	mov  %o0, %i3                                  
 200a958:	40 00 00 9b 	call  200abc4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200a95c:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 200a960:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
 200a964:	81 c7 e0 08 	ret                                            
 200a968:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200a96c:	40 00 2b b7 	call  2015848 <__errno>                        
 200a970:	b0 10 3f ff 	mov  -1, %i0                                   
 200a974:	82 10 20 09 	mov  9, %g1                                    
 200a978:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200a97c:	81 c7 e0 08 	ret                                            
 200a980:	81 e8 00 00 	restore                                        
                                                                      

0200b4e0 <_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 ];
 200b4e0:	c2 02 21 6c 	ld  [ %o0 + 0x16c ], %g1                       
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200b4e4:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 200b4e8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b4ec:	12 80 00 12 	bne  200b534 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54><== NEVER TAKEN
 200b4f0:	01 00 00 00 	nop                                            
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
 200b4f4:	c4 00 60 d8 	ld  [ %g1 + 0xd8 ], %g2                        
 200b4f8:	80 a0 a0 01 	cmp  %g2, 1                                    
 200b4fc:	12 80 00 0e 	bne  200b534 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54>
 200b500:	01 00 00 00 	nop                                            
       thread_support->cancelation_requested ) {                      
 200b504:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
 200b508:	80 a0 60 00 	cmp  %g1, 0                                    
 200b50c:	02 80 00 0a 	be  200b534 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54>
 200b510:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 200b514:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 200b518:	c4 00 61 80 	ld  [ %g1 + 0x180 ], %g2	! 201d180 <_Thread_Dispatch_disable_level>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
 200b51c:	92 10 3f ff 	mov  -1, %o1                                   
 200b520:	84 00 bf ff 	add  %g2, -1, %g2                              
 200b524:	c4 20 61 80 	st  %g2, [ %g1 + 0x180 ]                       
 200b528:	82 13 c0 00 	mov  %o7, %g1                                  
 200b52c:	40 00 01 ab 	call  200bbd8 <_POSIX_Thread_Exit>             
 200b530:	9e 10 40 00 	mov  %g1, %o7                                  
  } else                                                              
    _Thread_Enable_dispatch();                                        
 200b534:	82 13 c0 00 	mov  %o7, %g1                                  
 200b538:	7f ff f2 a1 	call  2007fbc <_Thread_Enable_dispatch>        
 200b53c:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200c854 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
 200c854:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
 200c858:	7f ff ff f4 	call  200c828 <_POSIX_Priority_Is_valid>       
 200c85c:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200c860:	80 8a 20 ff 	btst  0xff, %o0                                
 200c864:	02 80 00 37 	be  200c940 <_POSIX_Thread_Translate_sched_param+0xec><== NEVER TAKEN
 200c868:	80 a6 20 00 	cmp  %i0, 0                                    
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
 200c86c:	c0 26 80 00 	clr  [ %i2 ]                                   
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
 200c870:	12 80 00 06 	bne  200c888 <_POSIX_Thread_Translate_sched_param+0x34>
 200c874:	c0 26 c0 00 	clr  [ %i3 ]                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
 200c878:	82 10 20 01 	mov  1, %g1                                    
 200c87c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    return 0;                                                         
 200c880:	81 c7 e0 08 	ret                                            
 200c884:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
 200c888:	80 a6 20 01 	cmp  %i0, 1                                    
 200c88c:	12 80 00 04 	bne  200c89c <_POSIX_Thread_Translate_sched_param+0x48>
 200c890:	80 a6 20 02 	cmp  %i0, 2                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
 200c894:	10 80 00 29 	b  200c938 <_POSIX_Thread_Translate_sched_param+0xe4>
 200c898:	c0 26 80 00 	clr  [ %i2 ]                                   
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
 200c89c:	12 80 00 04 	bne  200c8ac <_POSIX_Thread_Translate_sched_param+0x58>
 200c8a0:	80 a6 20 04 	cmp  %i0, 4                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
 200c8a4:	10 80 00 25 	b  200c938 <_POSIX_Thread_Translate_sched_param+0xe4>
 200c8a8:	f0 26 80 00 	st  %i0, [ %i2 ]                               
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
 200c8ac:	12 80 00 25 	bne  200c940 <_POSIX_Thread_Translate_sched_param+0xec>
 200c8b0:	01 00 00 00 	nop                                            
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
 200c8b4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200c8b8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8bc:	32 80 00 07 	bne,a   200c8d8 <_POSIX_Thread_Translate_sched_param+0x84>
 200c8c0:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
 200c8c4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200c8c8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8cc:	02 80 00 1d 	be  200c940 <_POSIX_Thread_Translate_sched_param+0xec>
 200c8d0:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
 200c8d4:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200c8d8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8dc:	12 80 00 06 	bne  200c8f4 <_POSIX_Thread_Translate_sched_param+0xa0>
 200c8e0:	01 00 00 00 	nop                                            
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
 200c8e4:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200c8e8:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8ec:	02 80 00 15 	be  200c940 <_POSIX_Thread_Translate_sched_param+0xec>
 200c8f0:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200c8f4:	7f ff f4 e8 	call  2009c94 <_Timespec_To_ticks>             
 200c8f8:	90 06 60 08 	add  %i1, 8, %o0                               
 200c8fc:	b0 10 00 08 	mov  %o0, %i0                                  
 200c900:	7f ff f4 e5 	call  2009c94 <_Timespec_To_ticks>             
 200c904:	90 06 60 10 	add  %i1, 0x10, %o0                            
 200c908:	80 a6 00 08 	cmp  %i0, %o0                                  
 200c90c:	0a 80 00 0d 	bcs  200c940 <_POSIX_Thread_Translate_sched_param+0xec>
 200c910:	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 ) )  
 200c914:	7f ff ff c5 	call  200c828 <_POSIX_Priority_Is_valid>       
 200c918:	d0 06 60 04 	ld  [ %i1 + 4 ], %o0                           
 200c91c:	80 8a 20 ff 	btst  0xff, %o0                                
 200c920:	02 80 00 08 	be  200c940 <_POSIX_Thread_Translate_sched_param+0xec>
 200c924:	82 10 20 03 	mov  3, %g1                                    
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
 200c928:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
 200c92c:	03 00 80 18 	sethi  %hi(0x2006000), %g1                     
 200c930:	82 10 61 d8 	or  %g1, 0x1d8, %g1	! 20061d8 <_POSIX_Threads_Sporadic_budget_callout>
 200c934:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
 200c938:	81 c7 e0 08 	ret                                            
 200c93c:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200c940:	81 c7 e0 08 	ret                                            
 200c944:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02005f3c <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
 2005f3c:	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;
 2005f40:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005f44:	82 10 61 4c 	or  %g1, 0x14c, %g1	! 201c54c <Configuration_POSIX_API>
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
 2005f48:	e6 00 60 30 	ld  [ %g1 + 0x30 ], %l3                        
                                                                      
  if ( !user_threads || maximum == 0 )                                
 2005f4c:	80 a4 e0 00 	cmp  %l3, 0                                    
 2005f50:	02 80 00 1d 	be  2005fc4 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2005f54:	e2 00 60 34 	ld  [ %g1 + 0x34 ], %l1                        
 2005f58:	80 a4 60 00 	cmp  %l1, 0                                    
 2005f5c:	02 80 00 1a 	be  2005fc4 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2005f60:	a4 10 20 00 	clr  %l2                                       
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 2005f64:	a0 07 bf c0 	add  %fp, -64, %l0                             
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
                                                                      
    status = pthread_create(                                          
 2005f68:	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 );                                
 2005f6c:	40 00 1a 77 	call  200c948 <pthread_attr_init>              
 2005f70:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
 2005f74:	92 10 20 02 	mov  2, %o1                                    
 2005f78:	40 00 1a 7f 	call  200c974 <pthread_attr_setinheritsched>   
 2005f7c:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
 2005f80:	d2 04 60 04 	ld  [ %l1 + 4 ], %o1                           
 2005f84:	40 00 1a 8c 	call  200c9b4 <pthread_attr_setstacksize>      
 2005f88:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    status = pthread_create(                                          
 2005f8c:	d4 04 40 00 	ld  [ %l1 ], %o2                               
 2005f90:	90 10 00 14 	mov  %l4, %o0                                  
 2005f94:	92 10 00 10 	mov  %l0, %o1                                  
 2005f98:	7f ff ff 34 	call  2005c68 <pthread_create>                 
 2005f9c:	96 10 20 00 	clr  %o3                                       
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
 2005fa0:	94 92 20 00 	orcc  %o0, 0, %o2                              
 2005fa4:	22 80 00 05 	be,a   2005fb8 <_POSIX_Threads_Initialize_user_threads_body+0x7c>
 2005fa8:	a4 04 a0 01 	inc  %l2                                       
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
 2005fac:	90 10 20 02 	mov  2, %o0                                    
 2005fb0:	40 00 07 a6 	call  2007e48 <_Internal_error_Occurred>       
 2005fb4:	92 10 20 01 	mov  1, %o1                                    
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
 2005fb8:	80 a4 80 13 	cmp  %l2, %l3                                  
 2005fbc:	0a bf ff ec 	bcs  2005f6c <_POSIX_Threads_Initialize_user_threads_body+0x30><== NEVER TAKEN
 2005fc0:	a2 04 60 08 	add  %l1, 8, %l1                               
 2005fc4:	81 c7 e0 08 	ret                                            
 2005fc8:	81 e8 00 00 	restore                                        
                                                                      

0200b75c <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
 200b75c:	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 ];               
 200b760:	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 );
 200b764:	40 00 04 69 	call  200c908 <_Timespec_To_ticks>             
 200b768:	90 04 20 94 	add  %l0, 0x94, %o0                            
 200b76c:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200b770:	c4 04 20 84 	ld  [ %l0 + 0x84 ], %g2                        
 200b774:	d2 08 62 04 	ldub  [ %g1 + 0x204 ], %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 ) {                            
 200b778:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200b77c:	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;                                
 200b780:	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 ) {                            
 200b784:	80 a0 60 00 	cmp  %g1, 0                                    
 200b788:	12 80 00 08 	bne  200b7a8 <_POSIX_Threads_Sporadic_budget_TSR+0x4c><== NEVER TAKEN
 200b78c:	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 ) {              
 200b790:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200b794:	80 a0 40 09 	cmp  %g1, %o1                                  
 200b798:	08 80 00 04 	bleu  200b7a8 <_POSIX_Threads_Sporadic_budget_TSR+0x4c>
 200b79c:	90 10 00 19 	mov  %i1, %o0                                  
      _Thread_Change_priority( the_thread, new_priority, true );      
 200b7a0:	7f ff ef 9d 	call  2007614 <_Thread_Change_priority>        
 200b7a4:	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 );
 200b7a8:	40 00 04 58 	call  200c908 <_Timespec_To_ticks>             
 200b7ac:	90 04 20 8c 	add  %l0, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200b7b0:	31 00 80 6f 	sethi  %hi(0x201bc00), %i0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200b7b4:	d0 24 20 b0 	st  %o0, [ %l0 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200b7b8:	b2 04 20 a4 	add  %l0, 0xa4, %i1                            
 200b7bc:	7f ff f5 92 	call  2008e04 <_Watchdog_Insert>               
 200b7c0:	91 ee 22 00 	restore  %i0, 0x200, %o0                       
                                                                      

0200b70c <_POSIX_Threads_Sporadic_budget_callout>: ) { POSIX_API_Control *api; uint32_t new_priority; api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200b70c:	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);
 200b710:	c6 00 a0 88 	ld  [ %g2 + 0x88 ], %g3                        
 200b714:	05 00 80 6c 	sethi  %hi(0x201b000), %g2                     
 200b718:	d2 08 a2 04 	ldub  [ %g2 + 0x204 ], %o1	! 201b204 <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 ) {                            
 200b71c:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200b720:	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 */
 200b724:	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;                           
 200b728:	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 ) {                            
 200b72c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b730:	12 80 00 09 	bne  200b754 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200b734:	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 ) {              
 200b738:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200b73c:	80 a0 40 09 	cmp  %g1, %o1                                  
 200b740:	1a 80 00 05 	bcc  200b754 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200b744:	94 10 20 01 	mov  1, %o2                                    
      _Thread_Change_priority( the_thread, new_priority, true );      
 200b748:	82 13 c0 00 	mov  %o7, %g1                                  
 200b74c:	7f ff ef b2 	call  2007614 <_Thread_Change_priority>        
 200b750:	9e 10 40 00 	mov  %g1, %o7                                  
 200b754:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

02005c48 <_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) {
 2005c48:	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;                              
 2005c4c:	c4 06 60 68 	ld  [ %i1 + 0x68 ], %g2                        
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2005c50:	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;                              
 2005c54:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2005c58:	80 a0 60 00 	cmp  %g1, 0                                    
 2005c5c:	12 80 00 06 	bne  2005c74 <_POSIX_Timer_TSR+0x2c>           
 2005c60:	c4 26 60 68 	st  %g2, [ %i1 + 0x68 ]                        
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
 2005c64:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 2005c68:	80 a0 60 00 	cmp  %g1, 0                                    
 2005c6c:	02 80 00 0f 	be  2005ca8 <_POSIX_Timer_TSR+0x60>            <== NEVER TAKEN
 2005c70:	82 10 20 04 	mov  4, %g1                                    
    activated = _POSIX_Timer_Insert_helper(                           
 2005c74:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 2005c78:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2005c7c:	90 06 60 10 	add  %i1, 0x10, %o0                            
 2005c80:	17 00 80 17 	sethi  %hi(0x2005c00), %o3                     
 2005c84:	98 10 00 19 	mov  %i1, %o4                                  
 2005c88:	40 00 1a 24 	call  200c518 <_POSIX_Timer_Insert_helper>     
 2005c8c:	96 12 e0 48 	or  %o3, 0x48, %o3                             
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
 2005c90:	80 8a 20 ff 	btst  0xff, %o0                                
 2005c94:	02 80 00 0a 	be  2005cbc <_POSIX_Timer_TSR+0x74>            <== NEVER TAKEN
 2005c98:	01 00 00 00 	nop                                            
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
 2005c9c:	40 00 05 ac 	call  200734c <_TOD_Get>                       
 2005ca0:	90 06 60 6c 	add  %i1, 0x6c, %o0                            
 2005ca4:	82 10 20 03 	mov  3, %g1                                    
  /*                                                                  
   * 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 ) ) {
 2005ca8:	d0 06 60 38 	ld  [ %i1 + 0x38 ], %o0                        
 2005cac:	d2 06 60 44 	ld  [ %i1 + 0x44 ], %o1                        
 2005cb0:	40 00 19 04 	call  200c0c0 <pthread_kill>                   
 2005cb4:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
 2005cb8:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
 2005cbc:	81 c7 e0 08 	ret                                            
 2005cc0:	81 e8 00 00 	restore                                        
                                                                      

0200d944 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
 200d944:	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,   
 200d948:	98 10 20 01 	mov  1, %o4                                    
 200d94c:	96 0e a0 ff 	and  %i2, 0xff, %o3                            
 200d950:	a0 07 bf f4 	add  %fp, -12, %l0                             
 200d954:	90 10 00 18 	mov  %i0, %o0                                  
 200d958:	92 10 00 19 	mov  %i1, %o1                                  
 200d95c:	40 00 00 22 	call  200d9e4 <_POSIX_signals_Clear_signals>   
 200d960:	94 10 00 10 	mov  %l0, %o2                                  
 200d964:	80 8a 20 ff 	btst  0xff, %o0                                
 200d968:	02 80 00 1d 	be  200d9dc <_POSIX_signals_Check_signal+0x98> 
 200d96c:	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 )        
 200d970:	07 00 80 70 	sethi  %hi(0x201c000), %g3                     
 200d974:	85 2e 60 04 	sll  %i1, 4, %g2                               
 200d978:	86 10 e2 b4 	or  %g3, 0x2b4, %g3                            
 200d97c:	84 20 80 01 	sub  %g2, %g1, %g2                             
 200d980:	88 00 c0 02 	add  %g3, %g2, %g4                             
 200d984:	c2 01 20 08 	ld  [ %g4 + 8 ], %g1                           
 200d988:	80 a0 60 01 	cmp  %g1, 1                                    
 200d98c:	02 80 00 14 	be  200d9dc <_POSIX_signals_Check_signal+0x98> <== NEVER TAKEN
 200d990:	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;    
 200d994:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
 200d998:	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 ) {               
 200d99c:	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;    
 200d9a0:	86 11 00 11 	or  %g4, %l1, %g3                              
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 200d9a4:	80 a0 a0 02 	cmp  %g2, 2                                    
 200d9a8:	12 80 00 08 	bne  200d9c8 <_POSIX_signals_Check_signal+0x84>
 200d9ac:	c6 26 20 cc 	st  %g3, [ %i0 + 0xcc ]                        
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
 200d9b0:	90 10 00 19 	mov  %i1, %o0                                  
 200d9b4:	92 10 00 10 	mov  %l0, %o1                                  
 200d9b8:	9f c0 40 00 	call  %g1                                      
 200d9bc:	94 10 20 00 	clr  %o2                                       
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
 200d9c0:	10 80 00 05 	b  200d9d4 <_POSIX_signals_Check_signal+0x90>  
 200d9c4:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
 200d9c8:	9f c0 40 00 	call  %g1                                      
 200d9cc:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 200d9d0:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
                                                                      
  return true;                                                        
 200d9d4:	81 c7 e0 08 	ret                                            
 200d9d8:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 200d9dc:	81 c7 e0 08 	ret                                            
 200d9e0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200eafc <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
 200eafc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
 200eb00:	7f ff cd ac 	call  20021b0 <sparc_disable_interrupts>       
 200eb04:	01 00 00 00 	nop                                            
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
 200eb08:	85 2e 20 04 	sll  %i0, 4, %g2                               
 200eb0c:	83 2e 20 02 	sll  %i0, 2, %g1                               
 200eb10:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200eb14:	05 00 80 70 	sethi  %hi(0x201c000), %g2                     
 200eb18:	84 10 a2 b4 	or  %g2, 0x2b4, %g2	! 201c2b4 <_POSIX_signals_Vectors>
 200eb1c:	c4 00 80 01 	ld  [ %g2 + %g1 ], %g2                         
 200eb20:	80 a0 a0 02 	cmp  %g2, 2                                    
 200eb24:	12 80 00 0a 	bne  200eb4c <_POSIX_signals_Clear_process_signals+0x50>
 200eb28:	05 00 80 71 	sethi  %hi(0x201c400), %g2                     
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
 200eb2c:	05 00 80 71 	sethi  %hi(0x201c400), %g2                     
 200eb30:	84 10 a0 ac 	or  %g2, 0xac, %g2	! 201c4ac <_POSIX_signals_Siginfo>
 200eb34:	c6 00 40 02 	ld  [ %g1 + %g2 ], %g3                         
 200eb38:	82 00 40 02 	add  %g1, %g2, %g1                             
 200eb3c:	82 00 60 04 	add  %g1, 4, %g1                               
 200eb40:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200eb44:	12 80 00 0e 	bne  200eb7c <_POSIX_signals_Clear_process_signals+0x80><== NEVER TAKEN
 200eb48:	05 00 80 71 	sethi  %hi(0x201c400), %g2                     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
 200eb4c:	c6 00 a0 a8 	ld  [ %g2 + 0xa8 ], %g3	! 201c4a8 <_POSIX_signals_Pending>
 200eb50:	b0 06 3f ff 	add  %i0, -1, %i0                              
 200eb54:	82 10 20 01 	mov  1, %g1                                    
 200eb58:	83 28 40 18 	sll  %g1, %i0, %g1                             
 200eb5c:	82 28 c0 01 	andn  %g3, %g1, %g1                            
      if ( !_POSIX_signals_Pending )                                  
 200eb60:	80 a0 60 00 	cmp  %g1, 0                                    
 200eb64:	12 80 00 06 	bne  200eb7c <_POSIX_signals_Clear_process_signals+0x80><== NEVER TAKEN
 200eb68:	c2 20 a0 a8 	st  %g1, [ %g2 + 0xa8 ]                        
	_Thread_Do_post_task_switch_extension--;                             
 200eb6c:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200eb70:	c4 00 61 c4 	ld  [ %g1 + 0x1c4 ], %g2	! 201bdc4 <_Thread_Do_post_task_switch_extension>
 200eb74:	84 00 bf ff 	add  %g2, -1, %g2                              
 200eb78:	c4 20 61 c4 	st  %g2, [ %g1 + 0x1c4 ]                       
    }                                                                 
  _ISR_Enable( level );                                               
 200eb7c:	7f ff cd 91 	call  20021c0 <sparc_enable_interrupts>        
 200eb80:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

020066e4 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
 20066e4:	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 ) ) {                             
 20066e8:	84 10 20 01 	mov  1, %g2                                    
 20066ec:	86 00 7f ff 	add  %g1, -1, %g3                              
 20066f0:	87 28 80 03 	sll  %g2, %g3, %g3                             
 20066f4:	80 88 c0 08 	btst  %g3, %o0                                 
 20066f8:	12 80 00 11 	bne  200673c <_POSIX_signals_Get_highest+0x58> <== NEVER TAKEN
 20066fc:	01 00 00 00 	nop                                            
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
 2006700:	82 00 60 01 	inc  %g1                                       
 2006704:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2006708:	12 bf ff fa 	bne  20066f0 <_POSIX_signals_Get_highest+0xc>  
 200670c:	86 00 7f ff 	add  %g1, -1, %g3                              
 2006710:	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 ) ) {                             
 2006714:	84 10 20 01 	mov  1, %g2                                    
 2006718:	86 00 7f ff 	add  %g1, -1, %g3                              
 200671c:	87 28 80 03 	sll  %g2, %g3, %g3                             
 2006720:	80 88 c0 08 	btst  %g3, %o0                                 
 2006724:	12 80 00 06 	bne  200673c <_POSIX_signals_Get_highest+0x58> 
 2006728:	01 00 00 00 	nop                                            
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
 200672c:	82 00 60 01 	inc  %g1                                       
 2006730:	80 a0 60 1b 	cmp  %g1, 0x1b                                 
 2006734:	12 bf ff fa 	bne  200671c <_POSIX_signals_Get_highest+0x38> <== ALWAYS TAKEN
 2006738:	86 00 7f ff 	add  %g1, -1, %g3                              
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
 200673c:	81 c3 e0 08 	retl                                           
 2006740:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200ebcc <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
 200ebcc:	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 ) ) {
 200ebd0:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 200ebd4:	09 04 00 20 	sethi  %hi(0x10008000), %g4                    
 200ebd8:	86 06 7f ff 	add  %i1, -1, %g3                              
 200ebdc:	9a 08 40 04 	and  %g1, %g4, %o5                             
 200ebe0:	84 10 20 01 	mov  1, %g2                                    
 200ebe4:	80 a3 40 04 	cmp  %o5, %g4                                  
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
 200ebe8:	92 10 00 1a 	mov  %i2, %o1                                  
 200ebec:	87 28 80 03 	sll  %g2, %g3, %g3                             
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 200ebf0:	12 80 00 1a 	bne  200ec58 <_POSIX_signals_Unblock_thread+0x8c>
 200ebf4:	c8 06 21 6c 	ld  [ %i0 + 0x16c ], %g4                       
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
 200ebf8:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200ebfc:	80 88 c0 01 	btst  %g3, %g1                                 
 200ec00:	12 80 00 06 	bne  200ec18 <_POSIX_signals_Unblock_thread+0x4c>
 200ec04:	82 10 20 04 	mov  4, %g1                                    
 200ec08:	c2 01 20 cc 	ld  [ %g4 + 0xcc ], %g1                        
 200ec0c:	80 a8 c0 01 	andncc  %g3, %g1, %g0                          
 200ec10:	02 80 00 38 	be  200ecf0 <_POSIX_signals_Unblock_thread+0x124>
 200ec14:	82 10 20 04 	mov  4, %g1                                    
      the_thread->Wait.return_code = EINTR;                           
 200ec18:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
 200ec1c:	80 a2 60 00 	cmp  %o1, 0                                    
 200ec20:	12 80 00 07 	bne  200ec3c <_POSIX_signals_Unblock_thread+0x70>
 200ec24:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 200ec28:	82 10 20 01 	mov  1, %g1                                    
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
 200ec2c:	f2 22 00 00 	st  %i1, [ %o0 ]                               
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
 200ec30:	c0 22 20 08 	clr  [ %o0 + 8 ]                               
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 200ec34:	10 80 00 04 	b  200ec44 <_POSIX_signals_Unblock_thread+0x78>
 200ec38:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
 200ec3c:	40 00 02 d1 	call  200f780 <memcpy>                         
 200ec40:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
 200ec44:	90 10 00 18 	mov  %i0, %o0                                  
 200ec48:	7f ff e5 f3 	call  2008414 <_Thread_queue_Extract_with_proxy>
 200ec4c:	b0 10 20 01 	mov  1, %i0                                    
      return true;                                                    
 200ec50:	81 c7 e0 08 	ret                                            
 200ec54:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
 200ec58:	c8 01 20 cc 	ld  [ %g4 + 0xcc ], %g4                        
 200ec5c:	80 a8 c0 04 	andncc  %g3, %g4, %g0                          
 200ec60:	02 80 00 24 	be  200ecf0 <_POSIX_signals_Unblock_thread+0x124>
 200ec64:	07 04 00 00 	sethi  %hi(0x10000000), %g3                    
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
 200ec68:	80 88 40 03 	btst  %g1, %g3                                 
 200ec6c:	02 80 00 12 	be  200ecb4 <_POSIX_signals_Unblock_thread+0xe8>
 200ec70:	c4 2e 20 74 	stb  %g2, [ %i0 + 0x74 ]                       
      the_thread->Wait.return_code = EINTR;                           
 200ec74:	84 10 20 04 	mov  4, %g2                                    
      #if 0                                                           
	if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) ) 
	  _Thread_queue_Extract_with_proxy( the_thread );                    
	else                                                                 
      #endif                                                          
	  if ( _States_Is_delaying(the_thread->current_state) ){             
 200ec78:	80 88 60 08 	btst  8, %g1                                   
 200ec7c:	02 80 00 1d 	be  200ecf0 <_POSIX_signals_Unblock_thread+0x124><== NEVER TAKEN
 200ec80:	c4 26 20 34 	st  %g2, [ %i0 + 0x34 ]                        
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
 200ec84:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 200ec88:	80 a0 60 02 	cmp  %g1, 2                                    
 200ec8c:	12 80 00 05 	bne  200eca0 <_POSIX_signals_Unblock_thread+0xd4><== NEVER TAKEN
 200ec90:	90 10 00 18 	mov  %i0, %o0                                  
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
 200ec94:	7f ff e8 b9 	call  2008f78 <_Watchdog_Remove>               
 200ec98:	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 );                  
 200ec9c:	90 10 00 18 	mov  %i0, %o0                                  
 200eca0:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 200eca4:	7f ff e2 d5 	call  20077f8 <_Thread_Clear_state>            
 200eca8:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
	    _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;                             
 200ecac:	81 c7 e0 08 	ret                                            
 200ecb0:	91 e8 20 00 	restore  %g0, 0, %o0                           
	  if ( _States_Is_delaying(the_thread->current_state) ){             
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
    } else if ( the_thread->current_state == STATES_READY ) {         
 200ecb4:	80 a0 60 00 	cmp  %g1, 0                                    
 200ecb8:	12 80 00 0e 	bne  200ecf0 <_POSIX_signals_Unblock_thread+0x124><== NEVER TAKEN
 200ecbc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 200ecc0:	c2 00 61 bc 	ld  [ %g1 + 0x1bc ], %g1	! 201bdbc <_ISR_Nest_level>
 200ecc4:	80 a0 60 00 	cmp  %g1, 0                                    
 200ecc8:	02 80 00 0a 	be  200ecf0 <_POSIX_signals_Unblock_thread+0x124>
 200eccc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200ecd0:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1	! 201bde0 <_Thread_Executing>
 200ecd4:	80 a6 00 01 	cmp  %i0, %g1                                  
 200ecd8:	12 bf ff de 	bne  200ec50 <_POSIX_signals_Unblock_thread+0x84><== NEVER TAKEN
 200ecdc:	b0 10 20 00 	clr  %i0                                       
	_ISR_Signals_to_thread_executing = true;                             
 200ece0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200ece4:	c4 28 62 78 	stb  %g2, [ %g1 + 0x278 ]	! 201be78 <_ISR_Signals_to_thread_executing>
 200ece8:	81 c7 e0 08 	ret                                            
 200ecec:	81 e8 00 00 	restore                                        
 200ecf0:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
 200ecf4:	81 c7 e0 08 	ret                                            
 200ecf8:	81 e8 00 00 	restore                                        
                                                                      

0200bb20 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
 200bb20:	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 ];                
 200bb24:	e0 06 21 68 	ld  [ %i0 + 0x168 ], %l0                       
  if ( !api )                                                         
 200bb28:	80 a4 20 00 	cmp  %l0, 0                                    
 200bb2c:	02 80 00 1d 	be  200bba0 <_RTEMS_tasks_Post_switch_extension+0x80><== NEVER TAKEN
 200bb30:	01 00 00 00 	nop                                            
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
 200bb34:	7f ff d9 9f 	call  20021b0 <sparc_disable_interrupts>       
 200bb38:	01 00 00 00 	nop                                            
    signal_set = asr->signals_posted;                                 
 200bb3c:	e6 04 20 14 	ld  [ %l0 + 0x14 ], %l3                        
    asr->signals_posted = 0;                                          
 200bb40:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  _ISR_Enable( level );                                               
 200bb44:	7f ff d9 9f 	call  20021c0 <sparc_enable_interrupts>        
 200bb48:	01 00 00 00 	nop                                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
 200bb4c:	80 a4 e0 00 	cmp  %l3, 0                                    
 200bb50:	02 80 00 14 	be  200bba0 <_RTEMS_tasks_Post_switch_extension+0x80>
 200bb54:	a2 07 bf fc 	add  %fp, -4, %l1                              
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200bb58:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200bb5c:	d0 04 20 10 	ld  [ %l0 + 0x10 ], %o0                        
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200bb60:	82 00 60 01 	inc  %g1                                       
 200bb64:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200bb68:	94 10 00 11 	mov  %l1, %o2                                  
 200bb6c:	25 00 00 3f 	sethi  %hi(0xfc00), %l2                        
 200bb70:	40 00 08 7d 	call  200dd64 <rtems_task_mode>                
 200bb74:	92 14 a3 ff 	or  %l2, 0x3ff, %o1	! ffff <PROM_START+0xffff> 
                                                                      
  (*asr->handler)( signal_set );                                      
 200bb78:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 200bb7c:	9f c0 40 00 	call  %g1                                      
 200bb80:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
  asr->nest_level -= 1;                                               
 200bb84:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb88:	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;                                               
 200bb8c:	82 00 7f ff 	add  %g1, -1, %g1                              
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb90:	92 14 a3 ff 	or  %l2, 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;                                               
 200bb94:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200bb98:	40 00 08 73 	call  200dd64 <rtems_task_mode>                
 200bb9c:	94 10 00 11 	mov  %l1, %o2                                  
 200bba0:	81 c7 e0 08 	ret                                            
 200bba4:	81 e8 00 00 	restore                                        
                                                                      

020070e4 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 20070e4:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20070e8:	11 00 80 86 	sethi  %hi(0x2021800), %o0                     
 20070ec:	92 10 00 18 	mov  %i0, %o1                                  
 20070f0:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            
 20070f4:	40 00 07 a6 	call  2008f8c <_Objects_Get>                   
 20070f8:	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 ) {                                               
 20070fc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007100:	80 a0 60 00 	cmp  %g1, 0                                    
 2007104:	12 80 00 26 	bne  200719c <_Rate_monotonic_Timeout+0xb8>    <== NEVER TAKEN
 2007108:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 200710c:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 2007110:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 2007114:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 2007118:	80 88 80 01 	btst  %g2, %g1                                 
 200711c:	22 80 00 0c 	be,a   200714c <_Rate_monotonic_Timeout+0x68>  
 2007120:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
            the_thread->Wait.id == the_period->Object.id ) {          
 2007124:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 2007128:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 200712c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007130:	32 80 00 07 	bne,a   200714c <_Rate_monotonic_Timeout+0x68> 
 2007134:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2007138:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 200713c:	40 00 08 eb 	call  20094e8 <_Thread_Clear_state>            
 2007140:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 2007144:	10 80 00 08 	b  2007164 <_Rate_monotonic_Timeout+0x80>      
 2007148:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 200714c:	80 a0 60 01 	cmp  %g1, 1                                    
 2007150:	12 80 00 0e 	bne  2007188 <_Rate_monotonic_Timeout+0xa4>    
 2007154:	82 10 20 04 	mov  4, %g1                                    
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 2007158:	82 10 20 03 	mov  3, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 200715c:	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;    
 2007160:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 2007164:	7f ff fe 3e 	call  2006a5c <_Rate_monotonic_Initiate_statistics>
 2007168:	01 00 00 00 	nop                                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200716c:	c2 04 20 3c 	ld  [ %l0 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007170:	92 04 20 10 	add  %l0, 0x10, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007174:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007178:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
 200717c:	40 00 0f 3d 	call  200ae70 <_Watchdog_Insert>               
 2007180:	90 12 20 00 	mov  %o0, %o0	! 2021c00 <_Watchdog_Ticks_chain>
 2007184:	30 80 00 02 	b,a   200718c <_Rate_monotonic_Timeout+0xa8>   
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 2007188:	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;                                
 200718c:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 2007190:	c4 00 63 20 	ld  [ %g1 + 0x320 ], %g2	! 2021b20 <_Thread_Dispatch_disable_level>
 2007194:	84 00 bf ff 	add  %g2, -1, %g2                              
 2007198:	c4 20 63 20 	st  %g2, [ %g1 + 0x320 ]                       
 200719c:	81 c7 e0 08 	ret                                            
 20071a0:	81 e8 00 00 	restore                                        
                                                                      

02006af4 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 2006af4:	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();                 
 2006af8:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
  if ((!the_tod)                                  ||                  
 2006afc:	80 a6 20 00 	cmp  %i0, 0                                    
 2006b00:	02 80 00 2d 	be  2006bb4 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2006b04:	d2 00 61 14 	ld  [ %g1 + 0x114 ], %o1                       
      (the_tod->ticks  >= ticks_per_second)       ||                  
 2006b08:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2006b0c:	40 00 5b 17 	call  201d768 <.udiv>                          
 2006b10:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 2006b14:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2006b18:	80 a0 40 08 	cmp  %g1, %o0                                  
 2006b1c:	1a 80 00 26 	bcc  2006bb4 <_TOD_Validate+0xc0>              
 2006b20:	01 00 00 00 	nop                                            
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 2006b24:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2006b28:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 2006b2c:	18 80 00 22 	bgu  2006bb4 <_TOD_Validate+0xc0>              
 2006b30:	01 00 00 00 	nop                                            
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 2006b34:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 2006b38:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 2006b3c:	18 80 00 1e 	bgu  2006bb4 <_TOD_Validate+0xc0>              
 2006b40:	01 00 00 00 	nop                                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 2006b44:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2006b48:	80 a0 60 17 	cmp  %g1, 0x17                                 
 2006b4c:	18 80 00 1a 	bgu  2006bb4 <_TOD_Validate+0xc0>              
 2006b50:	01 00 00 00 	nop                                            
      (the_tod->month  == 0)                      ||                  
 2006b54:	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)                                  ||                  
 2006b58:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b5c:	02 80 00 16 	be  2006bb4 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2006b60:	80 a0 60 0c 	cmp  %g1, 0xc                                  
 2006b64:	18 80 00 14 	bgu  2006bb4 <_TOD_Validate+0xc0>              
 2006b68:	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)          ||                  
 2006b6c:	c6 06 00 00 	ld  [ %i0 ], %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)                                  ||                  
 2006b70:	80 a0 e7 c3 	cmp  %g3, 0x7c3                                
 2006b74:	08 80 00 10 	bleu  2006bb4 <_TOD_Validate+0xc0>             
 2006b78:	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) )                                        
 2006b7c:	c4 06 20 08 	ld  [ %i0 + 8 ], %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)                                  ||                  
 2006b80:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006b84:	02 80 00 0c 	be  2006bb4 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2006b88:	80 88 e0 03 	btst  3, %g3                                   
 2006b8c:	07 00 80 80 	sethi  %hi(0x2020000), %g3                     
      (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 )                                     
 2006b90:	12 80 00 03 	bne  2006b9c <_TOD_Validate+0xa8>              
 2006b94:	86 10 e0 4c 	or  %g3, 0x4c, %g3	! 202004c <_TOD_Days_per_month>
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 2006b98:	82 00 60 0d 	add  %g1, 0xd, %g1                             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 2006b9c:	83 28 60 02 	sll  %g1, 2, %g1                               
 2006ba0:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
 2006ba4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006ba8:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 2006bac:	81 c7 e0 08 	ret                                            
 2006bb0:	81 e8 00 00 	restore                                        
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 2006bb4:	81 c7 e0 08 	ret                                            
 2006bb8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02007614 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 2007614:	9d e3 bf a0 	save  %sp, -96, %sp                            
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 2007618:	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 );                                
 200761c:	40 00 04 53 	call  2008768 <_Thread_Set_transient>          
 2007620:	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 )                  
 2007624:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
 2007628:	a0 10 00 18 	mov  %i0, %l0                                  
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
 200762c:	80 a0 40 19 	cmp  %g1, %i1                                  
 2007630:	02 80 00 04 	be  2007640 <_Thread_Change_priority+0x2c>     
 2007634:	92 10 00 19 	mov  %i1, %o1                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 2007638:	40 00 03 cf 	call  2008574 <_Thread_Set_priority>           
 200763c:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  _ISR_Disable( level );                                              
 2007640:	7f ff ea dc 	call  20021b0 <sparc_disable_interrupts>       
 2007644:	01 00 00 00 	nop                                            
 2007648:	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;                                  
 200764c:	e4 04 20 10 	ld  [ %l0 + 0x10 ], %l2                        
  if ( state != STATES_TRANSIENT ) {                                  
 2007650:	80 a4 a0 04 	cmp  %l2, 4                                    
 2007654:	02 80 00 10 	be  2007694 <_Thread_Change_priority+0x80>     
 2007658:	a2 0c 60 04 	and  %l1, 4, %l1                               
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 200765c:	80 a4 60 00 	cmp  %l1, 0                                    
 2007660:	12 80 00 03 	bne  200766c <_Thread_Change_priority+0x58>    <== NEVER TAKEN
 2007664:	82 0c bf fb 	and  %l2, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 2007668:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
    _ISR_Enable( level );                                             
 200766c:	7f ff ea d5 	call  20021c0 <sparc_enable_interrupts>        
 2007670:	90 10 00 18 	mov  %i0, %o0                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 2007674:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 2007678:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 200767c:	80 8c 80 01 	btst  %l2, %g1                                 
 2007680:	02 80 00 5c 	be  20077f0 <_Thread_Change_priority+0x1dc>    
 2007684:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 2007688:	f0 04 20 44 	ld  [ %l0 + 0x44 ], %i0                        
 200768c:	40 00 03 8d 	call  20084c0 <_Thread_queue_Requeue>          
 2007690:	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 ) ) {                   
 2007694:	80 a4 60 00 	cmp  %l1, 0                                    
 2007698:	12 80 00 1c 	bne  2007708 <_Thread_Change_priority+0xf4>    <== NEVER TAKEN
 200769c:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 20076a0:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
 20076a4:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 20076a8:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 20076ac:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 20076b0:	86 11 00 03 	or  %g4, %g3, %g3                              
 20076b4:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 20076b8:	c4 10 61 d4 	lduh  [ %g1 + 0x1d4 ], %g2                     
 20076bc:	c6 14 20 94 	lduh  [ %l0 + 0x94 ], %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 );
 20076c0:	c0 24 20 10 	clr  [ %l0 + 0x10 ]                            
 20076c4:	84 10 c0 02 	or  %g3, %g2, %g2                              
 20076c8:	c4 30 61 d4 	sth  %g2, [ %g1 + 0x1d4 ]                      
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
 20076cc:	80 8e a0 ff 	btst  0xff, %i2                                
 20076d0:	02 80 00 08 	be  20076f0 <_Thread_Change_priority+0xdc>     
 20076d4:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 20076d8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 20076dc:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 20076e0:	e0 20 40 00 	st  %l0, [ %g1 ]                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
 20076e4:	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;                                
 20076e8:	10 80 00 08 	b  2007708 <_Thread_Change_priority+0xf4>      
 20076ec:	c4 24 00 00 	st  %g2, [ %l0 ]                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 20076f0:	84 00 60 04 	add  %g1, 4, %g2                               
 20076f4:	c4 24 00 00 	st  %g2, [ %l0 ]                               
  old_last_node       = the_chain->last;                              
 20076f8:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
  the_chain->last     = the_node;                                     
 20076fc:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 2007700:	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;                                     
 2007704:	e0 20 80 00 	st  %l0, [ %g2 ]                               
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 2007708:	7f ff ea ae 	call  20021c0 <sparc_enable_interrupts>        
 200770c:	90 10 00 18 	mov  %i0, %o0                                  
 2007710:	7f ff ea a8 	call  20021b0 <sparc_disable_interrupts>       
 2007714:	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 );         
 2007718:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200771c:	c4 10 61 d4 	lduh  [ %g1 + 0x1d4 ], %g2	! 201bdd4 <_Priority_Major_bit_map>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
 2007720:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007724:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2007728:	da 00 60 74 	ld  [ %g1 + 0x74 ], %o5                        
 200772c:	87 30 a0 10 	srl  %g2, 0x10, %g3                            
 2007730:	03 00 80 68 	sethi  %hi(0x201a000), %g1                     
 2007734:	80 a0 e0 ff 	cmp  %g3, 0xff                                 
 2007738:	18 80 00 05 	bgu  200774c <_Thread_Change_priority+0x138>   
 200773c:	82 10 61 c0 	or  %g1, 0x1c0, %g1                            
 2007740:	c4 08 40 03 	ldub  [ %g1 + %g3 ], %g2                       
 2007744:	10 80 00 04 	b  2007754 <_Thread_Change_priority+0x140>     
 2007748:	84 00 a0 08 	add  %g2, 8, %g2                               
 200774c:	85 30 a0 18 	srl  %g2, 0x18, %g2                            
 2007750:	c4 08 40 02 	ldub  [ %g1 + %g2 ], %g2                       
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 2007754:	83 28 a0 10 	sll  %g2, 0x10, %g1                            
 2007758:	07 00 80 6f 	sethi  %hi(0x201bc00), %g3                     
 200775c:	83 30 60 0f 	srl  %g1, 0xf, %g1                             
 2007760:	86 10 e2 50 	or  %g3, 0x250, %g3                            
 2007764:	c6 10 c0 01 	lduh  [ %g3 + %g1 ], %g3                       
 2007768:	03 00 80 68 	sethi  %hi(0x201a000), %g1                     
 200776c:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2007770:	89 30 e0 10 	srl  %g3, 0x10, %g4                            
 2007774:	80 a1 20 ff 	cmp  %g4, 0xff                                 
 2007778:	18 80 00 05 	bgu  200778c <_Thread_Change_priority+0x178>   
 200777c:	82 10 61 c0 	or  %g1, 0x1c0, %g1                            
 2007780:	c2 08 40 04 	ldub  [ %g1 + %g4 ], %g1                       
 2007784:	10 80 00 04 	b  2007794 <_Thread_Change_priority+0x180>     
 2007788:	82 00 60 08 	add  %g1, 8, %g1                               
 200778c:	87 30 e0 18 	srl  %g3, 0x18, %g3                            
 2007790:	c2 08 40 03 	ldub  [ %g1 + %g3 ], %g1                       
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 2007794:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2007798:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 200779c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 20077a0:	85 30 a0 0c 	srl  %g2, 0xc, %g2                             
 20077a4:	84 00 40 02 	add  %g1, %g2, %g2                             
 20077a8:	83 28 a0 04 	sll  %g2, 4, %g1                               
 20077ac:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20077b0:	84 20 40 02 	sub  %g1, %g2, %g2                             
 20077b4:	c4 03 40 02 	ld  [ %o5 + %g2 ], %g2                         
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 20077b8:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20077bc:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1	! 201bde0 <_Thread_Executing>
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 20077c0:	07 00 80 6f 	sethi  %hi(0x201bc00), %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() &&                       
 20077c4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20077c8:	02 80 00 08 	be  20077e8 <_Thread_Change_priority+0x1d4>    
 20077cc:	c4 20 e1 b0 	st  %g2, [ %g3 + 0x1b0 ]                       
       _Thread_Executing->is_preemptible )                            
 20077d0:	c2 08 60 75 	ldub  [ %g1 + 0x75 ], %g1                      
 20077d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20077d8:	02 80 00 04 	be  20077e8 <_Thread_Change_priority+0x1d4>    
 20077dc:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 20077e0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20077e4:	c4 28 61 f0 	stb  %g2, [ %g1 + 0x1f0 ]	! 201bdf0 <_Context_Switch_necessary>
  _ISR_Enable( level );                                               
 20077e8:	7f ff ea 76 	call  20021c0 <sparc_enable_interrupts>        
 20077ec:	81 e8 00 00 	restore                                        
 20077f0:	81 c7 e0 08 	ret                                            
 20077f4:	81 e8 00 00 	restore                                        
                                                                      

020077f8 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
 20077f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 20077fc:	7f ff ea 6d 	call  20021b0 <sparc_disable_interrupts>       
 2007800:	a0 10 00 18 	mov  %i0, %l0                                  
 2007804:	b0 10 00 08 	mov  %o0, %i0                                  
    current_state = the_thread->current_state;                        
 2007808:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
                                                                      
    if ( current_state & state ) {                                    
 200780c:	80 8e 40 01 	btst  %i1, %g1                                 
 2007810:	02 80 00 2d 	be  20078c4 <_Thread_Clear_state+0xcc>         
 2007814:	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);                         
 2007818:	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 ) ) {                      
 200781c:	80 a6 60 00 	cmp  %i1, 0                                    
 2007820:	12 80 00 29 	bne  20078c4 <_Thread_Clear_state+0xcc>        
 2007824:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 2007828:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 200782c:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 2007830:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 2007834:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 2007838:	86 11 00 03 	or  %g4, %g3, %g3                              
 200783c:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2007840:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 2007844:	da 14 20 94 	lduh  [ %l0 + 0x94 ], %o5                      
 2007848:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 200784c:	07 00 80 6f 	sethi  %hi(0x201bc00), %g3                     
  old_last_node       = the_chain->last;                              
 2007850:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2007854:	c8 10 e1 d4 	lduh  [ %g3 + 0x1d4 ], %g4                     
  the_chain->last     = the_node;                                     
 2007858:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 200785c:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 2007860:	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;                                     
 2007864:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 2007868:	c2 30 e1 d4 	sth  %g1, [ %g3 + 0x1d4 ]                      
                                                                      
        _ISR_Flash( level );                                          
 200786c:	7f ff ea 55 	call  20021c0 <sparc_enable_interrupts>        
 2007870:	01 00 00 00 	nop                                            
 2007874:	7f ff ea 4f 	call  20021b0 <sparc_disable_interrupts>       
 2007878:	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 ) {
 200787c:	05 00 80 6f 	sethi  %hi(0x201bc00), %g2                     
 2007880:	c6 00 a1 b0 	ld  [ %g2 + 0x1b0 ], %g3	! 201bdb0 <_Thread_Heir>
 2007884:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2007888:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 200788c:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007890:	1a 80 00 0d 	bcc  20078c4 <_Thread_Clear_state+0xcc>        
 2007894:	07 00 80 6f 	sethi  %hi(0x201bc00), %g3                     
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
 2007898:	c6 00 e1 e0 	ld  [ %g3 + 0x1e0 ], %g3	! 201bde0 <_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;                                  
 200789c:	e0 20 a1 b0 	st  %l0, [ %g2 + 0x1b0 ]                       
          if ( _Thread_Executing->is_preemptible ||                   
 20078a0:	c4 08 e0 75 	ldub  [ %g3 + 0x75 ], %g2                      
 20078a4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20078a8:	12 80 00 05 	bne  20078bc <_Thread_Clear_state+0xc4>        
 20078ac:	84 10 20 01 	mov  1, %g2                                    
 20078b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20078b4:	12 80 00 04 	bne  20078c4 <_Thread_Clear_state+0xcc>        <== ALWAYS TAKEN
 20078b8:	01 00 00 00 	nop                                            
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
 20078bc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20078c0:	c4 28 61 f0 	stb  %g2, [ %g1 + 0x1f0 ]	! 201bdf0 <_Context_Switch_necessary>
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
 20078c4:	7f ff ea 3f 	call  20021c0 <sparc_enable_interrupts>        
 20078c8:	81 e8 00 00 	restore                                        
                                                                      

02007a7c <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2007a7c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2007a80:	90 10 00 18 	mov  %i0, %o0                                  
 2007a84:	40 00 00 7c 	call  2007c74 <_Thread_Get>                    
 2007a88:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2007a8c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007a90:	80 a0 60 00 	cmp  %g1, 0                                    
 2007a94:	12 80 00 08 	bne  2007ab4 <_Thread_Delay_ended+0x38>        <== NEVER TAKEN
 2007a98:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 2007a9c:	7f ff ff 57 	call  20077f8 <_Thread_Clear_state>            
 2007aa0:	92 12 60 18 	or  %o1, 0x18, %o1	! 10000018 <RAM_END+0xdc00018>
 2007aa4:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007aa8:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201bd20 <_Thread_Dispatch_disable_level>
 2007aac:	84 00 bf ff 	add  %g2, -1, %g2                              
 2007ab0:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
 2007ab4:	81 c7 e0 08 	ret                                            
 2007ab8:	81 e8 00 00 	restore                                        
                                                                      

02007abc <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 2007abc:	9d e3 bf 90 	save  %sp, -112, %sp                           
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
 2007ac0:	2f 00 80 6f 	sethi  %hi(0x201bc00), %l7                     
  _ISR_Disable( level );                                              
 2007ac4:	7f ff e9 bb 	call  20021b0 <sparc_disable_interrupts>       
 2007ac8:	e0 05 e1 e0 	ld  [ %l7 + 0x1e0 ], %l0	! 201bde0 <_Thread_Executing>
  while ( _Context_Switch_necessary == true ) {                       
 2007acc:	2d 00 80 6f 	sethi  %hi(0x201bc00), %l6                     
 2007ad0:	33 00 80 6f 	sethi  %hi(0x201bc00), %i1                     
    heir = _Thread_Heir;                                              
 2007ad4:	35 00 80 6f 	sethi  %hi(0x201bc00), %i2                     
#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;            
 2007ad8:	37 00 80 6f 	sethi  %hi(0x201bc00), %i3                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 2007adc:	25 00 80 6f 	sethi  %hi(0x201bc00), %l2                     
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2007ae0:	39 00 80 6f 	sethi  %hi(0x201bc00), %i4                     
#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 );                      
 2007ae4:	2b 00 80 6f 	sethi  %hi(0x201bc00), %l5                     
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
    _Thread_Executing = heir;                                         
 2007ae8:	ae 15 e1 e0 	or  %l7, 0x1e0, %l7                            
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 2007aec:	ac 15 a1 f0 	or  %l6, 0x1f0, %l6                            
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 2007af0:	b2 16 61 20 	or  %i1, 0x120, %i1                            
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
 2007af4:	b4 16 a1 b0 	or  %i2, 0x1b0, %i2                            
#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;            
 2007af8:	b6 16 e0 78 	or  %i3, 0x78, %i3                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 2007afc:	a4 14 a1 e8 	or  %l2, 0x1e8, %l2                            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2007b00:	b8 17 21 ac 	or  %i4, 0x1ac, %i4                            
 2007b04:	aa 15 61 a8 	or  %l5, 0x1a8, %l5                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 2007b08:	ba 10 20 01 	mov  1, %i5                                    
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 2007b0c:	a8 07 bf f8 	add  %fp, -8, %l4                              
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 2007b10:	10 80 00 37 	b  2007bec <_Thread_Dispatch+0x130>            
 2007b14:	a6 07 bf f0 	add  %fp, -16, %l3                             
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 2007b18:	fa 26 40 00 	st  %i5, [ %i1 ]                               
    _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 )
 2007b1c:	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;                                
 2007b20:	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 )
 2007b24:	80 a0 60 01 	cmp  %g1, 1                                    
 2007b28:	12 80 00 04 	bne  2007b38 <_Thread_Dispatch+0x7c>           
 2007b2c:	e2 25 c0 00 	st  %l1, [ %l7 ]                               
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2007b30:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2007b34:	c2 24 60 78 	st  %g1, [ %l1 + 0x78 ]                        
    _ISR_Enable( level );                                             
 2007b38:	7f ff e9 a2 	call  20021c0 <sparc_enable_interrupts>        
 2007b3c:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 2007b40:	40 00 11 1c 	call  200bfb0 <_TOD_Get_uptime>                
 2007b44:	90 10 00 14 	mov  %l4, %o0                                  
        _Timestamp_Subtract(                                          
 2007b48:	90 10 00 12 	mov  %l2, %o0                                  
 2007b4c:	92 10 00 14 	mov  %l4, %o1                                  
 2007b50:	40 00 03 e8 	call  2008af0 <_Timespec_Subtract>             
 2007b54:	94 10 00 13 	mov  %l3, %o2                                  
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
 2007b58:	90 04 20 84 	add  %l0, 0x84, %o0                            
 2007b5c:	40 00 03 cb 	call  2008a88 <_Timespec_Add_to>               
 2007b60:	92 10 00 13 	mov  %l3, %o1                                  
        _Thread_Time_of_last_context_switch = uptime;                 
 2007b64:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2007b68:	c2 07 00 00 	ld  [ %i4 ], %g1                               
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 2007b6c:	c4 24 80 00 	st  %g2, [ %l2 ]                               
 2007b70:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2007b74:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b78:	02 80 00 06 	be  2007b90 <_Thread_Dispatch+0xd4>            <== NEVER TAKEN
 2007b7c:	c4 24 a0 04 	st  %g2, [ %l2 + 4 ]                           
      executing->libc_reent = *_Thread_libc_reent;                    
 2007b80:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2007b84:	c4 24 21 64 	st  %g2, [ %l0 + 0x164 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 2007b88:	c4 04 61 64 	ld  [ %l1 + 0x164 ], %g2                       
 2007b8c:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 2007b90:	90 10 00 10 	mov  %l0, %o0                                  
 2007b94:	40 00 04 8c 	call  2008dc4 <_User_extensions_Thread_switch> 
 2007b98:	92 10 00 11 	mov  %l1, %o1                                  
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 2007b9c:	92 04 60 d8 	add  %l1, 0xd8, %o1                            
 2007ba0:	40 00 05 ba 	call  2009288 <_CPU_Context_switch>            
 2007ba4:	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) &&                           
 2007ba8:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 2007bac:	80 a0 60 00 	cmp  %g1, 0                                    
 2007bb0:	02 80 00 0d 	be  2007be4 <_Thread_Dispatch+0x128>           
 2007bb4:	01 00 00 00 	nop                                            
 2007bb8:	d0 05 40 00 	ld  [ %l5 ], %o0                               
 2007bbc:	80 a4 00 08 	cmp  %l0, %o0                                  
 2007bc0:	02 80 00 09 	be  2007be4 <_Thread_Dispatch+0x128>           
 2007bc4:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 2007bc8:	02 80 00 04 	be  2007bd8 <_Thread_Dispatch+0x11c>           
 2007bcc:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 2007bd0:	40 00 05 74 	call  20091a0 <_CPU_Context_save_fp>           
 2007bd4:	90 02 21 60 	add  %o0, 0x160, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 2007bd8:	40 00 05 8f 	call  2009214 <_CPU_Context_restore_fp>        
 2007bdc:	90 04 21 60 	add  %l0, 0x160, %o0                           
      _Thread_Allocated_fp = executing;                               
 2007be0:	e0 25 40 00 	st  %l0, [ %l5 ]                               
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
 2007be4:	7f ff e9 73 	call  20021b0 <sparc_disable_interrupts>       
 2007be8:	e0 05 c0 00 	ld  [ %l7 ], %l0                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 2007bec:	c2 0d 80 00 	ldub  [ %l6 ], %g1                             
 2007bf0:	80 a0 60 00 	cmp  %g1, 0                                    
 2007bf4:	32 bf ff c9 	bne,a   2007b18 <_Thread_Dispatch+0x5c>        
 2007bf8:	e2 06 80 00 	ld  [ %i2 ], %l1                               
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
 2007bfc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007c00:	c0 20 61 20 	clr  [ %g1 + 0x120 ]	! 201bd20 <_Thread_Dispatch_disable_level>
                                                                      
  _ISR_Enable( level );                                               
 2007c04:	7f ff e9 6f 	call  20021c0 <sparc_enable_interrupts>        
 2007c08:	01 00 00 00 	nop                                            
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
 2007c0c:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007c10:	c2 00 61 c4 	ld  [ %g1 + 0x1c4 ], %g1	! 201bdc4 <_Thread_Do_post_task_switch_extension>
 2007c14:	80 a0 60 00 	cmp  %g1, 0                                    
 2007c18:	12 80 00 06 	bne  2007c30 <_Thread_Dispatch+0x174>          
 2007c1c:	01 00 00 00 	nop                                            
       executing->do_post_task_switch_extension ) {                   
 2007c20:	c2 0c 20 74 	ldub  [ %l0 + 0x74 ], %g1                      
 2007c24:	80 a0 60 00 	cmp  %g1, 0                                    
 2007c28:	02 80 00 04 	be  2007c38 <_Thread_Dispatch+0x17c>           
 2007c2c:	01 00 00 00 	nop                                            
    executing->do_post_task_switch_extension = false;                 
    _API_extensions_Run_postswitch();                                 
 2007c30:	7f ff f9 c3 	call  200633c <_API_extensions_Run_postswitch> 
 2007c34:	c0 2c 20 74 	clrb  [ %l0 + 0x74 ]                           
 2007c38:	81 c7 e0 08 	ret                                            
 2007c3c:	81 e8 00 00 	restore                                        
                                                                      

0200e184 <_Thread_Evaluate_mode>: bool _Thread_Evaluate_mode( void ) { Thread_Control *executing; executing = _Thread_Executing;
 200e184:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e188:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1	! 201bde0 <_Thread_Executing>
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
 200e18c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200e190:	80 a0 a0 00 	cmp  %g2, 0                                    
 200e194:	12 80 00 0b 	bne  200e1c0 <_Thread_Evaluate_mode+0x3c>      <== NEVER TAKEN
 200e198:	84 10 20 01 	mov  1, %g2                                    
 200e19c:	05 00 80 6f 	sethi  %hi(0x201bc00), %g2                     
 200e1a0:	c4 00 a1 b0 	ld  [ %g2 + 0x1b0 ], %g2	! 201bdb0 <_Thread_Heir>
 200e1a4:	80 a0 40 02 	cmp  %g1, %g2                                  
 200e1a8:	02 80 00 0b 	be  200e1d4 <_Thread_Evaluate_mode+0x50>       
 200e1ac:	01 00 00 00 	nop                                            
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
 200e1b0:	c2 08 60 75 	ldub  [ %g1 + 0x75 ], %g1                      
 200e1b4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e1b8:	02 80 00 07 	be  200e1d4 <_Thread_Evaluate_mode+0x50>       <== NEVER TAKEN
 200e1bc:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 200e1c0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e1c4:	90 10 20 01 	mov  1, %o0                                    
 200e1c8:	c4 28 61 f0 	stb  %g2, [ %g1 + 0x1f0 ]                      
    return true;                                                      
 200e1cc:	81 c3 e0 08 	retl                                           
 200e1d0:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 200e1d4:	81 c3 e0 08 	retl                                           
 200e1d8:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
                                                                      

0200e1dc <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
 200e1dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 200e1e0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e1e4:	e0 00 61 e0 	ld  [ %g1 + 0x1e0 ], %l0	! 201bde0 <_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();                          
 200e1e8:	3f 00 80 38 	sethi  %hi(0x200e000), %i7                     
 200e1ec:	be 17 e1 dc 	or  %i7, 0x1dc, %i7	! 200e1dc <_Thread_Handler>
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
 200e1f0:	d0 04 20 b8 	ld  [ %l0 + 0xb8 ], %o0                        
  _ISR_Set_level(level);                                              
 200e1f4:	7f ff cf f3 	call  20021c0 <sparc_enable_interrupts>        
 200e1f8:	91 2a 20 08 	sll  %o0, 8, %o0                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 200e1fc:	03 00 80 6e 	sethi  %hi(0x201b800), %g1                     
    doneConstructors = 1;                                             
 200e200:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 200e204:	e2 08 61 d8 	ldub  [ %g1 + 0x1d8 ], %l1                     
    doneConstructors = 1;                                             
 200e208:	c4 28 61 d8 	stb  %g2, [ %g1 + 0x1d8 ]                      
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 200e20c:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 200e210:	80 a0 60 00 	cmp  %g1, 0                                    
 200e214:	02 80 00 0c 	be  200e244 <_Thread_Handler+0x68>             
 200e218:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
#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 );                      
 200e21c:	d0 00 61 a8 	ld  [ %g1 + 0x1a8 ], %o0	! 201bda8 <_Thread_Allocated_fp>
 200e220:	80 a4 00 08 	cmp  %l0, %o0                                  
 200e224:	02 80 00 08 	be  200e244 <_Thread_Handler+0x68>             
 200e228:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 200e22c:	22 80 00 06 	be,a   200e244 <_Thread_Handler+0x68>          
 200e230:	e0 20 61 a8 	st  %l0, [ %g1 + 0x1a8 ]                       
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 200e234:	7f ff eb db 	call  20091a0 <_CPU_Context_save_fp>           
 200e238:	90 02 21 60 	add  %o0, 0x160, %o0                           
        _Thread_Allocated_fp = executing;                             
 200e23c:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e240:	e0 20 61 a8 	st  %l0, [ %g1 + 0x1a8 ]	! 201bda8 <_Thread_Allocated_fp>
  /*                                                                  
   * 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 );                         
 200e244:	7f ff ea 6d 	call  2008bf8 <_User_extensions_Thread_begin>  
 200e248:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 200e24c:	7f ff e6 7d 	call  2007c40 <_Thread_Enable_dispatch>        
 200e250:	a3 2c 60 18 	sll  %l1, 0x18, %l1                            
    /*                                                                
     *  _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) */ {                 
 200e254:	80 a4 60 00 	cmp  %l1, 0                                    
 200e258:	32 80 00 05 	bne,a   200e26c <_Thread_Handler+0x90>         
 200e25c:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
      INIT_NAME ();                                                   
 200e260:	40 00 33 ac 	call  201b110 <_init>                          
 200e264:	01 00 00 00 	nop                                            
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 200e268:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
 200e26c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e270:	12 80 00 05 	bne  200e284 <_Thread_Handler+0xa8>            
 200e274:	80 a0 60 01 	cmp  %g1, 1                                    
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 200e278:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
 200e27c:	10 80 00 06 	b  200e294 <_Thread_Handler+0xb8>              
 200e280:	d0 04 20 a8 	ld  [ %l0 + 0xa8 ], %o0                        
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
 200e284:	12 80 00 07 	bne  200e2a0 <_Thread_Handler+0xc4>            <== NEVER TAKEN
 200e288:	01 00 00 00 	nop                                            
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
 200e28c:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
 200e290:	d0 04 20 a4 	ld  [ %l0 + 0xa4 ], %o0                        
 200e294:	9f c0 40 00 	call  %g1                                      
 200e298:	01 00 00 00 	nop                                            
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
 200e29c:	d0 24 20 28 	st  %o0, [ %l0 + 0x28 ]                        
   *  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 );                       
 200e2a0:	7f ff ea 67 	call  2008c3c <_User_extensions_Thread_exitted>
 200e2a4:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 200e2a8:	90 10 20 00 	clr  %o0                                       
 200e2ac:	92 10 20 01 	mov  1, %o1                                    
 200e2b0:	7f ff e2 8e 	call  2006ce8 <_Internal_error_Occurred>       
 200e2b4:	94 10 20 06 	mov  6, %o2                                    
                                                                      

02007d20 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 2007d20:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2007d24:	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;                             
 2007d28:	c0 26 61 68 	clr  [ %i1 + 0x168 ]                           
 2007d2c:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
 2007d30:	c0 26 61 70 	clr  [ %i1 + 0x170 ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 2007d34:	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                          
)                                                                     
{                                                                     
 2007d38:	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 ) {                                              
 2007d3c:	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                          
)                                                                     
{                                                                     
 2007d40:	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 ) {                                              
 2007d44:	12 80 00 0f 	bne  2007d80 <_Thread_Initialize+0x60>         
 2007d48:	e4 0f a0 5f 	ldub  [ %fp + 0x5f ], %l2                      
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 2007d4c:	90 10 00 19 	mov  %i1, %o0                                  
 2007d50:	40 00 02 ab 	call  20087fc <_Thread_Stack_Allocate>         
 2007d54:	92 10 00 1b 	mov  %i3, %o1                                  
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 2007d58:	80 a2 00 1b 	cmp  %o0, %i3                                  
 2007d5c:	0a 80 00 04 	bcs  2007d6c <_Thread_Initialize+0x4c>         
 2007d60:	80 a2 20 00 	cmp  %o0, 0                                    
 2007d64:	12 80 00 04 	bne  2007d74 <_Thread_Initialize+0x54>         <== ALWAYS TAKEN
 2007d68:	82 10 20 01 	mov  1, %g1                                    
 2007d6c:	81 c7 e0 08 	ret                                            
 2007d70:	91 e8 20 00 	restore  %g0, 0, %o0                           
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
 2007d74:	f4 06 60 d0 	ld  [ %i1 + 0xd0 ], %i2                        
      the_thread->Start.core_allocated_stack = true;                  
 2007d78:	10 80 00 04 	b  2007d88 <_Thread_Initialize+0x68>           
 2007d7c:	c2 2e 60 c0 	stb  %g1, [ %i1 + 0xc0 ]                       
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
 2007d80:	c0 2e 60 c0 	clrb  [ %i1 + 0xc0 ]                           
 2007d84:	90 10 00 1b 	mov  %i3, %o0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 2007d88:	f4 26 60 c8 	st  %i2, [ %i1 + 0xc8 ]                        
  the_stack->size = size;                                             
 2007d8c:	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 ) {                                                    
 2007d90:	80 8f 20 ff 	btst  0xff, %i4                                
 2007d94:	02 80 00 08 	be  2007db4 <_Thread_Initialize+0x94>          
 2007d98:	b4 10 20 00 	clr  %i2                                       
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
 2007d9c:	90 10 20 88 	mov  0x88, %o0                                 
 2007da0:	40 00 04 d7 	call  20090fc <_Workspace_Allocate>            
 2007da4:	b6 10 20 00 	clr  %i3                                       
      if ( !fp_area )                                                 
 2007da8:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2007dac:	22 80 00 42 	be,a   2007eb4 <_Thread_Initialize+0x194>      
 2007db0:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2007db4:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007db8:	d0 00 61 c0 	ld  [ %g1 + 0x1c0 ], %o0	! 201bdc0 <_Thread_Maximum_extensions>
      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;                           
 2007dbc:	f4 26 61 60 	st  %i2, [ %i1 + 0x160 ]                       
    the_thread->Start.fp_context = fp_area;                           
 2007dc0:	f4 26 60 cc 	st  %i2, [ %i1 + 0xcc ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2007dc4:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 2007dc8:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 2007dcc:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  the_watchdog->user_data = user_data;                                
 2007dd0:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2007dd4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007dd8:	02 80 00 08 	be  2007df8 <_Thread_Initialize+0xd8>          
 2007ddc:	b6 10 20 00 	clr  %i3                                       
    extensions_area = _Workspace_Allocate(                            
 2007de0:	90 02 20 01 	inc  %o0                                       
 2007de4:	40 00 04 c6 	call  20090fc <_Workspace_Allocate>            
 2007de8:	91 2a 20 02 	sll  %o0, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 2007dec:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2007df0:	22 80 00 31 	be,a   2007eb4 <_Thread_Initialize+0x194>      
 2007df4:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
 2007df8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007dfc:	02 80 00 0c 	be  2007e2c <_Thread_Initialize+0x10c>         
 2007e00:	f6 26 61 74 	st  %i3, [ %i1 + 0x174 ]                       
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
 2007e04:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007e08:	c4 00 61 c0 	ld  [ %g1 + 0x1c0 ], %g2	! 201bdc0 <_Thread_Maximum_extensions>
 2007e0c:	10 80 00 05 	b  2007e20 <_Thread_Initialize+0x100>          
 2007e10:	82 10 20 00 	clr  %g1                                       
      the_thread->extensions[i] = NULL;                               
 2007e14:	87 28 60 02 	sll  %g1, 2, %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++ )              
 2007e18:	82 00 60 01 	inc  %g1                                       
      the_thread->extensions[i] = NULL;                               
 2007e1c:	c0 21 00 03 	clr  [ %g4 + %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++ )              
 2007e20:	80 a0 40 02 	cmp  %g1, %g2                                  
 2007e24:	28 bf ff fc 	bleu,a   2007e14 <_Thread_Initialize+0xf4>     
 2007e28:	c8 06 61 74 	ld  [ %i1 + 0x174 ], %g4                       
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2007e2c:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 2007e30:	e4 2e 60 ac 	stb  %l2, [ %i1 + 0xac ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2007e34:	c2 26 60 b4 	st  %g1, [ %i1 + 0xb4 ]                        
                                                                      
  switch ( budget_algorithm ) {                                       
 2007e38:	80 a4 60 02 	cmp  %l1, 2                                    
 2007e3c:	12 80 00 05 	bne  2007e50 <_Thread_Initialize+0x130>        
 2007e40:	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;    
 2007e44:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2007e48:	c2 00 60 78 	ld  [ %g1 + 0x78 ], %g1	! 201bc78 <_Thread_Ticks_per_timeslice>
 2007e4c:	c2 26 60 78 	st  %g1, [ %i1 + 0x78 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2007e50:	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 );                       
 2007e54:	92 10 00 1d 	mov  %i5, %o1                                  
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2007e58:	c2 26 60 b8 	st  %g1, [ %i1 + 0xb8 ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2007e5c:	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 );                       
 2007e60:	90 10 00 19 	mov  %i1, %o0                                  
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2007e64:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
  the_thread->Wait.queue              = NULL;                         
 2007e68:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
  the_thread->resource_count          = 0;                            
 2007e6c:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
 2007e70:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2007e74:	40 00 01 c0 	call  2008574 <_Thread_Set_priority>           
 2007e78:	fa 26 60 bc 	st  %i5, [ %i1 + 0xbc ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007e7c:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
 2007e80:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
 2007e84:	83 28 60 02 	sll  %g1, 2, %g1                               
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2007e88:	e0 26 60 0c 	st  %l0, [ %i1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007e8c:	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 );             
 2007e90:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
 2007e94:	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 );    
 2007e98:	90 10 00 19 	mov  %i1, %o0                                  
 2007e9c:	40 00 03 8c 	call  2008ccc <_User_extensions_Thread_create> 
 2007ea0:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 2007ea4:	80 8a 20 ff 	btst  0xff, %o0                                
 2007ea8:	12 80 00 27 	bne  2007f44 <_Thread_Initialize+0x224>        
 2007eac:	01 00 00 00 	nop                                            
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
 2007eb0:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
 2007eb4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007eb8:	22 80 00 05 	be,a   2007ecc <_Thread_Initialize+0x1ac>      
 2007ebc:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
    _Workspace_Free( the_thread->libc_reent );                        
 2007ec0:	40 00 04 98 	call  2009120 <_Workspace_Free>                
 2007ec4:	01 00 00 00 	nop                                            
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
 2007ec8:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
 2007ecc:	80 a2 20 00 	cmp  %o0, 0                                    
 2007ed0:	22 80 00 05 	be,a   2007ee4 <_Thread_Initialize+0x1c4>      
 2007ed4:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2007ed8:	40 00 04 92 	call  2009120 <_Workspace_Free>                
 2007edc:	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] )                              
 2007ee0:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
 2007ee4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007ee8:	22 80 00 05 	be,a   2007efc <_Thread_Initialize+0x1dc>      
 2007eec:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2007ef0:	40 00 04 8c 	call  2009120 <_Workspace_Free>                
 2007ef4:	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] )                              
 2007ef8:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
 2007efc:	80 a2 20 00 	cmp  %o0, 0                                    
 2007f00:	02 80 00 05 	be  2007f14 <_Thread_Initialize+0x1f4>         <== ALWAYS TAKEN
 2007f04:	80 a6 e0 00 	cmp  %i3, 0                                    
      _Workspace_Free( the_thread->API_Extensions[i] );               
 2007f08:	40 00 04 86 	call  2009120 <_Workspace_Free>                <== NOT EXECUTED
 2007f0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
 2007f10:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2007f14:	02 80 00 05 	be  2007f28 <_Thread_Initialize+0x208>         
 2007f18:	80 a6 a0 00 	cmp  %i2, 0                                    
    (void) _Workspace_Free( extensions_area );                        
 2007f1c:	40 00 04 81 	call  2009120 <_Workspace_Free>                
 2007f20:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
 2007f24:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007f28:	02 80 00 05 	be  2007f3c <_Thread_Initialize+0x21c>         
 2007f2c:	90 10 00 19 	mov  %i1, %o0                                  
      (void) _Workspace_Free( fp_area );                              
 2007f30:	40 00 04 7c 	call  2009120 <_Workspace_Free>                
 2007f34:	90 10 00 1a 	mov  %i2, %o0                                  
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 2007f38:	90 10 00 19 	mov  %i1, %o0                                  
 2007f3c:	40 00 02 47 	call  2008858 <_Thread_Stack_Free>             
 2007f40:	b0 10 20 00 	clr  %i0                                       
  return false;                                                       
                                                                      
                                                                      
}                                                                     
 2007f44:	81 c7 e0 08 	ret                                            
 2007f48:	81 e8 00 00 	restore                                        
                                                                      

0200c728 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
 200c728:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 200c72c:	7f ff d7 1f 	call  20023a8 <sparc_disable_interrupts>       
 200c730:	a0 10 00 18 	mov  %i0, %l0                                  
 200c734:	b0 10 00 08 	mov  %o0, %i0                                  
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
 200c738:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
  if ( current_state & STATES_SUSPENDED ) {                           
 200c73c:	80 88 60 02 	btst  2, %g1                                   
 200c740:	02 80 00 2c 	be  200c7f0 <_Thread_Resume+0xc8>              <== NEVER TAKEN
 200c744:	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 ) ) {                        
 200c748:	80 a0 60 00 	cmp  %g1, 0                                    
 200c74c:	12 80 00 29 	bne  200c7f0 <_Thread_Resume+0xc8>             
 200c750:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 200c754:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 200c758:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 200c75c:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 200c760:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 200c764:	86 11 00 03 	or  %g4, %g3, %g3                              
 200c768:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 200c76c:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 200c770:	da 14 20 94 	lduh  [ %l0 + 0x94 ], %o5                      
 200c774:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 200c778:	07 00 80 86 	sethi  %hi(0x2021800), %g3                     
  old_last_node       = the_chain->last;                              
 200c77c:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 200c780:	c8 10 e3 34 	lduh  [ %g3 + 0x334 ], %g4                     
  the_chain->last     = the_node;                                     
 200c784:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 200c788:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 200c78c:	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;                                     
 200c790:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 200c794:	c2 30 e3 34 	sth  %g1, [ %g3 + 0x334 ]                      
                                                                      
      _ISR_Flash( level );                                            
 200c798:	7f ff d7 08 	call  20023b8 <sparc_enable_interrupts>        
 200c79c:	01 00 00 00 	nop                                            
 200c7a0:	7f ff d7 02 	call  20023a8 <sparc_disable_interrupts>       
 200c7a4:	01 00 00 00 	nop                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 200c7a8:	05 00 80 86 	sethi  %hi(0x2021800), %g2                     
 200c7ac:	c6 00 a3 10 	ld  [ %g2 + 0x310 ], %g3	! 2021b10 <_Thread_Heir>
 200c7b0:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 200c7b4:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 200c7b8:	80 a0 40 03 	cmp  %g1, %g3                                  
 200c7bc:	1a 80 00 0d 	bcc  200c7f0 <_Thread_Resume+0xc8>             
 200c7c0:	07 00 80 86 	sethi  %hi(0x2021800), %g3                     
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
 200c7c4:	c6 00 e3 40 	ld  [ %g3 + 0x340 ], %g3	! 2021b40 <_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;                                    
 200c7c8:	e0 20 a3 10 	st  %l0, [ %g2 + 0x310 ]                       
        if ( _Thread_Executing->is_preemptible ||                     
 200c7cc:	c4 08 e0 75 	ldub  [ %g3 + 0x75 ], %g2                      
 200c7d0:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c7d4:	12 80 00 05 	bne  200c7e8 <_Thread_Resume+0xc0>             
 200c7d8:	84 10 20 01 	mov  1, %g2                                    
 200c7dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c7e0:	12 80 00 04 	bne  200c7f0 <_Thread_Resume+0xc8>             <== ALWAYS TAKEN
 200c7e4:	01 00 00 00 	nop                                            
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
 200c7e8:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 200c7ec:	c4 28 63 50 	stb  %g2, [ %g1 + 0x350 ]	! 2021b50 <_Context_Switch_necessary>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200c7f0:	7f ff d6 f2 	call  20023b8 <sparc_enable_interrupts>        
 200c7f4:	81 e8 00 00 	restore                                        
                                                                      

0200893c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
 200893c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
 2008940:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008944:	e0 00 61 e0 	ld  [ %g1 + 0x1e0 ], %l0	! 201bde0 <_Thread_Executing>
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
 2008948:	c2 0c 20 75 	ldub  [ %l0 + 0x75 ], %g1                      
 200894c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008950:	02 80 00 23 	be  20089dc <_Thread_Tickle_timeslice+0xa0>    
 2008954:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
 2008958:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
 200895c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008960:	12 80 00 1f 	bne  20089dc <_Thread_Tickle_timeslice+0xa0>   
 2008964:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
 2008968:	c2 04 20 7c 	ld  [ %l0 + 0x7c ], %g1                        
 200896c:	80 a0 60 01 	cmp  %g1, 1                                    
 2008970:	0a 80 00 12 	bcs  20089b8 <_Thread_Tickle_timeslice+0x7c>   
 2008974:	80 a0 60 02 	cmp  %g1, 2                                    
 2008978:	28 80 00 07 	bleu,a   2008994 <_Thread_Tickle_timeslice+0x58>
 200897c:	c2 04 20 78 	ld  [ %l0 + 0x78 ], %g1                        
 2008980:	80 a0 60 03 	cmp  %g1, 3                                    
 2008984:	12 80 00 16 	bne  20089dc <_Thread_Tickle_timeslice+0xa0>   <== NEVER TAKEN
 2008988:	01 00 00 00 	nop                                            
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
 200898c:	10 80 00 0d 	b  20089c0 <_Thread_Tickle_timeslice+0x84>     
 2008990:	c2 04 20 78 	ld  [ %l0 + 0x78 ], %g1                        
                                                                      
    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 ) {               
 2008994:	82 00 7f ff 	add  %g1, -1, %g1                              
 2008998:	80 a0 60 00 	cmp  %g1, 0                                    
 200899c:	14 80 00 07 	bg  20089b8 <_Thread_Tickle_timeslice+0x7c>    
 20089a0:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
        _Thread_Reset_timeslice();                                    
 20089a4:	40 00 0f b3 	call  200c870 <_Thread_Reset_timeslice>        
 20089a8:	01 00 00 00 	nop                                            
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
 20089ac:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20089b0:	c2 00 60 78 	ld  [ %g1 + 0x78 ], %g1	! 201bc78 <_Thread_Ticks_per_timeslice>
 20089b4:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
 20089b8:	81 c7 e0 08 	ret                                            
 20089bc:	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 )                             
 20089c0:	82 00 7f ff 	add  %g1, -1, %g1                              
 20089c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20089c8:	12 bf ff fc 	bne  20089b8 <_Thread_Tickle_timeslice+0x7c>   
 20089cc:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
	  (*executing->budget_callout)( executing );                         
 20089d0:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 20089d4:	9f c0 40 00 	call  %g1                                      
 20089d8:	90 10 00 10 	mov  %l0, %o0                                  
 20089dc:	81 c7 e0 08 	ret                                            
 20089e0:	81 e8 00 00 	restore                                        
                                                                      

020089e4 <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
 20089e4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
 20089e8:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 20089ec:	e0 00 61 e0 	ld  [ %g1 + 0x1e0 ], %l0	! 201bde0 <_Thread_Executing>
  ready     = executing->ready;                                       
  _ISR_Disable( level );                                              
 20089f0:	7f ff e5 f0 	call  20021b0 <sparc_disable_interrupts>       
 20089f4:	e2 04 20 8c 	ld  [ %l0 + 0x8c ], %l1                        
 20089f8:	b0 10 00 08 	mov  %o0, %i0                                  
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
 20089fc:	c4 04 40 00 	ld  [ %l1 ], %g2                               
 2008a00:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
 2008a04:	80 a0 80 01 	cmp  %g2, %g1                                  
 2008a08:	02 80 00 17 	be  2008a64 <_Thread_Yield_processor+0x80>     
 2008a0c:	25 00 80 6f 	sethi  %hi(0x201bc00), %l2                     
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2008a10:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 2008a14:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2008a18:	86 04 60 04 	add  %l1, 4, %g3                               
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
 2008a1c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2008a20:	c6 24 00 00 	st  %g3, [ %l0 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 2008a24:	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;                              
 2008a28:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
  the_chain->last     = the_node;                                     
 2008a2c:	e0 24 60 08 	st  %l0, [ %l1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 2008a30:	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;                                     
 2008a34:	e0 20 40 00 	st  %l0, [ %g1 ]                               
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
 2008a38:	7f ff e5 e2 	call  20021c0 <sparc_enable_interrupts>        
 2008a3c:	01 00 00 00 	nop                                            
 2008a40:	7f ff e5 dc 	call  20021b0 <sparc_disable_interrupts>       
 2008a44:	01 00 00 00 	nop                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
 2008a48:	c2 04 a1 b0 	ld  [ %l2 + 0x1b0 ], %g1                       
 2008a4c:	80 a4 00 01 	cmp  %l0, %g1                                  
 2008a50:	12 80 00 09 	bne  2008a74 <_Thread_Yield_processor+0x90>    <== NEVER TAKEN
 2008a54:	84 10 20 01 	mov  1, %g2                                    
        _Thread_Heir = (Thread_Control *) ready->first;               
 2008a58:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 2008a5c:	10 80 00 06 	b  2008a74 <_Thread_Yield_processor+0x90>      
 2008a60:	c2 24 a1 b0 	st  %g1, [ %l2 + 0x1b0 ]                       
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
 2008a64:	c2 04 a1 b0 	ld  [ %l2 + 0x1b0 ], %g1                       
 2008a68:	80 a4 00 01 	cmp  %l0, %g1                                  
 2008a6c:	02 80 00 04 	be  2008a7c <_Thread_Yield_processor+0x98>     <== ALWAYS TAKEN
 2008a70:	84 10 20 01 	mov  1, %g2                                    
      _Context_Switch_necessary = true;                               
 2008a74:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008a78:	c4 28 61 f0 	stb  %g2, [ %g1 + 0x1f0 ]	! 201bdf0 <_Context_Switch_necessary>
                                                                      
  _ISR_Enable( level );                                               
 2008a7c:	7f ff e5 d1 	call  20021c0 <sparc_enable_interrupts>        
 2008a80:	81 e8 00 00 	restore                                        
                                                                      

02008268 <_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 ) {
 2008268:	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;                        
 200826c:	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);                 
 2008270:	82 06 60 3c 	add  %i1, 0x3c, %g1                            
  the_chain->permanent_null = NULL;                                   
 2008274:	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);                 
 2008278:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 200827c:	82 06 60 38 	add  %i1, 0x38, %g1                            
 2008280:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 2008284:	2d 00 80 6c 	sethi  %hi(0x201b000), %l6                     
                                                                      
  _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 ];  
 2008288:	83 34 20 06 	srl  %l0, 6, %g1                               
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 200828c:	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 ];  
 2008290:	a7 28 60 04 	sll  %g1, 4, %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;                         
 2008294:	ac 15 a2 04 	or  %l6, 0x204, %l6                            
                                                                      
  _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 ];  
 2008298:	83 28 60 02 	sll  %g1, 2, %g1                               
  block_state  = the_thread_queue->state;                             
 200829c:	ea 06 20 38 	ld  [ %i0 + 0x38 ], %l5                        
                                                                      
  _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 ];  
 20082a0:	a6 24 c0 01 	sub  %l3, %g1, %l3                             
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 20082a4:	12 80 00 28 	bne  2008344 <_Thread_queue_Enqueue_priority+0xdc>
 20082a8:	a6 06 00 13 	add  %i0, %l3, %l3                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 20082ac:	ac 04 e0 04 	add  %l3, 4, %l6                               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
 20082b0:	7f ff e7 c0 	call  20021b0 <sparc_disable_interrupts>       
 20082b4:	01 00 00 00 	nop                                            
 20082b8:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->first;                   
 20082bc:	a8 10 3f ff 	mov  -1, %l4                                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 20082c0:	10 80 00 10 	b  2008300 <_Thread_queue_Enqueue_priority+0x98>
 20082c4:	e2 04 c0 00 	ld  [ %l3 ], %l1                               
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
 20082c8:	80 a4 00 14 	cmp  %l0, %l4                                  
 20082cc:	28 80 00 11 	bleu,a   2008310 <_Thread_queue_Enqueue_priority+0xa8>
 20082d0:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 20082d4:	7f ff e7 bb 	call  20021c0 <sparc_enable_interrupts>        
 20082d8:	90 10 00 12 	mov  %l2, %o0                                  
 20082dc:	7f ff e7 b5 	call  20021b0 <sparc_disable_interrupts>       
 20082e0:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 20082e4:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 20082e8:	80 8d 40 01 	btst  %l5, %g1                                 
 20082ec:	32 80 00 05 	bne,a   2008300 <_Thread_queue_Enqueue_priority+0x98><== ALWAYS TAKEN
 20082f0:	e2 04 40 00 	ld  [ %l1 ], %l1                               
      _ISR_Enable( level );                                           
 20082f4:	7f ff e7 b3 	call  20021c0 <sparc_enable_interrupts>        <== NOT EXECUTED
 20082f8:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
 20082fc:	30 bf ff ed 	b,a   20082b0 <_Thread_queue_Enqueue_priority+0x48><== NOT EXECUTED
                                                                      
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 ) ) {  
 2008300:	80 a4 40 16 	cmp  %l1, %l6                                  
 2008304:	32 bf ff f1 	bne,a   20082c8 <_Thread_queue_Enqueue_priority+0x60>
 2008308:	e8 04 60 14 	ld  [ %l1 + 0x14 ], %l4                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 200830c:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 2008310:	80 a0 60 01 	cmp  %g1, 1                                    
 2008314:	12 80 00 3c 	bne  2008404 <_Thread_queue_Enqueue_priority+0x19c>
 2008318:	90 10 00 12 	mov  %l2, %o0                                  
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 200831c:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008320:	02 80 00 2e 	be  20083d8 <_Thread_queue_Enqueue_priority+0x170>
 2008324:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
 2008328:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 200832c:	e2 26 40 00 	st  %l1, [ %i1 ]                               
  the_node->previous     = previous_node;                             
 2008330:	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;                          
 2008334:	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;                                  
 2008338:	f2 20 40 00 	st  %i1, [ %g1 ]                               
  search_node->previous  = the_node;                                  
 200833c:	f2 24 60 04 	st  %i1, [ %l1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 2008340:	30 80 00 2d 	b,a   20083f4 <_Thread_queue_Enqueue_priority+0x18c>
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
 2008344:	7f ff e7 9b 	call  20021b0 <sparc_disable_interrupts>       
 2008348:	e8 0d 80 00 	ldub  [ %l6 ], %l4                             
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 200834c:	a8 05 20 01 	inc  %l4                                       
                                                                      
  _ISR_Disable( level );                                              
 2008350:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 2008354:	10 80 00 10 	b  2008394 <_Thread_queue_Enqueue_priority+0x12c>
 2008358:	e2 04 e0 08 	ld  [ %l3 + 8 ], %l1                           
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
 200835c:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008360:	3a 80 00 11 	bcc,a   20083a4 <_Thread_queue_Enqueue_priority+0x13c>
 2008364:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 2008368:	7f ff e7 96 	call  20021c0 <sparc_enable_interrupts>        
 200836c:	90 10 00 12 	mov  %l2, %o0                                  
 2008370:	7f ff e7 90 	call  20021b0 <sparc_disable_interrupts>       
 2008374:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 2008378:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 200837c:	80 8d 40 01 	btst  %l5, %g1                                 
 2008380:	32 80 00 05 	bne,a   2008394 <_Thread_queue_Enqueue_priority+0x12c>
 2008384:	e2 04 60 04 	ld  [ %l1 + 4 ], %l1                           
      _ISR_Enable( level );                                           
 2008388:	7f ff e7 8e 	call  20021c0 <sparc_enable_interrupts>        
 200838c:	90 10 00 12 	mov  %l2, %o0                                  
      goto restart_reverse_search;                                    
 2008390:	30 bf ff ed 	b,a   2008344 <_Thread_queue_Enqueue_priority+0xdc>
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 ) ) {  
 2008394:	80 a4 40 13 	cmp  %l1, %l3                                  
 2008398:	32 bf ff f1 	bne,a   200835c <_Thread_queue_Enqueue_priority+0xf4>
 200839c:	e8 04 60 14 	ld  [ %l1 + 0x14 ], %l4                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 20083a0:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 20083a4:	80 a0 60 01 	cmp  %g1, 1                                    
 20083a8:	12 80 00 17 	bne  2008404 <_Thread_queue_Enqueue_priority+0x19c>
 20083ac:	90 10 00 12 	mov  %l2, %o0                                  
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 20083b0:	80 a4 00 14 	cmp  %l0, %l4                                  
 20083b4:	02 80 00 09 	be  20083d8 <_Thread_queue_Enqueue_priority+0x170>
 20083b8:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
 20083bc:	c2 04 40 00 	ld  [ %l1 ], %g1                               
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
 20083c0:	e2 26 60 04 	st  %l1, [ %i1 + 4 ]                           
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
 20083c4:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 20083c8:	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;                                 
 20083cc:	f2 24 40 00 	st  %i1, [ %l1 ]                               
  next_node->previous    = the_node;                                  
 20083d0:	f2 20 60 04 	st  %i1, [ %g1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 20083d4:	30 80 00 08 	b,a   20083f4 <_Thread_queue_Enqueue_priority+0x18c>
 20083d8:	a2 04 60 3c 	add  %l1, 0x3c, %l1                            
  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;                              
 20083dc:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 20083e0:	e2 26 40 00 	st  %l1, [ %i1 ]                               
  the_node->previous     = previous_node;                             
 20083e4:	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;                          
 20083e8:	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;                                  
 20083ec:	f2 20 40 00 	st  %i1, [ %g1 ]                               
  search_node->previous  = the_node;                                  
 20083f0:	f2 24 60 04 	st  %i1, [ %l1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 20083f4:	7f ff e7 73 	call  20021c0 <sparc_enable_interrupts>        
 20083f8:	b0 10 20 01 	mov  1, %i0                                    
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 20083fc:	81 c7 e0 08 	ret                                            
 2008400:	81 e8 00 00 	restore                                        
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
 2008404:	f0 06 20 30 	ld  [ %i0 + 0x30 ], %i0                        
   *  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;                                                   
 2008408:	d0 26 80 00 	st  %o0, [ %i2 ]                               
  return the_thread_queue->sync_state;                                
}                                                                     
 200840c:	81 c7 e0 08 	ret                                            
 2008410:	81 e8 00 00 	restore                                        
                                                                      

020084c0 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 20084c0:	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 )                                            
 20084c4:	80 a6 20 00 	cmp  %i0, 0                                    
 20084c8:	02 80 00 19 	be  200852c <_Thread_queue_Requeue+0x6c>       <== NEVER TAKEN
 20084cc:	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 ) {
 20084d0:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
 20084d4:	80 a4 60 01 	cmp  %l1, 1                                    
 20084d8:	12 80 00 15 	bne  200852c <_Thread_queue_Requeue+0x6c>      <== NEVER TAKEN
 20084dc:	01 00 00 00 	nop                                            
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 20084e0:	7f ff e7 34 	call  20021b0 <sparc_disable_interrupts>       
 20084e4:	01 00 00 00 	nop                                            
 20084e8:	a0 10 00 08 	mov  %o0, %l0                                  
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 20084ec:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
 20084f0:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 20084f4:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 20084f8:	80 88 80 01 	btst  %g2, %g1                                 
 20084fc:	02 80 00 0a 	be  2008524 <_Thread_queue_Requeue+0x64>       <== NEVER TAKEN
 2008500:	94 10 20 01 	mov  1, %o2                                    
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
 2008504:	90 10 00 18 	mov  %i0, %o0                                  
 2008508:	92 10 00 19 	mov  %i1, %o1                                  
 200850c:	40 00 10 37 	call  200c5e8 <_Thread_queue_Extract_priority_helper>
 2008510:	e2 26 20 30 	st  %l1, [ %i0 + 0x30 ]                        
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 2008514:	90 10 00 18 	mov  %i0, %o0                                  
 2008518:	92 10 00 19 	mov  %i1, %o1                                  
 200851c:	7f ff ff 53 	call  2008268 <_Thread_queue_Enqueue_priority> 
 2008520:	94 07 bf fc 	add  %fp, -4, %o2                              
    }                                                                 
    _ISR_Enable( level );                                             
 2008524:	7f ff e7 27 	call  20021c0 <sparc_enable_interrupts>        
 2008528:	90 10 00 10 	mov  %l0, %o0                                  
 200852c:	81 c7 e0 08 	ret                                            
 2008530:	81 e8 00 00 	restore                                        
                                                                      

02008534 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2008534:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008538:	90 10 00 18 	mov  %i0, %o0                                  
 200853c:	7f ff fd ce 	call  2007c74 <_Thread_Get>                    
 2008540:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008544:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008548:	80 a0 60 00 	cmp  %g1, 0                                    
 200854c:	12 80 00 08 	bne  200856c <_Thread_queue_Timeout+0x38>      <== NEVER TAKEN
 2008550:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2008554:	40 00 10 5d 	call  200c6c8 <_Thread_queue_Process_timeout>  
 2008558:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 200855c:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008560:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201bd20 <_Thread_Dispatch_disable_level>
 2008564:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008568:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
 200856c:	81 c7 e0 08 	ret                                            
 2008570:	81 e8 00 00 	restore                                        
                                                                      

02015554 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 2015554:	9d e3 bf 88 	save  %sp, -120, %sp                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2015558:	35 00 80 f2 	sethi  %hi(0x203c800), %i2                     
 201555c:	b2 07 bf f4 	add  %fp, -12, %i1                             
 2015560:	ac 07 bf f8 	add  %fp, -8, %l6                              
 2015564:	a2 07 bf e8 	add  %fp, -24, %l1                             
 2015568:	a6 07 bf ec 	add  %fp, -20, %l3                             
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 201556c:	37 00 80 f2 	sethi  %hi(0x203c800), %i3                     
 2015570:	2b 00 80 f2 	sethi  %hi(0x203c800), %l5                     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 2015574:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2015578:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  the_chain->last           = _Chain_Head(the_chain);                 
 201557c:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2015580:	ec 27 bf f4 	st  %l6, [ %fp + -12 ]                         
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2015584:	e2 27 bf f0 	st  %l1, [ %fp + -16 ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2015588:	e6 27 bf e8 	st  %l3, [ %fp + -24 ]                         
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 201558c:	b4 16 a2 04 	or  %i2, 0x204, %i2                            
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2015590:	b6 16 e1 44 	or  %i3, 0x144, %i3                            
 2015594:	aa 15 60 b0 	or  %l5, 0xb0, %l5                             
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2015598:	a8 06 20 30 	add  %i0, 0x30, %l4                            
    /*                                                                
     *  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 );
 201559c:	a4 06 20 68 	add  %i0, 0x68, %l2                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 20155a0:	b8 06 20 08 	add  %i0, 8, %i4                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 20155a4:	ba 06 20 40 	add  %i0, 0x40, %i5                            
        _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;                                              
 20155a8:	ae 10 20 01 	mov  1, %l7                                    
{                                                                     
  /*                                                                  
   *  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;                                    
 20155ac:	f2 26 20 78 	st  %i1, [ %i0 + 0x78 ]                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 20155b0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 20155b4:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 20155b8:	94 10 00 11 	mov  %l1, %o2                                  
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 20155bc:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 20155c0:	92 20 40 09 	sub  %g1, %o1, %o1                             
 20155c4:	40 00 11 a5 	call  2019c58 <_Watchdog_Adjust_to_chain>      
 20155c8:	90 10 00 14 	mov  %l4, %o0                                  
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 20155cc:	d4 06 20 74 	ld  [ %i0 + 0x74 ], %o2                        
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 20155d0:	e0 06 c0 00 	ld  [ %i3 ], %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 ) {                                   
 20155d4:	80 a4 00 0a 	cmp  %l0, %o2                                  
 20155d8:	08 80 00 06 	bleu  20155f0 <_Timer_server_Body+0x9c>        
 20155dc:	92 24 00 0a 	sub  %l0, %o2, %o1                             
    /*                                                                
     *  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 );
 20155e0:	90 10 00 12 	mov  %l2, %o0                                  
 20155e4:	40 00 11 9d 	call  2019c58 <_Watchdog_Adjust_to_chain>      
 20155e8:	94 10 00 11 	mov  %l1, %o2                                  
 20155ec:	30 80 00 06 	b,a   2015604 <_Timer_server_Body+0xb0>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 20155f0:	1a 80 00 05 	bcc  2015604 <_Timer_server_Body+0xb0>         
 20155f4:	94 22 80 10 	sub  %o2, %l0, %o2                             
     /*                                                               
      *  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 ); 
 20155f8:	90 10 00 12 	mov  %l2, %o0                                  
 20155fc:	40 00 11 70 	call  2019bbc <_Watchdog_Adjust>               
 2015600:	92 10 20 01 	mov  1, %o1                                    
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2015604:	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 );
 2015608:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 201560c:	40 00 02 7e 	call  2016004 <_Chain_Get>                     
 2015610:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 2015614:	80 a2 20 00 	cmp  %o0, 0                                    
 2015618:	02 80 00 0f 	be  2015654 <_Timer_server_Body+0x100>         
 201561c:	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 ) {                 
 2015620:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2015624:	80 a0 60 01 	cmp  %g1, 1                                    
 2015628:	12 80 00 05 	bne  201563c <_Timer_server_Body+0xe8>         
 201562c:	80 a0 60 03 	cmp  %g1, 3                                    
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 2015630:	92 02 20 10 	add  %o0, 0x10, %o1                            
 2015634:	10 80 00 05 	b  2015648 <_Timer_server_Body+0xf4>           
 2015638:	90 10 00 14 	mov  %l4, %o0                                  
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 201563c:	12 bf ff f3 	bne  2015608 <_Timer_server_Body+0xb4>         <== NEVER TAKEN
 2015640:	92 02 20 10 	add  %o0, 0x10, %o1                            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 2015644:	90 10 00 12 	mov  %l2, %o0                                  
 2015648:	40 00 11 b9 	call  2019d2c <_Watchdog_Insert>               
 201564c:	01 00 00 00 	nop                                            
 2015650:	30 bf ff ee 	b,a   2015608 <_Timer_server_Body+0xb4>        
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 2015654:	7f ff e5 06 	call  200ea6c <sparc_disable_interrupts>       
 2015658:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 201565c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2015660:	80 a0 40 16 	cmp  %g1, %l6                                  
 2015664:	12 80 00 0a 	bne  201568c <_Timer_server_Body+0x138>        <== NEVER TAKEN
 2015668:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
 201566c:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 2015670:	7f ff e5 03 	call  200ea7c <sparc_enable_interrupts>        
 2015674:	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 ) ) {                          
 2015678:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 201567c:	80 a0 40 13 	cmp  %g1, %l3                                  
 2015680:	12 80 00 06 	bne  2015698 <_Timer_server_Body+0x144>        
 2015684:	01 00 00 00 	nop                                            
 2015688:	30 80 00 1a 	b,a   20156f0 <_Timer_server_Body+0x19c>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 201568c:	7f ff e4 fc 	call  200ea7c <sparc_enable_interrupts>        <== NOT EXECUTED
 2015690:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2015694:	30 bf ff c7 	b,a   20155b0 <_Timer_server_Body+0x5c>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 2015698:	7f ff e4 f5 	call  200ea6c <sparc_disable_interrupts>       
 201569c:	01 00 00 00 	nop                                            
 20156a0:	84 10 00 08 	mov  %o0, %g2                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 20156a4:	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))                                   
 20156a8:	80 a4 00 13 	cmp  %l0, %l3                                  
 20156ac:	02 80 00 0e 	be  20156e4 <_Timer_server_Body+0x190>         
 20156b0:	80 a4 20 00 	cmp  %l0, 0                                    
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
 20156b4:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  the_chain->first    = new_first;                                    
 20156b8:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
 20156bc:	02 80 00 0a 	be  20156e4 <_Timer_server_Body+0x190>         <== NEVER TAKEN
 20156c0:	e2 20 60 04 	st  %l1, [ %g1 + 4 ]                           
          watchdog->state = WATCHDOG_INACTIVE;                        
 20156c4:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
          _ISR_Enable( level );                                       
 20156c8:	7f ff e4 ed 	call  200ea7c <sparc_enable_interrupts>        
 20156cc:	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 );    
 20156d0:	d2 04 20 24 	ld  [ %l0 + 0x24 ], %o1                        
 20156d4:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 20156d8:	9f c0 40 00 	call  %g1                                      
 20156dc:	d0 04 20 20 	ld  [ %l0 + 0x20 ], %o0                        
      }                                                               
 20156e0:	30 bf ff ee 	b,a   2015698 <_Timer_server_Body+0x144>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 20156e4:	7f ff e4 e6 	call  200ea7c <sparc_enable_interrupts>        
 20156e8:	90 10 00 02 	mov  %g2, %o0                                  
 20156ec:	30 bf ff b0 	b,a   20155ac <_Timer_server_Body+0x58>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 20156f0:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
 20156f4:	c2 05 40 00 	ld  [ %l5 ], %g1                               
 20156f8:	82 00 60 01 	inc  %g1                                       
 20156fc:	c2 25 40 00 	st  %g1, [ %l5 ]                               
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 2015700:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2015704:	40 00 0e 8b 	call  2019130 <_Thread_Set_state>              
 2015708:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 201570c:	7f ff ff 68 	call  20154ac <_Timer_server_Reset_interval_system_watchdog>
 2015710:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 2015714:	7f ff ff 7b 	call  2015500 <_Timer_server_Reset_tod_system_watchdog>
 2015718:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 201571c:	40 00 0b af 	call  20185d8 <_Thread_Enable_dispatch>        
 2015720:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2015724:	90 10 00 1c 	mov  %i4, %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;                                              
 2015728:	ee 2e 20 7c 	stb  %l7, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 201572c:	40 00 11 dd 	call  2019ea0 <_Watchdog_Remove>               
 2015730:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2015734:	40 00 11 db 	call  2019ea0 <_Watchdog_Remove>               
 2015738:	90 10 00 1d 	mov  %i5, %o0                                  
 201573c:	30 bf ff 9c 	b,a   20155ac <_Timer_server_Body+0x58>        
                                                                      

0200b004 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200b004:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200b008:	7f ff e0 54 	call  2003158 <sparc_disable_interrupts>       
 200b00c:	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));                
 200b010:	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;                  
 200b014:	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 ) ) {                                 
 200b018:	80 a0 40 11 	cmp  %g1, %l1                                  
 200b01c:	02 80 00 1e 	be  200b094 <_Watchdog_Adjust+0x90>            
 200b020:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200b024:	02 80 00 19 	be  200b088 <_Watchdog_Adjust+0x84>            
 200b028:	a4 10 20 01 	mov  1, %l2                                    
 200b02c:	80 a6 60 01 	cmp  %i1, 1                                    
 200b030:	12 80 00 19 	bne  200b094 <_Watchdog_Adjust+0x90>           <== NEVER TAKEN
 200b034:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200b038:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200b03c:	10 80 00 07 	b  200b058 <_Watchdog_Adjust+0x54>             
 200b040:	b4 00 80 1a 	add  %g2, %i2, %i2                             
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200b044:	f2 00 60 10 	ld  [ %g1 + 0x10 ], %i1                        
 200b048:	80 a6 80 19 	cmp  %i2, %i1                                  
 200b04c:	3a 80 00 05 	bcc,a   200b060 <_Watchdog_Adjust+0x5c>        
 200b050:	e4 20 60 10 	st  %l2, [ %g1 + 0x10 ]                        
            _Watchdog_First( header )->delta_interval -= units;       
 200b054:	b4 26 40 1a 	sub  %i1, %i2, %i2                             
            break;                                                    
 200b058:	10 80 00 0f 	b  200b094 <_Watchdog_Adjust+0x90>             
 200b05c:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
 200b060:	7f ff e0 42 	call  2003168 <sparc_enable_interrupts>        
 200b064:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200b068:	40 00 00 95 	call  200b2bc <_Watchdog_Tickle>               
 200b06c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200b070:	7f ff e0 3a 	call  2003158 <sparc_disable_interrupts>       
 200b074:	01 00 00 00 	nop                                            
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200b078:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 200b07c:	80 a0 40 11 	cmp  %g1, %l1                                  
 200b080:	02 80 00 05 	be  200b094 <_Watchdog_Adjust+0x90>            
 200b084:	b4 26 80 19 	sub  %i2, %i1, %i2                             
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200b088:	80 a6 a0 00 	cmp  %i2, 0                                    
 200b08c:	32 bf ff ee 	bne,a   200b044 <_Watchdog_Adjust+0x40>        <== ALWAYS TAKEN
 200b090:	c2 04 00 00 	ld  [ %l0 ], %g1                               
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200b094:	7f ff e0 35 	call  2003168 <sparc_enable_interrupts>        
 200b098:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02008f78 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 2008f78:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 2008f7c:	7f ff e4 8d 	call  20021b0 <sparc_disable_interrupts>       
 2008f80:	a0 10 00 18 	mov  %i0, %l0                                  
  previous_state = the_watchdog->state;                               
 2008f84:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           
  switch ( previous_state ) {                                         
 2008f88:	80 a6 20 01 	cmp  %i0, 1                                    
 2008f8c:	22 80 00 1e 	be,a   2009004 <_Watchdog_Remove+0x8c>         
 2008f90:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
 2008f94:	0a 80 00 1d 	bcs  2009008 <_Watchdog_Remove+0x90>           
 2008f98:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008f9c:	80 a6 20 03 	cmp  %i0, 3                                    
 2008fa0:	18 80 00 1a 	bgu  2009008 <_Watchdog_Remove+0x90>           <== NEVER TAKEN
 2008fa4:	01 00 00 00 	nop                                            
 2008fa8:	c2 04 00 00 	ld  [ %l0 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 2008fac:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 2008fb0:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2008fb4:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008fb8:	22 80 00 07 	be,a   2008fd4 <_Watchdog_Remove+0x5c>         
 2008fbc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 2008fc0:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3	! 201bc10 <_Semaphore_Information+0x20>
 2008fc4:	c4 04 20 10 	ld  [ %l0 + 0x10 ], %g2                        
 2008fc8:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2008fcc:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 2008fd0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008fd4:	c2 00 62 70 	ld  [ %g1 + 0x270 ], %g1	! 201be70 <_Watchdog_Sync_count>
 2008fd8:	80 a0 60 00 	cmp  %g1, 0                                    
 2008fdc:	22 80 00 07 	be,a   2008ff8 <_Watchdog_Remove+0x80>         
 2008fe0:	c2 04 00 00 	ld  [ %l0 ], %g1                               
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 2008fe4:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008fe8:	c4 00 61 bc 	ld  [ %g1 + 0x1bc ], %g2	! 201bdbc <_ISR_Nest_level>
 2008fec:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2008ff0:	c4 20 61 dc 	st  %g2, [ %g1 + 0x1dc ]	! 201bddc <_Watchdog_Sync_level>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2008ff4:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 2008ff8:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  next->previous = previous;                                          
  previous->next = next;                                              
 2008ffc:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 2009000:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 2009004:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 2009008:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1	! 201be74 <_Watchdog_Ticks_since_boot>
 200900c:	c2 24 20 18 	st  %g1, [ %l0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 2009010:	7f ff e4 6c 	call  20021c0 <sparc_enable_interrupts>        
 2009014:	01 00 00 00 	nop                                            
  return( previous_state );                                           
}                                                                     
 2009018:	81 c7 e0 08 	ret                                            
 200901c:	81 e8 00 00 	restore                                        
                                                                      

0200a7b0 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200a7b0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200a7b4:	7f ff e1 37 	call  2002c90 <sparc_disable_interrupts>       
 200a7b8:	a0 10 00 18 	mov  %i0, %l0                                  
 200a7bc:	b0 10 00 08 	mov  %o0, %i0                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200a7c0:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 200a7c4:	94 10 00 19 	mov  %i1, %o2                                  
 200a7c8:	90 12 21 18 	or  %o0, 0x118, %o0                            
 200a7cc:	7f ff e5 f2 	call  2003f94 <printk>                         
 200a7d0:	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));                
 200a7d4:	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;                  
 200a7d8:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200a7dc:	80 a4 40 19 	cmp  %l1, %i1                                  
 200a7e0:	02 80 00 0e 	be  200a818 <_Watchdog_Report_chain+0x68>      
 200a7e4:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200a7e8:	92 10 00 11 	mov  %l1, %o1                                  
 200a7ec:	40 00 00 10 	call  200a82c <_Watchdog_Report>               
 200a7f0:	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 )                                       
 200a7f4:	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 ;                                    
 200a7f8:	80 a4 40 19 	cmp  %l1, %i1                                  
 200a7fc:	12 bf ff fc 	bne  200a7ec <_Watchdog_Report_chain+0x3c>     <== NEVER TAKEN
 200a800:	92 10 00 11 	mov  %l1, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200a804:	92 10 00 10 	mov  %l0, %o1                                  
 200a808:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 200a80c:	7f ff e5 e2 	call  2003f94 <printk>                         
 200a810:	90 12 21 30 	or  %o0, 0x130, %o0	! 201f930 <C.33.3522+0x2c> 
 200a814:	30 80 00 03 	b,a   200a820 <_Watchdog_Report_chain+0x70>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200a818:	7f ff e5 df 	call  2003f94 <printk>                         
 200a81c:	90 12 21 40 	or  %o0, 0x140, %o0                            
    }                                                                 
  _ISR_Enable( level );                                               
 200a820:	7f ff e1 20 	call  2002ca0 <sparc_enable_interrupts>        
 200a824:	81 e8 00 00 	restore                                        
                                                                      

02005a74 <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
 2005a74:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
 2005a78:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 2005a7c:	02 80 00 07 	be  2005a98 <adjtime+0x24>                     
 2005a80:	03 00 03 d0 	sethi  %hi(0xf4000), %g1                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
 2005a84:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
 2005a88:	82 10 62 3f 	or  %g1, 0x23f, %g1                            
 2005a8c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005a90:	08 80 00 08 	bleu  2005ab0 <adjtime+0x3c>                   
 2005a94:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2005a98:	40 00 27 de 	call  200fa10 <__errno>                        
 2005a9c:	b0 10 3f ff 	mov  -1, %i0                                   
 2005aa0:	82 10 20 16 	mov  0x16, %g1                                 
 2005aa4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2005aa8:	81 c7 e0 08 	ret                                            
 2005aac:	81 e8 00 00 	restore                                        
                                                                      
  if ( olddelta ) {                                                   
 2005ab0:	22 80 00 05 	be,a   2005ac4 <adjtime+0x50>                  
 2005ab4:	c2 04 00 00 	ld  [ %l0 ], %g1                               
    olddelta->tv_sec  = 0;                                            
 2005ab8:	c0 26 40 00 	clr  [ %i1 ]                                   
    olddelta->tv_usec = 0;                                            
 2005abc:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 2005ac0:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2005ac4:	05 00 80 72 	sethi  %hi(0x201c800), %g2                     
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
  adjustment += delta->tv_usec;                                       
 2005ac8:	c8 04 20 04 	ld  [ %l0 + 4 ], %g4                           
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2005acc:	c6 00 a0 a4 	ld  [ %g2 + 0xa4 ], %g3                        
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 2005ad0:	9b 28 60 08 	sll  %g1, 8, %o5                               
 2005ad4:	85 28 60 03 	sll  %g1, 3, %g2                               
 2005ad8:	84 23 40 02 	sub  %o5, %g2, %g2                             
 2005adc:	9b 28 a0 06 	sll  %g2, 6, %o5                               
 2005ae0:	84 23 40 02 	sub  %o5, %g2, %g2                             
 2005ae4:	82 00 80 01 	add  %g2, %g1, %g1                             
 2005ae8:	83 28 60 06 	sll  %g1, 6, %g1                               
  adjustment += delta->tv_usec;                                       
 2005aec:	82 00 40 04 	add  %g1, %g4, %g1                             
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2005af0:	80 a0 40 03 	cmp  %g1, %g3                                  
 2005af4:	0a 80 00 35 	bcs  2005bc8 <adjtime+0x154>                   
 2005af8:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2005afc:	c4 00 60 f0 	ld  [ %g1 + 0xf0 ], %g2	! 201d4f0 <_Thread_Dispatch_disable_level>
 2005b00:	84 00 a0 01 	inc  %g2                                       
 2005b04:	c4 20 60 f0 	st  %g2, [ %g1 + 0xf0 ]                        
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
 2005b08:	40 00 06 24 	call  2007398 <_TOD_Get>                       
 2005b0c:	90 07 bf f8 	add  %fp, -8, %o0                              
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2005b10:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 2005b14:	c2 04 00 00 	ld  [ %l0 ], %g1                               
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2005b18:	c8 07 bf f8 	ld  [ %fp + -8 ], %g4                          
 2005b1c:	87 28 a0 07 	sll  %g2, 7, %g3                               
 2005b20:	88 01 00 01 	add  %g4, %g1, %g4                             
 2005b24:	83 28 a0 02 	sll  %g2, 2, %g1                               
 2005b28:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 2005b2c:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
 2005b30:	82 00 40 02 	add  %g1, %g2, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2005b34:	1b 0e e6 b2 	sethi  %hi(0x3b9ac800), %o5                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2005b38:	83 28 60 03 	sll  %g1, 3, %g1                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2005b3c:	05 31 19 4d 	sethi  %hi(0xc4653400), %g2                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2005b40:	82 00 40 03 	add  %g1, %g3, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2005b44:	9a 13 61 ff 	or  %o5, 0x1ff, %o5                            
 2005b48:	10 80 00 03 	b  2005b54 <adjtime+0xe0>                      
 2005b4c:	84 10 a2 00 	or  %g2, 0x200, %g2                            
 2005b50:	82 00 40 02 	add  %g1, %g2, %g1                             
 2005b54:	86 10 00 04 	mov  %g4, %g3                                  
 2005b58:	80 a0 40 0d 	cmp  %g1, %o5                                  
 2005b5c:	18 bf ff fd 	bgu  2005b50 <adjtime+0xdc>                    
 2005b60:	88 01 20 01 	inc  %g4                                       
      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) ) {       
 2005b64:	1b 31 19 4d 	sethi  %hi(0xc4653400), %o5                    
                                                                      
    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 ) {              
 2005b68:	09 0e e6 b2 	sethi  %hi(0x3b9ac800), %g4                    
      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) ) {       
 2005b6c:	9a 13 62 00 	or  %o5, 0x200, %o5                            
                                                                      
    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 ) {              
 2005b70:	10 80 00 03 	b  2005b7c <adjtime+0x108>                     
 2005b74:	88 11 22 00 	or  %g4, 0x200, %g4                            
 2005b78:	82 00 40 04 	add  %g1, %g4, %g1                             
 2005b7c:	84 10 00 03 	mov  %g3, %g2                                  
      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) ) {       
 2005b80:	80 a0 40 0d 	cmp  %g1, %o5                                  
 2005b84:	08 bf ff fd 	bleu  2005b78 <adjtime+0x104>                  
 2005b88:	86 00 ff ff 	add  %g3, -1, %g3                              
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
 2005b8c:	90 07 bf f8 	add  %fp, -8, %o0                              
      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) ) {       
 2005b90:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
 2005b94:	40 00 06 2d 	call  2007448 <_TOD_Set>                       
 2005b98:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
                                                                      
  _Thread_Enable_dispatch();                                          
 2005b9c:	40 00 0a fa 	call  2008784 <_Thread_Enable_dispatch>        
 2005ba0:	01 00 00 00 	nop                                            
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
 2005ba4:	80 a6 60 00 	cmp  %i1, 0                                    
 2005ba8:	02 80 00 08 	be  2005bc8 <adjtime+0x154>                    <== NEVER TAKEN
 2005bac:	01 00 00 00 	nop                                            
    *olddelta = *delta;                                               
 2005bb0:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 2005bb4:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 2005bb8:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2005bbc:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
 2005bc0:	81 c7 e0 08 	ret                                            
 2005bc4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  return 0;                                                           
}                                                                     
 2005bc8:	81 c7 e0 08 	ret                                            
 2005bcc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020059b4 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
 20059b4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 20059b8:	90 96 60 00 	orcc  %i1, 0, %o0                              
 20059bc:	12 80 00 06 	bne  20059d4 <clock_gettime+0x20>              
 20059c0:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20059c4:	40 00 29 48 	call  200fee4 <__errno>                        
 20059c8:	01 00 00 00 	nop                                            
 20059cc:	10 80 00 14 	b  2005a1c <clock_gettime+0x68>                
 20059d0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 20059d4:	12 80 00 05 	bne  20059e8 <clock_gettime+0x34>              
 20059d8:	80 a6 20 04 	cmp  %i0, 4                                    
    _TOD_Get(tp);                                                     
 20059dc:	40 00 07 c7 	call  20078f8 <_TOD_Get>                       
 20059e0:	b0 10 20 00 	clr  %i0                                       
 20059e4:	30 80 00 15 	b,a   2005a38 <clock_gettime+0x84>             
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
 20059e8:	02 80 00 04 	be  20059f8 <clock_gettime+0x44>               <== NEVER TAKEN
 20059ec:	80 a6 20 02 	cmp  %i0, 2                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
 20059f0:	12 80 00 06 	bne  2005a08 <clock_gettime+0x54>              
 20059f4:	80 a6 20 03 	cmp  %i0, 3                                    
    _TOD_Get_uptime_as_timespec( tp );                                
 20059f8:	40 00 07 df 	call  2007974 <_TOD_Get_uptime_as_timespec>    
 20059fc:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 2005a00:	81 c7 e0 08 	ret                                            
 2005a04:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
 2005a08:	12 80 00 08 	bne  2005a28 <clock_gettime+0x74>              
 2005a0c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 2005a10:	40 00 29 35 	call  200fee4 <__errno>                        
 2005a14:	01 00 00 00 	nop                                            
 2005a18:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 2005a1c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2005a20:	81 c7 e0 08 	ret                                            
 2005a24:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2005a28:	40 00 29 2f 	call  200fee4 <__errno>                        
 2005a2c:	b0 10 3f ff 	mov  -1, %i0                                   
 2005a30:	82 10 20 16 	mov  0x16, %g1                                 
 2005a34:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 2005a38:	81 c7 e0 08 	ret                                            
 2005a3c:	81 e8 00 00 	restore                                        
                                                                      

02005a40 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
 2005a40:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 2005a44:	90 96 60 00 	orcc  %i1, 0, %o0                              
 2005a48:	02 80 00 0a 	be  2005a70 <clock_settime+0x30>               <== NEVER TAKEN
 2005a4c:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2005a50:	12 80 00 15 	bne  2005aa4 <clock_settime+0x64>              
 2005a54:	80 a6 20 02 	cmp  %i0, 2                                    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
 2005a58:	c4 02 00 00 	ld  [ %o0 ], %g2                               
 2005a5c:	03 08 76 b9 	sethi  %hi(0x21dae400), %g1                    
 2005a60:	82 10 60 ff 	or  %g1, 0xff, %g1	! 21dae4ff <RAM_END+0x1f9ae4ff>
 2005a64:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005a68:	38 80 00 06 	bgu,a   2005a80 <clock_settime+0x40>           
 2005a6c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2005a70:	40 00 29 1d 	call  200fee4 <__errno>                        
 2005a74:	01 00 00 00 	nop                                            
 2005a78:	10 80 00 12 	b  2005ac0 <clock_settime+0x80>                
 2005a7c:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2005a80:	c4 00 63 b0 	ld  [ %g1 + 0x3b0 ], %g2                       
 2005a84:	84 00 a0 01 	inc  %g2                                       
 2005a88:	c4 20 63 b0 	st  %g2, [ %g1 + 0x3b0 ]                       
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
 2005a8c:	40 00 07 d0 	call  20079cc <_TOD_Set>                       
 2005a90:	b0 10 20 00 	clr  %i0                                       
    _Thread_Enable_dispatch();                                        
 2005a94:	40 00 0c 9d 	call  2008d08 <_Thread_Enable_dispatch>        
 2005a98:	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;                                                           
 2005a9c:	81 c7 e0 08 	ret                                            
 2005aa0:	81 e8 00 00 	restore                                        
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
 2005aa4:	02 80 00 04 	be  2005ab4 <clock_settime+0x74>               
 2005aa8:	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 )                        
 2005aac:	12 80 00 08 	bne  2005acc <clock_settime+0x8c>              
 2005ab0:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 2005ab4:	40 00 29 0c 	call  200fee4 <__errno>                        
 2005ab8:	01 00 00 00 	nop                                            
 2005abc:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 2005ac0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2005ac4:	81 c7 e0 08 	ret                                            
 2005ac8:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2005acc:	40 00 29 06 	call  200fee4 <__errno>                        
 2005ad0:	b0 10 3f ff 	mov  -1, %i0                                   
 2005ad4:	82 10 20 16 	mov  0x16, %g1                                 
 2005ad8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 2005adc:	81 c7 e0 08 	ret                                            
 2005ae0:	81 e8 00 00 	restore                                        
                                                                      

0200e81c <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
 200e81c:	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() )                                              
 200e820:	7f ff fb f6 	call  200d7f8 <getpid>                         
 200e824:	01 00 00 00 	nop                                            
 200e828:	80 a6 00 08 	cmp  %i0, %o0                                  
 200e82c:	02 80 00 06 	be  200e844 <killinfo+0x28>                    
 200e830:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 200e834:	40 00 01 97 	call  200ee90 <__errno>                        
 200e838:	01 00 00 00 	nop                                            
 200e83c:	10 80 00 07 	b  200e858 <killinfo+0x3c>                     
 200e840:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
 200e844:	12 80 00 08 	bne  200e864 <killinfo+0x48>                   
 200e848:	82 06 7f ff 	add  %i1, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200e84c:	40 00 01 91 	call  200ee90 <__errno>                        
 200e850:	01 00 00 00 	nop                                            
 200e854:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 200e858:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200e85c:	10 80 00 a5 	b  200eaf0 <killinfo+0x2d4>                    
 200e860:	90 10 3f ff 	mov  -1, %o0                                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 200e864:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 200e868:	18 bf ff f9 	bgu  200e84c <killinfo+0x30>                   
 200e86c:	85 2e 60 02 	sll  %i1, 2, %g2                               
    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 )          
 200e870:	87 2e 60 04 	sll  %i1, 4, %g3                               
 200e874:	86 20 c0 02 	sub  %g3, %g2, %g3                             
 200e878:	05 00 80 70 	sethi  %hi(0x201c000), %g2                     
 200e87c:	84 10 a2 b4 	or  %g2, 0x2b4, %g2	! 201c2b4 <_POSIX_signals_Vectors>
 200e880:	84 00 80 03 	add  %g2, %g3, %g2                             
 200e884:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200e888:	80 a0 a0 01 	cmp  %g2, 1                                    
 200e88c:	02 80 00 99 	be  200eaf0 <killinfo+0x2d4>                   
 200e890:	90 10 20 00 	clr  %o0                                       
  /*                                                                  
   *  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 ) )      
 200e894:	80 a6 60 04 	cmp  %i1, 4                                    
 200e898:	02 80 00 06 	be  200e8b0 <killinfo+0x94>                    
 200e89c:	80 a6 60 08 	cmp  %i1, 8                                    
 200e8a0:	02 80 00 04 	be  200e8b0 <killinfo+0x94>                    
 200e8a4:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 200e8a8:	12 80 00 08 	bne  200e8c8 <killinfo+0xac>                   
 200e8ac:	a0 10 20 01 	mov  1, %l0                                    
      return pthread_kill( pthread_self(), sig );                     
 200e8b0:	40 00 01 4f 	call  200edec <pthread_self>                   
 200e8b4:	01 00 00 00 	nop                                            
 200e8b8:	40 00 01 11 	call  200ecfc <pthread_kill>                   
 200e8bc:	92 10 00 19 	mov  %i1, %o1                                  
 200e8c0:	81 c7 e0 08 	ret                                            
 200e8c4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
 200e8c8:	f2 27 bf f4 	st  %i1, [ %fp + -12 ]                         
  siginfo->si_code = SI_USER;                                         
 200e8cc:	e0 27 bf f8 	st  %l0, [ %fp + -8 ]                          
  if ( !value ) {                                                     
 200e8d0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e8d4:	12 80 00 04 	bne  200e8e4 <killinfo+0xc8>                   
 200e8d8:	a1 2c 00 01 	sll  %l0, %g1, %l0                             
    siginfo->si_value.sival_int = 0;                                  
 200e8dc:	10 80 00 04 	b  200e8ec <killinfo+0xd0>                     
 200e8e0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  } else {                                                            
    siginfo->si_value = *value;                                       
 200e8e4:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200e8e8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
 200e8ec:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e8f0:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201bd20 <_Thread_Dispatch_disable_level>
 200e8f4:	84 00 a0 01 	inc  %g2                                       
 200e8f8:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
                                                                      
  /*                                                                  
   *  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;                                     
 200e8fc:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200e900:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1	! 201bde0 <_Thread_Executing>
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200e904:	c4 00 61 6c 	ld  [ %g1 + 0x16c ], %g2                       
 200e908:	c4 00 a0 cc 	ld  [ %g2 + 0xcc ], %g2                        
 200e90c:	80 ac 00 02 	andncc  %l0, %g2, %g0                          
 200e910:	12 80 00 4e 	bne  200ea48 <killinfo+0x22c>                  
 200e914:	07 00 80 71 	sethi  %hi(0x201c400), %g3                     
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
 200e918:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 200e91c:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2	! 201c440 <_POSIX_signals_Wait_queue>
 200e920:	10 80 00 0b 	b  200e94c <killinfo+0x130>                    
 200e924:	86 10 e0 44 	or  %g3, 0x44, %g3                             
        !_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 ];             
 200e928:	c8 00 a1 6c 	ld  [ %g2 + 0x16c ], %g4                       
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 200e92c:	80 8c 00 01 	btst  %l0, %g1                                 
 200e930:	12 80 00 46 	bne  200ea48 <killinfo+0x22c>                  
 200e934:	82 10 00 02 	mov  %g2, %g1                                  
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
 200e938:	c8 01 20 cc 	ld  [ %g4 + 0xcc ], %g4                        
 200e93c:	80 ac 00 04 	andncc  %l0, %g4, %g0                          
 200e940:	32 80 00 43 	bne,a   200ea4c <killinfo+0x230>               
 200e944:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
 200e948:	c4 00 80 00 	ld  [ %g2 ], %g2                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200e94c:	80 a0 80 03 	cmp  %g2, %g3                                  
 200e950:	32 bf ff f6 	bne,a   200e928 <killinfo+0x10c>               
 200e954:	c2 00 a0 30 	ld  [ %g2 + 0x30 ], %g1                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 200e958:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 200e95c:	c8 08 62 04 	ldub  [ %g1 + 0x204 ], %g4	! 201b204 <rtems_maximum_priority>
 200e960:	05 00 80 6f 	sethi  %hi(0x201bc00), %g2                     
 200e964:	88 01 20 01 	inc  %g4                                       
 200e968:	84 10 a0 88 	or  %g2, 0x88, %g2                             
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 200e96c:	82 10 20 00 	clr  %g1                                       
 200e970:	90 00 a0 0c 	add  %g2, 0xc, %o0                             
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 200e974:	17 04 00 00 	sethi  %hi(0x10000000), %o3                    
  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 ] )                     
 200e978:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 200e97c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e980:	22 80 00 2c 	be,a   200ea30 <killinfo+0x214>                
 200e984:	84 00 a0 04 	add  %g2, 4, %g2                               
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
 200e988:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
 200e98c:	9a 10 20 01 	mov  1, %o5                                    
 200e990:	f4 00 e0 1c 	ld  [ %g3 + 0x1c ], %i2                        
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 200e994:	10 80 00 23 	b  200ea20 <killinfo+0x204>                    
 200e998:	de 10 e0 10 	lduh  [ %g3 + 0x10 ], %o7                      
      the_thread = (Thread_Control *) object_table[ index ];          
 200e99c:	c6 06 80 03 	ld  [ %i2 + %g3 ], %g3                         
                                                                      
      if ( !the_thread )                                              
 200e9a0:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e9a4:	02 80 00 1d 	be  200ea18 <killinfo+0x1fc>                   
 200e9a8:	98 10 00 04 	mov  %g4, %o4                                  
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
 200e9ac:	d8 00 e0 14 	ld  [ %g3 + 0x14 ], %o4                        
 200e9b0:	80 a3 00 04 	cmp  %o4, %g4                                  
 200e9b4:	38 80 00 19 	bgu,a   200ea18 <killinfo+0x1fc>               
 200e9b8:	98 10 00 04 	mov  %g4, %o4                                  
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 200e9bc:	d4 00 e1 6c 	ld  [ %g3 + 0x16c ], %o2                       
 200e9c0:	d4 02 a0 cc 	ld  [ %o2 + 0xcc ], %o2                        
 200e9c4:	80 ac 00 0a 	andncc  %l0, %o2, %g0                          
 200e9c8:	22 80 00 14 	be,a   200ea18 <killinfo+0x1fc>                
 200e9cc:	98 10 00 04 	mov  %g4, %o4                                  
       *                                                              
       *  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 ) {     
 200e9d0:	80 a3 00 04 	cmp  %o4, %g4                                  
 200e9d4:	2a 80 00 11 	bcs,a   200ea18 <killinfo+0x1fc>               
 200e9d8:	82 10 00 03 	mov  %g3, %g1                                  
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
 200e9dc:	d2 00 60 10 	ld  [ %g1 + 0x10 ], %o1                        
 200e9e0:	80 a2 60 00 	cmp  %o1, 0                                    
 200e9e4:	22 80 00 0d 	be,a   200ea18 <killinfo+0x1fc>                <== NEVER TAKEN
 200e9e8:	98 10 00 04 	mov  %g4, %o4                                  <== NOT EXECUTED
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 200e9ec:	d4 00 e0 10 	ld  [ %g3 + 0x10 ], %o2                        
 200e9f0:	80 a2 a0 00 	cmp  %o2, 0                                    
 200e9f4:	22 80 00 09 	be,a   200ea18 <killinfo+0x1fc>                
 200e9f8:	82 10 00 03 	mov  %g3, %g1                                  
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 200e9fc:	80 8a 40 0b 	btst  %o1, %o3                                 
 200ea00:	32 80 00 06 	bne,a   200ea18 <killinfo+0x1fc>               
 200ea04:	98 10 00 04 	mov  %g4, %o4                                  
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
 200ea08:	80 8a 80 0b 	btst  %o2, %o3                                 
 200ea0c:	32 80 00 03 	bne,a   200ea18 <killinfo+0x1fc>               
 200ea10:	82 10 00 03 	mov  %g3, %g1                                  
 200ea14:	98 10 00 04 	mov  %g4, %o4                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 200ea18:	9a 03 60 01 	inc  %o5                                       
 200ea1c:	88 10 00 0c 	mov  %o4, %g4                                  
 200ea20:	80 a3 40 0f 	cmp  %o5, %o7                                  
 200ea24:	28 bf ff de 	bleu,a   200e99c <killinfo+0x180>              
 200ea28:	87 2b 60 02 	sll  %o5, 2, %g3                               
 200ea2c:	84 00 a0 04 	add  %g2, 4, %g2                               
   *    + 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++) {
 200ea30:	80 a0 80 08 	cmp  %g2, %o0                                  
 200ea34:	32 bf ff d2 	bne,a   200e97c <killinfo+0x160>               
 200ea38:	c6 00 80 00 	ld  [ %g2 ], %g3                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
 200ea3c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ea40:	02 80 00 0b 	be  200ea6c <killinfo+0x250>                   
 200ea44:	01 00 00 00 	nop                                            
   *  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;                   
 200ea48:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
                                                                      
  /*                                                                  
   *  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 ) ) {  
 200ea4c:	90 10 00 01 	mov  %g1, %o0                                  
   *  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;                   
 200ea50:	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 ) ) {  
 200ea54:	92 10 00 19 	mov  %i1, %o1                                  
 200ea58:	40 00 00 5d 	call  200ebcc <_POSIX_signals_Unblock_thread>  
 200ea5c:	94 07 bf f4 	add  %fp, -12, %o2                             
 200ea60:	80 8a 20 ff 	btst  0xff, %o0                                
 200ea64:	12 80 00 20 	bne  200eae4 <killinfo+0x2c8>                  
 200ea68:	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 );                         
 200ea6c:	40 00 00 47 	call  200eb88 <_POSIX_signals_Set_process_signals>
 200ea70:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
 200ea74:	83 2e 60 04 	sll  %i1, 4, %g1                               
 200ea78:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 200ea7c:	b2 20 40 19 	sub  %g1, %i1, %i1                             
 200ea80:	03 00 80 70 	sethi  %hi(0x201c000), %g1                     
 200ea84:	82 10 62 b4 	or  %g1, 0x2b4, %g1	! 201c2b4 <_POSIX_signals_Vectors>
 200ea88:	c2 00 40 19 	ld  [ %g1 + %i1 ], %g1                         
 200ea8c:	80 a0 60 02 	cmp  %g1, 2                                    
 200ea90:	12 80 00 15 	bne  200eae4 <killinfo+0x2c8>                  
 200ea94:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
 200ea98:	7f ff f4 bc 	call  200bd88 <_Chain_Get>                     
 200ea9c:	90 12 20 34 	or  %o0, 0x34, %o0	! 201c434 <_POSIX_signals_Inactive_siginfo>
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
 200eaa0:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200eaa4:	12 80 00 08 	bne  200eac4 <killinfo+0x2a8>                  
 200eaa8:	92 07 bf f4 	add  %fp, -12, %o1                             
      _Thread_Enable_dispatch();                                      
 200eaac:	7f ff e4 65 	call  2007c40 <_Thread_Enable_dispatch>        
 200eab0:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
 200eab4:	40 00 00 f7 	call  200ee90 <__errno>                        
 200eab8:	01 00 00 00 	nop                                            
 200eabc:	10 bf ff 67 	b  200e858 <killinfo+0x3c>                     
 200eac0:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 200eac4:	90 04 20 08 	add  %l0, 8, %o0                               
 200eac8:	40 00 03 2e 	call  200f780 <memcpy>                         
 200eacc:	94 10 20 0c 	mov  0xc, %o2                                  
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 200ead0:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     
 200ead4:	92 10 00 10 	mov  %l0, %o1                                  
 200ead8:	90 12 20 ac 	or  %o0, 0xac, %o0                             
 200eadc:	7f ff de 6a 	call  2006484 <_Chain_Append>                  
 200eae0:	90 02 00 19 	add  %o0, %i1, %o0                             
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
 200eae4:	7f ff e4 57 	call  2007c40 <_Thread_Enable_dispatch>        
 200eae8:	01 00 00 00 	nop                                            
 200eaec:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
  return 0;                                                           
}                                                                     
 200eaf0:	b0 10 00 08 	mov  %o0, %i0                                  
 200eaf4:	81 c7 e0 08 	ret                                            
 200eaf8:	81 e8 00 00 	restore                                        
                                                                      

0201a1a4 <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
 201a1a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
 201a1a8:	40 00 00 72 	call  201a370 <_Timespec_Is_valid>             
 201a1ac:	90 10 00 18 	mov  %i0, %o0                                  
 201a1b0:	80 8a 20 ff 	btst  0xff, %o0                                
 201a1b4:	02 80 00 0a 	be  201a1dc <nanosleep+0x38>                   
 201a1b8:	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 )                        
 201a1bc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 201a1c0:	80 a0 60 00 	cmp  %g1, 0                                    
 201a1c4:	06 80 00 06 	bl  201a1dc <nanosleep+0x38>                   <== NEVER TAKEN
 201a1c8:	01 00 00 00 	nop                                            
 201a1cc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 201a1d0:	80 a0 60 00 	cmp  %g1, 0                                    
 201a1d4:	16 80 00 06 	bge  201a1ec <nanosleep+0x48>                  <== ALWAYS TAKEN
 201a1d8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 201a1dc:	7f ff d4 56 	call  200f334 <__errno>                        
 201a1e0:	01 00 00 00 	nop                                            
 201a1e4:	10 80 00 3c 	b  201a2d4 <nanosleep+0x130>                   
 201a1e8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
 201a1ec:	7f ff ca e8 	call  200cd8c <_Timespec_To_ticks>             
 201a1f0:	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 ) {                                                     
 201a1f4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 201a1f8:	12 80 00 10 	bne  201a238 <nanosleep+0x94>                  
 201a1fc:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 201a200:	c4 00 61 a0 	ld  [ %g1 + 0x1a0 ], %g2	! 201cda0 <_Thread_Dispatch_disable_level>
 201a204:	84 00 a0 01 	inc  %g2                                       
 201a208:	c4 20 61 a0 	st  %g2, [ %g1 + 0x1a0 ]                       
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
 201a20c:	7f ff bb 0f 	call  2008e48 <_Thread_Yield_processor>        
 201a210:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 201a214:	7f ff b7 a4 	call  20080a4 <_Thread_Enable_dispatch>        
 201a218:	01 00 00 00 	nop                                            
    if ( rmtp ) {                                                     
 201a21c:	80 a6 60 00 	cmp  %i1, 0                                    
 201a220:	02 80 00 30 	be  201a2e0 <nanosleep+0x13c>                  
 201a224:	01 00 00 00 	nop                                            
       rmtp->tv_sec = 0;                                              
       rmtp->tv_nsec = 0;                                             
 201a228:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
       rmtp->tv_sec = 0;                                              
 201a22c:	c0 26 40 00 	clr  [ %i1 ]                                   
 201a230:	81 c7 e0 08 	ret                                            
 201a234:	81 e8 00 00 	restore                                        
 201a238:	c4 00 61 a0 	ld  [ %g1 + 0x1a0 ], %g2                       
 201a23c:	84 00 a0 01 	inc  %g2                                       
 201a240:	c4 20 61 a0 	st  %g2, [ %g1 + 0x1a0 ]                       
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
 201a244:	21 00 80 73 	sethi  %hi(0x201cc00), %l0                     
 201a248:	d0 04 22 60 	ld  [ %l0 + 0x260 ], %o0	! 201ce60 <_Thread_Executing>
 201a24c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
 201a250:	7f ff b9 fc 	call  2008a40 <_Thread_Set_state>              
 201a254:	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,                                      
 201a258:	c2 04 22 60 	ld  [ %l0 + 0x260 ], %g1                       
 201a25c:	11 00 80 73 	sethi  %hi(0x201cc00), %o0                     
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
 201a260:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201a264:	90 12 22 80 	or  %o0, 0x280, %o0                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 201a268:	c4 20 60 68 	st  %g2, [ %g1 + 0x68 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 201a26c:	92 00 60 48 	add  %g1, 0x48, %o1                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 201a270:	05 00 80 1f 	sethi  %hi(0x2007c00), %g2                     
 201a274:	84 10 a2 e0 	or  %g2, 0x2e0, %g2	! 2007ee0 <_Thread_Delay_ended>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 201a278:	c0 20 60 50 	clr  [ %g1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 201a27c:	c0 20 60 6c 	clr  [ %g1 + 0x6c ]                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 201a280:	f0 20 60 54 	st  %i0, [ %g1 + 0x54 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 201a284:	7f ff bc 20 	call  2009304 <_Watchdog_Insert>               
 201a288:	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();                                          
 201a28c:	7f ff b7 86 	call  20080a4 <_Thread_Enable_dispatch>        
 201a290:	01 00 00 00 	nop                                            
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
 201a294:	80 a6 60 00 	cmp  %i1, 0                                    
 201a298:	02 80 00 12 	be  201a2e0 <nanosleep+0x13c>                  
 201a29c:	c2 04 22 60 	ld  [ %l0 + 0x260 ], %g1                       
    ticks -=                                                          
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 201a2a0:	92 10 00 19 	mov  %i1, %o1                                  
  _Thread_Enable_dispatch();                                          
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    ticks -=                                                          
 201a2a4:	c4 00 60 60 	ld  [ %g1 + 0x60 ], %g2                        
 201a2a8:	c2 00 60 5c 	ld  [ %g1 + 0x5c ], %g1                        
 201a2ac:	82 20 40 02 	sub  %g1, %g2, %g1                             
 201a2b0:	b0 00 40 18 	add  %g1, %i0, %i0                             
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 201a2b4:	40 00 00 1a 	call  201a31c <_Timespec_From_ticks>           
 201a2b8:	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 )                                                  
 201a2bc:	80 a6 20 00 	cmp  %i0, 0                                    
 201a2c0:	02 80 00 08 	be  201a2e0 <nanosleep+0x13c>                  
 201a2c4:	01 00 00 00 	nop                                            
          rtems_set_errno_and_return_minus_one( EINTR );              
 201a2c8:	7f ff d4 1b 	call  200f334 <__errno>                        
 201a2cc:	01 00 00 00 	nop                                            
 201a2d0:	82 10 20 04 	mov  4, %g1	! 4 <PROM_START+0x4>               
 201a2d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201a2d8:	81 c7 e0 08 	ret                                            
 201a2dc:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 201a2e0:	81 c7 e0 08 	ret                                            
 201a2e4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200a500 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) { if ( !attr || !attr->is_initialized )
 200a500:	80 a2 20 00 	cmp  %o0, 0                                    
 200a504:	02 80 00 10 	be  200a544 <pthread_attr_setschedpolicy+0x44> 
 200a508:	01 00 00 00 	nop                                            
 200a50c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200a510:	80 a0 60 00 	cmp  %g1, 0                                    
 200a514:	02 80 00 0c 	be  200a544 <pthread_attr_setschedpolicy+0x44> 
 200a518:	80 a2 60 04 	cmp  %o1, 4                                    
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
 200a51c:	18 80 00 06 	bgu  200a534 <pthread_attr_setschedpolicy+0x34>
 200a520:	82 10 20 01 	mov  1, %g1                                    
 200a524:	83 28 40 09 	sll  %g1, %o1, %g1                             
 200a528:	80 88 60 17 	btst  0x17, %g1                                
 200a52c:	32 80 00 04 	bne,a   200a53c <pthread_attr_setschedpolicy+0x3c><== ALWAYS TAKEN
 200a530:	d2 22 20 14 	st  %o1, [ %o0 + 0x14 ]                        
 200a534:	81 c3 e0 08 	retl                                           
 200a538:	90 10 20 86 	mov  0x86, %o0                                 
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
 200a53c:	81 c3 e0 08 	retl                                           
 200a540:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200a544:	81 c3 e0 08 	retl                                           
 200a548:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02005fcc <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
 2005fcc:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
 2005fd0:	80 a6 20 00 	cmp  %i0, 0                                    
 2005fd4:	02 80 00 2e 	be  200608c <pthread_barrier_init+0xc0>        
 2005fd8:	80 a6 a0 00 	cmp  %i2, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
 2005fdc:	02 80 00 2c 	be  200608c <pthread_barrier_init+0xc0>        
 2005fe0:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2005fe4:	32 80 00 06 	bne,a   2005ffc <pthread_barrier_init+0x30>    
 2005fe8:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
 2005fec:	b2 07 bf f0 	add  %fp, -16, %i1                             
 2005ff0:	7f ff ff c0 	call  2005ef0 <pthread_barrierattr_init>       
 2005ff4:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2005ff8:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2005ffc:	80 a0 60 00 	cmp  %g1, 0                                    
 2006000:	02 80 00 23 	be  200608c <pthread_barrier_init+0xc0>        
 2006004:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2006008:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 200600c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006010:	12 80 00 1f 	bne  200608c <pthread_barrier_init+0xc0>       <== NEVER TAKEN
 2006014:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2006018:	c4 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g2	! 201d5f0 <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  the_attributes.maximum_count = count;                               
 200601c:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 2006020:	84 00 a0 01 	inc  %g2                                       
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
 2006024:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2006028:	c4 20 61 f0 	st  %g2, [ %g1 + 0x1f0 ]                       
 *  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 *)                                    
 200602c:	23 00 80 76 	sethi  %hi(0x201d800), %l1                     
 2006030:	40 00 08 28 	call  20080d0 <_Objects_Allocate>              
 2006034:	90 14 62 00 	or  %l1, 0x200, %o0	! 201da00 <_POSIX_Barrier_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
 2006038:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200603c:	12 80 00 06 	bne  2006054 <pthread_barrier_init+0x88>       
 2006040:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 2006044:	40 00 0b 9d 	call  2008eb8 <_Thread_Enable_dispatch>        
 2006048:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 200604c:	81 c7 e0 08 	ret                                            
 2006050:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 2006054:	40 00 05 b4 	call  2007724 <_CORE_barrier_Initialize>       
 2006058:	92 07 bf f8 	add  %fp, -8, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200605c:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2006060:	a2 14 62 00 	or  %l1, 0x200, %l1                            
 2006064:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2006068:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 200606c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2006070:	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;                                   
 2006074:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
 2006078:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  _Thread_Enable_dispatch();                                          
 200607c:	40 00 0b 8f 	call  2008eb8 <_Thread_Enable_dispatch>        
 2006080:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 2006084:	81 c7 e0 08 	ret                                            
 2006088:	81 e8 00 00 	restore                                        
}                                                                     
 200608c:	81 c7 e0 08 	ret                                            
 2006090:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02005788 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
 2005788:	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 )                                                     
 200578c:	80 a6 20 00 	cmp  %i0, 0                                    
 2005790:	02 80 00 12 	be  20057d8 <pthread_cleanup_push+0x50>        
 2005794:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2005798:	c4 00 62 90 	ld  [ %g1 + 0x290 ], %g2	! 201da90 <_Thread_Dispatch_disable_level>
 200579c:	84 00 a0 01 	inc  %g2                                       
 20057a0:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
 20057a4:	40 00 11 2a 	call  2009c4c <_Workspace_Allocate>            
 20057a8:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if ( handler ) {                                                    
 20057ac:	92 92 20 00 	orcc  %o0, 0, %o1                              
 20057b0:	02 80 00 08 	be  20057d0 <pthread_cleanup_push+0x48>        <== NEVER TAKEN
 20057b4:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 20057b8:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201db50 <_Thread_Executing>
                                                                      
    handler->routine = routine;                                       
 20057bc:	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;           
 20057c0:	d0 00 61 6c 	ld  [ %g1 + 0x16c ], %o0                       
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
 20057c4:	f2 22 60 0c 	st  %i1, [ %o1 + 0xc ]                         
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 20057c8:	40 00 06 06 	call  2006fe0 <_Chain_Append>                  
 20057cc:	90 02 20 e0 	add  %o0, 0xe0, %o0                            
  }                                                                   
  _Thread_Enable_dispatch();                                          
 20057d0:	40 00 0b c5 	call  20086e4 <_Thread_Enable_dispatch>        
 20057d4:	81 e8 00 00 	restore                                        
 20057d8:	81 c7 e0 08 	ret                                            
 20057dc:	81 e8 00 00 	restore                                        
                                                                      

02006888 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
 2006888:	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;                                        
 200688c:	25 00 80 73 	sethi  %hi(0x201cc00), %l2                     
 2006890:	80 a6 60 00 	cmp  %i1, 0                                    
 2006894:	02 80 00 03 	be  20068a0 <pthread_cond_init+0x18>           
 2006898:	a4 14 a1 80 	or  %l2, 0x180, %l2                            
 200689c:	a4 10 00 19 	mov  %i1, %l2                                  
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
 20068a0:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
 20068a4:	80 a0 60 01 	cmp  %g1, 1                                    
 20068a8:	02 80 00 26 	be  2006940 <pthread_cond_init+0xb8>           <== NEVER TAKEN
 20068ac:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
 20068b0:	c2 04 80 00 	ld  [ %l2 ], %g1                               
 20068b4:	80 a0 60 00 	cmp  %g1, 0                                    
 20068b8:	02 80 00 22 	be  2006940 <pthread_cond_init+0xb8>           
 20068bc:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 20068c0:	c4 00 61 30 	ld  [ %g1 + 0x130 ], %g2	! 201e930 <_Thread_Dispatch_disable_level>
 20068c4:	84 00 a0 01 	inc  %g2                                       
 20068c8:	c4 20 61 30 	st  %g2, [ %g1 + 0x130 ]                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
 20068cc:	23 00 80 7b 	sethi  %hi(0x201ec00), %l1                     
 20068d0:	40 00 09 b2 	call  2008f98 <_Objects_Allocate>              
 20068d4:	90 14 61 d8 	or  %l1, 0x1d8, %o0	! 201edd8 <_POSIX_Condition_variables_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
 20068d8:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20068dc:	32 80 00 06 	bne,a   20068f4 <pthread_cond_init+0x6c>       
 20068e0:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
    _Thread_Enable_dispatch();                                        
 20068e4:	40 00 0d 27 	call  2009d80 <_Thread_Enable_dispatch>        
 20068e8:	b0 10 20 0c 	mov  0xc, %i0                                  
    return ENOMEM;                                                    
 20068ec:	81 c7 e0 08 	ret                                            
 20068f0:	81 e8 00 00 	restore                                        
  the_cond->process_shared  = the_attr->process_shared;               
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
 20068f4:	90 04 20 18 	add  %l0, 0x18, %o0                            
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 20068f8:	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(                                           
 20068fc:	92 10 20 00 	clr  %o1                                       
 2006900:	94 10 28 00 	mov  0x800, %o2                                
 2006904:	96 10 20 74 	mov  0x74, %o3                                 
 2006908:	40 00 0f 46 	call  200a620 <_Thread_queue_Initialize>       
 200690c:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2006910:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2006914:	a2 14 61 d8 	or  %l1, 0x1d8, %l1                            
 2006918:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 200691c:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 2006920:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2006924:	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;                                   
 2006928:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
 200692c:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2006930:	40 00 0d 14 	call  2009d80 <_Thread_Enable_dispatch>        
 2006934:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
 2006938:	81 c7 e0 08 	ret                                            
 200693c:	81 e8 00 00 	restore                                        
}                                                                     
 2006940:	81 c7 e0 08 	ret                                            
 2006944:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02006700 <pthread_condattr_destroy>: int pthread_condattr_destroy( pthread_condattr_t *attr ) { if ( !attr || attr->is_initialized == false )
 2006700:	80 a2 20 00 	cmp  %o0, 0                                    
 2006704:	02 80 00 09 	be  2006728 <pthread_condattr_destroy+0x28>    
 2006708:	01 00 00 00 	nop                                            
 200670c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2006710:	80 a0 60 00 	cmp  %g1, 0                                    
 2006714:	02 80 00 05 	be  2006728 <pthread_condattr_destroy+0x28>    <== NEVER TAKEN
 2006718:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
 200671c:	c0 22 00 00 	clr  [ %o0 ]                                   
  return 0;                                                           
 2006720:	81 c3 e0 08 	retl                                           
 2006724:	90 10 20 00 	clr  %o0                                       
}                                                                     
 2006728:	81 c3 e0 08 	retl                                           
 200672c:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02005c68 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
 2005c68:	9d e3 bf 58 	save  %sp, -168, %sp                           
 2005c6c:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
 2005c70:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005c74:	02 80 00 8b 	be  2005ea0 <pthread_create+0x238>             
 2005c78:	b0 10 20 0e 	mov  0xe, %i0                                  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 2005c7c:	23 00 80 6d 	sethi  %hi(0x201b400), %l1                     
 2005c80:	80 a6 60 00 	cmp  %i1, 0                                    
 2005c84:	02 80 00 03 	be  2005c90 <pthread_create+0x28>              
 2005c88:	a2 14 60 f0 	or  %l1, 0xf0, %l1                             
 2005c8c:	a2 10 00 19 	mov  %i1, %l1                                  
                                                                      
  if ( !the_attr->is_initialized )                                    
 2005c90:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 2005c94:	80 a0 60 00 	cmp  %g1, 0                                    
 2005c98:	22 80 00 82 	be,a   2005ea0 <pthread_create+0x238>          
 2005c9c:	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) )
 2005ca0:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2005ca4:	80 a0 60 00 	cmp  %g1, 0                                    
 2005ca8:	02 80 00 07 	be  2005cc4 <pthread_create+0x5c>              
 2005cac:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005cb0:	c4 04 60 08 	ld  [ %l1 + 8 ], %g2                           
 2005cb4:	c2 00 61 84 	ld  [ %g1 + 0x184 ], %g1                       
 2005cb8:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005cbc:	2a 80 00 79 	bcs,a   2005ea0 <pthread_create+0x238>         
 2005cc0:	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 ) {                                 
 2005cc4:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2005cc8:	80 a0 60 01 	cmp  %g1, 1                                    
 2005ccc:	02 80 00 06 	be  2005ce4 <pthread_create+0x7c>              
 2005cd0:	80 a0 60 02 	cmp  %g1, 2                                    
 2005cd4:	12 80 00 73 	bne  2005ea0 <pthread_create+0x238>            
 2005cd8:	b0 10 20 16 	mov  0x16, %i0                                 
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
 2005cdc:	10 80 00 0a 	b  2005d04 <pthread_create+0x9c>               
 2005ce0:	e6 04 60 14 	ld  [ %l1 + 0x14 ], %l3                        
   *  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 ];    
 2005ce4:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 2005ce8:	c2 00 61 30 	ld  [ %g1 + 0x130 ], %g1	! 201d130 <_Thread_Executing>
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2005cec:	90 07 bf dc 	add  %fp, -36, %o0                             
   *  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 ];    
 2005cf0:	c2 00 61 6c 	ld  [ %g1 + 0x16c ], %g1                       
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2005cf4:	94 10 20 1c 	mov  0x1c, %o2                                 
 2005cf8:	92 00 60 84 	add  %g1, 0x84, %o1                            
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
 2005cfc:	10 80 00 05 	b  2005d10 <pthread_create+0xa8>               
 2005d00:	e6 00 60 80 	ld  [ %g1 + 0x80 ], %l3                        
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
 2005d04:	90 07 bf dc 	add  %fp, -36, %o0                             
 2005d08:	92 04 60 18 	add  %l1, 0x18, %o1                            
 2005d0c:	94 10 20 1c 	mov  0x1c, %o2                                 
 2005d10:	40 00 2a 1e 	call  2010588 <memcpy>                         
 2005d14:	b0 10 20 86 	mov  0x86, %i0                                 
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
 2005d18:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
 2005d1c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005d20:	12 80 00 62 	bne  2005ea8 <pthread_create+0x240>            
 2005d24:	01 00 00 00 	nop                                            
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
 2005d28:	40 00 1a c0 	call  200c828 <_POSIX_Priority_Is_valid>       
 2005d2c:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 2005d30:	80 8a 20 ff 	btst  0xff, %o0                                
 2005d34:	02 80 00 5b 	be  2005ea0 <pthread_create+0x238>             <== NEVER TAKEN
 2005d38:	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);
 2005d3c:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
 2005d40:	e8 07 bf dc 	ld  [ %fp + -36 ], %l4                         
 2005d44:	ea 08 61 88 	ldub  [ %g1 + 0x188 ], %l5                     
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
 2005d48:	90 10 00 13 	mov  %l3, %o0                                  
 2005d4c:	92 07 bf dc 	add  %fp, -36, %o1                             
 2005d50:	94 07 bf fc 	add  %fp, -4, %o2                              
 2005d54:	40 00 1a c0 	call  200c854 <_POSIX_Thread_Translate_sched_param>
 2005d58:	96 07 bf f8 	add  %fp, -8, %o3                              
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 2005d5c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005d60:	12 80 00 50 	bne  2005ea0 <pthread_create+0x238>            
 2005d64:	2d 00 80 74 	sethi  %hi(0x201d000), %l6                     
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
 2005d68:	40 00 05 fd 	call  200755c <_API_Mutex_Lock>                
 2005d6c:	d0 05 a1 28 	ld  [ %l6 + 0x128 ], %o0	! 201d128 <_RTEMS_Allocator_Mutex>
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
 2005d70:	11 00 80 74 	sethi  %hi(0x201d000), %o0                     
 2005d74:	40 00 08 63 	call  2007f00 <_Objects_Allocate>              
 2005d78:	90 12 23 00 	or  %o0, 0x300, %o0	! 201d300 <_POSIX_Threads_Information>
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
 2005d7c:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2005d80:	32 80 00 04 	bne,a   2005d90 <pthread_create+0x128>         
 2005d84:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
    _RTEMS_Unlock_allocator();                                        
 2005d88:	10 80 00 21 	b  2005e0c <pthread_create+0x1a4>              
 2005d8c:	d0 05 a1 28 	ld  [ %l6 + 0x128 ], %o0                       
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 2005d90:	05 00 80 71 	sethi  %hi(0x201c400), %g2                     
 2005d94:	d6 00 a1 84 	ld  [ %g2 + 0x184 ], %o3	! 201c584 <rtems_minimum_stack_size>
 2005d98:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 2005d9c:	97 2a e0 01 	sll  %o3, 1, %o3                               
 2005da0:	80 a2 c0 01 	cmp  %o3, %g1                                  
 2005da4:	1a 80 00 03 	bcc  2005db0 <pthread_create+0x148>            
 2005da8:	d4 04 60 04 	ld  [ %l1 + 4 ], %o2                           
 2005dac:	96 10 00 01 	mov  %g1, %o3                                  
 2005db0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2005db4:	9a 0d 60 ff 	and  %l5, 0xff, %o5                            
 2005db8:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2005dbc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2005dc0:	9a 23 40 14 	sub  %o5, %l4, %o5                             
 2005dc4:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2005dc8:	82 07 bf d4 	add  %fp, -44, %g1                             
 2005dcc:	c0 23 a0 68 	clr  [ %sp + 0x68 ]                            
 2005dd0:	a8 10 20 01 	mov  1, %l4                                    
 2005dd4:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2005dd8:	e8 23 a0 5c 	st  %l4, [ %sp + 0x5c ]                        
 2005ddc:	2b 00 80 74 	sethi  %hi(0x201d000), %l5                     
 2005de0:	92 10 00 12 	mov  %l2, %o1                                  
 2005de4:	90 15 63 00 	or  %l5, 0x300, %o0                            
 2005de8:	40 00 0c 0e 	call  2008e20 <_Thread_Initialize>             
 2005dec:	98 10 20 01 	mov  1, %o4                                    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
 2005df0:	80 8a 20 ff 	btst  0xff, %o0                                
 2005df4:	12 80 00 08 	bne  2005e14 <pthread_create+0x1ac>            
 2005df8:	90 15 63 00 	or  %l5, 0x300, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
 2005dfc:	40 00 09 1b 	call  2008268 <_Objects_Free>                  
 2005e00:	92 10 00 12 	mov  %l2, %o1                                  
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
 2005e04:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 2005e08:	d0 00 61 28 	ld  [ %g1 + 0x128 ], %o0	! 201d128 <_RTEMS_Allocator_Mutex>
 2005e0c:	10 80 00 23 	b  2005e98 <pthread_create+0x230>              
 2005e10:	b0 10 20 0b 	mov  0xb, %i0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2005e14:	ea 04 a1 6c 	ld  [ %l2 + 0x16c ], %l5                       
                                                                      
  api->Attributes  = *the_attr;                                       
 2005e18:	92 10 00 11 	mov  %l1, %o1                                  
 2005e1c:	94 10 20 3c 	mov  0x3c, %o2                                 
 2005e20:	40 00 29 da 	call  2010588 <memcpy>                         
 2005e24:	90 10 00 15 	mov  %l5, %o0                                  
  api->detachstate = the_attr->detachstate;                           
 2005e28:	c2 04 60 38 	ld  [ %l1 + 0x38 ], %g1                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2005e2c:	92 07 bf dc 	add  %fp, -36, %o1                             
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
 2005e30:	c2 25 60 3c 	st  %g1, [ %l5 + 0x3c ]                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2005e34:	94 10 20 1c 	mov  0x1c, %o2                                 
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
 2005e38:	e6 25 60 80 	st  %l3, [ %l5 + 0x80 ]                        
  api->schedparam  = schedparam;                                      
 2005e3c:	40 00 29 d3 	call  2010588 <memcpy>                         
 2005e40:	90 05 60 84 	add  %l5, 0x84, %o0                            
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2005e44:	94 10 00 1a 	mov  %i2, %o2                                  
   *  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;                   
 2005e48:	e8 2c a0 74 	stb  %l4, [ %l2 + 0x74 ]                       
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2005e4c:	96 10 00 1b 	mov  %i3, %o3                                  
 2005e50:	90 10 00 12 	mov  %l2, %o0                                  
 2005e54:	92 10 20 01 	mov  1, %o1                                    
 2005e58:	40 00 0e e6 	call  20099f0 <_Thread_Start>                  
 2005e5c:	98 10 20 00 	clr  %o4                                       
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
 2005e60:	80 a4 e0 04 	cmp  %l3, 4                                    
 2005e64:	32 80 00 0a 	bne,a   2005e8c <pthread_create+0x224>         
 2005e68:	c2 04 a0 08 	ld  [ %l2 + 8 ], %g1                           
    _Watchdog_Insert_ticks(                                           
 2005e6c:	40 00 0f 8a 	call  2009c94 <_Timespec_To_ticks>             
 2005e70:	90 05 60 8c 	add  %l5, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2005e74:	92 05 60 a4 	add  %l5, 0xa4, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2005e78:	d0 25 60 b0 	st  %o0, [ %l5 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2005e7c:	11 00 80 74 	sethi  %hi(0x201d000), %o0                     
 2005e80:	40 00 10 61 	call  200a004 <_Watchdog_Insert>               
 2005e84:	90 12 21 50 	or  %o0, 0x150, %o0	! 201d150 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2005e88:	c2 04 a0 08 	ld  [ %l2 + 8 ], %g1                           
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2005e8c:	05 00 80 74 	sethi  %hi(0x201d000), %g2                     
 2005e90:	d0 00 a1 28 	ld  [ %g2 + 0x128 ], %o0	! 201d128 <_RTEMS_Allocator_Mutex>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2005e94:	c2 24 00 00 	st  %g1, [ %l0 ]                               
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2005e98:	40 00 05 c7 	call  20075b4 <_API_Mutex_Unlock>              
 2005e9c:	01 00 00 00 	nop                                            
  return 0;                                                           
 2005ea0:	81 c7 e0 08 	ret                                            
 2005ea4:	81 e8 00 00 	restore                                        
}                                                                     
 2005ea8:	81 c7 e0 08 	ret                                            
 2005eac:	81 e8 00 00 	restore                                        
                                                                      

02005528 <pthread_mutexattr_gettype>: int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) { if ( !attr )
 2005528:	80 a2 20 00 	cmp  %o0, 0                                    
 200552c:	02 80 00 0c 	be  200555c <pthread_mutexattr_gettype+0x34>   
 2005530:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2005534:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2005538:	80 a0 60 00 	cmp  %g1, 0                                    
 200553c:	02 80 00 08 	be  200555c <pthread_mutexattr_gettype+0x34>   
 2005540:	80 a2 60 00 	cmp  %o1, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
 2005544:	02 80 00 06 	be  200555c <pthread_mutexattr_gettype+0x34>   <== NEVER TAKEN
 2005548:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 200554c:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 2005550:	90 10 20 00 	clr  %o0                                       
  return 0;                                                           
 2005554:	81 c3 e0 08 	retl                                           
 2005558:	c2 22 40 00 	st  %g1, [ %o1 ]                               
}                                                                     
 200555c:	81 c3 e0 08 	retl                                           
 2005560:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02007aec <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) { if ( !attr || !attr->is_initialized )
 2007aec:	80 a2 20 00 	cmp  %o0, 0                                    
 2007af0:	02 80 00 0b 	be  2007b1c <pthread_mutexattr_setpshared+0x30>
 2007af4:	01 00 00 00 	nop                                            
 2007af8:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2007afc:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b00:	02 80 00 07 	be  2007b1c <pthread_mutexattr_setpshared+0x30>
 2007b04:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2007b08:	18 80 00 05 	bgu  2007b1c <pthread_mutexattr_setpshared+0x30><== NEVER TAKEN
 2007b0c:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2007b10:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
 2007b14:	81 c3 e0 08 	retl                                           
 2007b18:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2007b1c:	81 c3 e0 08 	retl                                           
 2007b20:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02005590 <pthread_mutexattr_settype>: int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) { if ( !attr || !attr->is_initialized )
 2005590:	80 a2 20 00 	cmp  %o0, 0                                    
 2005594:	02 80 00 0b 	be  20055c0 <pthread_mutexattr_settype+0x30>   
 2005598:	01 00 00 00 	nop                                            
 200559c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20055a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20055a4:	02 80 00 07 	be  20055c0 <pthread_mutexattr_settype+0x30>   <== NEVER TAKEN
 20055a8:	80 a2 60 03 	cmp  %o1, 3                                    
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
 20055ac:	18 80 00 05 	bgu  20055c0 <pthread_mutexattr_settype+0x30>  
 20055b0:	01 00 00 00 	nop                                            
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
 20055b4:	d2 22 20 10 	st  %o1, [ %o0 + 0x10 ]                        
      return 0;                                                       
 20055b8:	81 c3 e0 08 	retl                                           
 20055bc:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 20055c0:	81 c3 e0 08 	retl                                           
 20055c4:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02006294 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
 2006294:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !once_control || !init_routine )                               
 2006298:	80 a6 60 00 	cmp  %i1, 0                                    
 200629c:	02 80 00 05 	be  20062b0 <pthread_once+0x1c>                
 20062a0:	a0 10 00 18 	mov  %i0, %l0                                  
 20062a4:	80 a6 20 00 	cmp  %i0, 0                                    
 20062a8:	32 80 00 04 	bne,a   20062b8 <pthread_once+0x24>            
 20062ac:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 20062b0:	81 c7 e0 08 	ret                                            
 20062b4:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
 20062b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20062bc:	12 80 00 13 	bne  2006308 <pthread_once+0x74>               
 20062c0:	b0 10 20 00 	clr  %i0                                       
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 20062c4:	90 10 21 00 	mov  0x100, %o0                                
 20062c8:	92 10 21 00 	mov  0x100, %o1                                
 20062cc:	40 00 03 03 	call  2006ed8 <rtems_task_mode>                
 20062d0:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( !once_control->init_executed ) {                             
 20062d4:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 20062d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20062dc:	12 80 00 07 	bne  20062f8 <pthread_once+0x64>               <== NEVER TAKEN
 20062e0:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      once_control->is_initialized = true;                            
 20062e4:	82 10 20 01 	mov  1, %g1                                    
      once_control->init_executed = true;                             
 20062e8:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
      (*init_routine)();                                              
 20062ec:	9f c6 40 00 	call  %i1                                      
 20062f0:	c2 24 00 00 	st  %g1, [ %l0 ]                               
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 20062f4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 20062f8:	92 10 21 00 	mov  0x100, %o1                                
 20062fc:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006300:	40 00 02 f6 	call  2006ed8 <rtems_task_mode>                
 2006304:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
  return 0;                                                           
}                                                                     
 2006308:	81 c7 e0 08 	ret                                            
 200630c:	81 e8 00 00 	restore                                        
                                                                      

02006abc <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
 2006abc:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
 2006ac0:	80 a6 20 00 	cmp  %i0, 0                                    
 2006ac4:	02 80 00 2a 	be  2006b6c <pthread_rwlock_init+0xb0>         
 2006ac8:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2006acc:	32 80 00 06 	bne,a   2006ae4 <pthread_rwlock_init+0x28>     
 2006ad0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
 2006ad4:	b2 07 bf f4 	add  %fp, -12, %i1                             
 2006ad8:	40 00 02 7f 	call  20074d4 <pthread_rwlockattr_init>        
 2006adc:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2006ae0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2006ae4:	80 a0 60 00 	cmp  %g1, 0                                    
 2006ae8:	02 80 00 21 	be  2006b6c <pthread_rwlock_init+0xb0>         <== NEVER TAKEN
 2006aec:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2006af0:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2006af4:	80 a0 60 00 	cmp  %g1, 0                                    
 2006af8:	12 80 00 1d 	bne  2006b6c <pthread_rwlock_init+0xb0>        <== NEVER TAKEN
 2006afc:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2006b00:	c4 00 62 50 	ld  [ %g1 + 0x250 ], %g2	! 201ee50 <_Thread_Dispatch_disable_level>
 2006b04:	84 00 a0 01 	inc  %g2                                       
 2006b08:	c4 20 62 50 	st  %g2, [ %g1 + 0x250 ]                       
 *  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 *)                                     
 2006b0c:	23 00 80 7c 	sethi  %hi(0x201f000), %l1                     
 2006b10:	40 00 09 dc 	call  2009280 <_Objects_Allocate>              
 2006b14:	90 14 60 a0 	or  %l1, 0xa0, %o0	! 201f0a0 <_POSIX_RWLock_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
 2006b18:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2006b1c:	12 80 00 06 	bne  2006b34 <pthread_rwlock_init+0x78>        
 2006b20:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 2006b24:	40 00 0d 51 	call  200a068 <_Thread_Enable_dispatch>        
 2006b28:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2006b2c:	81 c7 e0 08 	ret                                            
 2006b30:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
 2006b34:	40 00 07 91 	call  2008978 <_CORE_RWLock_Initialize>        
 2006b38:	92 07 bf fc 	add  %fp, -4, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2006b3c:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2006b40:	a2 14 60 a0 	or  %l1, 0xa0, %l1                             
 2006b44:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 2006b48:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 2006b4c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2006b50:	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;                                   
 2006b54:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
 2006b58:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2006b5c:	40 00 0d 43 	call  200a068 <_Thread_Enable_dispatch>        
 2006b60:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 2006b64:	81 c7 e0 08 	ret                                            
 2006b68:	81 e8 00 00 	restore                                        
}                                                                     
 2006b6c:	81 c7 e0 08 	ret                                            
 2006b70:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02006bec <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2006bec:	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 )                                                      
 2006bf0:	80 a6 20 00 	cmp  %i0, 0                                    
 2006bf4:	02 80 00 2d 	be  2006ca8 <pthread_rwlock_timedrdlock+0xbc>  
 2006bf8:	90 10 00 19 	mov  %i1, %o0                                  
   *                                                                  
   *  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 );       
 2006bfc:	40 00 1b b1 	call  200dac0 <_POSIX_Absolute_timeout_to_ticks>
 2006c00:	92 07 bf f8 	add  %fp, -8, %o1                              
 2006c04:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2006c08:	a0 10 00 08 	mov  %o0, %l0                                  
 2006c0c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006c10:	11 00 80 7c 	sethi  %hi(0x201f000), %o0                     
 2006c14:	40 00 0a da 	call  200977c <_Objects_Get>                   
 2006c18:	90 12 20 a0 	or  %o0, 0xa0, %o0	! 201f0a0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2006c1c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006c20:	80 a0 60 00 	cmp  %g1, 0                                    
 2006c24:	32 80 00 22 	bne,a   2006cac <pthread_rwlock_timedrdlock+0xc0>
 2006c28:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 2006c2c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2006c30:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
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,                                
 2006c34:	82 1c 20 03 	xor  %l0, 3, %g1                               
 2006c38:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2006c3c:	80 a0 00 01 	cmp  %g0, %g1                                  
 2006c40:	98 10 20 00 	clr  %o4                                       
 2006c44:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 2006c48:	40 00 07 57 	call  20089a4 <_CORE_RWLock_Obtain_for_reading>
 2006c4c:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2006c50:	40 00 0d 06 	call  200a068 <_Thread_Enable_dispatch>        
 2006c54:	01 00 00 00 	nop                                            
      if ( !do_wait ) {                                               
 2006c58:	80 a4 60 00 	cmp  %l1, 0                                    
 2006c5c:	12 80 00 0d 	bne  2006c90 <pthread_rwlock_timedrdlock+0xa4> 
 2006c60:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 2006c64:	c2 00 63 10 	ld  [ %g1 + 0x310 ], %g1	! 201ef10 <_Thread_Executing>
 2006c68:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2006c6c:	80 a0 60 02 	cmp  %g1, 2                                    
 2006c70:	32 80 00 09 	bne,a   2006c94 <pthread_rwlock_timedrdlock+0xa8>
 2006c74:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
	  switch (status) {                                                  
 2006c78:	80 a4 20 00 	cmp  %l0, 0                                    
 2006c7c:	02 80 00 0c 	be  2006cac <pthread_rwlock_timedrdlock+0xc0>  <== NEVER TAKEN
 2006c80:	90 10 20 16 	mov  0x16, %o0                                 
 2006c84:	80 a4 20 02 	cmp  %l0, 2                                    
 2006c88:	08 80 00 09 	bleu  2006cac <pthread_rwlock_timedrdlock+0xc0><== ALWAYS TAKEN
 2006c8c:	90 10 20 74 	mov  0x74, %o0                                 
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2006c90:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2006c94:	c2 00 63 10 	ld  [ %g1 + 0x310 ], %g1	! 201ef10 <_Thread_Executing>
 2006c98:	40 00 00 3b 	call  2006d84 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2006c9c:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2006ca0:	81 c7 e0 08 	ret                                            
 2006ca4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
 2006ca8:	90 10 20 16 	mov  0x16, %o0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2006cac:	b0 10 00 08 	mov  %o0, %i0                                  
 2006cb0:	81 c7 e0 08 	ret                                            
 2006cb4:	81 e8 00 00 	restore                                        
                                                                      

02006cb8 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2006cb8:	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 )                                                      
 2006cbc:	80 a6 20 00 	cmp  %i0, 0                                    
 2006cc0:	02 80 00 2d 	be  2006d74 <pthread_rwlock_timedwrlock+0xbc>  
 2006cc4:	90 10 00 19 	mov  %i1, %o0                                  
   *                                                                  
   *  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 );       
 2006cc8:	40 00 1b 7e 	call  200dac0 <_POSIX_Absolute_timeout_to_ticks>
 2006ccc:	92 07 bf f8 	add  %fp, -8, %o1                              
 2006cd0:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2006cd4:	a0 10 00 08 	mov  %o0, %l0                                  
 2006cd8:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006cdc:	11 00 80 7c 	sethi  %hi(0x201f000), %o0                     
 2006ce0:	40 00 0a a7 	call  200977c <_Objects_Get>                   
 2006ce4:	90 12 20 a0 	or  %o0, 0xa0, %o0	! 201f0a0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2006ce8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006cec:	80 a0 60 00 	cmp  %g1, 0                                    
 2006cf0:	32 80 00 22 	bne,a   2006d78 <pthread_rwlock_timedwrlock+0xc0>
 2006cf4:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 2006cf8:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2006cfc:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
        (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,                                
 2006d00:	82 1c 20 03 	xor  %l0, 3, %g1                               
 2006d04:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2006d08:	80 a0 00 01 	cmp  %g0, %g1                                  
 2006d0c:	98 10 20 00 	clr  %o4                                       
 2006d10:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 2006d14:	40 00 07 58 	call  2008a74 <_CORE_RWLock_Obtain_for_writing>
 2006d18:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2006d1c:	40 00 0c d3 	call  200a068 <_Thread_Enable_dispatch>        
 2006d20:	01 00 00 00 	nop                                            
      if ( !do_wait &&                                                
 2006d24:	80 a4 60 00 	cmp  %l1, 0                                    
 2006d28:	12 80 00 0d 	bne  2006d5c <pthread_rwlock_timedwrlock+0xa4> 
 2006d2c:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
 2006d30:	c2 00 63 10 	ld  [ %g1 + 0x310 ], %g1	! 201ef10 <_Thread_Executing>
 2006d34:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2006d38:	80 a0 60 02 	cmp  %g1, 2                                    
 2006d3c:	32 80 00 09 	bne,a   2006d60 <pthread_rwlock_timedwrlock+0xa8>
 2006d40:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
	switch (status) {                                                    
 2006d44:	80 a4 20 00 	cmp  %l0, 0                                    
 2006d48:	02 80 00 0c 	be  2006d78 <pthread_rwlock_timedwrlock+0xc0>  <== NEVER TAKEN
 2006d4c:	90 10 20 16 	mov  0x16, %o0                                 
 2006d50:	80 a4 20 02 	cmp  %l0, 2                                    
 2006d54:	08 80 00 09 	bleu  2006d78 <pthread_rwlock_timedwrlock+0xc0><== ALWAYS TAKEN
 2006d58:	90 10 20 74 	mov  0x74, %o0                                 
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2006d5c:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2006d60:	c2 00 63 10 	ld  [ %g1 + 0x310 ], %g1	! 201ef10 <_Thread_Executing>
 2006d64:	40 00 00 08 	call  2006d84 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2006d68:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2006d6c:	81 c7 e0 08 	ret                                            
 2006d70:	91 e8 00 08 	restore  %g0, %o0, %o0                         
 2006d74:	90 10 20 16 	mov  0x16, %o0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2006d78:	b0 10 00 08 	mov  %o0, %i0                                  
 2006d7c:	81 c7 e0 08 	ret                                            
 2006d80:	81 e8 00 00 	restore                                        
                                                                      

020074f8 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) { if ( !attr )
 20074f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20074fc:	02 80 00 0b 	be  2007528 <pthread_rwlockattr_setpshared+0x30>
 2007500:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2007504:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2007508:	80 a0 60 00 	cmp  %g1, 0                                    
 200750c:	02 80 00 07 	be  2007528 <pthread_rwlockattr_setpshared+0x30>
 2007510:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2007514:	18 80 00 05 	bgu  2007528 <pthread_rwlockattr_setpshared+0x30><== NEVER TAKEN
 2007518:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 200751c:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
 2007520:	81 c3 e0 08 	retl                                           
 2007524:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2007528:	81 c3 e0 08 	retl                                           
 200752c:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

0200870c <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
 200870c:	9d e3 bf 90 	save  %sp, -112, %sp                           
 2008710:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
 2008714:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008718:	02 80 00 42 	be  2008820 <pthread_setschedparam+0x114>      
 200871c:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
 2008720:	90 10 00 19 	mov  %i1, %o0                                  
 2008724:	92 10 00 1a 	mov  %i2, %o1                                  
 2008728:	94 07 bf fc 	add  %fp, -4, %o2                              
 200872c:	40 00 19 2f 	call  200ebe8 <_POSIX_Thread_Translate_sched_param>
 2008730:	96 07 bf f8 	add  %fp, -8, %o3                              
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 2008734:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2008738:	12 80 00 3a 	bne  2008820 <pthread_setschedparam+0x114>     
 200873c:	92 10 00 10 	mov  %l0, %o1                                  
 2008740:	11 00 80 85 	sethi  %hi(0x2021400), %o0                     
 2008744:	94 07 bf f4 	add  %fp, -12, %o2                             
 2008748:	40 00 08 22 	call  200a7d0 <_Objects_Get>                   
 200874c:	90 12 23 f0 	or  %o0, 0x3f0, %o0                            
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  switch ( location ) {                                               
 2008750:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2008754:	80 a0 60 00 	cmp  %g1, 0                                    
 2008758:	02 80 00 04 	be  2008768 <pthread_setschedparam+0x5c>       
 200875c:	a2 10 00 08 	mov  %o0, %l1                                  
 2008760:	81 c7 e0 08 	ret                                            
 2008764:	91 e8 20 03 	restore  %g0, 3, %o0                           
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 2008768:	e0 02 21 6c 	ld  [ %o0 + 0x16c ], %l0                       
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
 200876c:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 2008770:	80 a0 60 04 	cmp  %g1, 4                                    
 2008774:	32 80 00 05 	bne,a   2008788 <pthread_setschedparam+0x7c>   
 2008778:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
 200877c:	40 00 0f 92 	call  200c5c4 <_Watchdog_Remove>               
 2008780:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
                                                                      
      api->schedpolicy = policy;                                      
 2008784:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
      api->schedparam  = *param;                                      
 2008788:	92 10 00 1a 	mov  %i2, %o1                                  
 200878c:	90 04 20 84 	add  %l0, 0x84, %o0                            
 2008790:	40 00 28 b6 	call  2012a68 <memcpy>                         
 2008794:	94 10 20 1c 	mov  0x1c, %o2                                 
      the_thread->budget_algorithm = budget_algorithm;                
 2008798:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 200879c:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
 20087a0:	c4 24 60 7c 	st  %g2, [ %l1 + 0x7c ]                        
      the_thread->budget_callout   = budget_callout;                  
 20087a4:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
                                                                      
      switch ( api->schedpolicy ) {                                   
 20087a8:	80 a0 60 00 	cmp  %g1, 0                                    
 20087ac:	06 80 00 1b 	bl  2008818 <pthread_setschedparam+0x10c>      <== NEVER TAKEN
 20087b0:	c4 24 60 80 	st  %g2, [ %l1 + 0x80 ]                        
 20087b4:	80 a0 60 02 	cmp  %g1, 2                                    
 20087b8:	24 80 00 07 	ble,a   20087d4 <pthread_setschedparam+0xc8>   
 20087bc:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
 20087c0:	80 a0 60 04 	cmp  %g1, 4                                    
 20087c4:	12 80 00 15 	bne  2008818 <pthread_setschedparam+0x10c>     <== NEVER TAKEN
 20087c8:	01 00 00 00 	nop                                            
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
 20087cc:	10 80 00 0d 	b  2008800 <pthread_setschedparam+0xf4>        
 20087d0:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
 20087d4:	07 00 80 82 	sethi  %hi(0x2020800), %g3                     
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 20087d8:	05 00 80 85 	sethi  %hi(0x2021400), %g2                     
 20087dc:	d2 08 e2 08 	ldub  [ %g3 + 0x208 ], %o1                     
 20087e0:	c4 00 a0 b8 	ld  [ %g2 + 0xb8 ], %g2                        
 20087e4:	92 22 40 01 	sub  %o1, %g1, %o1                             
 20087e8:	c4 24 60 78 	st  %g2, [ %l1 + 0x78 ]                        
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 20087ec:	90 10 00 11 	mov  %l1, %o0                                  
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
                                                                      
          the_thread->real_priority =                                 
 20087f0:	d2 24 60 18 	st  %o1, [ %l1 + 0x18 ]                        
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 20087f4:	40 00 08 a7 	call  200aa90 <_Thread_Change_priority>        
 20087f8:	94 10 20 01 	mov  1, %o2                                    
             the_thread,                                              
             the_thread->real_priority,                               
             true                                                     
          );                                                          
          break;                                                      
 20087fc:	30 80 00 07 	b,a   2008818 <pthread_setschedparam+0x10c>    
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
          _Watchdog_Remove( &api->Sporadic_timer );                   
 2008800:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
 2008804:	40 00 0f 70 	call  200c5c4 <_Watchdog_Remove>               
 2008808:	c2 24 20 a0 	st  %g1, [ %l0 + 0xa0 ]                        
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
 200880c:	92 10 00 11 	mov  %l1, %o1                                  
 2008810:	7f ff ff a0 	call  2008690 <_POSIX_Threads_Sporadic_budget_TSR>
 2008814:	90 10 20 00 	clr  %o0                                       
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 2008818:	40 00 0a 29 	call  200b0bc <_Thread_Enable_dispatch>        
 200881c:	01 00 00 00 	nop                                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
 2008820:	81 c7 e0 08 	ret                                            
 2008824:	81 e8 00 00 	restore                                        
                                                                      

02005f1c <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
 2005f1c:	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() )                                        
 2005f20:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 2005f24:	c2 00 63 2c 	ld  [ %g1 + 0x32c ], %g1	! 201db2c <_ISR_Nest_level>
 2005f28:	80 a0 60 00 	cmp  %g1, 0                                    
 2005f2c:	12 80 00 17 	bne  2005f88 <pthread_testcancel+0x6c>         <== NEVER TAKEN
 2005f30:	05 00 80 76 	sethi  %hi(0x201d800), %g2                     
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 2005f34:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 2005f38:	c6 00 a2 90 	ld  [ %g2 + 0x290 ], %g3                       
 2005f3c:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1                       
 2005f40:	86 00 e0 01 	inc  %g3                                       
 2005f44:	c2 00 61 6c 	ld  [ %g1 + 0x16c ], %g1                       
 2005f48:	c6 20 a2 90 	st  %g3, [ %g2 + 0x290 ]                       
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 2005f4c:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 2005f50:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005f54:	12 80 00 05 	bne  2005f68 <pthread_testcancel+0x4c>         <== NEVER TAKEN
 2005f58:	a0 10 20 00 	clr  %l0                                       
                                                                      
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */          
                                                                      
int	_EXFUN(pthread_setcancelstate, (int __state, int *__oldstate));   
int	_EXFUN(pthread_setcanceltype, (int __type, int *__oldtype));      
void 	_EXFUN(pthread_testcancel, (void));                             
 2005f5c:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
 2005f60:	80 a0 00 01 	cmp  %g0, %g1                                  
 2005f64:	a0 40 20 00 	addx  %g0, 0, %l0                              
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 2005f68:	40 00 09 df 	call  20086e4 <_Thread_Enable_dispatch>        
 2005f6c:	01 00 00 00 	nop                                            
                                                                      
  if ( cancel )                                                       
 2005f70:	80 8c 20 ff 	btst  0xff, %l0                                
 2005f74:	02 80 00 05 	be  2005f88 <pthread_testcancel+0x6c>          
 2005f78:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
 2005f7c:	f0 00 63 50 	ld  [ %g1 + 0x350 ], %i0	! 201db50 <_Thread_Executing>
 2005f80:	40 00 19 0b 	call  200c3ac <_POSIX_Thread_Exit>             
 2005f84:	93 e8 3f ff 	restore  %g0, -1, %o1                          
 2005f88:	81 c7 e0 08 	ret                                            
 2005f8c:	81 e8 00 00 	restore                                        
                                                                      

02008974 <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) {
 2008974:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 2008978:	80 a6 20 00 	cmp  %i0, 0                                    
 200897c:	02 80 00 1d 	be  20089f0 <rtems_iterate_over_all_threads+0x7c><== NEVER TAKEN
 2008980:	21 00 80 a8 	sethi  %hi(0x202a000), %l0                     
 2008984:	a0 14 21 74 	or  %l0, 0x174, %l0	! 202a174 <_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) 
 2008988:	a6 04 20 10 	add  %l0, 0x10, %l3                            
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
 200898c:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 2008990:	80 a0 60 00 	cmp  %g1, 0                                    
 2008994:	22 80 00 14 	be,a   20089e4 <rtems_iterate_over_all_threads+0x70>
 2008998:	a0 04 20 04 	add  %l0, 4, %l0                               
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 200899c:	e4 00 60 04 	ld  [ %g1 + 4 ], %l2                           
    if ( !information )                                               
 20089a0:	80 a4 a0 00 	cmp  %l2, 0                                    
 20089a4:	12 80 00 0b 	bne  20089d0 <rtems_iterate_over_all_threads+0x5c>
 20089a8:	a2 10 20 01 	mov  1, %l1                                    
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 20089ac:	10 80 00 0e 	b  20089e4 <rtems_iterate_over_all_threads+0x70>
 20089b0:	a0 04 20 04 	add  %l0, 4, %l0                               
      the_thread = (Thread_Control *)information->local_table[ i ];   
 20089b4:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        
 20089b8:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
                                                                      
      if ( !the_thread )                                              
 20089bc:	80 a2 20 00 	cmp  %o0, 0                                    
 20089c0:	02 80 00 04 	be  20089d0 <rtems_iterate_over_all_threads+0x5c><== NEVER TAKEN
 20089c4:	a2 04 60 01 	inc  %l1                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 20089c8:	9f c6 00 00 	call  %i0                                      
 20089cc:	01 00 00 00 	nop                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 20089d0:	c2 14 a0 10 	lduh  [ %l2 + 0x10 ], %g1                      
 20089d4:	80 a4 40 01 	cmp  %l1, %g1                                  
 20089d8:	08 bf ff f7 	bleu  20089b4 <rtems_iterate_over_all_threads+0x40>
 20089dc:	85 2c 60 02 	sll  %l1, 2, %g2                               
 20089e0:	a0 04 20 04 	add  %l0, 4, %l0                               
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 20089e4:	80 a4 00 13 	cmp  %l0, %l3                                  
 20089e8:	32 bf ff ea 	bne,a   2008990 <rtems_iterate_over_all_threads+0x1c>
 20089ec:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 20089f0:	81 c7 e0 08 	ret                                            
 20089f4:	81 e8 00 00 	restore                                        
                                                                      

02012dcc <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 2012dcc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 2012dd0:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 2012dd4:	02 80 00 1c 	be  2012e44 <rtems_partition_create+0x78>      
 2012dd8:	b0 10 20 03 	mov  3, %i0                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 2012ddc:	80 a6 60 00 	cmp  %i1, 0                                    
 2012de0:	02 80 00 34 	be  2012eb0 <rtems_partition_create+0xe4>      
 2012de4:	80 a7 60 00 	cmp  %i5, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 2012de8:	02 80 00 32 	be  2012eb0 <rtems_partition_create+0xe4>      <== NEVER TAKEN
 2012dec:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2012df0:	02 80 00 32 	be  2012eb8 <rtems_partition_create+0xec>      
 2012df4:	80 a6 a0 00 	cmp  %i2, 0                                    
 2012df8:	02 80 00 30 	be  2012eb8 <rtems_partition_create+0xec>      
 2012dfc:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2012e00:	0a 80 00 2e 	bcs  2012eb8 <rtems_partition_create+0xec>     
 2012e04:	80 8e e0 07 	btst  7, %i3                                   
 2012e08:	12 80 00 2c 	bne  2012eb8 <rtems_partition_create+0xec>     
 2012e0c:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 2012e10:	12 80 00 28 	bne  2012eb0 <rtems_partition_create+0xe4>     
 2012e14:	03 00 80 f2 	sethi  %hi(0x203c800), %g1                     
 2012e18:	c4 00 60 b0 	ld  [ %g1 + 0xb0 ], %g2	! 203c8b0 <_Thread_Dispatch_disable_level>
 2012e1c:	84 00 a0 01 	inc  %g2                                       
 2012e20:	c4 20 60 b0 	st  %g2, [ %g1 + 0xb0 ]                        
 *  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 );
 2012e24:	25 00 80 f1 	sethi  %hi(0x203c400), %l2                     
 2012e28:	40 00 12 07 	call  2017644 <_Objects_Allocate>              
 2012e2c:	90 14 a2 b8 	or  %l2, 0x2b8, %o0	! 203c6b8 <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 2012e30:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 2012e34:	32 80 00 06 	bne,a   2012e4c <rtems_partition_create+0x80>  
 2012e38:	f4 24 60 14 	st  %i2, [ %l1 + 0x14 ]                        
    _Thread_Enable_dispatch();                                        
 2012e3c:	40 00 15 e7 	call  20185d8 <_Thread_Enable_dispatch>        
 2012e40:	b0 10 20 05 	mov  5, %i0                                    
    return RTEMS_TOO_MANY;                                            
 2012e44:	81 c7 e0 08 	ret                                            
 2012e48:	81 e8 00 00 	restore                                        
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 2012e4c:	90 10 00 1a 	mov  %i2, %o0                                  
 2012e50:	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;               
 2012e54:	f8 24 60 1c 	st  %i4, [ %l1 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 2012e58:	f2 24 60 10 	st  %i1, [ %l1 + 0x10 ]                        
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
 2012e5c:	f6 24 60 18 	st  %i3, [ %l1 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 2012e60:	40 00 64 b7 	call  202c13c <.udiv>                          
 2012e64:	c0 24 60 20 	clr  [ %l1 + 0x20 ]                            
 2012e68:	92 10 00 19 	mov  %i1, %o1                                  
 2012e6c:	94 10 00 08 	mov  %o0, %o2                                  
 2012e70:	96 10 00 1b 	mov  %i3, %o3                                  
 2012e74:	b4 04 60 24 	add  %l1, 0x24, %i2                            
 2012e78:	40 00 0c 73 	call  2016044 <_Chain_Initialize>              
 2012e7c:	90 10 00 1a 	mov  %i2, %o0                                  
 2012e80:	c2 14 60 0a 	lduh  [ %l1 + 0xa ], %g1                       
 2012e84:	c6 04 60 08 	ld  [ %l1 + 8 ], %g3                           
 2012e88:	a4 14 a2 b8 	or  %l2, 0x2b8, %l2                            
 2012e8c:	c4 04 a0 1c 	ld  [ %l2 + 0x1c ], %g2                        
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2012e90:	e0 24 60 0c 	st  %l0, [ %l1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2012e94:	83 28 60 02 	sll  %g1, 2, %g1                               
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
 2012e98:	c6 27 40 00 	st  %g3, [ %i5 ]                               
 2012e9c:	e2 20 80 01 	st  %l1, [ %g2 + %g1 ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 2012ea0:	40 00 15 ce 	call  20185d8 <_Thread_Enable_dispatch>        
 2012ea4:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
 2012ea8:	81 c7 e0 08 	ret                                            
 2012eac:	81 e8 00 00 	restore                                        
 2012eb0:	81 c7 e0 08 	ret                                            
 2012eb4:	91 e8 20 09 	restore  %g0, 9, %o0                           
 2012eb8:	b0 10 20 08 	mov  8, %i0                                    
}                                                                     
 2012ebc:	81 c7 e0 08 	ret                                            
 2012ec0:	81 e8 00 00 	restore                                        
                                                                      

02006c6c <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 2006c6c:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
 2006c70:	11 00 80 86 	sethi  %hi(0x2021800), %o0                     
 2006c74:	92 10 00 18 	mov  %i0, %o1                                  
 2006c78:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            
 2006c7c:	40 00 08 c4 	call  2008f8c <_Objects_Get>                   
 2006c80:	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 ) {                                               
 2006c84:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006c88:	80 a0 60 00 	cmp  %g1, 0                                    
 2006c8c:	12 80 00 63 	bne  2006e18 <rtems_rate_monotonic_period+0x1ac>
 2006c90:	a0 10 00 08 	mov  %o0, %l0                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 2006c94:	25 00 80 86 	sethi  %hi(0x2021800), %l2                     
 2006c98:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 2006c9c:	c2 04 a3 e0 	ld  [ %l2 + 0x3e0 ], %g1                       
 2006ca0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006ca4:	02 80 00 06 	be  2006cbc <rtems_rate_monotonic_period+0x50> 
 2006ca8:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 2006cac:	40 00 0b 21 	call  2009930 <_Thread_Enable_dispatch>        
 2006cb0:	b0 10 20 17 	mov  0x17, %i0                                 
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
 2006cb4:	81 c7 e0 08 	ret                                            
 2006cb8:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 2006cbc:	12 80 00 0b 	bne  2006ce8 <rtems_rate_monotonic_period+0x7c>
 2006cc0:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 2006cc4:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2006cc8:	80 a0 60 04 	cmp  %g1, 4                                    
 2006ccc:	18 80 00 4f 	bgu  2006e08 <rtems_rate_monotonic_period+0x19c><== NEVER TAKEN
 2006cd0:	b0 10 20 00 	clr  %i0                                       
 2006cd4:	83 28 60 02 	sll  %g1, 2, %g1                               
 2006cd8:	05 00 80 7d 	sethi  %hi(0x201f400), %g2                     
 2006cdc:	84 10 a1 88 	or  %g2, 0x188, %g2	! 201f588 <CSWTCH.48>      
 2006ce0:	10 80 00 4a 	b  2006e08 <rtems_rate_monotonic_period+0x19c> 
 2006ce4:	f0 00 80 01 	ld  [ %g2 + %g1 ], %i0                         
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 2006ce8:	7f ff f0 dc 	call  2003058 <sparc_disable_interrupts>       
 2006cec:	01 00 00 00 	nop                                            
 2006cf0:	a6 10 00 08 	mov  %o0, %l3                                  
      switch ( the_period->state ) {                                  
 2006cf4:	e2 04 20 38 	ld  [ %l0 + 0x38 ], %l1                        
 2006cf8:	80 a4 60 02 	cmp  %l1, 2                                    
 2006cfc:	02 80 00 1a 	be  2006d64 <rtems_rate_monotonic_period+0xf8> 
 2006d00:	80 a4 60 04 	cmp  %l1, 4                                    
 2006d04:	02 80 00 34 	be  2006dd4 <rtems_rate_monotonic_period+0x168>
 2006d08:	80 a4 60 00 	cmp  %l1, 0                                    
 2006d0c:	12 80 00 43 	bne  2006e18 <rtems_rate_monotonic_period+0x1ac><== NEVER TAKEN
 2006d10:	01 00 00 00 	nop                                            
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
 2006d14:	7f ff f0 d5 	call  2003068 <sparc_enable_interrupts>        
 2006d18:	01 00 00 00 	nop                                            
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
 2006d1c:	7f ff ff 50 	call  2006a5c <_Rate_monotonic_Initiate_statistics>
 2006d20:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2006d24:	82 10 20 02 	mov  2, %g1                                    
 2006d28:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006d2c:	03 00 80 1c 	sethi  %hi(0x2007000), %g1                     
 2006d30:	82 10 60 e4 	or  %g1, 0xe4, %g1	! 20070e4 <_Rate_monotonic_Timeout>
  the_watchdog->id        = id;                                       
 2006d34:	f0 24 20 30 	st  %i0, [ %l0 + 0x30 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006d38:	92 04 20 10 	add  %l0, 0x10, %o1                            
 2006d3c:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2006d40:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006d44:	90 12 20 00 	mov  %o0, %o0                                  
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2006d48:	c0 24 20 18 	clr  [ %l0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2006d4c:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
 2006d50:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006d54:	c2 24 20 2c 	st  %g1, [ %l0 + 0x2c ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006d58:	40 00 10 46 	call  200ae70 <_Watchdog_Insert>               
 2006d5c:	b0 10 20 00 	clr  %i0                                       
 2006d60:	30 80 00 2a 	b,a   2006e08 <rtems_rate_monotonic_period+0x19c>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 2006d64:	7f ff ff 84 	call  2006b74 <_Rate_monotonic_Update_statistics>
 2006d68:	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;       
 2006d6c:	82 10 20 01 	mov  1, %g1                                    
          the_period->next_length = length;                           
 2006d70:	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;       
 2006d74:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
 2006d78:	7f ff f0 bc 	call  2003068 <sparc_enable_interrupts>        
 2006d7c:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 2006d80:	c2 04 a3 e0 	ld  [ %l2 + 0x3e0 ], %g1                       
 2006d84:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2006d88:	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;         
 2006d8c:	c4 20 60 20 	st  %g2, [ %g1 + 0x20 ]                        
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2006d90:	40 00 0d 65 	call  200a324 <_Thread_Set_state>              
 2006d94:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
 2006d98:	7f ff f0 b0 	call  2003058 <sparc_disable_interrupts>       
 2006d9c:	01 00 00 00 	nop                                            
            local_state = the_period->state;                          
 2006da0:	e6 04 20 38 	ld  [ %l0 + 0x38 ], %l3                        
            the_period->state = RATE_MONOTONIC_ACTIVE;                
 2006da4:	e2 24 20 38 	st  %l1, [ %l0 + 0x38 ]                        
          _ISR_Enable( level );                                       
 2006da8:	7f ff f0 b0 	call  2003068 <sparc_enable_interrupts>        
 2006dac:	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 ) 
 2006db0:	80 a4 e0 03 	cmp  %l3, 3                                    
 2006db4:	12 80 00 04 	bne  2006dc4 <rtems_rate_monotonic_period+0x158>
 2006db8:	d0 04 a3 e0 	ld  [ %l2 + 0x3e0 ], %o0                       
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2006dbc:	40 00 09 cb 	call  20094e8 <_Thread_Clear_state>            
 2006dc0:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
          _Thread_Enable_dispatch();                                  
 2006dc4:	40 00 0a db 	call  2009930 <_Thread_Enable_dispatch>        
 2006dc8:	b0 10 20 00 	clr  %i0                                       
          return RTEMS_SUCCESSFUL;                                    
 2006dcc:	81 c7 e0 08 	ret                                            
 2006dd0:	81 e8 00 00 	restore                                        
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 2006dd4:	7f ff ff 68 	call  2006b74 <_Rate_monotonic_Update_statistics>
 2006dd8:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          _ISR_Enable( level );                                       
 2006ddc:	7f ff f0 a3 	call  2003068 <sparc_enable_interrupts>        
 2006de0:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2006de4:	82 10 20 02 	mov  2, %g1                                    
 2006de8:	92 04 20 10 	add  %l0, 0x10, %o1                            
 2006dec:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2006df0:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006df4:	90 12 20 00 	mov  %o0, %o0                                  
          the_period->next_length = length;                           
 2006df8:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2006dfc:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
 2006e00:	40 00 10 1c 	call  200ae70 <_Watchdog_Insert>               
 2006e04:	b0 10 20 06 	mov  6, %i0                                    
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 2006e08:	40 00 0a ca 	call  2009930 <_Thread_Enable_dispatch>        
 2006e0c:	01 00 00 00 	nop                                            
          return RTEMS_TIMEOUT;                                       
 2006e10:	81 c7 e0 08 	ret                                            
 2006e14:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2006e18:	81 c7 e0 08 	ret                                            
 2006e1c:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      

02006e20 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2006e20:	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 )                                                       
 2006e24:	80 a6 60 00 	cmp  %i1, 0                                    
 2006e28:	02 80 00 7a 	be  2007010 <rtems_rate_monotonic_report_statistics_with_plugin+0x1f0><== NEVER TAKEN
 2006e2c:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 2006e30:	13 00 80 7d 	sethi  %hi(0x201f400), %o1                     
 2006e34:	9f c6 40 00 	call  %i1                                      
 2006e38:	92 12 61 a0 	or  %o1, 0x1a0, %o1	! 201f5a0 <CSWTCH.48+0x18> 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 2006e3c:	90 10 00 18 	mov  %i0, %o0                                  
 2006e40:	13 00 80 7d 	sethi  %hi(0x201f400), %o1                     
 2006e44:	9f c6 40 00 	call  %i1                                      
 2006e48:	92 12 61 c0 	or  %o1, 0x1c0, %o1	! 201f5c0 <CSWTCH.48+0x38> 
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 2006e4c:	90 10 00 18 	mov  %i0, %o0                                  
 2006e50:	13 00 80 7d 	sethi  %hi(0x201f400), %o1                     
 2006e54:	9f c6 40 00 	call  %i1                                      
 2006e58:	92 12 61 e8 	or  %o1, 0x1e8, %o1	! 201f5e8 <CSWTCH.48+0x60> 
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 2006e5c:	90 10 00 18 	mov  %i0, %o0                                  
 2006e60:	13 00 80 7d 	sethi  %hi(0x201f400), %o1                     
 2006e64:	9f c6 40 00 	call  %i1                                      
 2006e68:	92 12 62 10 	or  %o1, 0x210, %o1	! 201f610 <CSWTCH.48+0x88> 
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 2006e6c:	90 10 00 18 	mov  %i0, %o0                                  
 2006e70:	13 00 80 7d 	sethi  %hi(0x201f400), %o1                     
 2006e74:	9f c6 40 00 	call  %i1                                      
 2006e78:	92 12 62 60 	or  %o1, 0x260, %o1	! 201f660 <CSWTCH.48+0xd8> 
                                                                      
  /*                                                                  
   * 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 ;                   
 2006e7c:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 2006e80:	2d 00 80 7d 	sethi  %hi(0x201f400), %l6                     
                                                                      
  /*                                                                  
   * 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 ;                   
 2006e84:	82 10 61 b0 	or  %g1, 0x1b0, %g1                            
      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,                                              
 2006e88:	2b 00 80 7d 	sethi  %hi(0x201f400), %l5                     
      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,                                              
 2006e8c:	29 00 80 7d 	sethi  %hi(0x201f400), %l4                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 2006e90:	27 00 80 7d 	sethi  %hi(0x201f400), %l3                     
   * 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++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 2006e94:	ba 07 bf a0 	add  %fp, -96, %i5                             
                                                                      
  /*                                                                  
   * 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 ;                   
 2006e98:	ae 10 00 01 	mov  %g1, %l7                                  
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 2006e9c:	ac 15 a2 b0 	or  %l6, 0x2b0, %l6                            
      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,                                              
 2006ea0:	aa 15 62 d0 	or  %l5, 0x2d0, %l5                            
      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,                                              
 2006ea4:	a8 15 22 f0 	or  %l4, 0x2f0, %l4                            
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 2006ea8:	a6 14 e2 c8 	or  %l3, 0x2c8, %l3                            
                                                                      
  /*                                                                  
   * 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 ;                   
 2006eac:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
    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 );      
 2006eb0:	b8 07 bf d8 	add  %fp, -40, %i4                             
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 2006eb4:	a4 07 bf f8 	add  %fp, -8, %l2                              
      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 );
 2006eb8:	b4 07 bf b8 	add  %fp, -72, %i2                             
                                                                      
  /*                                                                  
   * 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 ;                   
 2006ebc:	10 80 00 51 	b  2007000 <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 2006ec0:	a2 07 bf f0 	add  %fp, -16, %l1                             
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 2006ec4:	40 00 1a f1 	call  200da88 <rtems_rate_monotonic_get_statistics>
 2006ec8:	92 10 00 1d 	mov  %i5, %o1                                  
    if ( status != RTEMS_SUCCESSFUL )                                 
 2006ecc:	80 a2 20 00 	cmp  %o0, 0                                    
 2006ed0:	32 80 00 4c 	bne,a   2007000 <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 2006ed4:	a0 04 20 01 	inc  %l0                                       
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 2006ed8:	92 10 00 1c 	mov  %i4, %o1                                  
 2006edc:	40 00 1b 18 	call  200db3c <rtems_rate_monotonic_get_status>
 2006ee0:	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 );    
 2006ee4:	d0 07 bf d8 	ld  [ %fp + -40 ], %o0                         
 2006ee8:	94 10 00 12 	mov  %l2, %o2                                  
 2006eec:	40 00 00 ae 	call  20071a4 <rtems_object_get_name>          
 2006ef0:	92 10 20 05 	mov  5, %o1                                    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 2006ef4:	d8 1f bf a0 	ldd  [ %fp + -96 ], %o4                        
 2006ef8:	92 10 00 16 	mov  %l6, %o1                                  
 2006efc:	94 10 00 10 	mov  %l0, %o2                                  
 2006f00:	90 10 00 18 	mov  %i0, %o0                                  
 2006f04:	9f c6 40 00 	call  %i1                                      
 2006f08:	96 10 00 12 	mov  %l2, %o3                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 2006f0c:	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 );
 2006f10:	94 10 00 11 	mov  %l1, %o2                                  
 2006f14:	90 10 00 1a 	mov  %i2, %o0                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 2006f18:	80 a0 60 00 	cmp  %g1, 0                                    
 2006f1c:	12 80 00 06 	bne  2006f34 <rtems_rate_monotonic_report_statistics_with_plugin+0x114>
 2006f20:	92 10 00 13 	mov  %l3, %o1                                  
      (*print)( context, "\n" );                                      
 2006f24:	9f c6 40 00 	call  %i1                                      
 2006f28:	90 10 00 18 	mov  %i0, %o0                                  
      continue;                                                       
 2006f2c:	10 80 00 35 	b  2007000 <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 2006f30:	a0 04 20 01 	inc  %l0                                       
      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 );
 2006f34:	40 00 0e a5 	call  200a9c8 <_Timespec_Divide_by_integer>    
 2006f38:	92 10 00 01 	mov  %g1, %o1                                  
      (*print)( context,                                              
 2006f3c:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 2006f40:	40 00 58 30 	call  201d000 <.div>                           
 2006f44:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006f48:	96 10 00 08 	mov  %o0, %o3                                  
 2006f4c:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
 2006f50:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 2006f54:	40 00 58 2b 	call  201d000 <.div>                           
 2006f58:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006f5c:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 2006f60:	b6 10 00 08 	mov  %o0, %i3                                  
 2006f64:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 2006f68:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 2006f6c:	40 00 58 25 	call  201d000 <.div>                           
 2006f70:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006f74:	d8 07 bf b0 	ld  [ %fp + -80 ], %o4                         
 2006f78:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 2006f7c:	d4 07 bf a8 	ld  [ %fp + -88 ], %o2                         
 2006f80:	9a 10 00 1b 	mov  %i3, %o5                                  
 2006f84:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 2006f88:	92 10 00 15 	mov  %l5, %o1                                  
 2006f8c:	9f c6 40 00 	call  %i1                                      
 2006f90:	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);
 2006f94:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 2006f98:	94 10 00 11 	mov  %l1, %o2                                  
 2006f9c:	40 00 0e 8b 	call  200a9c8 <_Timespec_Divide_by_integer>    
 2006fa0:	90 07 bf d0 	add  %fp, -48, %o0                             
      (*print)( context,                                              
 2006fa4:	d0 07 bf c4 	ld  [ %fp + -60 ], %o0                         
 2006fa8:	40 00 58 16 	call  201d000 <.div>                           
 2006fac:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006fb0:	96 10 00 08 	mov  %o0, %o3                                  
 2006fb4:	d0 07 bf cc 	ld  [ %fp + -52 ], %o0                         
 2006fb8:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 2006fbc:	40 00 58 11 	call  201d000 <.div>                           
 2006fc0:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006fc4:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 2006fc8:	b6 10 00 08 	mov  %o0, %i3                                  
 2006fcc:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 2006fd0:	92 10 23 e8 	mov  0x3e8, %o1                                
 2006fd4:	40 00 58 0b 	call  201d000 <.div>                           
 2006fd8:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 2006fdc:	d4 07 bf c0 	ld  [ %fp + -64 ], %o2                         
 2006fe0:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 2006fe4:	d8 07 bf c8 	ld  [ %fp + -56 ], %o4                         
 2006fe8:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 2006fec:	9a 10 00 1b 	mov  %i3, %o5                                  
 2006ff0:	90 10 00 18 	mov  %i0, %o0                                  
 2006ff4:	9f c6 40 00 	call  %i1                                      
 2006ff8:	92 10 00 14 	mov  %l4, %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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 2006ffc:	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 ;                   
 2007000:	c2 05 e0 0c 	ld  [ %l7 + 0xc ], %g1                         
 2007004:	80 a4 00 01 	cmp  %l0, %g1                                  
 2007008:	08 bf ff af 	bleu  2006ec4 <rtems_rate_monotonic_report_statistics_with_plugin+0xa4>
 200700c:	90 10 00 10 	mov  %l0, %o0                                  
 2007010:	81 c7 e0 08 	ret                                            
 2007014:	81 e8 00 00 	restore                                        
                                                                      

020143b4 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 20143b4:	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 )                                                  
 20143b8:	82 10 20 0a 	mov  0xa, %g1                                  
 20143bc:	80 a6 60 00 	cmp  %i1, 0                                    
 20143c0:	02 80 00 2a 	be  2014468 <rtems_signal_send+0xb4>           
 20143c4:	90 10 00 18 	mov  %i0, %o0                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 20143c8:	40 00 10 a7 	call  2018664 <_Thread_Get>                    
 20143cc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 20143d0:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 20143d4:	a0 10 00 08 	mov  %o0, %l0                                  
  switch ( location ) {                                               
 20143d8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20143dc:	12 80 00 23 	bne  2014468 <rtems_signal_send+0xb4>          
 20143e0:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 20143e4:	d2 02 21 68 	ld  [ %o0 + 0x168 ], %o1                       
      asr = &api->Signal;                                             
 20143e8:	c2 02 60 0c 	ld  [ %o1 + 0xc ], %g1                         
 20143ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20143f0:	02 80 00 1b 	be  201445c <rtems_signal_send+0xa8>           
 20143f4:	01 00 00 00 	nop                                            
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
 20143f8:	c2 0a 60 08 	ldub  [ %o1 + 8 ], %g1                         
 20143fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2014400:	02 80 00 11 	be  2014444 <rtems_signal_send+0x90>           
 2014404:	90 10 00 19 	mov  %i1, %o0                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
 2014408:	7f ff ff e2 	call  2014390 <_ASR_Post_signals>              
 201440c:	92 02 60 14 	add  %o1, 0x14, %o1                            
                                                                      
          the_thread->do_post_task_switch_extension = true;           
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2014410:	03 00 80 f2 	sethi  %hi(0x203c800), %g1                     
 2014414:	c4 00 61 4c 	ld  [ %g1 + 0x14c ], %g2	! 203c94c <_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;           
 2014418:	82 10 20 01 	mov  1, %g1                                    
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 201441c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2014420:	02 80 00 0b 	be  201444c <rtems_signal_send+0x98>           
 2014424:	c2 2c 20 74 	stb  %g1, [ %l0 + 0x74 ]                       
 2014428:	05 00 80 f2 	sethi  %hi(0x203c800), %g2                     
 201442c:	c4 00 a1 70 	ld  [ %g2 + 0x170 ], %g2	! 203c970 <_Thread_Executing>
 2014430:	80 a4 00 02 	cmp  %l0, %g2                                  
 2014434:	12 80 00 06 	bne  201444c <rtems_signal_send+0x98>          <== NEVER TAKEN
 2014438:	05 00 80 f2 	sethi  %hi(0x203c800), %g2                     
            _ISR_Signals_to_thread_executing = true;                  
 201443c:	10 80 00 04 	b  201444c <rtems_signal_send+0x98>            
 2014440:	c2 28 a2 08 	stb  %g1, [ %g2 + 0x208 ]	! 203ca08 <_ISR_Signals_to_thread_executing>
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
 2014444:	7f ff ff d3 	call  2014390 <_ASR_Post_signals>              
 2014448:	92 02 60 18 	add  %o1, 0x18, %o1                            
        }                                                             
        _Thread_Enable_dispatch();                                    
 201444c:	40 00 10 63 	call  20185d8 <_Thread_Enable_dispatch>        
 2014450:	01 00 00 00 	nop                                            
        return RTEMS_SUCCESSFUL;                                      
 2014454:	10 80 00 05 	b  2014468 <rtems_signal_send+0xb4>            
 2014458:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 201445c:	40 00 10 5f 	call  20185d8 <_Thread_Enable_dispatch>        
 2014460:	01 00 00 00 	nop                                            
 2014464:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2014468:	81 c7 e0 08 	ret                                            
 201446c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200dd64 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 200dd64:	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 )                                           
 200dd68:	80 a6 a0 00 	cmp  %i2, 0                                    
 200dd6c:	02 80 00 54 	be  200debc <rtems_task_mode+0x158>            
 200dd70:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 200dd74:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200dd78:	e0 00 61 e0 	ld  [ %g1 + 0x1e0 ], %l0	! 201bde0 <_Thread_Executing>
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200dd7c:	c4 0c 20 75 	ldub  [ %l0 + 0x75 ], %g2                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200dd80:	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;
 200dd84:	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 ];                
 200dd88:	e2 04 21 68 	ld  [ %l0 + 0x168 ], %l1                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200dd8c:	a4 60 3f ff 	subx  %g0, -1, %l2                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200dd90:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd94:	02 80 00 03 	be  200dda0 <rtems_task_mode+0x3c>             
 200dd98:	a5 2c a0 08 	sll  %l2, 8, %l2                               
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
 200dd9c:	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;                                                 
 200dda0:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
 200dda4:	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();                                       
 200dda8:	7f ff ee 3d 	call  200969c <_CPU_ISR_Get_level>             
 200ddac:	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;                                                 
 200ddb0:	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;           
 200ddb4:	a6 14 c0 08 	or  %l3, %o0, %l3                              
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 200ddb8:	a4 14 c0 12 	or  %l3, %l2, %l2                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 200ddbc:	80 8e 61 00 	btst  0x100, %i1                               
 200ddc0:	02 80 00 06 	be  200ddd8 <rtems_task_mode+0x74>             
 200ddc4:	e4 26 80 00 	st  %l2, [ %i2 ]                               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 200ddc8:	83 36 20 08 	srl  %i0, 8, %g1                               
 200ddcc:	82 18 60 01 	xor  %g1, 1, %g1                               
 200ddd0:	82 08 60 01 	and  %g1, 1, %g1                               
 200ddd4:	c2 2c 20 75 	stb  %g1, [ %l0 + 0x75 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 200ddd8:	80 8e 62 00 	btst  0x200, %i1                               
 200dddc:	02 80 00 0b 	be  200de08 <rtems_task_mode+0xa4>             
 200dde0:	80 8e 60 0f 	btst  0xf, %i1                                 
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 200dde4:	80 8e 22 00 	btst  0x200, %i0                               
 200dde8:	22 80 00 07 	be,a   200de04 <rtems_task_mode+0xa0>          
 200ddec:	c0 24 20 7c 	clr  [ %l0 + 0x7c ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 200ddf0:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200ddf4:	c2 00 60 78 	ld  [ %g1 + 0x78 ], %g1	! 201bc78 <_Thread_Ticks_per_timeslice>
 200ddf8:	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;
 200ddfc:	82 10 20 01 	mov  1, %g1                                    
 200de00:	c2 24 20 7c 	st  %g1, [ %l0 + 0x7c ]                        
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 200de04:	80 8e 60 0f 	btst  0xf, %i1                                 
 200de08:	02 80 00 06 	be  200de20 <rtems_task_mode+0xbc>             
 200de0c:	80 8e 64 00 	btst  0x400, %i1                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 200de10:	90 0e 20 0f 	and  %i0, 0xf, %o0                             
 200de14:	7f ff d0 eb 	call  20021c0 <sparc_enable_interrupts>        
 200de18:	91 2a 20 08 	sll  %o0, 8, %o0                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 200de1c:	80 8e 64 00 	btst  0x400, %i1                               
 200de20:	22 80 00 18 	be,a   200de80 <rtems_task_mode+0x11c>         
 200de24:	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;                                                 
 200de28:	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(                                    
 200de2c:	b1 36 20 0a 	srl  %i0, 0xa, %i0                             
 200de30:	b0 1e 20 01 	xor  %i0, 1, %i0                               
 200de34:	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;                                                 
 200de38:	80 a6 00 01 	cmp  %i0, %g1                                  
 200de3c:	22 80 00 11 	be,a   200de80 <rtems_task_mode+0x11c>         
 200de40:	a0 10 20 00 	clr  %l0                                       
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 200de44:	7f ff d0 db 	call  20021b0 <sparc_disable_interrupts>       
 200de48:	f0 2c 60 08 	stb  %i0, [ %l1 + 8 ]                          
    _signals                     = information->signals_pending;      
 200de4c:	c4 04 60 18 	ld  [ %l1 + 0x18 ], %g2                        
    information->signals_pending = information->signals_posted;       
 200de50:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
    information->signals_posted  = _signals;                          
 200de54:	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;       
 200de58:	c2 24 60 18 	st  %g1, [ %l1 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 200de5c:	7f ff d0 d9 	call  20021c0 <sparc_enable_interrupts>        
 200de60:	01 00 00 00 	nop                                            
 200de64:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 200de68:	80 a0 60 00 	cmp  %g1, 0                                    
 200de6c:	22 80 00 05 	be,a   200de80 <rtems_task_mode+0x11c>         
 200de70:	a0 10 20 00 	clr  %l0                                       
    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;              
 200de74:	82 10 20 01 	mov  1, %g1                                    
 200de78:	c2 2c 20 74 	stb  %g1, [ %l0 + 0x74 ]                       
 200de7c:	a0 10 20 01 	mov  1, %l0                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
 200de80:	03 00 80 6f 	sethi  %hi(0x201bc00), %g1                     
 200de84:	c2 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g1	! 201bec0 <_System_state_Current>
 200de88:	80 a0 60 03 	cmp  %g1, 3                                    
 200de8c:	12 80 00 0c 	bne  200debc <rtems_task_mode+0x158>           <== NEVER TAKEN
 200de90:	82 10 20 00 	clr  %g1                                       
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
 200de94:	40 00 00 bc 	call  200e184 <_Thread_Evaluate_mode>          
 200de98:	01 00 00 00 	nop                                            
 200de9c:	80 8a 20 ff 	btst  0xff, %o0                                
 200dea0:	12 80 00 04 	bne  200deb0 <rtems_task_mode+0x14c>           
 200dea4:	80 8c 20 ff 	btst  0xff, %l0                                
 200dea8:	02 80 00 05 	be  200debc <rtems_task_mode+0x158>            
 200deac:	82 10 20 00 	clr  %g1                                       
      _Thread_Dispatch();                                             
 200deb0:	7f ff e7 03 	call  2007abc <_Thread_Dispatch>               
 200deb4:	01 00 00 00 	nop                                            
 200deb8:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200debc:	81 c7 e0 08 	ret                                            
 200dec0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200afcc <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
 200afcc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 200afd0:	80 a6 60 00 	cmp  %i1, 0                                    
 200afd4:	02 80 00 07 	be  200aff0 <rtems_task_set_priority+0x24>     
 200afd8:	90 10 00 18 	mov  %i0, %o0                                  
 200afdc:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 200afe0:	c2 08 61 44 	ldub  [ %g1 + 0x144 ], %g1	! 2021d44 <rtems_maximum_priority>
 200afe4:	80 a6 40 01 	cmp  %i1, %g1                                  
 200afe8:	18 80 00 1c 	bgu  200b058 <rtems_task_set_priority+0x8c>    
 200afec:	b0 10 20 13 	mov  0x13, %i0                                 
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 200aff0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200aff4:	02 80 00 19 	be  200b058 <rtems_task_set_priority+0x8c>     
 200aff8:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200affc:	40 00 08 59 	call  200d160 <_Thread_Get>                    
 200b000:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200b004:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200b008:	80 a0 60 00 	cmp  %g1, 0                                    
 200b00c:	12 80 00 13 	bne  200b058 <rtems_task_set_priority+0x8c>    
 200b010:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 200b014:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 200b018:	80 a6 60 00 	cmp  %i1, 0                                    
 200b01c:	02 80 00 0d 	be  200b050 <rtems_task_set_priority+0x84>     
 200b020:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 200b024:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200b028:	80 a0 60 00 	cmp  %g1, 0                                    
 200b02c:	02 80 00 06 	be  200b044 <rtems_task_set_priority+0x78>     
 200b030:	f2 22 20 18 	st  %i1, [ %o0 + 0x18 ]                        
             the_thread->current_priority > new_priority )            
 200b034:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200b038:	80 a0 40 19 	cmp  %g1, %i1                                  
 200b03c:	08 80 00 05 	bleu  200b050 <rtems_task_set_priority+0x84>   <== ALWAYS TAKEN
 200b040:	01 00 00 00 	nop                                            
          _Thread_Change_priority( the_thread, new_priority, false ); 
 200b044:	92 10 00 19 	mov  %i1, %o1                                  
 200b048:	40 00 06 98 	call  200caa8 <_Thread_Change_priority>        
 200b04c:	94 10 20 00 	clr  %o2                                       
      }                                                               
      _Thread_Enable_dispatch();                                      
 200b050:	40 00 08 21 	call  200d0d4 <_Thread_Enable_dispatch>        
 200b054:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 200b058:	81 c7 e0 08 	ret                                            
 200b05c:	81 e8 00 00 	restore                                        
                                                                      

02014d6c <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 2014d6c:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 2014d70:	11 00 80 f4 	sethi  %hi(0x203d000), %o0                     
 2014d74:	92 10 00 18 	mov  %i0, %o1                                  
 2014d78:	90 12 22 30 	or  %o0, 0x230, %o0                            
 2014d7c:	40 00 0b 83 	call  2017b88 <_Objects_Get>                   
 2014d80:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2014d84:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2014d88:	80 a0 60 00 	cmp  %g1, 0                                    
 2014d8c:	12 80 00 0a 	bne  2014db4 <rtems_timer_cancel+0x48>         
 2014d90:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 2014d94:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2014d98:	80 a0 60 04 	cmp  %g1, 4                                    
 2014d9c:	02 80 00 04 	be  2014dac <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 2014da0:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 2014da4:	40 00 14 3f 	call  2019ea0 <_Watchdog_Remove>               
 2014da8:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 2014dac:	40 00 0e 0b 	call  20185d8 <_Thread_Enable_dispatch>        
 2014db0:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2014db4:	81 c7 e0 08 	ret                                            
 2014db8:	81 e8 00 00 	restore                                        
                                                                      

0201525c <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 201525c:	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;                 
 2015260:	03 00 80 f4 	sethi  %hi(0x203d000), %g1                     
 2015264:	e0 00 62 70 	ld  [ %g1 + 0x270 ], %l0	! 203d270 <_Timer_server>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 2015268:	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 )                                                
 201526c:	80 a4 20 00 	cmp  %l0, 0                                    
 2015270:	02 80 00 32 	be  2015338 <rtems_timer_server_fire_when+0xdc>
 2015274:	b0 10 20 0e 	mov  0xe, %i0                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 2015278:	03 00 80 f2 	sethi  %hi(0x203c800), %g1                     
 201527c:	c2 08 60 c4 	ldub  [ %g1 + 0xc4 ], %g1	! 203c8c4 <_TOD_Is_set>
 2015280:	80 a0 60 00 	cmp  %g1, 0                                    
 2015284:	02 80 00 2d 	be  2015338 <rtems_timer_server_fire_when+0xdc><== NEVER TAKEN
 2015288:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 201528c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2015290:	02 80 00 2a 	be  2015338 <rtems_timer_server_fire_when+0xdc>
 2015294:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2015298:	7f ff f4 0d 	call  20122cc <_TOD_Validate>                  
 201529c:	90 10 00 19 	mov  %i1, %o0                                  
 20152a0:	80 8a 20 ff 	btst  0xff, %o0                                
 20152a4:	22 80 00 25 	be,a   2015338 <rtems_timer_server_fire_when+0xdc>
 20152a8:	b0 10 20 14 	mov  0x14, %i0                                 
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 20152ac:	7f ff f3 d4 	call  20121fc <_TOD_To_seconds>                
 20152b0:	90 10 00 19 	mov  %i1, %o0                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 20152b4:	27 00 80 f2 	sethi  %hi(0x203c800), %l3                     
 20152b8:	c2 04 e1 44 	ld  [ %l3 + 0x144 ], %g1	! 203c944 <_TOD_Now>  
 20152bc:	80 a2 00 01 	cmp  %o0, %g1                                  
 20152c0:	08 80 00 20 	bleu  2015340 <rtems_timer_server_fire_when+0xe4>
 20152c4:	a4 10 00 08 	mov  %o0, %l2                                  
 20152c8:	11 00 80 f4 	sethi  %hi(0x203d000), %o0                     
 20152cc:	92 10 00 11 	mov  %l1, %o1                                  
 20152d0:	90 12 22 30 	or  %o0, 0x230, %o0                            
 20152d4:	40 00 0a 2d 	call  2017b88 <_Objects_Get>                   
 20152d8:	94 07 bf fc 	add  %fp, -4, %o2                              
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 20152dc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20152e0:	b2 10 00 08 	mov  %o0, %i1                                  
 20152e4:	80 a0 60 00 	cmp  %g1, 0                                    
 20152e8:	12 80 00 14 	bne  2015338 <rtems_timer_server_fire_when+0xdc>
 20152ec:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 20152f0:	40 00 12 ec 	call  2019ea0 <_Watchdog_Remove>               
 20152f4:	90 02 20 10 	add  %o0, 0x10, %o0                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 20152f8:	e2 26 60 30 	st  %l1, [ %i1 + 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();
 20152fc:	c4 04 e1 44 	ld  [ %l3 + 0x144 ], %g2                       
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2015300:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2015304:	90 10 00 10 	mov  %l0, %o0                                  
 2015308:	92 10 00 19 	mov  %i1, %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();
 201530c:	a4 24 80 02 	sub  %l2, %g2, %l2                             
  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;               
 2015310:	84 10 20 03 	mov  3, %g2                                    
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2015314:	f4 26 60 2c 	st  %i2, [ %i1 + 0x2c ]                        
 2015318:	c4 26 60 38 	st  %g2, [ %i1 + 0x38 ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 201531c:	f6 26 60 34 	st  %i3, [ %i1 + 0x34 ]                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2015320:	e4 26 60 1c 	st  %l2, [ %i1 + 0x1c ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2015324:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2015328:	9f c0 40 00 	call  %g1                                      
 201532c:	b0 10 20 00 	clr  %i0                                       
                                                                      
      _Thread_Enable_dispatch();                                      
 2015330:	40 00 0c aa 	call  20185d8 <_Thread_Enable_dispatch>        
 2015334:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2015338:	81 c7 e0 08 	ret                                            
 201533c:	81 e8 00 00 	restore                                        
 2015340:	b0 10 20 14 	mov  0x14, %i0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2015344:	81 c7 e0 08 	ret                                            
 2015348:	81 e8 00 00 	restore                                        
                                                                      

02006320 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
 2006320:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2006324:	80 a6 20 04 	cmp  %i0, 4                                    
 2006328:	18 80 00 06 	bgu  2006340 <sched_get_priority_max+0x20>     
 200632c:	82 10 20 01 	mov  1, %g1                                    
 2006330:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2006334:	80 8e 20 17 	btst  0x17, %i0                                
 2006338:	12 80 00 08 	bne  2006358 <sched_get_priority_max+0x38>     <== ALWAYS TAKEN
 200633c:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006340:	40 00 26 56 	call  200fc98 <__errno>                        
 2006344:	b0 10 3f ff 	mov  -1, %i0                                   
 2006348:	82 10 20 16 	mov  0x16, %g1                                 
 200634c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006350:	81 c7 e0 08 	ret                                            
 2006354:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
 2006358:	f0 08 61 88 	ldub  [ %g1 + 0x188 ], %i0                     
}                                                                     
 200635c:	81 c7 e0 08 	ret                                            
 2006360:	91 ee 3f ff 	restore  %i0, -1, %o0                          
                                                                      

02006364 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
 2006364:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2006368:	80 a6 20 04 	cmp  %i0, 4                                    
 200636c:	18 80 00 06 	bgu  2006384 <sched_get_priority_min+0x20>     
 2006370:	82 10 20 01 	mov  1, %g1                                    
 2006374:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2006378:	80 8e 20 17 	btst  0x17, %i0                                
 200637c:	12 80 00 06 	bne  2006394 <sched_get_priority_min+0x30>     <== ALWAYS TAKEN
 2006380:	b0 10 20 01 	mov  1, %i0                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006384:	40 00 26 45 	call  200fc98 <__errno>                        
 2006388:	b0 10 3f ff 	mov  -1, %i0                                   
 200638c:	82 10 20 16 	mov  0x16, %g1                                 
 2006390:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 2006394:	81 c7 e0 08 	ret                                            
 2006398:	81 e8 00 00 	restore                                        
                                                                      

0200639c <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
 200639c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 20063a0:	80 a6 20 00 	cmp  %i0, 0                                    
 20063a4:	02 80 00 0b 	be  20063d0 <sched_rr_get_interval+0x34>       <== NEVER TAKEN
 20063a8:	80 a6 60 00 	cmp  %i1, 0                                    
 20063ac:	7f ff f2 c6 	call  2002ec4 <getpid>                         
 20063b0:	01 00 00 00 	nop                                            
 20063b4:	80 a6 00 08 	cmp  %i0, %o0                                  
 20063b8:	02 80 00 06 	be  20063d0 <sched_rr_get_interval+0x34>       
 20063bc:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 20063c0:	40 00 26 36 	call  200fc98 <__errno>                        
 20063c4:	01 00 00 00 	nop                                            
 20063c8:	10 80 00 07 	b  20063e4 <sched_rr_get_interval+0x48>        
 20063cc:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               
                                                                      
  if ( !interval )                                                    
 20063d0:	12 80 00 08 	bne  20063f0 <sched_rr_get_interval+0x54>      
 20063d4:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20063d8:	40 00 26 30 	call  200fc98 <__errno>                        
 20063dc:	01 00 00 00 	nop                                            
 20063e0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 20063e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20063e8:	81 c7 e0 08 	ret                                            
 20063ec:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
 20063f0:	d0 00 63 c8 	ld  [ %g1 + 0x3c8 ], %o0                       
 20063f4:	92 10 00 19 	mov  %i1, %o1                                  
 20063f8:	40 00 0d fe 	call  2009bf0 <_Timespec_From_ticks>           
 20063fc:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2006400:	81 c7 e0 08 	ret                                            
 2006404:	81 e8 00 00 	restore                                        
                                                                      

02008cb8 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
 2008cb8:	9d e3 bf 90 	save  %sp, -112, %sp                           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2008cbc:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
 2008cc0:	c4 00 60 50 	ld  [ %g1 + 0x50 ], %g2	! 2022050 <_Thread_Dispatch_disable_level>
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2008cc4:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2008cc8:	84 00 a0 01 	inc  %g2                                       
 2008ccc:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2008cd0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2008cd4:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 2008cd8:	c4 20 60 50 	st  %g2, [ %g1 + 0x50 ]                        
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2008cdc:	a2 8e 62 00 	andcc  %i1, 0x200, %l1                         
 2008ce0:	02 80 00 05 	be  2008cf4 <sem_open+0x3c>                    
 2008ce4:	a0 10 20 00 	clr  %l0                                       
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
 2008ce8:	e0 07 a0 50 	ld  [ %fp + 0x50 ], %l0                        
 2008cec:	82 07 a0 54 	add  %fp, 0x54, %g1                            
 2008cf0:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
 2008cf4:	90 10 00 18 	mov  %i0, %o0                                  
 2008cf8:	40 00 1a ce 	call  200f830 <_POSIX_Semaphore_Name_to_id>    
 2008cfc:	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 ) {                                                     
 2008d00:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2008d04:	22 80 00 0e 	be,a   2008d3c <sem_open+0x84>                 
 2008d08:	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) ) ) {               
 2008d0c:	80 a4 a0 02 	cmp  %l2, 2                                    
 2008d10:	12 80 00 04 	bne  2008d20 <sem_open+0x68>                   <== NEVER TAKEN
 2008d14:	80 a4 60 00 	cmp  %l1, 0                                    
 2008d18:	12 80 00 21 	bne  2008d9c <sem_open+0xe4>                   
 2008d1c:	94 10 00 10 	mov  %l0, %o2                                  
      _Thread_Enable_dispatch();                                      
 2008d20:	40 00 0a a2 	call  200b7a8 <_Thread_Enable_dispatch>        
 2008d24:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
 2008d28:	40 00 29 5b 	call  2013294 <__errno>                        
 2008d2c:	01 00 00 00 	nop                                            
 2008d30:	e4 22 00 00 	st  %l2, [ %o0 ]                               
 2008d34:	81 c7 e0 08 	ret                                            
 2008d38:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 2008d3c:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 2008d40:	12 80 00 0a 	bne  2008d68 <sem_open+0xb0>                   
 2008d44:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
      _Thread_Enable_dispatch();                                      
 2008d48:	40 00 0a 98 	call  200b7a8 <_Thread_Enable_dispatch>        
 2008d4c:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
 2008d50:	40 00 29 51 	call  2013294 <__errno>                        
 2008d54:	01 00 00 00 	nop                                            
 2008d58:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 2008d5c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008d60:	81 c7 e0 08 	ret                                            
 2008d64:	81 e8 00 00 	restore                                        
 2008d68:	94 07 bf f0 	add  %fp, -16, %o2                             
 2008d6c:	11 00 80 88 	sethi  %hi(0x2022000), %o0                     
 2008d70:	40 00 08 27 	call  200ae0c <_Objects_Get>                   
 2008d74:	90 12 23 60 	or  %o0, 0x360, %o0	! 2022360 <_POSIX_Semaphore_Information>
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
 2008d78:	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 );
 2008d7c:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_semaphore->open_count += 1;                                   
 2008d80:	82 00 60 01 	inc  %g1                                       
    _Thread_Enable_dispatch();                                        
 2008d84:	40 00 0a 89 	call  200b7a8 <_Thread_Enable_dispatch>        
 2008d88:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
    _Thread_Enable_dispatch();                                        
 2008d8c:	40 00 0a 87 	call  200b7a8 <_Thread_Enable_dispatch>        
 2008d90:	01 00 00 00 	nop                                            
    goto return_id;                                                   
 2008d94:	10 80 00 0c 	b  2008dc4 <sem_open+0x10c>                    
 2008d98:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
  /*                                                                  
   *  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(                            
 2008d9c:	90 10 00 18 	mov  %i0, %o0                                  
 2008da0:	92 10 20 00 	clr  %o1                                       
 2008da4:	40 00 1a 4d 	call  200f6d8 <_POSIX_Semaphore_Create_support>
 2008da8:	96 07 bf f4 	add  %fp, -12, %o3                             
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 2008dac:	40 00 0a 7f 	call  200b7a8 <_Thread_Enable_dispatch>        
 2008db0:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
  if ( status == -1 )                                                 
 2008db4:	80 a4 3f ff 	cmp  %l0, -1                                   
 2008db8:	02 bf ff ea 	be  2008d60 <sem_open+0xa8>                    
 2008dbc:	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;                          
 2008dc0:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 2008dc4:	b0 06 20 08 	add  %i0, 8, %i0                               
  #endif                                                              
  return id;                                                          
}                                                                     
 2008dc8:	81 c7 e0 08 	ret                                            
 2008dcc:	81 e8 00 00 	restore                                        
                                                                      

020062c8 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
 20062c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
 20062cc:	90 10 00 1a 	mov  %i2, %o0                                  
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
 20062d0:	80 a6 a0 00 	cmp  %i2, 0                                    
 20062d4:	02 80 00 0a 	be  20062fc <sigaction+0x34>                   
 20062d8:	a0 10 00 18 	mov  %i0, %l0                                  
    *oact = _POSIX_signals_Vectors[ sig ];                            
 20062dc:	83 2e 20 02 	sll  %i0, 2, %g1                               
 20062e0:	85 2e 20 04 	sll  %i0, 4, %g2                               
 20062e4:	82 20 80 01 	sub  %g2, %g1, %g1                             
 20062e8:	13 00 80 79 	sethi  %hi(0x201e400), %o1                     
 20062ec:	94 10 20 0c 	mov  0xc, %o2                                  
 20062f0:	92 12 61 44 	or  %o1, 0x144, %o1                            
 20062f4:	40 00 29 3d 	call  20107e8 <memcpy>                         
 20062f8:	92 02 40 01 	add  %o1, %g1, %o1                             
                                                                      
  if ( !sig )                                                         
 20062fc:	80 a4 20 00 	cmp  %l0, 0                                    
 2006300:	02 80 00 07 	be  200631c <sigaction+0x54>                   
 2006304:	82 04 3f ff 	add  %l0, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 2006308:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 200630c:	18 80 00 04 	bgu  200631c <sigaction+0x54>                  
 2006310:	80 a4 20 09 	cmp  %l0, 9                                    
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
 2006314:	12 80 00 08 	bne  2006334 <sigaction+0x6c>                  
 2006318:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200631c:	40 00 26 f2 	call  200fee4 <__errno>                        
 2006320:	b0 10 3f ff 	mov  -1, %i0                                   
 2006324:	82 10 20 16 	mov  0x16, %g1                                 
 2006328:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200632c:	81 c7 e0 08 	ret                                            
 2006330:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
 2006334:	02 bf ff fe 	be  200632c <sigaction+0x64>                   <== NEVER TAKEN
 2006338:	b0 10 20 00 	clr  %i0                                       
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
 200633c:	7f ff f1 37 	call  2002818 <sparc_disable_interrupts>       
 2006340:	01 00 00 00 	nop                                            
 2006344:	a2 10 00 08 	mov  %o0, %l1                                  
      if ( act->sa_handler == SIG_DFL ) {                             
 2006348:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200634c:	25 00 80 79 	sethi  %hi(0x201e400), %l2                     
 2006350:	80 a0 60 00 	cmp  %g1, 0                                    
 2006354:	a4 14 a1 44 	or  %l2, 0x144, %l2                            
 2006358:	a7 2c 20 02 	sll  %l0, 2, %l3                               
 200635c:	12 80 00 08 	bne  200637c <sigaction+0xb4>                  
 2006360:	a9 2c 20 04 	sll  %l0, 4, %l4                               
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
 2006364:	a6 25 00 13 	sub  %l4, %l3, %l3                             
 2006368:	13 00 80 71 	sethi  %hi(0x201c400), %o1                     
 200636c:	90 04 80 13 	add  %l2, %l3, %o0                             
 2006370:	92 12 63 80 	or  %o1, 0x380, %o1                            
 2006374:	10 80 00 07 	b  2006390 <sigaction+0xc8>                    
 2006378:	92 02 40 13 	add  %o1, %l3, %o1                             
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
 200637c:	40 00 18 d9 	call  200c6e0 <_POSIX_signals_Clear_process_signals>
 2006380:	90 10 00 10 	mov  %l0, %o0                                  
         _POSIX_signals_Vectors[ sig ] = *act;                        
 2006384:	a6 25 00 13 	sub  %l4, %l3, %l3                             
 2006388:	92 10 00 19 	mov  %i1, %o1                                  
 200638c:	90 04 80 13 	add  %l2, %l3, %o0                             
 2006390:	40 00 29 16 	call  20107e8 <memcpy>                         
 2006394:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
    _ISR_Enable( level );                                             
 2006398:	b0 10 20 00 	clr  %i0                                       
 200639c:	7f ff f1 23 	call  2002828 <sparc_enable_interrupts>        
 20063a0:	90 10 00 11 	mov  %l1, %o0                                  
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 20063a4:	81 c7 e0 08 	ret                                            
 20063a8:	81 e8 00 00 	restore                                        
                                                                      

020084f4 <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
 20084f4:	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 ); 
 20084f8:	90 10 20 01 	mov  1, %o0                                    
 20084fc:	92 10 00 18 	mov  %i0, %o1                                  
 2008500:	a0 07 bf fc 	add  %fp, -4, %l0                              
 2008504:	7f ff ff f1 	call  20084c8 <sigprocmask>                    
 2008508:	94 10 00 10 	mov  %l0, %o2                                  
                                                                      
  (void) sigfillset( &all_signals );                                  
 200850c:	a2 07 bf f8 	add  %fp, -8, %l1                              
 2008510:	7f ff ff b6 	call  20083e8 <sigfillset>                     
 2008514:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
 2008518:	90 10 00 11 	mov  %l1, %o0                                  
 200851c:	92 10 20 00 	clr  %o1                                       
 2008520:	40 00 00 28 	call  20085c0 <sigtimedwait>                   
 2008524:	94 10 20 00 	clr  %o2                                       
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2008528:	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 );                  
 200852c:	a2 10 00 08 	mov  %o0, %l1                                  
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2008530:	94 10 20 00 	clr  %o2                                       
 2008534:	7f ff ff e5 	call  20084c8 <sigprocmask>                    
 2008538:	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 )                                                 
 200853c:	80 a4 7f ff 	cmp  %l1, -1                                   
 2008540:	02 80 00 06 	be  2008558 <sigsuspend+0x64>                  <== NEVER TAKEN
 2008544:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINTR );                    
 2008548:	40 00 26 43 	call  2011e54 <__errno>                        
 200854c:	01 00 00 00 	nop                                            
 2008550:	82 10 20 04 	mov  4, %g1	! 4 <PROM_START+0x4>               
 2008554:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return status;                                                      
}                                                                     
 2008558:	81 c7 e0 08 	ret                                            
 200855c:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

02006744 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
 2006744:	9d e3 bf 90 	save  %sp, -112, %sp                           
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
 2006748:	80 a6 20 00 	cmp  %i0, 0                                    
 200674c:	02 80 00 0e 	be  2006784 <sigtimedwait+0x40>                
 2006750:	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 ) {                                                    
 2006754:	02 80 00 12 	be  200679c <sigtimedwait+0x58>                
 2006758:	a8 10 20 00 	clr  %l4                                       
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
 200675c:	40 00 0e 30 	call  200a01c <_Timespec_Is_valid>             
 2006760:	90 10 00 1a 	mov  %i2, %o0                                  
 2006764:	80 8a 20 ff 	btst  0xff, %o0                                
 2006768:	02 80 00 07 	be  2006784 <sigtimedwait+0x40>                
 200676c:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
 2006770:	40 00 0e 50 	call  200a0b0 <_Timespec_To_ticks>             
 2006774:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if ( !interval )                                                  
 2006778:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200677c:	12 80 00 09 	bne  20067a0 <sigtimedwait+0x5c>               <== ALWAYS TAKEN
 2006780:	80 a6 60 00 	cmp  %i1, 0                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006784:	40 00 26 b4 	call  2010254 <__errno>                        
 2006788:	b0 10 3f ff 	mov  -1, %i0                                   
 200678c:	82 10 20 16 	mov  0x16, %g1                                 
 2006790:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006794:	81 c7 e0 08 	ret                                            
 2006798:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 200679c:	80 a6 60 00 	cmp  %i1, 0                                    
 20067a0:	02 80 00 03 	be  20067ac <sigtimedwait+0x68>                
 20067a4:	a0 07 bf f4 	add  %fp, -12, %l0                             
 20067a8:	a0 10 00 19 	mov  %i1, %l0                                  
                                                                      
  the_thread = _Thread_Executing;                                     
 20067ac:	23 00 80 79 	sethi  %hi(0x201e400), %l1                     
 20067b0:	f2 04 60 a0 	ld  [ %l1 + 0xa0 ], %i1	! 201e4a0 <_Thread_Executing>
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 20067b4:	7f ff f0 ea 	call  2002b5c <sparc_disable_interrupts>       
 20067b8:	e6 06 61 6c 	ld  [ %i1 + 0x16c ], %l3                       
 20067bc:	a4 10 00 08 	mov  %o0, %l2                                  
  if ( *set & api->signals_pending ) {                                
 20067c0:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 20067c4:	c2 04 e0 d0 	ld  [ %l3 + 0xd0 ], %g1                        
 20067c8:	80 88 80 01 	btst  %g2, %g1                                 
 20067cc:	22 80 00 10 	be,a   200680c <sigtimedwait+0xc8>             
 20067d0:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
 20067d4:	7f ff ff c4 	call  20066e4 <_POSIX_signals_Get_highest>     
 20067d8:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals(                                     
 20067dc:	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 );
 20067e0:	92 10 00 08 	mov  %o0, %o1                                  
    _POSIX_signals_Clear_signals(                                     
 20067e4:	96 10 20 00 	clr  %o3                                       
 20067e8:	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 );
 20067ec:	d2 24 00 00 	st  %o1, [ %l0 ]                               
    _POSIX_signals_Clear_signals(                                     
 20067f0:	40 00 19 9b 	call  200ce5c <_POSIX_signals_Clear_signals>   
 20067f4:	98 10 20 00 	clr  %o4                                       
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
 20067f8:	7f ff f0 dd 	call  2002b6c <sparc_enable_interrupts>        
 20067fc:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
 2006800:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
    return the_info->si_signo;                                        
 2006804:	10 80 00 13 	b  2006850 <sigtimedwait+0x10c>                
 2006808:	f0 04 00 00 	ld  [ %l0 ], %i0                               
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
 200680c:	c2 00 63 68 	ld  [ %g1 + 0x368 ], %g1                       
 2006810:	80 88 80 01 	btst  %g2, %g1                                 
 2006814:	22 80 00 13 	be,a   2006860 <sigtimedwait+0x11c>            
 2006818:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 200681c:	7f ff ff b2 	call  20066e4 <_POSIX_signals_Get_highest>     
 2006820:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 2006824:	94 10 00 10 	mov  %l0, %o2                                  
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 2006828:	b0 10 00 08 	mov  %o0, %i0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 200682c:	96 10 20 01 	mov  1, %o3                                    
 2006830:	90 10 00 13 	mov  %l3, %o0                                  
 2006834:	92 10 00 18 	mov  %i0, %o1                                  
 2006838:	40 00 19 89 	call  200ce5c <_POSIX_signals_Clear_signals>   
 200683c:	98 10 20 00 	clr  %o4                                       
    _ISR_Enable( level );                                             
 2006840:	7f ff f0 cb 	call  2002b6c <sparc_enable_interrupts>        
 2006844:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
 2006848:	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;                                       
 200684c:	f0 24 00 00 	st  %i0, [ %l0 ]                               
    the_info->si_code = SI_USER;                                      
 2006850:	82 10 20 01 	mov  1, %g1                                    
 2006854:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
 2006858:	81 c7 e0 08 	ret                                            
 200685c:	81 e8 00 00 	restore                                        
 2006860:	c4 00 63 e0 	ld  [ %g1 + 0x3e0 ], %g2                       
 2006864:	84 00 a0 01 	inc  %g2                                       
 2006868:	c4 20 63 e0 	st  %g2, [ %g1 + 0x3e0 ]                       
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
 200686c:	82 10 3f ff 	mov  -1, %g1                                   
 2006870:	c2 24 00 00 	st  %g1, [ %l0 ]                               
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
 2006874:	82 10 20 04 	mov  4, %g1                                    
 2006878:	c2 26 60 34 	st  %g1, [ %i1 + 0x34 ]                        
    the_thread->Wait.option          = *set;                          
 200687c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
    the_thread->Wait.return_argument = the_info;                      
 2006880:	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;                          
 2006884:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
 2006888:	25 00 80 7a 	sethi  %hi(0x201e800), %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;
 200688c:	82 10 20 01 	mov  1, %g1                                    
 2006890:	a4 14 a3 00 	or  %l2, 0x300, %l2                            
 2006894:	e4 26 60 44 	st  %l2, [ %i1 + 0x44 ]                        
 2006898:	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 );                                             
 200689c:	7f ff f0 b4 	call  2002b6c <sparc_enable_interrupts>        
 20068a0:	01 00 00 00 	nop                                            
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
 20068a4:	90 10 00 12 	mov  %l2, %o0                                  
 20068a8:	92 10 00 14 	mov  %l4, %o1                                  
 20068ac:	15 00 80 26 	sethi  %hi(0x2009800), %o2                     
 20068b0:	40 00 0b 94 	call  2009700 <_Thread_queue_Enqueue_with_handler>
 20068b4:	94 12 a2 60 	or  %o2, 0x260, %o2	! 2009a60 <_Thread_queue_Timeout>
  _Thread_Enable_dispatch();                                          
 20068b8:	40 00 0a 2d 	call  200916c <_Thread_Enable_dispatch>        
 20068bc:	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 );
 20068c0:	d2 04 00 00 	ld  [ %l0 ], %o1                               
 20068c4:	94 10 00 10 	mov  %l0, %o2                                  
 20068c8:	96 10 20 00 	clr  %o3                                       
 20068cc:	98 10 20 00 	clr  %o4                                       
 20068d0:	40 00 19 63 	call  200ce5c <_POSIX_signals_Clear_signals>   
 20068d4:	90 10 00 13 	mov  %l3, %o0                                  
  errno = _Thread_Executing->Wait.return_code;                        
 20068d8:	40 00 26 5f 	call  2010254 <__errno>                        
 20068dc:	01 00 00 00 	nop                                            
 20068e0:	c2 04 60 a0 	ld  [ %l1 + 0xa0 ], %g1                        
 20068e4:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 20068e8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  return the_info->si_signo;                                          
 20068ec:	f0 04 00 00 	ld  [ %l0 ], %i0                               
}                                                                     
 20068f0:	81 c7 e0 08 	ret                                            
 20068f4:	81 e8 00 00 	restore                                        
                                                                      

02008788 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
 2008788:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
 200878c:	92 10 20 00 	clr  %o1                                       
 2008790:	90 10 00 18 	mov  %i0, %o0                                  
 2008794:	7f ff ff 8b 	call  20085c0 <sigtimedwait>                   
 2008798:	94 10 20 00 	clr  %o2                                       
                                                                      
  if ( status != -1 ) {                                               
 200879c:	80 a2 3f ff 	cmp  %o0, -1                                   
 20087a0:	02 80 00 07 	be  20087bc <sigwait+0x34>                     
 20087a4:	80 a6 60 00 	cmp  %i1, 0                                    
    if ( sig )                                                        
 20087a8:	02 80 00 03 	be  20087b4 <sigwait+0x2c>                     <== NEVER TAKEN
 20087ac:	b0 10 20 00 	clr  %i0                                       
      *sig = status;                                                  
 20087b0:	d0 26 40 00 	st  %o0, [ %i1 ]                               
 20087b4:	81 c7 e0 08 	ret                                            
 20087b8:	81 e8 00 00 	restore                                        
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
 20087bc:	40 00 25 a6 	call  2011e54 <__errno>                        
 20087c0:	01 00 00 00 	nop                                            
 20087c4:	f0 02 00 00 	ld  [ %o0 ], %i0                               
}                                                                     
 20087c8:	81 c7 e0 08 	ret                                            
 20087cc:	81 e8 00 00 	restore                                        
                                                                      

020055ec <sysconf>: */ long sysconf( int name ) {
 20055ec:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( name == _SC_CLK_TCK )                                          
 20055f0:	80 a6 20 02 	cmp  %i0, 2                                    
 20055f4:	12 80 00 09 	bne  2005618 <sysconf+0x2c>                    
 20055f8:	80 a6 20 04 	cmp  %i0, 4                                    
    return (TOD_MICROSECONDS_PER_SECOND /                             
 20055fc:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005600:	d2 00 61 58 	ld  [ %g1 + 0x158 ], %o1	! 201c558 <Configuration+0xc>
 2005604:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2005608:	40 00 4e 0c 	call  2018e38 <.udiv>                          
 200560c:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 2005610:	81 c7 e0 08 	ret                                            
 2005614:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
 2005618:	12 80 00 05 	bne  200562c <sysconf+0x40>                    
 200561c:	80 a6 20 33 	cmp  %i0, 0x33                                 
    return rtems_libio_number_iops;                                   
 2005620:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2005624:	10 80 00 0f 	b  2005660 <sysconf+0x74>                      
 2005628:	d0 00 60 74 	ld  [ %g1 + 0x74 ], %o0	! 201c474 <rtems_libio_number_iops>
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
 200562c:	02 80 00 0d 	be  2005660 <sysconf+0x74>                     
 2005630:	90 10 24 00 	mov  0x400, %o0                                
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
 2005634:	80 a6 20 08 	cmp  %i0, 8                                    
 2005638:	02 80 00 0a 	be  2005660 <sysconf+0x74>                     
 200563c:	90 02 2c 00 	add  %o0, 0xc00, %o0                           
    return PAGE_SIZE;                                                 
                                                                      
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
 2005640:	80 a6 22 03 	cmp  %i0, 0x203                                
 2005644:	02 80 00 07 	be  2005660 <sysconf+0x74>                     <== NEVER TAKEN
 2005648:	90 10 20 00 	clr  %o0                                       
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 200564c:	40 00 27 77 	call  200f428 <__errno>                        
 2005650:	01 00 00 00 	nop                                            
 2005654:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2005658:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200565c:	90 10 3f ff 	mov  -1, %o0                                   
}                                                                     
 2005660:	b0 10 00 08 	mov  %o0, %i0                                  
 2005664:	81 c7 e0 08 	ret                                            
 2005668:	81 e8 00 00 	restore                                        
                                                                      

02005958 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
 2005958:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
 200595c:	80 a6 20 01 	cmp  %i0, 1                                    
 2005960:	12 80 00 13 	bne  20059ac <timer_create+0x54>               
 2005964:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
 2005968:	02 80 00 11 	be  20059ac <timer_create+0x54>                
 200596c:	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) {                                                  
 2005970:	02 80 00 13 	be  20059bc <timer_create+0x64>                
 2005974:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
 2005978:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200597c:	82 00 7f ff 	add  %g1, -1, %g1                              
 2005980:	80 a0 60 01 	cmp  %g1, 1                                    
 2005984:	18 80 00 0a 	bgu  20059ac <timer_create+0x54>               <== NEVER TAKEN
 2005988:	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 )                                         
 200598c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2005990:	80 a0 60 00 	cmp  %g1, 0                                    
 2005994:	02 80 00 06 	be  20059ac <timer_create+0x54>                <== NEVER TAKEN
 2005998:	01 00 00 00 	nop                                            
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
 200599c:	82 00 7f ff 	add  %g1, -1, %g1                              
 20059a0:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 20059a4:	28 80 00 06 	bleu,a   20059bc <timer_create+0x64>           <== ALWAYS TAKEN
 20059a8:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
       rtems_set_errno_and_return_minus_one( EINVAL );                
 20059ac:	40 00 27 fa 	call  200f994 <__errno>                        
 20059b0:	01 00 00 00 	nop                                            
 20059b4:	10 80 00 10 	b  20059f4 <timer_create+0x9c>                 
 20059b8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 20059bc:	c4 00 63 b0 	ld  [ %g1 + 0x3b0 ], %g2                       
 20059c0:	84 00 a0 01 	inc  %g2                                       
 20059c4:	c4 20 63 b0 	st  %g2, [ %g1 + 0x3b0 ]                       
 *  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 );
 20059c8:	11 00 80 81 	sethi  %hi(0x2020400), %o0                     
 20059cc:	40 00 07 c1 	call  20078d0 <_Objects_Allocate>              
 20059d0:	90 12 23 00 	or  %o0, 0x300, %o0	! 2020700 <_POSIX_Timer_Information>
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
 20059d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20059d8:	12 80 00 0a 	bne  2005a00 <timer_create+0xa8>               
 20059dc:	82 10 20 02 	mov  2, %g1                                    
    _Thread_Enable_dispatch();                                        
 20059e0:	40 00 0b 36 	call  20086b8 <_Thread_Enable_dispatch>        
 20059e4:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
 20059e8:	40 00 27 eb 	call  200f994 <__errno>                        
 20059ec:	01 00 00 00 	nop                                            
 20059f0:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 20059f4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20059f8:	81 c7 e0 08 	ret                                            
 20059fc:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
 2005a00:	c2 2a 20 3c 	stb  %g1, [ %o0 + 0x3c ]                       
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 2005a04:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
 2005a08:	c2 00 60 70 	ld  [ %g1 + 0x70 ], %g1	! 2020470 <_Thread_Executing>
                                                                      
  if ( evp != NULL ) {                                                
 2005a0c:	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;                   
 2005a10:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( evp != NULL ) {                                                
 2005a14:	02 80 00 08 	be  2005a34 <timer_create+0xdc>                
 2005a18:	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;                      
 2005a1c:	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;                     
 2005a20:	c6 06 40 00 	ld  [ %i1 ], %g3                               
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2005a24:	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;                     
 2005a28:	c6 22 20 40 	st  %g3, [ %o0 + 0x40 ]                        
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2005a2c:	c4 22 20 44 	st  %g2, [ %o0 + 0x44 ]                        
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 2005a30:	c2 22 20 48 	st  %g1, [ %o0 + 0x48 ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2005a34:	c2 12 20 0a 	lduh  [ %o0 + 0xa ], %g1                       
 2005a38:	05 00 80 81 	sethi  %hi(0x2020400), %g2                     
 2005a3c:	c4 00 a3 1c 	ld  [ %g2 + 0x31c ], %g2	! 202071c <_POSIX_Timer_Information+0x1c>
 2005a40:	83 28 60 02 	sll  %g1, 2, %g1                               
 2005a44:	d0 20 80 01 	st  %o0, [ %g2 + %g1 ]                         
 2005a48:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2005a4c:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
 2005a50:	c0 22 20 68 	clr  [ %o0 + 0x68 ]                            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
 2005a54:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
 2005a58:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
 2005a5c:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
 2005a60:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2005a64:	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;                                      
 2005a68:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2005a6c:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 2005a70:	c0 22 20 2c 	clr  [ %o0 + 0x2c ]                            
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2005a74:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
  _Thread_Enable_dispatch();                                          
 2005a78:	40 00 0b 10 	call  20086b8 <_Thread_Enable_dispatch>        
 2005a7c:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2005a80:	81 c7 e0 08 	ret                                            
 2005a84:	81 e8 00 00 	restore                                        
                                                                      

02005a88 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
 2005a88:	9d e3 bf 80 	save  %sp, -128, %sp                           
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
 2005a8c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005a90:	02 80 00 20 	be  2005b10 <timer_settime+0x88>               <== NEVER TAKEN
 2005a94:	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 ) ||   
 2005a98:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
 2005a9c:	82 10 61 ff 	or  %g1, 0x1ff, %g1                            
 2005aa0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005aa4:	18 80 00 1b 	bgu  2005b10 <timer_settime+0x88>              
 2005aa8:	01 00 00 00 	nop                                            
       ( value->it_value.tv_nsec < 0 ) ||                             
       ( value->it_interval.tv_nsec >= TOD_NANOSECONDS_PER_SECOND) || 
 2005aac:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 2005ab0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005ab4:	18 80 00 17 	bgu  2005b10 <timer_settime+0x88>              <== NEVER TAKEN
 2005ab8:	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 ) {    
 2005abc:	02 80 00 05 	be  2005ad0 <timer_settime+0x48>               
 2005ac0:	90 07 bf e4 	add  %fp, -28, %o0                             
 2005ac4:	80 a6 60 04 	cmp  %i1, 4                                    
 2005ac8:	12 80 00 12 	bne  2005b10 <timer_settime+0x88>              
 2005acc:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
 2005ad0:	92 10 00 1a 	mov  %i2, %o1                                  
 2005ad4:	40 00 2a 06 	call  20102ec <memcpy>                         
 2005ad8:	94 10 20 10 	mov  0x10, %o2                                 
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
 2005adc:	80 a6 60 04 	cmp  %i1, 4                                    
 2005ae0:	12 80 00 16 	bne  2005b38 <timer_settime+0xb0>              
 2005ae4:	92 10 00 18 	mov  %i0, %o1                                  
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
 2005ae8:	a0 07 bf f4 	add  %fp, -12, %l0                             
 2005aec:	40 00 06 18 	call  200734c <_TOD_Get>                       
 2005af0:	90 10 00 10 	mov  %l0, %o0                                  
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
 2005af4:	b2 07 bf ec 	add  %fp, -20, %i1                             
 2005af8:	90 10 00 10 	mov  %l0, %o0                                  
 2005afc:	40 00 0e 9b 	call  2009568 <_Timespec_Greater_than>         
 2005b00:	92 10 00 19 	mov  %i1, %o1                                  
 2005b04:	80 8a 20 ff 	btst  0xff, %o0                                
 2005b08:	02 80 00 08 	be  2005b28 <timer_settime+0xa0>               
 2005b0c:	92 10 00 19 	mov  %i1, %o1                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2005b10:	40 00 27 a1 	call  200f994 <__errno>                        
 2005b14:	b0 10 3f ff 	mov  -1, %i0                                   
 2005b18:	82 10 20 16 	mov  0x16, %g1                                 
 2005b1c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2005b20:	81 c7 e0 08 	ret                                            
 2005b24:	81 e8 00 00 	restore                                        
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
 2005b28:	90 10 00 10 	mov  %l0, %o0                                  
 2005b2c:	40 00 0e a0 	call  20095ac <_Timespec_Subtract>             
 2005b30:	94 10 00 19 	mov  %i1, %o2                                  
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
 2005b34:	92 10 00 18 	mov  %i0, %o1                                  
 2005b38:	11 00 80 81 	sethi  %hi(0x2020400), %o0                     
 2005b3c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2005b40:	40 00 08 a3 	call  2007dcc <_Objects_Get>                   
 2005b44:	90 12 23 00 	or  %o0, 0x300, %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 ) {                                               
 2005b48:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2005b4c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b50:	12 80 00 38 	bne  2005c30 <timer_settime+0x1a8>             
 2005b54:	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 ) {
 2005b58:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 2005b5c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b60:	12 80 00 14 	bne  2005bb0 <timer_settime+0x128>             
 2005b64:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 2005b68:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b6c:	12 80 00 11 	bne  2005bb0 <timer_settime+0x128>             
 2005b70:	01 00 00 00 	nop                                            
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
 2005b74:	40 00 0f cc 	call  2009aa4 <_Watchdog_Remove>               
 2005b78:	90 02 20 10 	add  %o0, 0x10, %o0                            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
 2005b7c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2005b80:	02 80 00 05 	be  2005b94 <timer_settime+0x10c>              
 2005b84:	90 10 00 1b 	mov  %i3, %o0                                  
           *ovalue = ptimer->timer_data;                              
 2005b88:	92 04 20 54 	add  %l0, 0x54, %o1                            
 2005b8c:	40 00 29 d8 	call  20102ec <memcpy>                         
 2005b90:	94 10 20 10 	mov  0x10, %o2                                 
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2005b94:	92 07 bf e4 	add  %fp, -28, %o1                             
 2005b98:	94 10 20 10 	mov  0x10, %o2                                 
 2005b9c:	40 00 29 d4 	call  20102ec <memcpy>                         
 2005ba0:	90 04 20 54 	add  %l0, 0x54, %o0                            
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 2005ba4:	82 10 20 04 	mov  4, %g1                                    
 2005ba8:	10 80 00 1e 	b  2005c20 <timer_settime+0x198>               
 2005bac:	c2 2c 20 3c 	stb  %g1, [ %l0 + 0x3c ]                       
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
 2005bb0:	40 00 0e 93 	call  20095fc <_Timespec_To_ticks>             
 2005bb4:	90 10 00 1a 	mov  %i2, %o0                                  
 2005bb8:	d0 24 20 64 	st  %o0, [ %l0 + 0x64 ]                        
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 2005bbc:	40 00 0e 90 	call  20095fc <_Timespec_To_ticks>             
 2005bc0:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2005bc4:	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 );    
 2005bc8:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2005bcc:	17 00 80 17 	sethi  %hi(0x2005c00), %o3                     
 2005bd0:	90 04 20 10 	add  %l0, 0x10, %o0                            
 2005bd4:	96 12 e0 48 	or  %o3, 0x48, %o3                             
 2005bd8:	40 00 1a 50 	call  200c518 <_POSIX_Timer_Insert_helper>     
 2005bdc:	98 10 00 10 	mov  %l0, %o4                                  
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
 2005be0:	80 8a 20 ff 	btst  0xff, %o0                                
 2005be4:	02 80 00 0f 	be  2005c20 <timer_settime+0x198>              
 2005be8:	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 )                                                  
 2005bec:	02 80 00 05 	be  2005c00 <timer_settime+0x178>              
 2005bf0:	90 10 00 1b 	mov  %i3, %o0                                  
         *ovalue = ptimer->timer_data;                                
 2005bf4:	92 04 20 54 	add  %l0, 0x54, %o1                            
 2005bf8:	40 00 29 bd 	call  20102ec <memcpy>                         
 2005bfc:	94 10 20 10 	mov  0x10, %o2                                 
       ptimer->timer_data = normalize;                                
 2005c00:	92 07 bf e4 	add  %fp, -28, %o1                             
 2005c04:	94 10 20 10 	mov  0x10, %o2                                 
 2005c08:	40 00 29 b9 	call  20102ec <memcpy>                         
 2005c0c:	90 04 20 54 	add  %l0, 0x54, %o0                            
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 2005c10:	82 10 20 03 	mov  3, %g1                                    
       _TOD_Get( &ptimer->time );                                     
 2005c14:	90 04 20 6c 	add  %l0, 0x6c, %o0                            
 2005c18:	40 00 05 cd 	call  200734c <_TOD_Get>                       
 2005c1c:	c2 2c 20 3c 	stb  %g1, [ %l0 + 0x3c ]                       
       _Thread_Enable_dispatch();                                     
 2005c20:	40 00 0a a6 	call  20086b8 <_Thread_Enable_dispatch>        
 2005c24:	b0 10 20 00 	clr  %i0                                       
       return 0;                                                      
 2005c28:	81 c7 e0 08 	ret                                            
 2005c2c:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2005c30:	40 00 27 59 	call  200f994 <__errno>                        
 2005c34:	b0 10 3f ff 	mov  -1, %i0                                   
 2005c38:	82 10 20 16 	mov  0x16, %g1                                 
 2005c3c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 2005c40:	81 c7 e0 08 	ret                                            
 2005c44:	81 e8 00 00 	restore                                        
                                                                      

0200585c <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
 200585c:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
 2005860:	21 00 80 78 	sethi  %hi(0x201e000), %l0                     
 2005864:	a0 14 22 7c 	or  %l0, 0x27c, %l0	! 201e27c <_POSIX_signals_Ualarm_timer>
 2005868:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 200586c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005870:	12 80 00 0a 	bne  2005898 <ualarm+0x3c>                     
 2005874:	a2 10 00 18 	mov  %i0, %l1                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005878:	03 00 80 16 	sethi  %hi(0x2005800), %g1                     
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 200587c:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005880:	82 10 61 70 	or  %g1, 0x170, %g1                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2005884:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2005888:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 200588c:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2005890:	10 80 00 1b 	b  20058fc <ualarm+0xa0>                       
 2005894:	b0 10 20 00 	clr  %i0                                       
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
 2005898:	40 00 0f 5d 	call  200960c <_Watchdog_Remove>               
 200589c:	90 10 00 10 	mov  %l0, %o0                                  
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
 20058a0:	90 02 3f fe 	add  %o0, -2, %o0                              
 20058a4:	80 a2 20 01 	cmp  %o0, 1                                    
 20058a8:	18 80 00 15 	bgu  20058fc <ualarm+0xa0>                     <== NEVER TAKEN
 20058ac:	b0 10 20 00 	clr  %i0                                       
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20058b0:	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);        
 20058b4:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         
 20058b8:	d0 04 20 14 	ld  [ %l0 + 0x14 ], %o0                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20058bc:	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);        
 20058c0:	90 02 00 02 	add  %o0, %g2, %o0                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20058c4:	40 00 0d d8 	call  2009024 <_Timespec_From_ticks>           
 20058c8:	90 22 00 01 	sub  %o0, %g1, %o0                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20058cc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      remaining += tp.tv_nsec / 1000;                                 
 20058d0:	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;           
 20058d4:	b1 28 60 08 	sll  %g1, 8, %i0                               
 20058d8:	85 28 60 03 	sll  %g1, 3, %g2                               
 20058dc:	84 26 00 02 	sub  %i0, %g2, %g2                             
      remaining += tp.tv_nsec / 1000;                                 
 20058e0:	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;           
 20058e4:	b1 28 a0 06 	sll  %g2, 6, %i0                               
 20058e8:	b0 26 00 02 	sub  %i0, %g2, %i0                             
      remaining += tp.tv_nsec / 1000;                                 
 20058ec:	40 00 50 ec 	call  2019c9c <.div>                           
 20058f0:	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;           
 20058f4:	b1 2e 20 06 	sll  %i0, 6, %i0                               
      remaining += tp.tv_nsec / 1000;                                 
 20058f8:	b0 02 00 18 	add  %o0, %i0, %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 ) {                                                   
 20058fc:	80 a4 60 00 	cmp  %l1, 0                                    
 2005900:	02 80 00 1a 	be  2005968 <ualarm+0x10c>                     
 2005904:	21 00 03 d0 	sethi  %hi(0xf4000), %l0                       
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2005908:	90 10 00 11 	mov  %l1, %o0                                  
 200590c:	40 00 50 e2 	call  2019c94 <.udiv>                          
 2005910:	92 14 22 40 	or  %l0, 0x240, %o1                            
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2005914:	92 14 22 40 	or  %l0, 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;               
 2005918:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 200591c:	40 00 51 8a 	call  2019f44 <.urem>                          
 2005920:	90 10 00 11 	mov  %l1, %o0                                  
 2005924:	85 2a 20 07 	sll  %o0, 7, %g2                               
 2005928:	83 2a 20 02 	sll  %o0, 2, %g1                               
 200592c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2005930:	90 00 40 08 	add  %g1, %o0, %o0                             
 2005934:	91 2a 20 03 	sll  %o0, 3, %o0                               
    ticks = _Timespec_To_ticks( &tp );                                
 2005938:	a0 07 bf f8 	add  %fp, -8, %l0                              
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 200593c:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
    ticks = _Timespec_To_ticks( &tp );                                
 2005940:	40 00 0d e2 	call  20090c8 <_Timespec_To_ticks>             
 2005944:	90 10 00 10 	mov  %l0, %o0                                  
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
 2005948:	40 00 0d e0 	call  20090c8 <_Timespec_To_ticks>             
 200594c:	90 10 00 10 	mov  %l0, %o0                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2005950:	13 00 80 78 	sethi  %hi(0x201e000), %o1                     
 2005954:	92 12 62 7c 	or  %o1, 0x27c, %o1	! 201e27c <_POSIX_signals_Ualarm_timer>
 2005958:	d0 22 60 0c 	st  %o0, [ %o1 + 0xc ]                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200595c:	11 00 80 76 	sethi  %hi(0x201d800), %o0                     
 2005960:	40 00 0e ce 	call  2009498 <_Watchdog_Insert>               
 2005964:	90 12 22 50 	or  %o0, 0x250, %o0	! 201da50 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
 2005968:	81 c7 e0 08 	ret                                            
 200596c:	81 e8 00 00 	restore