RTEMS 4.11
Annotated Report
Wed Apr 11 09:43:50 2012

0200a8c8 <_CORE_RWLock_Release>:                                      
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
 200a8c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 200a8cc:	03 00 80 84 	sethi  %hi(0x2021000), %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 );                                              
 200a8d0:	7f ff e4 94 	call  2003b20 <sparc_disable_interrupts>       
 200a8d4:	fa 00 62 8c 	ld  [ %g1 + 0x28c ], %i5	! 202128c <_Per_CPU_Information+0xc>
 200a8d8:	84 10 00 08 	mov  %o0, %g2                                  
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
 200a8dc:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 200a8e0:	80 a0 60 00 	cmp  %g1, 0                                    
 200a8e4:	12 80 00 08 	bne  200a904 <_CORE_RWLock_Release+0x3c>       
 200a8e8:	80 a0 60 01 	cmp  %g1, 1                                    
      _ISR_Enable( level );                                           
 200a8ec:	7f ff e4 91 	call  2003b30 <sparc_enable_interrupts>        
 200a8f0:	b0 10 20 00 	clr  %i0                                       
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 200a8f4:	82 10 20 02 	mov  2, %g1                                    
 200a8f8:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
 200a8fc:	81 c7 e0 08 	ret                                            
 200a900:	81 e8 00 00 	restore                                        
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
 200a904:	32 80 00 0b 	bne,a   200a930 <_CORE_RWLock_Release+0x68>    
 200a908:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
	the_rwlock->number_of_readers -= 1;                                  
 200a90c:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 200a910:	82 00 7f ff 	add  %g1, -1, %g1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
 200a914:	80 a0 60 00 	cmp  %g1, 0                                    
 200a918:	02 80 00 05 	be  200a92c <_CORE_RWLock_Release+0x64>        
 200a91c:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
 200a920:	7f ff e4 84 	call  2003b30 <sparc_enable_interrupts>        
 200a924:	b0 10 20 00 	clr  %i0                                       
          return CORE_RWLOCK_SUCCESSFUL;                              
 200a928:	30 80 00 24 	b,a   200a9b8 <_CORE_RWLock_Release+0xf0>      
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 200a92c:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
 200a930:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
  _ISR_Enable( level );                                               
 200a934:	7f ff e4 7f 	call  2003b30 <sparc_enable_interrupts>        
 200a938:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
 200a93c:	40 00 07 ac 	call  200c7ec <_Thread_queue_Dequeue>          
 200a940:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( next ) {                                                       
 200a944:	80 a2 20 00 	cmp  %o0, 0                                    
 200a948:	22 80 00 1c 	be,a   200a9b8 <_CORE_RWLock_Release+0xf0>     
 200a94c:	b0 10 20 00 	clr  %i0                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
 200a950:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 200a954:	80 a0 60 01 	cmp  %g1, 1                                    
 200a958:	32 80 00 05 	bne,a   200a96c <_CORE_RWLock_Release+0xa4>    
 200a95c:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
 200a960:	82 10 20 02 	mov  2, %g1                                    
      return CORE_RWLOCK_SUCCESSFUL;                                  
 200a964:	10 80 00 14 	b  200a9b4 <_CORE_RWLock_Release+0xec>         
 200a968:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 200a96c:	82 00 60 01 	inc  %g1                                       
 200a970:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 200a974:	82 10 20 01 	mov  1, %g1                                    
 200a978:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
 200a97c:	40 00 08 d8 	call  200ccdc <_Thread_queue_First>            
 200a980:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !next ||                                                   
 200a984:	92 92 20 00 	orcc  %o0, 0, %o1                              
 200a988:	22 80 00 0c 	be,a   200a9b8 <_CORE_RWLock_Release+0xf0>     
 200a98c:	b0 10 20 00 	clr  %i0                                       
 200a990:	c2 02 60 30 	ld  [ %o1 + 0x30 ], %g1                        
 200a994:	80 a0 60 01 	cmp  %g1, 1                                    
 200a998:	02 80 00 07 	be  200a9b4 <_CORE_RWLock_Release+0xec>        <== NEVER TAKEN
 200a99c:	90 10 00 18 	mov  %i0, %o0                                  
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 200a9a0:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 200a9a4:	82 00 60 01 	inc  %g1                                       
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 200a9a8:	40 00 08 7e 	call  200cba0 <_Thread_queue_Extract>          
 200a9ac:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    }                                                                 
 200a9b0:	30 bf ff f3 	b,a   200a97c <_CORE_RWLock_Release+0xb4>      
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 200a9b4:	b0 10 20 00 	clr  %i0                                       
 200a9b8:	81 c7 e0 08 	ret                                            
 200a9bc:	81 e8 00 00 	restore                                        
                                                                      

0200a9c0 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
 200a9c0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200a9c4:	90 10 00 18 	mov  %i0, %o0                                  
 200a9c8:	40 00 06 b5 	call  200c49c <_Thread_Get>                    
 200a9cc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a9d0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a9d4:	80 a0 60 00 	cmp  %g1, 0                                    
 200a9d8:	12 80 00 09 	bne  200a9fc <_CORE_RWLock_Timeout+0x3c>       <== NEVER TAKEN
 200a9dc:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 200a9e0:	40 00 08 fd 	call  200cdd4 <_Thread_queue_Process_timeout>  
 200a9e4:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 200a9e8:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 200a9ec:	c4 00 61 40 	ld  [ %g1 + 0x140 ], %g2	! 2020d40 <_Thread_Dispatch_disable_level>
 200a9f0:	84 00 bf ff 	add  %g2, -1, %g2                              
 200a9f4:	c4 20 61 40 	st  %g2, [ %g1 + 0x140 ]                       
    return _Thread_Dispatch_disable_level;                            
 200a9f8:	c2 00 61 40 	ld  [ %g1 + 0x140 ], %g1                       
 200a9fc:	81 c7 e0 08 	ret                                            
 200aa00:	81 e8 00 00 	restore                                        
                                                                      

02010b64 <_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 ) {
 2010b64:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t message_buffering_required = 0;                              
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
 2010b68:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
  the_message_queue->number_of_pending_messages = 0;                  
 2010b6c:	c0 26 20 48 	clr  [ %i0 + 0x48 ]                            
  the_message_queue->maximum_message_size       = maximum_message_size;
 2010b70:	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;                 
 2010b74:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
    the_message_queue->notify_argument = the_argument;                
 2010b78:	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)) {              
 2010b7c:	80 8e e0 03 	btst  3, %i3                                   
 2010b80:	02 80 00 07 	be  2010b9c <_CORE_message_queue_Initialize+0x38>
 2010b84:	ba 10 00 1b 	mov  %i3, %i5                                  
    allocated_message_size += sizeof(uint32_t);                       
 2010b88:	ba 06 e0 04 	add  %i3, 4, %i5                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 2010b8c:	ba 0f 7f fc 	and  %i5, -4, %i5                              
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 2010b90:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2010b94:	0a 80 00 24 	bcs  2010c24 <_CORE_message_queue_Initialize+0xc0><== NEVER TAKEN
 2010b98:	b8 10 20 00 	clr  %i4                                       
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
 2010b9c:	ba 07 60 14 	add  %i5, 0x14, %i5                            
  size_t  a,                                                          
  size_t  b,                                                          
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
 2010ba0:	90 10 20 00 	clr  %o0                                       
 2010ba4:	92 10 00 1a 	mov  %i2, %o1                                  
 2010ba8:	94 10 20 00 	clr  %o2                                       
 2010bac:	96 10 00 1d 	mov  %i5, %o3                                  
 2010bb0:	40 00 43 34 	call  2021880 <__muldi3>                       
 2010bb4:	b8 10 20 00 	clr  %i4                                       
                                                                      
  if ( x > SIZE_MAX )                                                 
 2010bb8:	80 a2 20 00 	cmp  %o0, 0                                    
 2010bbc:	34 80 00 1b 	bg,a   2010c28 <_CORE_message_queue_Initialize+0xc4>
 2010bc0:	b0 0f 20 01 	and  %i4, 1, %i0                               
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
 2010bc4:	40 00 0c 28 	call  2013c64 <_Workspace_Allocate>            
 2010bc8:	90 10 00 09 	mov  %o1, %o0                                  
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 2010bcc:	d0 26 20 5c 	st  %o0, [ %i0 + 0x5c ]                        
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 2010bd0:	80 a2 20 00 	cmp  %o0, 0                                    
 2010bd4:	02 80 00 14 	be  2010c24 <_CORE_message_queue_Initialize+0xc0>
 2010bd8:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 2010bdc:	90 06 20 68 	add  %i0, 0x68, %o0                            
 2010be0:	94 10 00 1a 	mov  %i2, %o2                                  
 2010be4:	7f ff ff d2 	call  2010b2c <_Chain_Initialize>              
 2010be8:	96 10 00 1d 	mov  %i5, %o3                                  
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 2010bec:	82 06 20 50 	add  %i0, 0x50, %g1                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 2010bf0:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
 2010bf4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 2010bf8:	84 06 20 54 	add  %i0, 0x54, %g2                            
 2010bfc:	82 18 60 01 	xor  %g1, 1, %g1                               
 2010c00:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
  head->next = tail;                                                  
 2010c04:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
  head->previous = NULL;                                              
 2010c08:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 2010c0c:	90 10 00 18 	mov  %i0, %o0                                  
 2010c10:	92 60 3f ff 	subx  %g0, -1, %o1                             
 2010c14:	94 10 20 80 	mov  0x80, %o2                                 
 2010c18:	96 10 20 06 	mov  6, %o3                                    
 2010c1c:	40 00 09 ea 	call  20133c4 <_Thread_queue_Initialize>       
 2010c20:	b8 10 20 01 	mov  1, %i4                                    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
 2010c24:	b0 0f 20 01 	and  %i4, 1, %i0                               
 2010c28:	81 c7 e0 08 	ret                                            
 2010c2c:	81 e8 00 00 	restore                                        
                                                                      

02008704 <_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 ) {
 2008704:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 2008708:	90 10 00 18 	mov  %i0, %o0                                  
 200870c:	40 00 07 7e 	call  200a504 <_Thread_queue_Dequeue>          
 2008710:	ba 10 00 18 	mov  %i0, %i5                                  
 2008714:	80 a2 20 00 	cmp  %o0, 0                                    
 2008718:	12 80 00 0e 	bne  2008750 <_CORE_semaphore_Surrender+0x4c>  
 200871c:	b0 10 20 00 	clr  %i0                                       
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 2008720:	7f ff e7 b3 	call  20025ec <sparc_disable_interrupts>       
 2008724:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 2008728:	c2 07 60 48 	ld  [ %i5 + 0x48 ], %g1                        
 200872c:	c4 07 60 40 	ld  [ %i5 + 0x40 ], %g2                        
 2008730:	80 a0 40 02 	cmp  %g1, %g2                                  
 2008734:	1a 80 00 05 	bcc  2008748 <_CORE_semaphore_Surrender+0x44>  <== NEVER TAKEN
 2008738:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 200873c:	82 00 60 01 	inc  %g1                                       
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
 2008740:	b0 10 20 00 	clr  %i0                                       
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
 2008744:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 2008748:	7f ff e7 ad 	call  20025fc <sparc_enable_interrupts>        
 200874c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2008750:	81 c7 e0 08 	ret                                            
 2008754:	81 e8 00 00 	restore                                        
                                                                      

02007400 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 2007400:	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 ];               
 2007404:	f8 06 21 58 	ld  [ %i0 + 0x158 ], %i4                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
 2007408:	f6 06 20 30 	ld  [ %i0 + 0x30 ], %i3                        
                                                                      
  _ISR_Disable( level );                                              
 200740c:	7f ff ec 78 	call  20025ec <sparc_disable_interrupts>       
 2007410:	ba 10 00 18 	mov  %i0, %i5                                  
 2007414:	b0 10 00 08 	mov  %o0, %i0                                  
  pending_events  = api->pending_events;                              
 2007418:	c4 07 00 00 	ld  [ %i4 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 200741c:	c6 07 60 24 	ld  [ %i5 + 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 ) ) {                      
 2007420:	82 88 c0 02 	andcc  %g3, %g2, %g1                           
 2007424:	02 80 00 43 	be  2007530 <_Event_Surrender+0x130>           
 2007428:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  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() &&                                       
 200742c:	09 00 80 78 	sethi  %hi(0x201e000), %g4                     
 2007430:	88 11 21 50 	or  %g4, 0x150, %g4	! 201e150 <_Per_CPU_Information>
 2007434:	f2 01 20 08 	ld  [ %g4 + 8 ], %i1                           
 2007438:	80 a6 60 00 	cmp  %i1, 0                                    
 200743c:	22 80 00 1d 	be,a   20074b0 <_Event_Surrender+0xb0>         
 2007440:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
 2007444:	c8 01 20 0c 	ld  [ %g4 + 0xc ], %g4                         
 2007448:	80 a7 40 04 	cmp  %i5, %g4                                  
 200744c:	32 80 00 19 	bne,a   20074b0 <_Event_Surrender+0xb0>        
 2007450:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 2007454:	09 00 80 79 	sethi  %hi(0x201e400), %g4                     
 2007458:	f2 01 21 50 	ld  [ %g4 + 0x150 ], %i1	! 201e550 <_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() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
 200745c:	80 a6 60 02 	cmp  %i1, 2                                    
 2007460:	02 80 00 07 	be  200747c <_Event_Surrender+0x7c>            <== NEVER TAKEN
 2007464:	80 a0 40 03 	cmp  %g1, %g3                                  
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 2007468:	c8 01 21 50 	ld  [ %g4 + 0x150 ], %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() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 200746c:	80 a1 20 01 	cmp  %g4, 1                                    
 2007470:	32 80 00 10 	bne,a   20074b0 <_Event_Surrender+0xb0>        
 2007474:	c8 07 60 10 	ld  [ %i5 + 0x10 ], %g4                        
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
 2007478:	80 a0 40 03 	cmp  %g1, %g3                                  
 200747c:	02 80 00 04 	be  200748c <_Event_Surrender+0x8c>            
 2007480:	80 8e e0 02 	btst  2, %i3                                   
 2007484:	02 80 00 2b 	be  2007530 <_Event_Surrender+0x130>           <== NEVER TAKEN
 2007488:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
 200748c:	84 28 80 01 	andn  %g2, %g1, %g2                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 2007490:	c4 27 00 00 	st  %g2, [ %i4 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2007494:	c4 07 60 28 	ld  [ %i5 + 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;                                     
 2007498:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 200749c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 20074a0:	84 10 20 03 	mov  3, %g2                                    
 20074a4:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 20074a8:	c4 20 61 50 	st  %g2, [ %g1 + 0x150 ]	! 201e550 <_Event_Sync_state>
 20074ac:	30 80 00 21 	b,a   2007530 <_Event_Surrender+0x130>         
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 20074b0:	80 89 21 00 	btst  0x100, %g4                               
 20074b4:	02 80 00 1f 	be  2007530 <_Event_Surrender+0x130>           
 20074b8:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 20074bc:	02 80 00 04 	be  20074cc <_Event_Surrender+0xcc>            
 20074c0:	80 8e e0 02 	btst  2, %i3                                   
 20074c4:	02 80 00 1b 	be  2007530 <_Event_Surrender+0x130>           <== NEVER TAKEN
 20074c8:	01 00 00 00 	nop                                            
 20074cc:	84 28 80 01 	andn  %g2, %g1, %g2                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 20074d0:	c4 27 00 00 	st  %g2, [ %i4 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20074d4:	c4 07 60 28 	ld  [ %i5 + 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;                                     
 20074d8:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20074dc:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _ISR_Flash( level );                                            
 20074e0:	7f ff ec 47 	call  20025fc <sparc_enable_interrupts>        
 20074e4:	90 10 00 18 	mov  %i0, %o0                                  
 20074e8:	7f ff ec 41 	call  20025ec <sparc_disable_interrupts>       
 20074ec:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 20074f0:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 20074f4:	80 a0 60 02 	cmp  %g1, 2                                    
 20074f8:	02 80 00 06 	be  2007510 <_Event_Surrender+0x110>           
 20074fc:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 2007500:	7f ff ec 3f 	call  20025fc <sparc_enable_interrupts>        
 2007504:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2007508:	10 80 00 08 	b  2007528 <_Event_Surrender+0x128>            
 200750c:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 2007510:	c2 27 60 50 	st  %g1, [ %i5 + 0x50 ]                        
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 2007514:	7f ff ec 3a 	call  20025fc <sparc_enable_interrupts>        
 2007518:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
        (void) _Watchdog_Remove( &the_thread->Timer );                
 200751c:	40 00 0e b5 	call  200aff0 <_Watchdog_Remove>               
 2007520:	90 07 60 48 	add  %i5, 0x48, %o0                            
 2007524:	b2 16 63 f8 	or  %i1, 0x3f8, %i1                            
 2007528:	40 00 0a 37 	call  2009e04 <_Thread_Clear_state>            
 200752c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 2007530:	7f ff ec 33 	call  20025fc <sparc_enable_interrupts>        
 2007534:	81 e8 00 00 	restore                                        
                                                                      

02007538 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2007538:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200753c:	90 10 00 18 	mov  %i0, %o0                                  
 2007540:	40 00 0b 1d 	call  200a1b4 <_Thread_Get>                    
 2007544:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2007548:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200754c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007550:	12 80 00 1d 	bne  20075c4 <_Event_Timeout+0x8c>             <== NEVER TAKEN
 2007554:	ba 10 00 08 	mov  %o0, %i5                                  
       *                                                              
       *  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 );                                          
 2007558:	7f ff ec 25 	call  20025ec <sparc_disable_interrupts>       
 200755c:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
 2007560:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 2007564:	c2 00 61 5c 	ld  [ %g1 + 0x15c ], %g1	! 201e15c <_Per_CPU_Information+0xc>
 2007568:	80 a7 40 01 	cmp  %i5, %g1                                  
 200756c:	12 80 00 09 	bne  2007590 <_Event_Timeout+0x58>             
 2007570:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 2007574:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2007578:	c4 00 61 50 	ld  [ %g1 + 0x150 ], %g2	! 201e550 <_Event_Sync_state>
 200757c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2007580:	32 80 00 05 	bne,a   2007594 <_Event_Timeout+0x5c>          
 2007584:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 2007588:	84 10 20 02 	mov  2, %g2                                    
 200758c:	c4 20 61 50 	st  %g2, [ %g1 + 0x150 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2007590:	82 10 20 06 	mov  6, %g1                                    
 2007594:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
      _ISR_Enable( level );                                           
 2007598:	7f ff ec 19 	call  20025fc <sparc_enable_interrupts>        
 200759c:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 20075a0:	90 10 00 1d 	mov  %i5, %o0                                  
 20075a4:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 20075a8:	40 00 0a 17 	call  2009e04 <_Thread_Clear_state>            
 20075ac:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 20075b0:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20075b4:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 20075b8:	84 00 bf ff 	add  %g2, -1, %g2                              
 20075bc:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 20075c0:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 20075c4:	81 c7 e0 08 	ret                                            
 20075c8:	81 e8 00 00 	restore                                        
                                                                      

0200d770 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
 200d770:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
 200d774:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  Heap_Block *extend_last_block = NULL;                               
 200d778:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
 200d77c:	ba 06 40 1a 	add  %i1, %i2, %i5                             
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
 200d780:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
 200d784:	e2 06 20 10 	ld  [ %i0 + 0x10 ], %l1                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200d788:	d6 06 20 14 	ld  [ %i0 + 0x14 ], %o3                        
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
 200d78c:	e4 06 20 30 	ld  [ %i0 + 0x30 ], %l2                        
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
 200d790:	80 a7 40 19 	cmp  %i5, %i1                                  
 200d794:	0a 80 00 9f 	bcs  200da10 <_Heap_Extend+0x2a0>              
 200d798:	b8 10 20 00 	clr  %i4                                       
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
 200d79c:	90 10 00 19 	mov  %i1, %o0                                  
 200d7a0:	92 10 00 1a 	mov  %i2, %o1                                  
 200d7a4:	94 10 00 11 	mov  %l1, %o2                                  
 200d7a8:	98 07 bf f8 	add  %fp, -8, %o4                              
 200d7ac:	7f ff ec 84 	call  20089bc <_Heap_Get_first_and_last_block> 
 200d7b0:	9a 07 bf fc 	add  %fp, -4, %o5                              
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
 200d7b4:	80 8a 20 ff 	btst  0xff, %o0                                
 200d7b8:	02 80 00 96 	be  200da10 <_Heap_Extend+0x2a0>               
 200d7bc:	b4 10 00 10 	mov  %l0, %i2                                  
 200d7c0:	aa 10 20 00 	clr  %l5                                       
 200d7c4:	ac 10 20 00 	clr  %l6                                       
 200d7c8:	b8 10 20 00 	clr  %i4                                       
 200d7cc:	a8 10 20 00 	clr  %l4                                       
 200d7d0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
      (uintptr_t) start_block : heap->area_begin;                     
    uintptr_t const sub_area_end = start_block->prev_size;            
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
 200d7d4:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200d7d8:	1a 80 00 05 	bcc  200d7ec <_Heap_Extend+0x7c>               
 200d7dc:	e6 06 80 00 	ld  [ %i2 ], %l3                               
 200d7e0:	80 a6 40 13 	cmp  %i1, %l3                                  
 200d7e4:	2a 80 00 8b 	bcs,a   200da10 <_Heap_Extend+0x2a0>           
 200d7e8:	b8 10 20 00 	clr  %i4                                       
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
 200d7ec:	80 a7 40 01 	cmp  %i5, %g1                                  
 200d7f0:	02 80 00 06 	be  200d808 <_Heap_Extend+0x98>                
 200d7f4:	80 a7 40 13 	cmp  %i5, %l3                                  
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
 200d7f8:	2a 80 00 05 	bcs,a   200d80c <_Heap_Extend+0x9c>            
 200d7fc:	ac 10 00 1a 	mov  %i2, %l6                                  
 200d800:	10 80 00 04 	b  200d810 <_Heap_Extend+0xa0>                 
 200d804:	90 10 00 13 	mov  %l3, %o0                                  
 200d808:	a8 10 00 1a 	mov  %i2, %l4                                  
 200d80c:	90 10 00 13 	mov  %l3, %o0                                  
 200d810:	40 00 2d 51 	call  2018d54 <.urem>                          
 200d814:	92 10 00 11 	mov  %l1, %o1                                  
 200d818:	ae 04 ff f8 	add  %l3, -8, %l7                              
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
 200d81c:	80 a4 c0 19 	cmp  %l3, %i1                                  
 200d820:	12 80 00 05 	bne  200d834 <_Heap_Extend+0xc4>               
 200d824:	90 25 c0 08 	sub  %l7, %o0, %o0                             
      start_block->prev_size = extend_area_end;                       
 200d828:	fa 26 80 00 	st  %i5, [ %i2 ]                               
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 )   
 200d82c:	10 80 00 04 	b  200d83c <_Heap_Extend+0xcc>                 
 200d830:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
 200d834:	2a 80 00 02 	bcs,a   200d83c <_Heap_Extend+0xcc>            
 200d838:	aa 10 00 08 	mov  %o0, %l5                                  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 200d83c:	f4 02 20 04 	ld  [ %o0 + 4 ], %i2                           
 200d840:	b4 0e bf fe 	and  %i2, -2, %i2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200d844:	b4 02 00 1a 	add  %o0, %i2, %i2                             
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
 200d848:	80 a6 80 10 	cmp  %i2, %l0                                  
 200d84c:	12 bf ff e2 	bne  200d7d4 <_Heap_Extend+0x64>               
 200d850:	82 10 00 1a 	mov  %i2, %g1                                  
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
 200d854:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200d858:	80 a6 40 01 	cmp  %i1, %g1                                  
 200d85c:	3a 80 00 04 	bcc,a   200d86c <_Heap_Extend+0xfc>            
 200d860:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
    heap->area_begin = extend_area_begin;                             
 200d864:	10 80 00 05 	b  200d878 <_Heap_Extend+0x108>                
 200d868:	f2 26 20 18 	st  %i1, [ %i0 + 0x18 ]                        
  } else if ( heap->area_end < extend_area_end ) {                    
 200d86c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200d870:	2a 80 00 02 	bcs,a   200d878 <_Heap_Extend+0x108>           
 200d874:	fa 26 20 1c 	st  %i5, [ %i0 + 0x1c ]                        
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
 200d878:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 200d87c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
 200d880:	fa 20 80 00 	st  %i5, [ %g2 ]                               
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
 200d884:	86 20 40 02 	sub  %g1, %g2, %g3                             
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
 200d888:	88 10 e0 01 	or  %g3, 1, %g4                                
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
 200d88c:	c6 20 40 00 	st  %g3, [ %g1 ]                               
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
 200d890:	c8 20 a0 04 	st  %g4, [ %g2 + 4 ]                           
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
 200d894:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
 200d898:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200d89c:	08 80 00 04 	bleu  200d8ac <_Heap_Extend+0x13c>             
 200d8a0:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
    heap->first_block = extend_first_block;                           
 200d8a4:	10 80 00 06 	b  200d8bc <_Heap_Extend+0x14c>                
 200d8a8:	c4 26 20 20 	st  %g2, [ %i0 + 0x20 ]                        
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
 200d8ac:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200d8b0:	80 a0 80 01 	cmp  %g2, %g1                                  
 200d8b4:	2a 80 00 02 	bcs,a   200d8bc <_Heap_Extend+0x14c>           
 200d8b8:	c2 26 20 24 	st  %g1, [ %i0 + 0x24 ]                        
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
 200d8bc:	80 a5 20 00 	cmp  %l4, 0                                    
 200d8c0:	02 80 00 14 	be  200d910 <_Heap_Extend+0x1a0>               
 200d8c4:	b2 06 60 08 	add  %i1, 8, %i1                               
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 200d8c8:	f4 06 20 10 	ld  [ %i0 + 0x10 ], %i2                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
 200d8cc:	92 10 00 1a 	mov  %i2, %o1                                  
 200d8d0:	40 00 2d 21 	call  2018d54 <.urem>                          
 200d8d4:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if ( remainder != 0 ) {                                             
 200d8d8:	80 a2 20 00 	cmp  %o0, 0                                    
 200d8dc:	02 80 00 04 	be  200d8ec <_Heap_Extend+0x17c>               
 200d8e0:	c2 05 00 00 	ld  [ %l4 ], %g1                               
    return value - remainder + alignment;                             
 200d8e4:	b2 06 40 1a 	add  %i1, %i2, %i1                             
 200d8e8:	b2 26 40 08 	sub  %i1, %o0, %i1                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
 200d8ec:	92 06 7f f8 	add  %i1, -8, %o1                              
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
 200d8f0:	c2 26 7f f8 	st  %g1, [ %i1 + -8 ]                          
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
 200d8f4:	82 25 00 09 	sub  %l4, %o1, %g1                             
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
 200d8f8:	82 10 60 01 	or  %g1, 1, %g1                                
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
 200d8fc:	90 10 00 18 	mov  %i0, %o0                                  
 200d900:	7f ff ff 92 	call  200d748 <_Heap_Free_block>               
 200d904:	c2 22 60 04 	st  %g1, [ %o1 + 4 ]                           
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
 200d908:	10 80 00 08 	b  200d928 <_Heap_Extend+0x1b8>                
 200d90c:	80 a7 20 00 	cmp  %i4, 0                                    
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
 200d910:	80 a5 a0 00 	cmp  %l6, 0                                    
 200d914:	02 80 00 04 	be  200d924 <_Heap_Extend+0x1b4>               
 200d918:	ac 25 80 01 	sub  %l6, %g1, %l6                             
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
 200d91c:	ac 15 a0 01 	or  %l6, 1, %l6                                
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
 200d920:	ec 20 60 04 	st  %l6, [ %g1 + 4 ]                           
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
 200d924:	80 a7 20 00 	cmp  %i4, 0                                    
 200d928:	02 80 00 15 	be  200d97c <_Heap_Extend+0x20c>               
 200d92c:	ba 07 7f f8 	add  %i5, -8, %i5                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200d930:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
 200d934:	ba 27 40 1c 	sub  %i5, %i4, %i5                             
 200d938:	40 00 2d 07 	call  2018d54 <.urem>                          
 200d93c:	90 10 00 1d 	mov  %i5, %o0                                  
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
 200d940:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
 200d944:	ba 27 40 08 	sub  %i5, %o0, %i5                             
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
 200d948:	82 07 40 1c 	add  %i5, %i4, %g1                             
    (last_block->size_and_flag - last_block_new_size)                 
 200d94c:	84 20 80 1d 	sub  %g2, %i5, %g2                             
      | HEAP_PREV_BLOCK_USED;                                         
 200d950:	84 10 a0 01 	or  %g2, 1, %g2                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
 200d954:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200d958:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
 200d95c:	90 10 00 18 	mov  %i0, %o0                                  
 200d960:	82 08 60 01 	and  %g1, 1, %g1                               
 200d964:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
  block->size_and_flag = size | flag;                                 
 200d968:	ba 17 40 01 	or  %i5, %g1, %i5                              
 200d96c:	7f ff ff 77 	call  200d748 <_Heap_Free_block>               
 200d970:	fa 27 20 04 	st  %i5, [ %i4 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200d974:	10 80 00 0f 	b  200d9b0 <_Heap_Extend+0x240>                
 200d978:	80 a7 20 00 	cmp  %i4, 0                                    
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
 200d97c:	80 a5 60 00 	cmp  %l5, 0                                    
 200d980:	02 80 00 0b 	be  200d9ac <_Heap_Extend+0x23c>               
 200d984:	c6 07 bf f8 	ld  [ %fp + -8 ], %g3                          
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200d988:	c4 05 60 04 	ld  [ %l5 + 4 ], %g2                           
    _Heap_Link_above(                                                 
 200d98c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
 200d990:	86 20 c0 15 	sub  %g3, %l5, %g3                             
 200d994:	84 08 a0 01 	and  %g2, 1, %g2                               
                                                                      
  block->size_and_flag = size | flag;                                 
 200d998:	84 10 c0 02 	or  %g3, %g2, %g2                              
 200d99c:	c4 25 60 04 	st  %g2, [ %l5 + 4 ]                           
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
 200d9a0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200d9a4:	84 10 a0 01 	or  %g2, 1, %g2                                
 200d9a8:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200d9ac:	80 a7 20 00 	cmp  %i4, 0                                    
 200d9b0:	32 80 00 09 	bne,a   200d9d4 <_Heap_Extend+0x264>           
 200d9b4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200d9b8:	80 a5 20 00 	cmp  %l4, 0                                    
 200d9bc:	32 80 00 06 	bne,a   200d9d4 <_Heap_Extend+0x264>           
 200d9c0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    _Heap_Free_block( heap, extend_first_block );                     
 200d9c4:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 200d9c8:	7f ff ff 60 	call  200d748 <_Heap_Free_block>               
 200d9cc:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
 200d9d0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
 200d9d4:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200d9d8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
 200d9dc:	86 20 c0 01 	sub  %g3, %g1, %g3                             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
 200d9e0:	84 08 a0 01 	and  %g2, 1, %g2                               
                                                                      
  block->size_and_flag = size | flag;                                 
 200d9e4:	84 10 c0 02 	or  %g3, %g2, %g2                              
 200d9e8:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
 200d9ec:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
 200d9f0:	b8 10 20 01 	mov  1, %i4                                    
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
 200d9f4:	a4 20 40 12 	sub  %g1, %l2, %l2                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200d9f8:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
                                                                      
  if ( extended_size_ptr != NULL )                                    
 200d9fc:	80 a6 e0 00 	cmp  %i3, 0                                    
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200da00:	82 00 40 12 	add  %g1, %l2, %g1                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
 200da04:	02 80 00 03 	be  200da10 <_Heap_Extend+0x2a0>               <== NEVER TAKEN
 200da08:	c2 26 20 2c 	st  %g1, [ %i0 + 0x2c ]                        
 200da0c:	e4 26 c0 00 	st  %l2, [ %i3 ]                               
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
 200da10:	b0 0f 20 01 	and  %i4, 1, %i0                               
 200da14:	81 c7 e0 08 	ret                                            
 200da18:	81 e8 00 00 	restore                                        
                                                                      

0200d78c <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
 200d78c:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
    return true;                                                      
 200d790:	88 10 20 01 	mov  1, %g4                                    
  /*                                                                  
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
 200d794:	80 a6 60 00 	cmp  %i1, 0                                    
 200d798:	02 80 00 78 	be  200d978 <_Heap_Free+0x1ec>                 
 200d79c:	90 10 00 19 	mov  %i1, %o0                                  
 200d7a0:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200d7a4:	40 00 2c c8 	call  2018ac4 <.urem>                          
 200d7a8:	ba 06 7f f8 	add  %i1, -8, %i5                              
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           
 200d7ac:	d8 06 20 20 	ld  [ %i0 + 0x20 ], %o4                        
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 200d7b0:	ba 27 40 08 	sub  %i5, %o0, %i5                             
  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;             
 200d7b4:	80 a7 40 0c 	cmp  %i5, %o4                                  
 200d7b8:	0a 80 00 05 	bcs  200d7cc <_Heap_Free+0x40>                 
 200d7bc:	82 10 20 00 	clr  %g1                                       
 200d7c0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200d7c4:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200d7c8:	82 60 3f ff 	subx  %g0, -1, %g1                             
  }                                                                   
                                                                      
  alloc_begin = (uintptr_t) alloc_begin_ptr;                          
  block = _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );  
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
 200d7cc:	80 a0 60 00 	cmp  %g1, 0                                    
 200d7d0:	02 80 00 6a 	be  200d978 <_Heap_Free+0x1ec>                 
 200d7d4:	88 10 20 00 	clr  %g4                                       
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 200d7d8:	da 07 60 04 	ld  [ %i5 + 4 ], %o5                           
 200d7dc:	84 0b 7f fe 	and  %o5, -2, %g2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200d7e0:	82 07 40 02 	add  %i5, %g2, %g1                             
  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;             
 200d7e4:	80 a0 40 0c 	cmp  %g1, %o4                                  
 200d7e8:	0a 80 00 05 	bcs  200d7fc <_Heap_Free+0x70>                 <== NEVER TAKEN
 200d7ec:	86 10 20 00 	clr  %g3                                       
 200d7f0:	c6 06 20 24 	ld  [ %i0 + 0x24 ], %g3                        
 200d7f4:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200d7f8:	86 60 3f ff 	subx  %g0, -1, %g3                             
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
 200d7fc:	80 a0 e0 00 	cmp  %g3, 0                                    
 200d800:	02 80 00 5e 	be  200d978 <_Heap_Free+0x1ec>                 <== NEVER TAKEN
 200d804:	88 10 20 00 	clr  %g4                                       
  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;                 
 200d808:	de 00 60 04 	ld  [ %g1 + 4 ], %o7                           
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200d80c:	80 8b e0 01 	btst  1, %o7                                   
 200d810:	02 80 00 5a 	be  200d978 <_Heap_Free+0x1ec>                 <== NEVER TAKEN
 200d814:	9e 0b ff fe 	and  %o7, -2, %o7                              
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 200d818:	c8 06 20 24 	ld  [ %i0 + 0x24 ], %g4                        
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
 200d81c:	80 a0 40 04 	cmp  %g1, %g4                                  
 200d820:	02 80 00 07 	be  200d83c <_Heap_Free+0xb0>                  
 200d824:	96 10 20 00 	clr  %o3                                       
 200d828:	86 00 40 0f 	add  %g1, %o7, %g3                             
 200d82c:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 200d830:	86 08 e0 01 	and  %g3, 1, %g3                               
 200d834:	80 a0 00 03 	cmp  %g0, %g3                                  
 200d838:	96 60 3f ff 	subx  %g0, -1, %o3                             
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200d83c:	80 8b 60 01 	btst  1, %o5                                   
 200d840:	12 80 00 26 	bne  200d8d8 <_Heap_Free+0x14c>                
 200d844:	80 8a e0 ff 	btst  0xff, %o3                                
    uintptr_t const prev_size = block->prev_size;                     
 200d848:	da 07 40 00 	ld  [ %i5 ], %o5                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200d84c:	86 27 40 0d 	sub  %i5, %o5, %g3                             
  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;             
 200d850:	80 a0 c0 0c 	cmp  %g3, %o4                                  
 200d854:	0a 80 00 04 	bcs  200d864 <_Heap_Free+0xd8>                 <== NEVER TAKEN
 200d858:	94 10 20 00 	clr  %o2                                       
 200d85c:	80 a1 00 03 	cmp  %g4, %g3                                  
 200d860:	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 ) ) {              
 200d864:	80 a2 a0 00 	cmp  %o2, 0                                    
 200d868:	02 80 00 44 	be  200d978 <_Heap_Free+0x1ec>                 <== NEVER TAKEN
 200d86c:	88 10 20 00 	clr  %g4                                       
  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;                 
 200d870:	d8 00 e0 04 	ld  [ %g3 + 4 ], %o4                           
      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) ) {                        
 200d874:	80 8b 20 01 	btst  1, %o4                                   
 200d878:	02 80 00 40 	be  200d978 <_Heap_Free+0x1ec>                 <== NEVER TAKEN
 200d87c:	80 8a e0 ff 	btst  0xff, %o3                                
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200d880:	22 80 00 0f 	be,a   200d8bc <_Heap_Free+0x130>              
 200d884:	9a 00 80 0d 	add  %g2, %o5, %o5                             
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200d888:	c8 00 60 08 	ld  [ %g1 + 8 ], %g4                           
  Heap_Block *prev = block->prev;                                     
 200d88c:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
      uintptr_t const size = block_size + prev_size + next_block_size;
 200d890:	9e 00 80 0f 	add  %g2, %o7, %o7                             
                                                                      
  prev->next = next;                                                  
 200d894:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           
  next->prev = prev;                                                  
 200d898:	c2 21 20 0c 	st  %g1, [ %g4 + 0xc ]                         
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200d89c:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 200d8a0:	9a 03 c0 0d 	add  %o7, %o5, %o5                             
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200d8a4:	82 00 7f ff 	add  %g1, -1, %g1                              
 200d8a8:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      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;                                   
 200d8ac:	da 20 c0 0d 	st  %o5, [ %g3 + %o5 ]                         
                                                                      
    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;        
 200d8b0:	82 13 60 01 	or  %o5, 1, %g1                                
 200d8b4:	10 80 00 27 	b  200d950 <_Heap_Free+0x1c4>                  
 200d8b8:	c2 20 e0 04 	st  %g1, [ %g3 + 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;        
 200d8bc:	88 13 60 01 	or  %o5, 1, %g4                                
 200d8c0:	c8 20 e0 04 	st  %g4, [ %g3 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200d8c4:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
      next_block->prev_size = size;                                   
 200d8c8:	da 27 40 02 	st  %o5, [ %i5 + %g2 ]                         
      _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;             
 200d8cc:	86 08 ff fe 	and  %g3, -2, %g3                              
 200d8d0:	10 80 00 20 	b  200d950 <_Heap_Free+0x1c4>                  
 200d8d4:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
 200d8d8:	22 80 00 0d 	be,a   200d90c <_Heap_Free+0x180>              
 200d8dc:	c6 06 20 08 	ld  [ %i0 + 8 ], %g3                           
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 200d8e0:	c8 00 60 08 	ld  [ %g1 + 8 ], %g4                           
  Heap_Block *prev = old_block->prev;                                 
 200d8e4:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
                                                                      
  new_block->next = next;                                             
 200d8e8:	c8 27 60 08 	st  %g4, [ %i5 + 8 ]                           
  new_block->prev = prev;                                             
 200d8ec:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
    uintptr_t const size = block_size + next_block_size;              
 200d8f0:	86 03 c0 02 	add  %o7, %g2, %g3                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
 200d8f4:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 200d8f8:	fa 21 20 0c 	st  %i5, [ %g4 + 0xc ]                         
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
 200d8fc:	82 10 e0 01 	or  %g3, 1, %g1                                
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 200d900:	c6 27 40 03 	st  %g3, [ %i5 + %g3 ]                         
      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;               
 200d904:	10 80 00 13 	b  200d950 <_Heap_Free+0x1c4>                  
 200d908:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
 200d90c:	f0 27 60 0c 	st  %i0, [ %i5 + 0xc ]                         
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
 200d910:	c6 27 60 08 	st  %g3, [ %i5 + 8 ]                           
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200d914:	fa 20 e0 0c 	st  %i5, [ %g3 + 0xc ]                         
    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;         
 200d918:	86 10 a0 01 	or  %g2, 1, %g3                                
 200d91c:	c6 27 60 04 	st  %g3, [ %i5 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200d920:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
    next_block->prev_size = block_size;                               
 200d924:	c4 27 40 02 	st  %g2, [ %i5 + %g2 ]                         
  } 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;               
 200d928:	86 08 ff fe 	and  %g3, -2, %g3                              
 200d92c:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200d930:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200d934:	c6 06 20 3c 	ld  [ %i0 + 0x3c ], %g3                        
    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;                                             
 200d938:	82 00 60 01 	inc  %g1                                       
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 200d93c:	fa 26 20 08 	st  %i5, [ %i0 + 8 ]                           
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200d940:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200d944:	1a 80 00 03 	bcc  200d950 <_Heap_Free+0x1c4>                
 200d948:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      stats->max_free_blocks = stats->free_blocks;                    
 200d94c:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200d950:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 200d954:	88 10 20 01 	mov  1, %g4                                    
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200d958:	82 00 7f ff 	add  %g1, -1, %g1                              
 200d95c:	c2 26 20 40 	st  %g1, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
 200d960:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 200d964:	82 00 60 01 	inc  %g1                                       
 200d968:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  stats->free_size += block_size;                                     
 200d96c:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200d970:	84 00 40 02 	add  %g1, %g2, %g2                             
 200d974:	c4 26 20 30 	st  %g2, [ %i0 + 0x30 ]                        
                                                                      
  return( true );                                                     
}                                                                     
 200d978:	b0 09 20 01 	and  %g4, 1, %i0                               
 200d97c:	81 c7 e0 08 	ret                                            
 200d980:	81 e8 00 00 	restore                                        
                                                                      

0203ee68 <_Heap_Iterate>: void _Heap_Iterate( Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg ) {
 203ee68:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Heap_Block *current = heap->first_block;                            
 203ee6c:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
  Heap_Block *end = heap->last_block;                                 
 203ee70:	10 80 00 0b 	b  203ee9c <_Heap_Iterate+0x34>                
 203ee74:	f8 06 20 24 	ld  [ %i0 + 0x24 ], %i4                        
  while ( !stop && current != end ) {                                 
    uintptr_t size = _Heap_Block_size( current );                     
    Heap_Block *next = _Heap_Block_at( current, size );               
    bool used = _Heap_Is_prev_used( next );                           
                                                                      
    stop = (*visitor)( current, size, used, visitor_arg );            
 203ee78:	96 10 00 1a 	mov  %i2, %o3                                  
    - 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;                
 203ee7c:	92 0a 7f fe 	and  %o1, -2, %o1                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 203ee80:	ba 02 00 09 	add  %o0, %o1, %i5                             
  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;                 
 203ee84:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 203ee88:	9f c6 40 00 	call  %i1                                      
 203ee8c:	94 0a a0 01 	and  %o2, 1, %o2                               
{                                                                     
  Heap_Block *current = heap->first_block;                            
  Heap_Block *end = heap->last_block;                                 
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
 203ee90:	80 8a 20 ff 	btst  0xff, %o0                                
 203ee94:	12 80 00 05 	bne  203eea8 <_Heap_Iterate+0x40>              <== NEVER TAKEN
 203ee98:	90 10 00 1d 	mov  %i5, %o0                                  
 203ee9c:	80 a2 00 1c 	cmp  %o0, %i4                                  
 203eea0:	32 bf ff f6 	bne,a   203ee78 <_Heap_Iterate+0x10>           
 203eea4:	d2 02 20 04 	ld  [ %o0 + 4 ], %o1                           
 203eea8:	81 c7 e0 08 	ret                                            
 203eeac:	81 e8 00 00 	restore                                        
                                                                      

0200daa4 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 200daa4:	9d e3 bf a0 	save  %sp, -96, %sp                            
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200daa8:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200daac:	40 00 2c 06 	call  2018ac4 <.urem>                          
 200dab0:	90 10 00 19 	mov  %i1, %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           
 200dab4:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200dab8:	ba 06 7f f8 	add  %i1, -8, %i5                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 200dabc:	90 27 40 08 	sub  %i5, %o0, %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;             
 200dac0:	80 a2 00 03 	cmp  %o0, %g3                                  
 200dac4:	0a 80 00 05 	bcs  200dad8 <_Heap_Size_of_alloc_area+0x34>   
 200dac8:	84 10 20 00 	clr  %g2                                       
 200dacc:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200dad0:	80 a0 40 08 	cmp  %g1, %o0                                  
 200dad4:	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 ) ) {                     
 200dad8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200dadc:	02 80 00 15 	be  200db30 <_Heap_Size_of_alloc_area+0x8c>    
 200dae0:	82 10 20 00 	clr  %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;                
 200dae4:	fa 02 20 04 	ld  [ %o0 + 4 ], %i5                           
 200dae8:	ba 0f 7f fe 	and  %i5, -2, %i5                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200daec:	ba 02 00 1d 	add  %o0, %i5, %i5                             
  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;             
 200daf0:	80 a7 40 03 	cmp  %i5, %g3                                  
 200daf4:	0a 80 00 05 	bcs  200db08 <_Heap_Size_of_alloc_area+0x64>   <== NEVER TAKEN
 200daf8:	84 10 20 00 	clr  %g2                                       
 200dafc:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200db00:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200db04:	84 60 3f ff 	subx  %g0, -1, %g2                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 200db08:	80 a0 a0 00 	cmp  %g2, 0                                    
 200db0c:	02 80 00 09 	be  200db30 <_Heap_Size_of_alloc_area+0x8c>    <== NEVER TAKEN
 200db10:	82 10 20 00 	clr  %g1                                       
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200db14:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
 200db18:	80 88 a0 01 	btst  1, %g2                                   
 200db1c:	02 80 00 05 	be  200db30 <_Heap_Size_of_alloc_area+0x8c>    <== NEVER TAKEN
 200db20:	ba 27 40 19 	sub  %i5, %i1, %i5                             
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
 200db24:	82 10 20 01 	mov  1, %g1                                    
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
 200db28:	ba 07 60 04 	add  %i5, 4, %i5                               
 200db2c:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  return true;                                                        
}                                                                     
 200db30:	b0 08 60 01 	and  %g1, 1, %i0                               
 200db34:	81 c7 e0 08 	ret                                            
 200db38:	81 e8 00 00 	restore                                        
                                                                      

02009878 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 2009878:	9d e3 bf 80 	save  %sp, -128, %sp                           
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 200987c:	3b 00 80 26 	sethi  %hi(0x2009800), %i5                     
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2009880:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
  uintptr_t const min_block_size = heap->min_block_size;              
 2009884:	e0 06 20 14 	ld  [ %i0 + 0x14 ], %l0                        
  Heap_Block *const first_block = heap->first_block;                  
 2009888:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
  Heap_Block *const last_block = heap->last_block;                    
 200988c:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 2009890:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009894:	02 80 00 04 	be  20098a4 <_Heap_Walk+0x2c>                  
 2009898:	ba 17 60 24 	or  %i5, 0x24, %i5                             
 200989c:	3b 00 80 26 	sethi  %hi(0x2009800), %i5                     
 20098a0:	ba 17 60 2c 	or  %i5, 0x2c, %i5	! 200982c <_Heap_Walk_print>
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 20098a4:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
 20098a8:	c4 00 61 28 	ld  [ %g1 + 0x128 ], %g2	! 2020128 <_System_state_Current>
 20098ac:	80 a0 a0 03 	cmp  %g2, 3                                    
 20098b0:	12 80 01 24 	bne  2009d40 <_Heap_Walk+0x4c8>                
 20098b4:	82 10 20 01 	mov  1, %g1                                    
  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)(                                                         
 20098b8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 20098bc:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 20098c0:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 20098c4:	f6 23 a0 60 	st  %i3, [ %sp + 0x60 ]                        
 20098c8:	e2 23 a0 64 	st  %l1, [ %sp + 0x64 ]                        
 20098cc:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 20098d0:	90 10 00 19 	mov  %i1, %o0                                  
 20098d4:	c2 23 a0 68 	st  %g1, [ %sp + 0x68 ]                        
 20098d8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20098dc:	92 10 20 00 	clr  %o1                                       
 20098e0:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 20098e4:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 20098e8:	96 10 00 1c 	mov  %i4, %o3                                  
 20098ec:	94 12 a1 f8 	or  %o2, 0x1f8, %o2                            
 20098f0:	9f c7 40 00 	call  %i5                                      
 20098f4:	98 10 00 10 	mov  %l0, %o4                                  
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 20098f8:	80 a7 20 00 	cmp  %i4, 0                                    
 20098fc:	12 80 00 07 	bne  2009918 <_Heap_Walk+0xa0>                 
 2009900:	80 8f 20 07 	btst  7, %i4                                   
    (*printer)( source, true, "page size is zero\n" );                
 2009904:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009908:	90 10 00 19 	mov  %i1, %o0                                  
 200990c:	92 10 20 01 	mov  1, %o1                                    
 2009910:	10 80 00 32 	b  20099d8 <_Heap_Walk+0x160>                  
 2009914:	94 12 a2 90 	or  %o2, 0x290, %o2                            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 2009918:	22 80 00 08 	be,a   2009938 <_Heap_Walk+0xc0>               
 200991c:	90 10 00 10 	mov  %l0, %o0                                  
    (*printer)(                                                       
 2009920:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009924:	90 10 00 19 	mov  %i1, %o0                                  
 2009928:	92 10 20 01 	mov  1, %o1                                    
 200992c:	94 12 a2 a8 	or  %o2, 0x2a8, %o2                            
 2009930:	10 80 01 0b 	b  2009d5c <_Heap_Walk+0x4e4>                  
 2009934:	96 10 00 1c 	mov  %i4, %o3                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 2009938:	7f ff e0 6a 	call  2001ae0 <.urem>                          
 200993c:	92 10 00 1c 	mov  %i4, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 2009940:	80 a2 20 00 	cmp  %o0, 0                                    
 2009944:	22 80 00 08 	be,a   2009964 <_Heap_Walk+0xec>               
 2009948:	90 06 e0 08 	add  %i3, 8, %o0                               
    (*printer)(                                                       
 200994c:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009950:	90 10 00 19 	mov  %i1, %o0                                  
 2009954:	92 10 20 01 	mov  1, %o1                                    
 2009958:	94 12 a2 c8 	or  %o2, 0x2c8, %o2                            
 200995c:	10 80 01 00 	b  2009d5c <_Heap_Walk+0x4e4>                  
 2009960:	96 10 00 10 	mov  %l0, %o3                                  
 2009964:	7f ff e0 5f 	call  2001ae0 <.urem>                          
 2009968:	92 10 00 1c 	mov  %i4, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 200996c:	80 a2 20 00 	cmp  %o0, 0                                    
 2009970:	22 80 00 08 	be,a   2009990 <_Heap_Walk+0x118>              
 2009974:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 2009978:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 200997c:	90 10 00 19 	mov  %i1, %o0                                  
 2009980:	92 10 20 01 	mov  1, %o1                                    
 2009984:	94 12 a2 f0 	or  %o2, 0x2f0, %o2                            
 2009988:	10 80 00 f5 	b  2009d5c <_Heap_Walk+0x4e4>                  
 200998c:	96 10 00 1b 	mov  %i3, %o3                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 2009990:	80 88 60 01 	btst  1, %g1                                   
 2009994:	32 80 00 07 	bne,a   20099b0 <_Heap_Walk+0x138>             
 2009998:	f4 04 60 04 	ld  [ %l1 + 4 ], %i2                           
    (*printer)(                                                       
 200999c:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 20099a0:	90 10 00 19 	mov  %i1, %o0                                  
 20099a4:	92 10 20 01 	mov  1, %o1                                    
 20099a8:	10 80 00 0c 	b  20099d8 <_Heap_Walk+0x160>                  
 20099ac:	94 12 a3 28 	or  %o2, 0x328, %o2                            
    - 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;                
 20099b0:	b4 0e bf fe 	and  %i2, -2, %i2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 20099b4:	b4 04 40 1a 	add  %l1, %i2, %i2                             
  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;                 
 20099b8:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 20099bc:	80 88 60 01 	btst  1, %g1                                   
 20099c0:	12 80 00 0a 	bne  20099e8 <_Heap_Walk+0x170>                
 20099c4:	80 a6 80 1b 	cmp  %i2, %i3                                  
    (*printer)(                                                       
 20099c8:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 20099cc:	90 10 00 19 	mov  %i1, %o0                                  
 20099d0:	92 10 20 01 	mov  1, %o1                                    
 20099d4:	94 12 a3 58 	or  %o2, 0x358, %o2                            
 20099d8:	9f c7 40 00 	call  %i5                                      
 20099dc:	01 00 00 00 	nop                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 20099e0:	10 80 00 d8 	b  2009d40 <_Heap_Walk+0x4c8>                  
 20099e4:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 20099e8:	02 80 00 06 	be  2009a00 <_Heap_Walk+0x188>                 
 20099ec:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
 20099f0:	90 10 00 19 	mov  %i1, %o0                                  
 20099f4:	92 10 20 01 	mov  1, %o1                                    
 20099f8:	10 bf ff f8 	b  20099d8 <_Heap_Walk+0x160>                  
 20099fc:	94 12 a3 70 	or  %o2, 0x370, %o2                            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2009a00:	e6 06 20 10 	ld  [ %i0 + 0x10 ], %l3                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2009a04:	d6 06 20 08 	ld  [ %i0 + 8 ], %o3                           
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
 2009a08:	10 80 00 33 	b  2009ad4 <_Heap_Walk+0x25c>                  
 2009a0c:	a4 10 00 18 	mov  %i0, %l2                                  
  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;             
 2009a10:	80 a0 80 0b 	cmp  %g2, %o3                                  
 2009a14:	18 80 00 05 	bgu  2009a28 <_Heap_Walk+0x1b0>                
 2009a18:	82 10 20 00 	clr  %g1                                       
 2009a1c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2009a20:	80 a0 40 0b 	cmp  %g1, %o3                                  
 2009a24:	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 ) ) {              
 2009a28:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a2c:	32 80 00 07 	bne,a   2009a48 <_Heap_Walk+0x1d0>             
 2009a30:	90 02 e0 08 	add  %o3, 8, %o0                               
      (*printer)(                                                     
 2009a34:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009a38:	90 10 00 19 	mov  %i1, %o0                                  
 2009a3c:	92 10 20 01 	mov  1, %o1                                    
 2009a40:	10 80 00 c7 	b  2009d5c <_Heap_Walk+0x4e4>                  
 2009a44:	94 12 a3 a0 	or  %o2, 0x3a0, %o2                            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 2009a48:	d6 27 bf f8 	st  %o3, [ %fp + -8 ]                          
 2009a4c:	7f ff e0 25 	call  2001ae0 <.urem>                          
 2009a50:	92 10 00 13 	mov  %l3, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 2009a54:	80 a2 20 00 	cmp  %o0, 0                                    
 2009a58:	02 80 00 07 	be  2009a74 <_Heap_Walk+0x1fc>                 
 2009a5c:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 2009a60:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009a64:	90 10 00 19 	mov  %i1, %o0                                  
 2009a68:	92 10 20 01 	mov  1, %o1                                    
 2009a6c:	10 80 00 bc 	b  2009d5c <_Heap_Walk+0x4e4>                  
 2009a70:	94 12 a3 c0 	or  %o2, 0x3c0, %o2                            
    - 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;                
 2009a74:	c2 02 e0 04 	ld  [ %o3 + 4 ], %g1                           
 2009a78:	82 08 7f fe 	and  %g1, -2, %g1                              
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 2009a7c:	82 02 c0 01 	add  %o3, %g1, %g1                             
 2009a80:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 2009a84:	80 88 60 01 	btst  1, %g1                                   
 2009a88:	22 80 00 07 	be,a   2009aa4 <_Heap_Walk+0x22c>              
 2009a8c:	d8 02 e0 0c 	ld  [ %o3 + 0xc ], %o4                         
      (*printer)(                                                     
 2009a90:	15 00 80 72 	sethi  %hi(0x201c800), %o2                     
 2009a94:	90 10 00 19 	mov  %i1, %o0                                  
 2009a98:	92 10 20 01 	mov  1, %o1                                    
 2009a9c:	10 80 00 b0 	b  2009d5c <_Heap_Walk+0x4e4>                  
 2009aa0:	94 12 a3 f0 	or  %o2, 0x3f0, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 2009aa4:	80 a3 00 12 	cmp  %o4, %l2                                  
 2009aa8:	22 80 00 0a 	be,a   2009ad0 <_Heap_Walk+0x258>              
 2009aac:	a4 10 00 0b 	mov  %o3, %l2                                  
      (*printer)(                                                     
 2009ab0:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009ab4:	90 10 00 19 	mov  %i1, %o0                                  
 2009ab8:	92 10 20 01 	mov  1, %o1                                    
 2009abc:	94 12 a0 10 	or  %o2, 0x10, %o2                             
 2009ac0:	9f c7 40 00 	call  %i5                                      
 2009ac4:	01 00 00 00 	nop                                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 2009ac8:	10 80 00 9e 	b  2009d40 <_Heap_Walk+0x4c8>                  
 2009acc:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 2009ad0:	d6 02 e0 08 	ld  [ %o3 + 8 ], %o3                           
  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 ) {                            
 2009ad4:	80 a2 c0 18 	cmp  %o3, %i0                                  
 2009ad8:	32 bf ff ce 	bne,a   2009a10 <_Heap_Walk+0x198>             
 2009adc:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
 2009ae0:	2d 00 80 73 	sethi  %hi(0x201cc00), %l6                     
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 2009ae4:	2f 00 80 73 	sethi  %hi(0x201cc00), %l7                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2009ae8:	ac 15 a1 d0 	or  %l6, 0x1d0, %l6                            
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 2009aec:	ae 15 e1 b8 	or  %l7, 0x1b8, %l7                            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2009af0:	2b 00 80 73 	sethi  %hi(0x201cc00), %l5                     
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2009af4:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
  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;             
 2009af8:	c6 06 20 20 	ld  [ %i0 + 0x20 ], %g3                        
    - 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;                
 2009afc:	a4 08 7f fe 	and  %g1, -2, %l2                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2009b00:	a6 06 80 12 	add  %i2, %l2, %l3                             
  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;             
 2009b04:	80 a0 c0 13 	cmp  %g3, %l3                                  
 2009b08:	18 80 00 05 	bgu  2009b1c <_Heap_Walk+0x2a4>                <== NEVER TAKEN
 2009b0c:	84 10 20 00 	clr  %g2                                       
 2009b10:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 2009b14:	80 a0 80 13 	cmp  %g2, %l3                                  
 2009b18:	84 60 3f ff 	subx  %g0, -1, %g2                             
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
 2009b1c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009b20:	12 80 00 07 	bne  2009b3c <_Heap_Walk+0x2c4>                
 2009b24:	84 1e 80 11 	xor  %i2, %l1, %g2                             
      (*printer)(                                                     
 2009b28:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009b2c:	90 10 00 19 	mov  %i1, %o0                                  
 2009b30:	92 10 20 01 	mov  1, %o1                                    
 2009b34:	10 80 00 2c 	b  2009be4 <_Heap_Walk+0x36c>                  
 2009b38:	94 12 a0 48 	or  %o2, 0x48, %o2                             
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
 2009b3c:	80 a0 00 02 	cmp  %g0, %g2                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 2009b40:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
 2009b44:	a8 40 20 00 	addx  %g0, 0, %l4                              
 2009b48:	90 10 00 12 	mov  %l2, %o0                                  
 2009b4c:	7f ff df e5 	call  2001ae0 <.urem>                          
 2009b50:	92 10 00 1c 	mov  %i4, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
 2009b54:	80 a2 20 00 	cmp  %o0, 0                                    
 2009b58:	02 80 00 0c 	be  2009b88 <_Heap_Walk+0x310>                 
 2009b5c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2009b60:	80 8d 20 ff 	btst  0xff, %l4                                
 2009b64:	02 80 00 0a 	be  2009b8c <_Heap_Walk+0x314>                 
 2009b68:	80 a4 80 10 	cmp  %l2, %l0                                  
      (*printer)(                                                     
 2009b6c:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009b70:	90 10 00 19 	mov  %i1, %o0                                  
 2009b74:	92 10 20 01 	mov  1, %o1                                    
 2009b78:	94 12 a0 78 	or  %o2, 0x78, %o2                             
 2009b7c:	96 10 00 1a 	mov  %i2, %o3                                  
 2009b80:	10 bf ff d0 	b  2009ac0 <_Heap_Walk+0x248>                  
 2009b84:	98 10 00 12 	mov  %l2, %o4                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
 2009b88:	80 a4 80 10 	cmp  %l2, %l0                                  
 2009b8c:	1a 80 00 0d 	bcc  2009bc0 <_Heap_Walk+0x348>                
 2009b90:	80 a4 c0 1a 	cmp  %l3, %i2                                  
 2009b94:	80 8d 20 ff 	btst  0xff, %l4                                
 2009b98:	02 80 00 0a 	be  2009bc0 <_Heap_Walk+0x348>                 <== NEVER TAKEN
 2009b9c:	80 a4 c0 1a 	cmp  %l3, %i2                                  
      (*printer)(                                                     
 2009ba0:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009ba4:	90 10 00 19 	mov  %i1, %o0                                  
 2009ba8:	92 10 20 01 	mov  1, %o1                                    
 2009bac:	94 12 a0 a8 	or  %o2, 0xa8, %o2                             
 2009bb0:	96 10 00 1a 	mov  %i2, %o3                                  
 2009bb4:	98 10 00 12 	mov  %l2, %o4                                  
 2009bb8:	10 80 00 3d 	b  2009cac <_Heap_Walk+0x434>                  
 2009bbc:	9a 10 00 10 	mov  %l0, %o5                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
 2009bc0:	38 80 00 0c 	bgu,a   2009bf0 <_Heap_Walk+0x378>             
 2009bc4:	a8 08 60 01 	and  %g1, 1, %l4                               
 2009bc8:	80 8d 20 ff 	btst  0xff, %l4                                
 2009bcc:	02 80 00 09 	be  2009bf0 <_Heap_Walk+0x378>                 
 2009bd0:	a8 08 60 01 	and  %g1, 1, %l4                               
      (*printer)(                                                     
 2009bd4:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009bd8:	90 10 00 19 	mov  %i1, %o0                                  
 2009bdc:	92 10 20 01 	mov  1, %o1                                    
 2009be0:	94 12 a0 d8 	or  %o2, 0xd8, %o2                             
 2009be4:	96 10 00 1a 	mov  %i2, %o3                                  
 2009be8:	10 bf ff b6 	b  2009ac0 <_Heap_Walk+0x248>                  
 2009bec:	98 10 00 13 	mov  %l3, %o4                                  
  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;                 
 2009bf0:	c2 04 e0 04 	ld  [ %l3 + 4 ], %g1                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 2009bf4:	80 88 60 01 	btst  1, %g1                                   
 2009bf8:	12 80 00 40 	bne  2009cf8 <_Heap_Walk+0x480>                
 2009bfc:	90 10 00 19 	mov  %i1, %o0                                  
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
 2009c00:	da 06 a0 0c 	ld  [ %i2 + 0xc ], %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)(                                                         
 2009c04:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2009c08:	05 00 80 72 	sethi  %hi(0x201c800), %g2                     
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 2009c0c:	c8 06 20 0c 	ld  [ %i0 + 0xc ], %g4                         
 2009c10:	80 a3 40 01 	cmp  %o5, %g1                                  
 2009c14:	02 80 00 07 	be  2009c30 <_Heap_Walk+0x3b8>                 
 2009c18:	86 10 a1 b8 	or  %g2, 0x1b8, %g3                            
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
 2009c1c:	80 a3 40 18 	cmp  %o5, %i0                                  
 2009c20:	12 80 00 04 	bne  2009c30 <_Heap_Walk+0x3b8>                
 2009c24:	86 15 61 80 	or  %l5, 0x180, %g3                            
 2009c28:	07 00 80 72 	sethi  %hi(0x201c800), %g3                     
 2009c2c:	86 10 e1 c8 	or  %g3, 0x1c8, %g3	! 201c9c8 <__log2table+0x130>
    block->next,                                                      
    block->next == last_free_block ?                                  
 2009c30:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 2009c34:	1f 00 80 72 	sethi  %hi(0x201c800), %o7                     
 2009c38:	80 a0 80 04 	cmp  %g2, %g4                                  
 2009c3c:	02 80 00 07 	be  2009c58 <_Heap_Walk+0x3e0>                 
 2009c40:	82 13 e1 d8 	or  %o7, 0x1d8, %g1                            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2009c44:	80 a0 80 18 	cmp  %g2, %i0                                  
 2009c48:	12 80 00 04 	bne  2009c58 <_Heap_Walk+0x3e0>                
 2009c4c:	82 15 61 80 	or  %l5, 0x180, %g1                            
 2009c50:	03 00 80 72 	sethi  %hi(0x201c800), %g1                     
 2009c54:	82 10 61 e8 	or  %g1, 0x1e8, %g1	! 201c9e8 <__log2table+0x150>
  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)(                                                         
 2009c58:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        
 2009c5c:	c4 23 a0 60 	st  %g2, [ %sp + 0x60 ]                        
 2009c60:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2009c64:	90 10 00 19 	mov  %i1, %o0                                  
 2009c68:	92 10 20 00 	clr  %o1                                       
 2009c6c:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009c70:	96 10 00 1a 	mov  %i2, %o3                                  
 2009c74:	94 12 a1 10 	or  %o2, 0x110, %o2                            
 2009c78:	9f c7 40 00 	call  %i5                                      
 2009c7c:	98 10 00 12 	mov  %l2, %o4                                  
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 2009c80:	da 04 c0 00 	ld  [ %l3 ], %o5                               
 2009c84:	80 a4 80 0d 	cmp  %l2, %o5                                  
 2009c88:	02 80 00 0d 	be  2009cbc <_Heap_Walk+0x444>                 
 2009c8c:	80 a5 20 00 	cmp  %l4, 0                                    
    (*printer)(                                                       
 2009c90:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009c94:	e6 23 a0 5c 	st  %l3, [ %sp + 0x5c ]                        
 2009c98:	90 10 00 19 	mov  %i1, %o0                                  
 2009c9c:	92 10 20 01 	mov  1, %o1                                    
 2009ca0:	94 12 a1 48 	or  %o2, 0x148, %o2                            
 2009ca4:	96 10 00 1a 	mov  %i2, %o3                                  
 2009ca8:	98 10 00 12 	mov  %l2, %o4                                  
 2009cac:	9f c7 40 00 	call  %i5                                      
 2009cb0:	01 00 00 00 	nop                                            
 2009cb4:	10 80 00 23 	b  2009d40 <_Heap_Walk+0x4c8>                  
 2009cb8:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 2009cbc:	32 80 00 0a 	bne,a   2009ce4 <_Heap_Walk+0x46c>             
 2009cc0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    (*printer)(                                                       
 2009cc4:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
 2009cc8:	90 10 00 19 	mov  %i1, %o0                                  
 2009ccc:	92 10 20 01 	mov  1, %o1                                    
 2009cd0:	10 80 00 22 	b  2009d58 <_Heap_Walk+0x4e0>                  
 2009cd4:	94 12 a1 88 	or  %o2, 0x188, %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 ) {                                      
 2009cd8:	02 80 00 17 	be  2009d34 <_Heap_Walk+0x4bc>                 
 2009cdc:	80 a4 c0 1b 	cmp  %l3, %i3                                  
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 2009ce0:	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 ) {                            
 2009ce4:	80 a0 40 18 	cmp  %g1, %i0                                  
 2009ce8:	12 bf ff fc 	bne  2009cd8 <_Heap_Walk+0x460>                
 2009cec:	80 a0 40 1a 	cmp  %g1, %i2                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2009cf0:	10 80 00 17 	b  2009d4c <_Heap_Walk+0x4d4>                  
 2009cf4:	15 00 80 73 	sethi  %hi(0x201cc00), %o2                     
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
 2009cf8:	80 a5 20 00 	cmp  %l4, 0                                    
 2009cfc:	02 80 00 08 	be  2009d1c <_Heap_Walk+0x4a4>                 
 2009d00:	92 10 20 00 	clr  %o1                                       
      (*printer)(                                                     
 2009d04:	94 10 00 17 	mov  %l7, %o2                                  
 2009d08:	96 10 00 1a 	mov  %i2, %o3                                  
 2009d0c:	9f c7 40 00 	call  %i5                                      
 2009d10:	98 10 00 12 	mov  %l2, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 2009d14:	10 80 00 08 	b  2009d34 <_Heap_Walk+0x4bc>                  
 2009d18:	80 a4 c0 1b 	cmp  %l3, %i3                                  
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2009d1c:	da 06 80 00 	ld  [ %i2 ], %o5                               
 2009d20:	94 10 00 16 	mov  %l6, %o2                                  
 2009d24:	96 10 00 1a 	mov  %i2, %o3                                  
 2009d28:	9f c7 40 00 	call  %i5                                      
 2009d2c:	98 10 00 12 	mov  %l2, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 2009d30:	80 a4 c0 1b 	cmp  %l3, %i3                                  
 2009d34:	12 bf ff 70 	bne  2009af4 <_Heap_Walk+0x27c>                
 2009d38:	b4 10 00 13 	mov  %l3, %i2                                  
                                                                      
  return true;                                                        
 2009d3c:	82 10 20 01 	mov  1, %g1                                    
}                                                                     
 2009d40:	b0 08 60 01 	and  %g1, 1, %i0                               
 2009d44:	81 c7 e0 08 	ret                                            
 2009d48:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2009d4c:	90 10 00 19 	mov  %i1, %o0                                  
 2009d50:	92 10 20 01 	mov  1, %o1                                    
 2009d54:	94 12 a1 f8 	or  %o2, 0x1f8, %o2                            
 2009d58:	96 10 00 1a 	mov  %i2, %o3                                  
 2009d5c:	9f c7 40 00 	call  %i5                                      
 2009d60:	01 00 00 00 	nop                                            
 2009d64:	10 bf ff f7 	b  2009d40 <_Heap_Walk+0x4c8>                  
 2009d68:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      

02008d1c <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 2008d1c:	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 )                                       
 2008d20:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 2008d24:	ba 10 00 18 	mov  %i0, %i5                                  
   *  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 )                                       
 2008d28:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d2c:	02 80 00 20 	be  2008dac <_Objects_Allocate+0x90>           <== NEVER TAKEN
 2008d30:	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 );
 2008d34:	b8 07 60 20 	add  %i5, 0x20, %i4                            
 2008d38:	7f ff fd 76 	call  2008310 <_Chain_Get>                     
 2008d3c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 2008d40:	c2 0f 60 12 	ldub  [ %i5 + 0x12 ], %g1                      
 2008d44:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d48:	02 80 00 19 	be  2008dac <_Objects_Allocate+0x90>           
 2008d4c:	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 ) {                                              
 2008d50:	80 a2 20 00 	cmp  %o0, 0                                    
 2008d54:	32 80 00 0a 	bne,a   2008d7c <_Objects_Allocate+0x60>       
 2008d58:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
      _Objects_Extend_information( information );                     
 2008d5c:	40 00 00 1d 	call  2008dd0 <_Objects_Extend_information>    
 2008d60:	90 10 00 1d 	mov  %i5, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 2008d64:	7f ff fd 6b 	call  2008310 <_Chain_Get>                     
 2008d68:	90 10 00 1c 	mov  %i4, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 2008d6c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2008d70:	02 80 00 0f 	be  2008dac <_Objects_Allocate+0x90>           
 2008d74:	01 00 00 00 	nop                                            
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 2008d78:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
 2008d7c:	d0 16 20 0a 	lduh  [ %i0 + 0xa ], %o0                       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
 2008d80:	d2 17 60 14 	lduh  [ %i5 + 0x14 ], %o1                      
 2008d84:	40 00 3e a4 	call  2018814 <.udiv>                          
 2008d88:	90 22 00 01 	sub  %o0, %g1, %o0                             
                                                                      
      information->inactive_per_block[ block ]--;                     
 2008d8c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 2008d90:	91 2a 20 02 	sll  %o0, 2, %o0                               
 2008d94:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
 2008d98:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008d9c:	c4 20 40 08 	st  %g2, [ %g1 + %o0 ]                         
      information->inactive--;                                        
 2008da0:	c2 17 60 2c 	lduh  [ %i5 + 0x2c ], %g1                      
 2008da4:	82 00 7f ff 	add  %g1, -1, %g1                              
 2008da8:	c2 37 60 2c 	sth  %g1, [ %i5 + 0x2c ]                       
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
 2008dac:	81 c7 e0 08 	ret                                            
 2008db0:	81 e8 00 00 	restore                                        
                                                                      

02009128 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
 2009128:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 200912c:	80 a6 60 00 	cmp  %i1, 0                                    
 2009130:	02 80 00 17 	be  200918c <_Objects_Get_information+0x64>    
 2009134:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   *  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 );      
 2009138:	40 00 12 81 	call  200db3c <_Objects_API_maximum_class>     
 200913c:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 2009140:	80 a2 20 00 	cmp  %o0, 0                                    
 2009144:	02 80 00 12 	be  200918c <_Objects_Get_information+0x64>    
 2009148:	80 a6 40 08 	cmp  %i1, %o0                                  
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 200914c:	18 80 00 10 	bgu  200918c <_Objects_Get_information+0x64>   
 2009150:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 2009154:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2009158:	82 10 63 78 	or  %g1, 0x378, %g1                            
 200915c:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2009160:	80 a0 60 00 	cmp  %g1, 0                                    
 2009164:	02 80 00 0a 	be  200918c <_Objects_Get_information+0x64>    <== NEVER TAKEN
 2009168:	b3 2e 60 02 	sll  %i1, 2, %i1                               
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 200916c:	fa 00 40 19 	ld  [ %g1 + %i1 ], %i5                         
  if ( !info )                                                        
 2009170:	80 a7 60 00 	cmp  %i5, 0                                    
 2009174:	02 80 00 06 	be  200918c <_Objects_Get_information+0x64>    <== NEVER TAKEN
 2009178:	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 )                                         
 200917c:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      
      return NULL;                                                    
 2009180:	80 a0 00 01 	cmp  %g0, %g1                                  
 2009184:	82 60 20 00 	subx  %g0, 0, %g1                              
 2009188:	ba 0f 40 01 	and  %i5, %g1, %i5                             
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 200918c:	81 c7 e0 08 	ret                                            
 2009190:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      

0200d1a4 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 200d1a4:	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;
 200d1a8:	92 96 20 00 	orcc  %i0, 0, %o1                              
 200d1ac:	12 80 00 06 	bne  200d1c4 <_Objects_Id_to_name+0x20>        
 200d1b0:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200d1b4:	03 00 80 b8 	sethi  %hi(0x202e000), %g1                     
 200d1b8:	c2 00 63 9c 	ld  [ %g1 + 0x39c ], %g1	! 202e39c <_Per_CPU_Information+0xc>
 200d1bc:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
 200d1c0:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200d1c4:	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 )                      
 200d1c8:	84 00 7f ff 	add  %g1, -1, %g2                              
 200d1cc:	80 a0 a0 02 	cmp  %g2, 2                                    
 200d1d0:	18 80 00 16 	bgu  200d228 <_Objects_Id_to_name+0x84>        
 200d1d4:	ba 10 20 03 	mov  3, %i5                                    
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200d1d8:	10 80 00 16 	b  200d230 <_Objects_Id_to_name+0x8c>          
 200d1dc:	83 28 60 02 	sll  %g1, 2, %g1                               
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 200d1e0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200d1e4:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 200d1e8:	80 a2 20 00 	cmp  %o0, 0                                    
 200d1ec:	02 80 00 0f 	be  200d228 <_Objects_Id_to_name+0x84>         <== NEVER TAKEN
 200d1f0:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
 200d1f4:	c2 0a 20 38 	ldub  [ %o0 + 0x38 ], %g1                      
 200d1f8:	80 a0 60 00 	cmp  %g1, 0                                    
 200d1fc:	12 80 00 0b 	bne  200d228 <_Objects_Id_to_name+0x84>        <== NEVER TAKEN
 200d200:	01 00 00 00 	nop                                            
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 200d204:	7f ff ff ca 	call  200d12c <_Objects_Get>                   
 200d208:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 200d20c:	80 a2 20 00 	cmp  %o0, 0                                    
 200d210:	02 80 00 06 	be  200d228 <_Objects_Id_to_name+0x84>         
 200d214:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 200d218:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 200d21c:	ba 10 20 00 	clr  %i5                                       
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
 200d220:	40 00 03 cb 	call  200e14c <_Thread_Enable_dispatch>        
 200d224:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
 200d228:	81 c7 e0 08 	ret                                            
 200d22c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200d230:	05 00 80 b7 	sethi  %hi(0x202dc00), %g2                     
 200d234:	84 10 a1 78 	or  %g2, 0x178, %g2	! 202dd78 <_Objects_Information_table>
 200d238:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200d23c:	80 a0 60 00 	cmp  %g1, 0                                    
 200d240:	12 bf ff e8 	bne  200d1e0 <_Objects_Id_to_name+0x3c>        
 200d244:	85 32 60 1b 	srl  %o1, 0x1b, %g2                            
 200d248:	30 bf ff f8 	b,a   200d228 <_Objects_Id_to_name+0x84>       
                                                                      

0200ef3c <_POSIX_Keys_Run_destructors>: */ void _POSIX_Keys_Run_destructors( Thread_Control *thread ) {
 200ef3c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
 200ef40:	f6 06 20 08 	ld  [ %i0 + 8 ], %i3                           
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
 200ef44:	39 00 80 78 	sethi  %hi(0x201e000), %i4                     
 200ef48:	b5 36 e0 18 	srl  %i3, 0x18, %i2                            
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
 200ef4c:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 200ef50:	b4 0e a0 07 	and  %i2, 7, %i2                               
 200ef54:	b7 36 e0 0e 	srl  %i3, 0xe, %i3                             
 200ef58:	b4 06 a0 04 	add  %i2, 4, %i2                               
 200ef5c:	b5 2e a0 02 	sll  %i2, 2, %i2                               
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
 200ef60:	82 17 20 28 	or  %i4, 0x28, %g1                             
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200ef64:	ba 10 20 01 	mov  1, %i5                                    
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
 200ef68:	84 10 20 01 	mov  1, %g2                                    
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200ef6c:	10 80 00 18 	b  200efcc <_POSIX_Keys_Run_destructors+0x90>  
 200ef70:	f2 10 60 10 	lduh  [ %g1 + 0x10 ], %i1                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
 200ef74:	86 17 20 28 	or  %i4, 0x28, %g3                             
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
 200ef78:	c6 00 e0 1c 	ld  [ %g3 + 0x1c ], %g3                        
 200ef7c:	83 28 60 02 	sll  %g1, 2, %g1                               
 200ef80:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
 200ef84:	80 a0 60 00 	cmp  %g1, 0                                    
 200ef88:	22 80 00 11 	be,a   200efcc <_POSIX_Keys_Run_destructors+0x90>
 200ef8c:	ba 07 60 01 	inc  %i5                                       
 200ef90:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 200ef94:	80 a0 e0 00 	cmp  %g3, 0                                    
 200ef98:	02 80 00 0c 	be  200efc8 <_POSIX_Keys_Run_destructors+0x8c> 
 200ef9c:	86 00 40 1a 	add  %g1, %i2, %g3                             
        void *value = key->Values [ thread_api ][ thread_index ];     
 200efa0:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 200efa4:	d0 00 c0 1b 	ld  [ %g3 + %i3 ], %o0                         
                                                                      
        if ( value != NULL ) {                                        
 200efa8:	80 a2 20 00 	cmp  %o0, 0                                    
 200efac:	22 80 00 08 	be,a   200efcc <_POSIX_Keys_Run_destructors+0x90><== ALWAYS TAKEN
 200efb0:	ba 07 60 01 	inc  %i5                                       
          key->Values [ thread_api ][ thread_index ] = NULL;          
 200efb4:	c0 20 c0 1b 	clr  [ %g3 + %i3 ]                             <== NOT EXECUTED
          (*key->destructor)( value );                                
 200efb8:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        <== NOT EXECUTED
 200efbc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200efc0:	01 00 00 00 	nop                                            <== NOT EXECUTED
          done = false;                                               
 200efc4:	84 10 20 00 	clr  %g2	! 0 <PROM_START>                      <== NOT EXECUTED
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200efc8:	ba 07 60 01 	inc  %i5                                       
 200efcc:	83 2f 60 10 	sll  %i5, 0x10, %g1                            
 200efd0:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 200efd4:	80 a0 40 19 	cmp  %g1, %i1                                  
 200efd8:	08 bf ff e7 	bleu  200ef74 <_POSIX_Keys_Run_destructors+0x38>
 200efdc:	80 88 a0 ff 	btst  0xff, %g2                                
   *  number of iterations.  An infinite loop may happen if destructors set
   *  thread specific data.  This can be considered dubious.          
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
 200efe0:	02 bf ff e1 	be  200ef64 <_POSIX_Keys_Run_destructors+0x28> <== NEVER TAKEN
 200efe4:	82 17 20 28 	or  %i4, 0x28, %g1                             
          done = false;                                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
 200efe8:	81 c7 e0 08 	ret                                            
 200efec:	81 e8 00 00 	restore                                        
                                                                      

0200ca3c <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
 200ca3c:	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(             
 200ca40:	11 00 80 ab 	sethi  %hi(0x202ac00), %o0                     
 200ca44:	92 10 00 18 	mov  %i0, %o1                                  
 200ca48:	90 12 23 3c 	or  %o0, 0x33c, %o0                            
 200ca4c:	40 00 0c d2 	call  200fd94 <_Objects_Get>                   
 200ca50:	94 07 bf f8 	add  %fp, -8, %o2                              
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200ca54:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200ca58:	80 a0 60 00 	cmp  %g1, 0                                    
 200ca5c:	12 80 00 45 	bne  200cb70 <_POSIX_Message_queue_Receive_support+0x134>
 200ca60:	01 00 00 00 	nop                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
 200ca64:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200ca68:	84 08 60 03 	and  %g1, 3, %g2                               
 200ca6c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200ca70:	32 80 00 08 	bne,a   200ca90 <_POSIX_Message_queue_Receive_support+0x54>
 200ca74:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
        _Thread_Enable_dispatch();                                    
 200ca78:	40 00 10 a1 	call  2010cfc <_Thread_Enable_dispatch>        
 200ca7c:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EBADF );                
 200ca80:	40 00 28 55 	call  2016bd4 <__errno>                        
 200ca84:	01 00 00 00 	nop                                            
 200ca88:	10 80 00 0b 	b  200cab4 <_POSIX_Message_queue_Receive_support+0x78>
 200ca8c:	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 ) {   
 200ca90:	c4 02 20 68 	ld  [ %o0 + 0x68 ], %g2                        
 200ca94:	80 a6 80 02 	cmp  %i2, %g2                                  
 200ca98:	1a 80 00 09 	bcc  200cabc <_POSIX_Message_queue_Receive_support+0x80>
 200ca9c:	84 10 3f ff 	mov  -1, %g2                                   
        _Thread_Enable_dispatch();                                    
 200caa0:	40 00 10 97 	call  2010cfc <_Thread_Enable_dispatch>        
 200caa4:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
 200caa8:	40 00 28 4b 	call  2016bd4 <__errno>                        
 200caac:	01 00 00 00 	nop                                            
 200cab0:	82 10 20 7a 	mov  0x7a, %g1	! 7a <PROM_START+0x7a>          
 200cab4:	10 80 00 2d 	b  200cb68 <_POSIX_Message_queue_Receive_support+0x12c>
 200cab8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200cabc:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200cac0:	80 a7 20 00 	cmp  %i4, 0                                    
 200cac4:	02 80 00 06 	be  200cadc <_POSIX_Message_queue_Receive_support+0xa0>
 200cac8:	98 10 20 00 	clr  %o4                                       
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
 200cacc:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 200cad0:	82 08 40 02 	and  %g1, %g2, %g1                             
 200cad4:	80 a0 00 01 	cmp  %g0, %g1                                  
 200cad8:	98 60 3f ff 	subx  %g0, -1, %o4                             
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200cadc:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 200cae0:	92 10 00 18 	mov  %i0, %o1                                  
 200cae4:	94 10 00 19 	mov  %i1, %o2                                  
 200cae8:	96 07 bf fc 	add  %fp, -4, %o3                              
 200caec:	98 0b 20 01 	and  %o4, 1, %o4                               
 200caf0:	40 00 08 72 	call  200ecb8 <_CORE_message_queue_Seize>      
 200caf4:	9a 10 00 1d 	mov  %i5, %o5                                  
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200caf8:	40 00 10 81 	call  2010cfc <_Thread_Enable_dispatch>        
 200cafc:	01 00 00 00 	nop                                            
      if (msg_prio) {                                                 
 200cb00:	80 a6 e0 00 	cmp  %i3, 0                                    
 200cb04:	02 80 00 08 	be  200cb24 <_POSIX_Message_queue_Receive_support+0xe8><== NEVER TAKEN
 200cb08:	03 00 80 ab 	sethi  %hi(0x202ac00), %g1                     
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
             _Thread_Executing->Wait.count                            
 200cb0c:	c2 00 63 bc 	ld  [ %g1 + 0x3bc ], %g1	! 202afbc <_Per_CPU_Information+0xc>
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return (unsigned int) ((priority >= 0) ? priority : -priority);     
 200cb10:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
 200cb14:	83 38 a0 1f 	sra  %g2, 0x1f, %g1                            
 200cb18:	84 18 40 02 	xor  %g1, %g2, %g2                             
 200cb1c:	82 20 80 01 	sub  %g2, %g1, %g1                             
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
 200cb20:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
             _Thread_Executing->Wait.count                            
          );                                                          
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200cb24:	3b 00 80 ab 	sethi  %hi(0x202ac00), %i5                     
 200cb28:	ba 17 63 b0 	or  %i5, 0x3b0, %i5	! 202afb0 <_Per_CPU_Information>
 200cb2c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200cb30:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200cb34:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb38:	12 80 00 05 	bne  200cb4c <_POSIX_Message_queue_Receive_support+0x110>
 200cb3c:	01 00 00 00 	nop                                            
        return length_out;                                            
 200cb40:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
 200cb44:	81 c7 e0 08 	ret                                            
 200cb48:	81 e8 00 00 	restore                                        
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200cb4c:	40 00 28 22 	call  2016bd4 <__errno>                        
 200cb50:	01 00 00 00 	nop                                            
 200cb54:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200cb58:	b8 10 00 08 	mov  %o0, %i4                                  
 200cb5c:	40 00 00 9b 	call  200cdc8 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200cb60:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 200cb64:	d0 27 00 00 	st  %o0, [ %i4 ]                               
 200cb68:	81 c7 e0 08 	ret                                            
 200cb6c:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200cb70:	40 00 28 19 	call  2016bd4 <__errno>                        
 200cb74:	b0 10 3f ff 	mov  -1, %i0                                   
 200cb78:	82 10 20 09 	mov  9, %g1                                    
 200cb7c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200cb80:	81 c7 e0 08 	ret                                            
 200cb84:	81 e8 00 00 	restore                                        
                                                                      

0200ee50 <_POSIX_Semaphore_Create_support>: size_t name_len, int pshared, unsigned int value, POSIX_Semaphore_Control **the_sem ) {
 200ee50:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Semaphore_Control   *the_semaphore;                           
  CORE_semaphore_Attributes *the_sem_attr;                            
  char                      *name;                                    
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0)                                                   
 200ee54:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ee58:	22 80 00 06 	be,a   200ee70 <_POSIX_Semaphore_Create_support+0x20>
 200ee5c:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 200ee60:	40 00 0a 61 	call  20117e4 <__errno>                        
 200ee64:	01 00 00 00 	nop                                            
 200ee68:	10 80 00 21 	b  200eeec <_POSIX_Semaphore_Create_support+0x9c>
 200ee6c:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200ee70:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2                       
 200ee74:	84 00 a0 01 	inc  %g2                                       
 200ee78:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
    return _Thread_Dispatch_disable_level;                            
 200ee7c:	c2 00 63 30 	ld  [ %g1 + 0x330 ], %g1                       
 *  _POSIX_Semaphore_Allocate                                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
 200ee80:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 200ee84:	7f ff ee cc 	call  200a9b4 <_Objects_Allocate>              
 200ee88:	90 16 a2 30 	or  %i2, 0x230, %o0	! 2022a30 <_POSIX_Semaphore_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
  if ( !the_semaphore ) {                                             
 200ee8c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200ee90:	12 80 00 08 	bne  200eeb0 <_POSIX_Semaphore_Create_support+0x60>
 200ee94:	80 a6 20 00 	cmp  %i0, 0                                    
    _Thread_Enable_dispatch();                                        
 200ee98:	7f ff f3 ef 	call  200be54 <_Thread_Enable_dispatch>        
 200ee9c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
 200eea0:	40 00 0a 51 	call  20117e4 <__errno>                        
 200eea4:	01 00 00 00 	nop                                            
 200eea8:	10 80 00 11 	b  200eeec <_POSIX_Semaphore_Create_support+0x9c>
 200eeac:	82 10 20 1c 	mov  0x1c, %g1	! 1c <PROM_START+0x1c>          
                                                                      
  /*                                                                  
   * Make a copy of the user's string for name just in case it was    
   * dynamically constructed.                                         
   */                                                                 
  if ( name_arg != NULL ) {                                           
 200eeb0:	02 80 00 12 	be  200eef8 <_POSIX_Semaphore_Create_support+0xa8>
 200eeb4:	92 10 00 19 	mov  %i1, %o1                                  
    name = _Workspace_String_duplicate( name_arg, name_len );         
 200eeb8:	40 00 04 72 	call  2010080 <_Workspace_String_duplicate>    
 200eebc:	90 10 00 18 	mov  %i0, %o0                                  
    if ( !name ) {                                                    
 200eec0:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 200eec4:	12 80 00 0f 	bne  200ef00 <_POSIX_Semaphore_Create_support+0xb0><== ALWAYS TAKEN
 200eec8:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (                     
  POSIX_Semaphore_Control *the_semaphore                              
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object );
 200eecc:	90 16 a2 30 	or  %i2, 0x230, %o0                            <== NOT EXECUTED
 200eed0:	7f ff ef 92 	call  200ad18 <_Objects_Free>                  <== NOT EXECUTED
 200eed4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
      _POSIX_Semaphore_Free( the_semaphore );                         
      _Thread_Enable_dispatch();                                      
 200eed8:	7f ff f3 df 	call  200be54 <_Thread_Enable_dispatch>        <== NOT EXECUTED
 200eedc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
 200eee0:	40 00 0a 41 	call  20117e4 <__errno>                        <== NOT EXECUTED
 200eee4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200eee8:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 200eeec:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200eef0:	81 c7 e0 08 	ret                                            
 200eef4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    }                                                                 
  } else {                                                            
    name = NULL;                                                      
 200eef8:	b2 10 20 00 	clr  %i1                                       
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
                                                                      
  if ( name ) {                                                       
 200eefc:	80 a6 60 00 	cmp  %i1, 0                                    
 200ef00:	02 80 00 08 	be  200ef20 <_POSIX_Semaphore_Create_support+0xd0>
 200ef04:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
    the_semaphore->named = true;                                      
 200ef08:	82 10 20 01 	mov  1, %g1                                    
 200ef0c:	c2 2f 60 14 	stb  %g1, [ %i5 + 0x14 ]                       
    the_semaphore->open_count = 1;                                    
 200ef10:	82 10 20 01 	mov  1, %g1                                    
 200ef14:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
    the_semaphore->linked = true;                                     
 200ef18:	10 80 00 05 	b  200ef2c <_POSIX_Semaphore_Create_support+0xdc>
 200ef1c:	c2 2f 60 15 	stb  %g1, [ %i5 + 0x15 ]                       
  } else {                                                            
    the_semaphore->named = false;                                     
 200ef20:	c0 2f 60 14 	clrb  [ %i5 + 0x14 ]                           
    the_semaphore->open_count = 0;                                    
 200ef24:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
    the_semaphore->linked = false;                                    
 200ef28:	c0 2f 60 15 	clrb  [ %i5 + 0x15 ]                           
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
 200ef2c:	82 10 3f ff 	mov  -1, %g1                                   
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
 200ef30:	90 07 60 1c 	add  %i5, 0x1c, %o0                            
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
 200ef34:	c2 27 60 5c 	st  %g1, [ %i5 + 0x5c ]                        
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
 200ef38:	92 07 60 5c 	add  %i5, 0x5c, %o1                            
 200ef3c:	94 10 00 1b 	mov  %i3, %o2                                  
 200ef40:	7f ff ed 02 	call  200a348 <_CORE_semaphore_Initialize>     
 200ef44:	c0 27 60 60 	clr  [ %i5 + 0x60 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 200ef48:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200ef4c:	05 00 80 8a 	sethi  %hi(0x2022800), %g2                     
 200ef50:	c4 00 a2 4c 	ld  [ %g2 + 0x24c ], %g2	! 2022a4c <_POSIX_Semaphore_Information+0x1c>
 200ef54:	83 28 60 02 	sll  %g1, 2, %g1                               
 200ef58:	fa 20 80 01 	st  %i5, [ %g2 + %g1 ]                         
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
 200ef5c:	f2 27 60 0c 	st  %i1, [ %i5 + 0xc ]                         
    &_POSIX_Semaphore_Information,                                    
    &the_semaphore->Object,                                           
    name                                                              
  );                                                                  
                                                                      
  *the_sem = the_semaphore;                                           
 200ef60:	fa 27 00 00 	st  %i5, [ %i4 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 200ef64:	7f ff f3 bc 	call  200be54 <_Thread_Enable_dispatch>        
 200ef68:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 200ef6c:	81 c7 e0 08 	ret                                            
 200ef70:	81 e8 00 00 	restore                                        
                                                                      

0200c8fc <_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 ];
 200c8fc:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200c900:	c4 00 60 d8 	ld  [ %g1 + 0xd8 ], %g2                        
 200c904:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c908:	12 80 00 13 	bne  200c954 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x58><== NEVER TAKEN
 200c90c:	01 00 00 00 	nop                                            
 200c910:	c4 00 60 dc 	ld  [ %g1 + 0xdc ], %g2                        
 200c914:	80 a0 a0 01 	cmp  %g2, 1                                    
 200c918:	12 80 00 0f 	bne  200c954 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x58>
 200c91c:	01 00 00 00 	nop                                            
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
 200c920:	c2 00 60 e0 	ld  [ %g1 + 0xe0 ], %g1                        
 200c924:	80 a0 60 00 	cmp  %g1, 0                                    
 200c928:	02 80 00 0b 	be  200c954 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x58>
 200c92c:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 200c930:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200c934:	c4 00 60 c0 	ld  [ %g1 + 0xc0 ], %g2	! 201e0c0 <_Thread_Dispatch_disable_level>
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
 200c938:	92 10 3f ff 	mov  -1, %o1                                   
 200c93c:	84 00 bf ff 	add  %g2, -1, %g2                              
 200c940:	c4 20 60 c0 	st  %g2, [ %g1 + 0xc0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200c944:	c2 00 60 c0 	ld  [ %g1 + 0xc0 ], %g1                        
 200c948:	82 13 c0 00 	mov  %o7, %g1                                  
 200c94c:	40 00 01 b6 	call  200d024 <_POSIX_Thread_Exit>             
 200c950:	9e 10 40 00 	mov  %g1, %o7                                  
  } else                                                              
    _Thread_Enable_dispatch();                                        
 200c954:	82 13 c0 00 	mov  %o7, %g1                                  
 200c958:	7f ff f6 42 	call  200a260 <_Thread_Enable_dispatch>        
 200c95c:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200dcb0 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
 200dcb0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
 200dcb4:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200dcb8:	7f ff ff f3 	call  200dc84 <_POSIX_Priority_Is_valid>       
 200dcbc:	ba 10 00 18 	mov  %i0, %i5                                  
 200dcc0:	80 8a 20 ff 	btst  0xff, %o0                                
 200dcc4:	02 80 00 11 	be  200dd08 <_POSIX_Thread_Translate_sched_param+0x58><== NEVER TAKEN
 200dcc8:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
 200dccc:	c0 26 80 00 	clr  [ %i2 ]                                   
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
 200dcd0:	80 a7 60 00 	cmp  %i5, 0                                    
 200dcd4:	12 80 00 06 	bne  200dcec <_POSIX_Thread_Translate_sched_param+0x3c>
 200dcd8:	c0 26 c0 00 	clr  [ %i3 ]                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
 200dcdc:	82 10 20 01 	mov  1, %g1                                    
 200dce0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    return 0;                                                         
 200dce4:	81 c7 e0 08 	ret                                            
 200dce8:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
 200dcec:	80 a7 60 01 	cmp  %i5, 1                                    
 200dcf0:	02 80 00 06 	be  200dd08 <_POSIX_Thread_Translate_sched_param+0x58>
 200dcf4:	b0 10 20 00 	clr  %i0                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
 200dcf8:	80 a7 60 02 	cmp  %i5, 2                                    
 200dcfc:	32 80 00 05 	bne,a   200dd10 <_POSIX_Thread_Translate_sched_param+0x60>
 200dd00:	80 a7 60 04 	cmp  %i5, 4                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
 200dd04:	fa 26 80 00 	st  %i5, [ %i2 ]                               
    return 0;                                                         
 200dd08:	81 c7 e0 08 	ret                                            
 200dd0c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
 200dd10:	12 bf ff fe 	bne  200dd08 <_POSIX_Thread_Translate_sched_param+0x58>
 200dd14:	b0 10 20 16 	mov  0x16, %i0                                 
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
 200dd18:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200dd1c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd20:	32 80 00 07 	bne,a   200dd3c <_POSIX_Thread_Translate_sched_param+0x8c>
 200dd24:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200dd28:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200dd2c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd30:	02 80 00 1d 	be  200dda4 <_POSIX_Thread_Translate_sched_param+0xf4>
 200dd34:	01 00 00 00 	nop                                            
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
 200dd38:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200dd3c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd40:	12 80 00 06 	bne  200dd58 <_POSIX_Thread_Translate_sched_param+0xa8>
 200dd44:	01 00 00 00 	nop                                            
 200dd48:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200dd4c:	80 a0 60 00 	cmp  %g1, 0                                    
 200dd50:	02 bf ff ee 	be  200dd08 <_POSIX_Thread_Translate_sched_param+0x58>
 200dd54:	b0 10 20 16 	mov  0x16, %i0                                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200dd58:	7f ff f7 4f 	call  200ba94 <_Timespec_To_ticks>             
 200dd5c:	90 06 60 08 	add  %i1, 8, %o0                               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
 200dd60:	b0 10 20 16 	mov  0x16, %i0                                 
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200dd64:	ba 10 00 08 	mov  %o0, %i5                                  
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
 200dd68:	7f ff f7 4b 	call  200ba94 <_Timespec_To_ticks>             
 200dd6c:	90 06 60 10 	add  %i1, 0x10, %o0                            
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200dd70:	80 a7 40 08 	cmp  %i5, %o0                                  
 200dd74:	0a 80 00 0c 	bcs  200dda4 <_POSIX_Thread_Translate_sched_param+0xf4>
 200dd78:	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 ) )  
 200dd7c:	7f ff ff c2 	call  200dc84 <_POSIX_Priority_Is_valid>       
 200dd80:	d0 06 60 04 	ld  [ %i1 + 4 ], %o0                           
 200dd84:	80 8a 20 ff 	btst  0xff, %o0                                
 200dd88:	02 bf ff e0 	be  200dd08 <_POSIX_Thread_Translate_sched_param+0x58>
 200dd8c:	82 10 20 03 	mov  3, %g1                                    
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
 200dd90:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
 200dd94:	b0 10 20 00 	clr  %i0                                       
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
 200dd98:	03 00 80 1f 	sethi  %hi(0x2007c00), %g1                     
 200dd9c:	82 10 61 a0 	or  %g1, 0x1a0, %g1	! 2007da0 <_POSIX_Threads_Sporadic_budget_callout>
 200dda0:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200dda4:	81 c7 e0 08 	ret                                            
 200dda8:	81 e8 00 00 	restore                                        
                                                                      

0200cc3c <_POSIX_Threads_Delete_extension>: */ static void _POSIX_Threads_Delete_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) {
 200cc3c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
  void              **value_ptr;                                      
                                                                      
  api = deleted->API_Extensions[ THREAD_API_POSIX ];                  
 200cc40:	f0 06 61 5c 	ld  [ %i1 + 0x15c ], %i0                       
                                                                      
  /*                                                                  
   *  Run the POSIX cancellation handlers                             
   */                                                                 
  _POSIX_Threads_cancel_run( deleted );                               
 200cc44:	40 00 08 a4 	call  200eed4 <_POSIX_Threads_cancel_run>      
 200cc48:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   *  Run all the key destructors                                     
   */                                                                 
  _POSIX_Keys_Run_destructors( deleted );                             
 200cc4c:	90 10 00 19 	mov  %i1, %o0                                  
 200cc50:	40 00 08 bb 	call  200ef3c <_POSIX_Keys_Run_destructors>    
 200cc54:	ba 06 20 44 	add  %i0, 0x44, %i5                            
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
 200cc58:	10 80 00 03 	b  200cc64 <_POSIX_Threads_Delete_extension+0x28>
 200cc5c:	f8 06 60 28 	ld  [ %i1 + 0x28 ], %i4                        
      *(void **)the_thread->Wait.return_argument = value_ptr;         
 200cc60:	f8 20 40 00 	st  %i4, [ %g1 ]                               <== NOT EXECUTED
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
 200cc64:	7f ff f6 28 	call  200a504 <_Thread_queue_Dequeue>          
 200cc68:	90 10 00 1d 	mov  %i5, %o0                                  
 200cc6c:	80 a2 20 00 	cmp  %o0, 0                                    
 200cc70:	32 bf ff fc 	bne,a   200cc60 <_POSIX_Threads_Delete_extension+0x24><== NEVER TAKEN
 200cc74:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        <== NOT EXECUTED
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
 200cc78:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 200cc7c:	80 a0 60 04 	cmp  %g1, 4                                    
 200cc80:	32 80 00 05 	bne,a   200cc94 <_POSIX_Threads_Delete_extension+0x58>
 200cc84:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
 200cc88:	7f ff f8 da 	call  200aff0 <_Watchdog_Remove>               
 200cc8c:	90 06 20 a8 	add  %i0, 0xa8, %o0                            
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200cc90:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  _Workspace_Free( api );                                             
 200cc94:	7f ff f9 4f 	call  200b1d0 <_Workspace_Free>                
 200cc98:	81 e8 00 00 	restore                                        
                                                                      

02007b00 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
 2007b00:	9d e3 bf 58 	save  %sp, -168, %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;
 2007b04:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 2007b08:	82 10 63 6c 	or  %g1, 0x36c, %g1	! 2021b6c <Configuration_POSIX_API>
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
 2007b0c:	f6 00 60 30 	ld  [ %g1 + 0x30 ], %i3                        
                                                                      
  if ( !user_threads || maximum == 0 )                                
 2007b10:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007b14:	02 80 00 1d 	be  2007b88 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2007b18:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
 2007b1c:	80 a7 60 00 	cmp  %i5, 0                                    
 2007b20:	02 80 00 1a 	be  2007b88 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2007b24:	b8 10 20 00 	clr  %i4                                       
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 2007b28:	40 00 18 a1 	call  200ddac <pthread_attr_init>              
 2007b2c:	90 07 bf bc 	add  %fp, -68, %o0                             
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
 2007b30:	92 10 20 02 	mov  2, %o1                                    
 2007b34:	40 00 18 aa 	call  200dddc <pthread_attr_setinheritsched>   
 2007b38:	90 07 bf bc 	add  %fp, -68, %o0                             
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
 2007b3c:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
 2007b40:	40 00 18 b6 	call  200de18 <pthread_attr_setstacksize>      
 2007b44:	90 07 bf bc 	add  %fp, -68, %o0                             
                                                                      
    status = pthread_create(                                          
 2007b48:	d4 07 40 00 	ld  [ %i5 ], %o2                               
 2007b4c:	90 07 bf fc 	add  %fp, -4, %o0                              
 2007b50:	92 07 bf bc 	add  %fp, -68, %o1                             
 2007b54:	96 10 20 00 	clr  %o3                                       
 2007b58:	7f ff ff 17 	call  20077b4 <pthread_create>                 
 2007b5c:	ba 07 60 08 	add  %i5, 8, %i5                               
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
 2007b60:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b64:	02 80 00 05 	be  2007b78 <_POSIX_Threads_Initialize_user_threads_body+0x78>
 2007b68:	94 10 00 08 	mov  %o0, %o2                                  
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
 2007b6c:	90 10 20 02 	mov  2, %o0                                    
 2007b70:	40 00 08 04 	call  2009b80 <_Internal_error_Occurred>       
 2007b74:	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++ ) {                       
 2007b78:	b8 07 20 01 	inc  %i4                                       
 2007b7c:	80 a7 00 1b 	cmp  %i4, %i3                                  
 2007b80:	12 bf ff ea 	bne  2007b28 <_POSIX_Threads_Initialize_user_threads_body+0x28><== NEVER TAKEN
 2007b84:	01 00 00 00 	nop                                            
 2007b88:	81 c7 e0 08 	ret                                            
 2007b8c:	81 e8 00 00 	restore                                        
                                                                      

0200cd90 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
 200cd90:	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 ];               
 200cd94:	fa 06 61 5c 	ld  [ %i1 + 0x15c ], %i5                       
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
 200cd98:	40 00 04 2a 	call  200de40 <_Timespec_To_ticks>             
 200cd9c:	90 07 60 98 	add  %i5, 0x98, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 200cda0:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 200cda4:	d2 08 62 74 	ldub  [ %g1 + 0x274 ], %o1	! 201ce74 <rtems_maximum_priority>
 200cda8:	c2 07 60 88 	ld  [ %i5 + 0x88 ], %g1                        
                                                                      
  the_thread->cpu_time_budget = ticks;                                
 200cdac:	d0 26 60 74 	st  %o0, [ %i1 + 0x74 ]                        
 200cdb0:	92 22 40 01 	sub  %o1, %g1, %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 ) {                            
 200cdb4:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200cdb8:	80 a0 60 00 	cmp  %g1, 0                                    
 200cdbc:	12 80 00 08 	bne  200cddc <_POSIX_Threads_Sporadic_budget_TSR+0x4c><== NEVER TAKEN
 200cdc0:	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 ) {              
 200cdc4:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200cdc8:	80 a0 40 09 	cmp  %g1, %o1                                  
 200cdcc:	08 80 00 04 	bleu  200cddc <_POSIX_Threads_Sporadic_budget_TSR+0x4c>
 200cdd0:	90 10 00 19 	mov  %i1, %o0                                  
      _Thread_Change_priority( the_thread, new_priority, true );      
 200cdd4:	7f ff f3 c6 	call  2009cec <_Thread_Change_priority>        
 200cdd8:	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 );
 200cddc:	40 00 04 19 	call  200de40 <_Timespec_To_ticks>             
 200cde0:	90 07 60 90 	add  %i5, 0x90, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200cde4:	31 00 80 77 	sethi  %hi(0x201dc00), %i0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200cde8:	d0 27 60 b4 	st  %o0, [ %i5 + 0xb4 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200cdec:	b0 16 20 d0 	or  %i0, 0xd0, %i0                             
 200cdf0:	7f ff f8 26 	call  200ae88 <_Watchdog_Insert>               
 200cdf4:	93 ef 60 a8 	restore  %i5, 0xa8, %o1                        
                                                                      

0200cdf8 <_POSIX_Threads_Sporadic_budget_callout>: ) { POSIX_API_Control *api; uint32_t new_priority; api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200cdf8:	c4 02 21 5c 	ld  [ %o0 + 0x15c ], %g2                       
                                                                      
  /*                                                                  
   *  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 */
 200cdfc:	86 10 3f ff 	mov  -1, %g3                                   
 200ce00:	c4 00 a0 8c 	ld  [ %g2 + 0x8c ], %g2                        
 200ce04:	c6 22 20 74 	st  %g3, [ %o0 + 0x74 ]                        
 200ce08:	07 00 80 73 	sethi  %hi(0x201cc00), %g3                     
 200ce0c:	d2 08 e2 74 	ldub  [ %g3 + 0x274 ], %o1	! 201ce74 <rtems_maximum_priority>
 200ce10:	92 22 40 02 	sub  %o1, %g2, %o1                             
   */                                                                 
  #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 ) {                            
 200ce14:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200ce18:	80 a0 a0 00 	cmp  %g2, 0                                    
 200ce1c:	12 80 00 09 	bne  200ce40 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200ce20:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
    /*                                                                
     *  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 ) {              
 200ce24:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200ce28:	80 a0 40 09 	cmp  %g1, %o1                                  
 200ce2c:	1a 80 00 05 	bcc  200ce40 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200ce30:	94 10 20 01 	mov  1, %o2                                    
      _Thread_Change_priority( the_thread, new_priority, true );      
 200ce34:	82 13 c0 00 	mov  %o7, %g1                                  
 200ce38:	7f ff f3 ad 	call  2009cec <_Thread_Change_priority>        
 200ce3c:	9e 10 40 00 	mov  %g1, %o7                                  
 200ce40:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

020075b8 <_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) {
 20075b8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 20075bc:	c2 06 60 68 	ld  [ %i1 + 0x68 ], %g1                        
 20075c0:	82 00 60 01 	inc  %g1                                       
 20075c4:	c2 26 60 68 	st  %g1, [ %i1 + 0x68 ]                        
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 20075c8:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
 20075cc:	80 a0 60 00 	cmp  %g1, 0                                    
 20075d0:	32 80 00 07 	bne,a   20075ec <_POSIX_Timer_TSR+0x34>        
 20075d4:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 20075d8:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 20075dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20075e0:	02 80 00 1e 	be  2007658 <_POSIX_Timer_TSR+0xa0>            <== NEVER TAKEN
 20075e4:	82 10 20 04 	mov  4, %g1                                    
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
 20075e8:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 20075ec:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 20075f0:	90 06 60 10 	add  %i1, 0x10, %o0                            
 20075f4:	17 00 80 1d 	sethi  %hi(0x2007400), %o3                     
 20075f8:	98 10 00 19 	mov  %i1, %o4                                  
 20075fc:	40 00 18 34 	call  200d6cc <_POSIX_Timer_Insert_helper>     
 2007600:	96 12 e1 b8 	or  %o3, 0x1b8, %o3                            
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
 2007604:	80 8a 20 ff 	btst  0xff, %o0                                
 2007608:	02 80 00 19 	be  200766c <_POSIX_Timer_TSR+0xb4>            <== NEVER TAKEN
 200760c:	01 00 00 00 	nop                                            
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007610:	40 00 05 d7 	call  2008d6c <_TOD_Get_as_timestamp>          
 2007614:	90 07 bf f8 	add  %fp, -8, %o0                              
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007618:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 200761c:	94 10 20 00 	clr  %o2                                       
 2007620:	90 10 00 1c 	mov  %i4, %o0                                  
 2007624:	92 10 00 1d 	mov  %i5, %o1                                  
 2007628:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 200762c:	40 00 48 d0 	call  201996c <__divdi3>                       
 2007630:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007634:	90 10 00 1c 	mov  %i4, %o0                                  
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007638:	d2 26 60 6c 	st  %o1, [ %i1 + 0x6c ]                        
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 200763c:	94 10 20 00 	clr  %o2                                       
 2007640:	92 10 00 1d 	mov  %i5, %o1                                  
 2007644:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007648:	40 00 49 af 	call  2019d04 <__moddi3>                       
 200764c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
 2007650:	82 10 20 03 	mov  3, %g1                                    
 2007654:	d2 26 60 70 	st  %o1, [ %i1 + 0x70 ]                        
  /*                                                                  
   * 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 ) ) {
 2007658:	d0 06 60 38 	ld  [ %i1 + 0x38 ], %o0                        
 200765c:	d2 06 60 44 	ld  [ %i1 + 0x44 ], %o1                        
 2007660:	40 00 17 0f 	call  200d29c <pthread_kill>                   
 2007664:	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;                                                
 2007668:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
 200766c:	81 c7 e0 08 	ret                                            
 2007670:	81 e8 00 00 	restore                                        
                                                                      

0200eff0 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
 200eff0:	9d e3 bf 68 	save  %sp, -152, %sp                           
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
 200eff4:	98 10 20 01 	mov  1, %o4                                    
 200eff8:	90 10 00 18 	mov  %i0, %o0                                  
 200effc:	92 10 00 19 	mov  %i1, %o1                                  
 200f000:	94 07 bf f4 	add  %fp, -12, %o2                             
 200f004:	40 00 00 2e 	call  200f0bc <_POSIX_signals_Clear_signals>   
 200f008:	96 10 00 1a 	mov  %i2, %o3                                  
 200f00c:	80 8a 20 ff 	btst  0xff, %o0                                
 200f010:	02 80 00 28 	be  200f0b0 <_POSIX_signals_Check_signal+0xc0> 
 200f014:	82 10 20 00 	clr  %g1                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
 200f018:	85 2e 60 02 	sll  %i1, 2, %g2                               
 200f01c:	35 00 80 78 	sethi  %hi(0x201e000), %i2                     
 200f020:	b7 2e 60 04 	sll  %i1, 4, %i3                               
 200f024:	b4 16 a1 b0 	or  %i2, 0x1b0, %i2                            
 200f028:	b6 26 c0 02 	sub  %i3, %g2, %i3                             
 200f02c:	84 06 80 1b 	add  %i2, %i3, %g2                             
 200f030:	fa 00 a0 08 	ld  [ %g2 + 8 ], %i5                           
 200f034:	80 a7 60 01 	cmp  %i5, 1                                    
 200f038:	02 80 00 1e 	be  200f0b0 <_POSIX_signals_Check_signal+0xc0> <== NEVER TAKEN
 200f03c:	90 07 bf cc 	add  %fp, -52, %o0                             
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
 200f040:	f8 06 20 d0 	ld  [ %i0 + 0xd0 ], %i4                        
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200f044:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 200f048:	82 10 40 1c 	or  %g1, %i4, %g1                              
 200f04c:	c2 26 20 d0 	st  %g1, [ %i0 + 0xd0 ]                        
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
 200f050:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f054:	d2 00 61 5c 	ld  [ %g1 + 0x15c ], %o1	! 201e15c <_Per_CPU_Information+0xc>
 200f058:	94 10 20 28 	mov  0x28, %o2                                 
 200f05c:	40 00 04 62 	call  20101e4 <memcpy>                         
 200f060:	92 02 60 20 	add  %o1, 0x20, %o1                            
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 200f064:	c2 06 80 1b 	ld  [ %i2 + %i3 ], %g1                         
 200f068:	80 a0 60 02 	cmp  %g1, 2                                    
 200f06c:	12 80 00 07 	bne  200f088 <_POSIX_signals_Check_signal+0x98>
 200f070:	90 10 00 19 	mov  %i1, %o0                                  
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
 200f074:	92 07 bf f4 	add  %fp, -12, %o1                             
 200f078:	9f c7 40 00 	call  %i5                                      
 200f07c:	94 10 20 00 	clr  %o2                                       
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
 200f080:	10 80 00 05 	b  200f094 <_POSIX_signals_Check_signal+0xa4>  
 200f084:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
 200f088:	9f c7 40 00 	call  %i5                                      
 200f08c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the blocking information                                
   */                                                                 
  memcpy( &_Thread_Executing->Wait, &stored_thread_wait_information,  
 200f090:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f094:	d0 00 61 5c 	ld  [ %g1 + 0x15c ], %o0	! 201e15c <_Per_CPU_Information+0xc>
 200f098:	92 07 bf cc 	add  %fp, -52, %o1                             
 200f09c:	90 02 20 20 	add  %o0, 0x20, %o0                            
 200f0a0:	40 00 04 51 	call  20101e4 <memcpy>                         
 200f0a4:	94 10 20 28 	mov  0x28, %o2                                 
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
                                                                      
  return true;                                                        
 200f0a8:	82 10 20 01 	mov  1, %g1                                    
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 200f0ac:	f8 26 20 d0 	st  %i4, [ %i0 + 0xd0 ]                        
                                                                      
  return true;                                                        
}                                                                     
 200f0b0:	b0 08 60 01 	and  %g1, 1, %i0                               
 200f0b4:	81 c7 e0 08 	ret                                            
 200f0b8:	81 e8 00 00 	restore                                        
                                                                      

0200f7d0 <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
 200f7d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
 200f7d4:	7f ff cb 86 	call  20025ec <sparc_disable_interrupts>       
 200f7d8:	01 00 00 00 	nop                                            
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
 200f7dc:	85 2e 20 04 	sll  %i0, 4, %g2                               
 200f7e0:	83 2e 20 02 	sll  %i0, 2, %g1                               
 200f7e4:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200f7e8:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 200f7ec:	84 10 a1 b0 	or  %g2, 0x1b0, %g2	! 201e1b0 <_POSIX_signals_Vectors>
 200f7f0:	c4 00 80 01 	ld  [ %g2 + %g1 ], %g2                         
 200f7f4:	80 a0 a0 02 	cmp  %g2, 2                                    
 200f7f8:	12 80 00 0a 	bne  200f820 <_POSIX_signals_Clear_process_signals+0x50>
 200f7fc:	84 10 20 01 	mov  1, %g2                                    
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
 200f800:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 200f804:	84 10 a3 a8 	or  %g2, 0x3a8, %g2	! 201e3a8 <_POSIX_signals_Siginfo>
 200f808:	86 00 40 02 	add  %g1, %g2, %g3                             
 200f80c:	c2 00 40 02 	ld  [ %g1 + %g2 ], %g1                         
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200f810:	86 00 e0 04 	add  %g3, 4, %g3                               
 200f814:	80 a0 40 03 	cmp  %g1, %g3                                  
 200f818:	12 80 00 08 	bne  200f838 <_POSIX_signals_Clear_process_signals+0x68><== NEVER TAKEN
 200f81c:	84 10 20 01 	mov  1, %g2                                    
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
 200f820:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f824:	b0 06 3f ff 	add  %i0, -1, %i0                              
 200f828:	b1 28 80 18 	sll  %g2, %i0, %i0                             
 200f82c:	c4 00 63 a4 	ld  [ %g1 + 0x3a4 ], %g2                       
 200f830:	b0 28 80 18 	andn  %g2, %i0, %i0                            
 200f834:	f0 20 63 a4 	st  %i0, [ %g1 + 0x3a4 ]                       
    }                                                                 
  _ISR_Enable( level );                                               
 200f838:	7f ff cb 71 	call  20025fc <sparc_enable_interrupts>        
 200f83c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

020083bc <_POSIX_signals_Get_lowest>: sigset_t set ) { int signo; for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
 20083bc:	82 10 20 1b 	mov  0x1b, %g1                                 
 20083c0:	84 10 20 01 	mov  1, %g2                                    
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
static int _POSIX_signals_Get_lowest(                                 
 20083c4:	86 00 7f ff 	add  %g1, -1, %g3                              
 20083c8:	87 28 80 03 	sll  %g2, %g3, %g3                             
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
 20083cc:	80 88 c0 08 	btst  %g3, %o0                                 
 20083d0:	12 80 00 11 	bne  2008414 <_POSIX_signals_Get_lowest+0x58>  <== NEVER TAKEN
 20083d4:	01 00 00 00 	nop                                            
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
 20083d8:	82 00 60 01 	inc  %g1                                       
 20083dc:	80 a0 60 20 	cmp  %g1, 0x20                                 
 20083e0:	12 bf ff fa 	bne  20083c8 <_POSIX_signals_Get_lowest+0xc>   
 20083e4:	86 00 7f ff 	add  %g1, -1, %g3                              
 20083e8:	82 10 20 01 	mov  1, %g1                                    
 20083ec:	84 10 20 01 	mov  1, %g2                                    
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
static int _POSIX_signals_Get_lowest(                                 
 20083f0:	86 00 7f ff 	add  %g1, -1, %g3                              
 20083f4:	87 28 80 03 	sll  %g2, %g3, %g3                             
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
 20083f8:	80 88 c0 08 	btst  %g3, %o0                                 
 20083fc:	12 80 00 06 	bne  2008414 <_POSIX_signals_Get_lowest+0x58>  
 2008400:	01 00 00 00 	nop                                            
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
 2008404:	82 00 60 01 	inc  %g1                                       
 2008408:	80 a0 60 1b 	cmp  %g1, 0x1b                                 
 200840c:	12 bf ff fa 	bne  20083f4 <_POSIX_signals_Get_lowest+0x38>  <== ALWAYS TAKEN
 2008410:	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;                                                       
}                                                                     
 2008414:	81 c3 e0 08 	retl                                           
 2008418:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0201a778 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
 201a778:	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 ) ) {
 201a77c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 201a780:	3b 04 00 20 	sethi  %hi(0x10008000), %i5                    
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
 201a784:	84 06 7f ff 	add  %i1, -1, %g2                              
 201a788:	86 10 20 01 	mov  1, %g3                                    
 201a78c:	9e 08 40 1d 	and  %g1, %i5, %o7                             
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
 201a790:	92 10 00 1a 	mov  %i2, %o1                                  
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 201a794:	c8 06 21 5c 	ld  [ %i0 + 0x15c ], %g4                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 201a798:	80 a3 c0 1d 	cmp  %o7, %i5                                  
 201a79c:	12 80 00 1c 	bne  201a80c <_POSIX_signals_Unblock_thread+0x94>
 201a7a0:	85 28 c0 02 	sll  %g3, %g2, %g2                             
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
 201a7a4:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 201a7a8:	80 88 80 01 	btst  %g2, %g1                                 
 201a7ac:	12 80 00 07 	bne  201a7c8 <_POSIX_signals_Unblock_thread+0x50>
 201a7b0:	82 10 20 04 	mov  4, %g1                                    
 201a7b4:	c2 01 20 d0 	ld  [ %g4 + 0xd0 ], %g1                        
 201a7b8:	80 a8 80 01 	andncc  %g2, %g1, %g0                          
 201a7bc:	02 80 00 3f 	be  201a8b8 <_POSIX_signals_Unblock_thread+0x140>
 201a7c0:	ba 10 20 00 	clr  %i5                                       
      the_thread->Wait.return_code = EINTR;                           
 201a7c4:	82 10 20 04 	mov  4, %g1                                    
 201a7c8:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
 201a7cc:	80 a2 60 00 	cmp  %o1, 0                                    
 201a7d0:	12 80 00 07 	bne  201a7ec <_POSIX_signals_Unblock_thread+0x74>
 201a7d4:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 201a7d8:	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;                                   
 201a7dc:	f2 22 00 00 	st  %i1, [ %o0 ]                               
        the_info->si_code = SI_USER;                                  
 201a7e0:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
        the_info->si_value.sival_int = 0;                             
 201a7e4:	10 80 00 04 	b  201a7f4 <_POSIX_signals_Unblock_thread+0x7c>
 201a7e8:	c0 22 20 08 	clr  [ %o0 + 8 ]                               
      } else {                                                        
        *the_info = *info;                                            
 201a7ec:	7f ff d6 7e 	call  20101e4 <memcpy>                         
 201a7f0:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
 201a7f4:	90 10 00 18 	mov  %i0, %o0                                  
 201a7f8:	7f ff c0 30 	call  200a8b8 <_Thread_queue_Extract_with_proxy>
 201a7fc:	ba 10 20 01 	mov  1, %i5                                    
 201a800:	b0 0f 60 01 	and  %i5, 1, %i0                               
 201a804:	81 c7 e0 08 	ret                                            
 201a808:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
 201a80c:	c8 01 20 d0 	ld  [ %g4 + 0xd0 ], %g4                        
 201a810:	80 a8 80 04 	andncc  %g2, %g4, %g0                          
 201a814:	02 80 00 29 	be  201a8b8 <_POSIX_signals_Unblock_thread+0x140>
 201a818:	ba 10 20 00 	clr  %i5                                       
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
 201a81c:	05 04 00 00 	sethi  %hi(0x10000000), %g2                    
 201a820:	80 88 40 02 	btst  %g1, %g2                                 
 201a824:	02 80 00 19 	be  201a888 <_POSIX_signals_Unblock_thread+0x110>
 201a828:	80 a0 60 00 	cmp  %g1, 0                                    
      the_thread->Wait.return_code = EINTR;                           
 201a82c:	84 10 20 04 	mov  4, %g2                                    
 201a830:	c4 26 20 34 	st  %g2, [ %i0 + 0x34 ]                        
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
 201a834:	05 00 00 ef 	sethi  %hi(0x3bc00), %g2                       
 201a838:	84 10 a2 e0 	or  %g2, 0x2e0, %g2	! 3bee0 <PROM_START+0x3bee0>
 201a83c:	80 88 40 02 	btst  %g1, %g2                                 
 201a840:	02 80 00 07 	be  201a85c <_POSIX_signals_Unblock_thread+0xe4>
 201a844:	80 88 60 08 	btst  8, %g1                                   
         _Thread_queue_Extract_with_proxy( the_thread );              
 201a848:	7f ff c0 1c 	call  200a8b8 <_Thread_queue_Extract_with_proxy>
 201a84c:	90 10 00 18 	mov  %i0, %o0                                  
 201a850:	b0 0f 60 01 	and  %i5, 1, %i0                               
 201a854:	81 c7 e0 08 	ret                                            
 201a858:	81 e8 00 00 	restore                                        
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
 201a85c:	22 80 00 18 	be,a   201a8bc <_POSIX_signals_Unblock_thread+0x144><== NEVER TAKEN
 201a860:	b0 0f 60 01 	and  %i5, 1, %i0                               <== NOT EXECUTED
          (void) _Watchdog_Remove( &the_thread->Timer );              
 201a864:	7f ff c1 e3 	call  200aff0 <_Watchdog_Remove>               
 201a868:	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 );                  
 201a86c:	90 10 00 18 	mov  %i0, %o0                                  
 201a870:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 201a874:	7f ff bd 64 	call  2009e04 <_Thread_Clear_state>            
 201a878:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
 201a87c:	b0 0f 60 01 	and  %i5, 1, %i0                               
 201a880:	81 c7 e0 08 	ret                                            
 201a884:	81 e8 00 00 	restore                                        
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
 201a888:	32 80 00 0d 	bne,a   201a8bc <_POSIX_signals_Unblock_thread+0x144><== NEVER TAKEN
 201a88c:	b0 0f 60 01 	and  %i5, 1, %i0                               <== NOT EXECUTED
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 201a890:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a894:	82 10 61 50 	or  %g1, 0x150, %g1	! 201e150 <_Per_CPU_Information>
 201a898:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201a89c:	80 a0 a0 00 	cmp  %g2, 0                                    
 201a8a0:	22 80 00 07 	be,a   201a8bc <_POSIX_signals_Unblock_thread+0x144>
 201a8a4:	b0 0f 60 01 	and  %i5, 1, %i0                               
 201a8a8:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 201a8ac:	80 a6 00 02 	cmp  %i0, %g2                                  
 201a8b0:	22 80 00 02 	be,a   201a8b8 <_POSIX_signals_Unblock_thread+0x140><== ALWAYS TAKEN
 201a8b4:	c6 28 60 18 	stb  %g3, [ %g1 + 0x18 ]                       
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
 201a8b8:	b0 0f 60 01 	and  %i5, 1, %i0                               
 201a8bc:	81 c7 e0 08 	ret                                            
 201a8c0:	81 e8 00 00 	restore                                        
                                                                      

0200a324 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
 200a324:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
 200a328:	80 a6 60 00 	cmp  %i1, 0                                    
 200a32c:	02 80 00 73 	be  200a4f8 <_RBTree_Extract_unprotected+0x1d4>
 200a330:	01 00 00 00 	nop                                            
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
 200a334:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 200a338:	80 a6 40 01 	cmp  %i1, %g1                                  
 200a33c:	32 80 00 0d 	bne,a   200a370 <_RBTree_Extract_unprotected+0x4c>
 200a340:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    if (the_node->child[RBT_RIGHT])                                   
 200a344:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200a348:	80 a0 60 00 	cmp  %g1, 0                                    
 200a34c:	22 80 00 04 	be,a   200a35c <_RBTree_Extract_unprotected+0x38>
 200a350:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
 200a354:	10 80 00 06 	b  200a36c <_RBTree_Extract_unprotected+0x48>  
 200a358:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
 200a35c:	80 a6 00 01 	cmp  %i0, %g1                                  
 200a360:	12 80 00 03 	bne  200a36c <_RBTree_Extract_unprotected+0x48>
 200a364:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
 200a368:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
    }                                                                 
  }                                                                   
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
 200a36c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200a370:	80 a6 40 01 	cmp  %i1, %g1                                  
 200a374:	12 80 00 0b 	bne  200a3a0 <_RBTree_Extract_unprotected+0x7c>
 200a378:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
    if (the_node->child[RBT_LEFT])                                    
 200a37c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a380:	22 80 00 04 	be,a   200a390 <_RBTree_Extract_unprotected+0x6c>
 200a384:	c4 06 40 00 	ld  [ %i1 ], %g2                               
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
 200a388:	10 80 00 06 	b  200a3a0 <_RBTree_Extract_unprotected+0x7c>  
 200a38c:	c2 26 20 0c 	st  %g1, [ %i0 + 0xc ]                         
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
 200a390:	80 a6 00 02 	cmp  %i0, %g2                                  
 200a394:	12 80 00 03 	bne  200a3a0 <_RBTree_Extract_unprotected+0x7c>
 200a398:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
            the_rbtree->first[RBT_RIGHT]))                            
        the_rbtree->first[RBT_RIGHT] = NULL;                          
 200a39c:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
   * either max in node->child[RBT_LEFT] or min in node->child[RBT_RIGHT],
   * and replace the_node with the target node. This maintains the binary
   * search tree property, but may violate the red-black properties.  
   */                                                                 
                                                                      
  if (the_node->child[RBT_LEFT] && the_node->child[RBT_RIGHT]) {      
 200a3a0:	ba 90 60 00 	orcc  %g1, 0, %i5                              
 200a3a4:	02 80 00 36 	be  200a47c <_RBTree_Extract_unprotected+0x158>
 200a3a8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
 200a3ac:	80 a7 20 00 	cmp  %i4, 0                                    
 200a3b0:	32 80 00 05 	bne,a   200a3c4 <_RBTree_Extract_unprotected+0xa0>
 200a3b4:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200a3b8:	10 80 00 35 	b  200a48c <_RBTree_Extract_unprotected+0x168> 
 200a3bc:	b8 10 00 01 	mov  %g1, %i4                                  
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
 200a3c0:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200a3c4:	80 a0 60 00 	cmp  %g1, 0                                    
 200a3c8:	32 bf ff fe 	bne,a   200a3c0 <_RBTree_Extract_unprotected+0x9c>
 200a3cc:	ba 10 00 01 	mov  %g1, %i5                                  
     * target's position (target is the right child of target->parent)
     * when target vacates it. if there is no child, then target->parent
     * should become NULL. This may cause the coloring to be violated.
     * For now we store the color of the node being deleted in victim_color.
     */                                                               
    leaf = target->child[RBT_LEFT];                                   
 200a3d0:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           
    if(leaf) {                                                        
 200a3d4:	80 a7 20 00 	cmp  %i4, 0                                    
 200a3d8:	02 80 00 05 	be  200a3ec <_RBTree_Extract_unprotected+0xc8> 
 200a3dc:	01 00 00 00 	nop                                            
      leaf->parent = target->parent;                                  
 200a3e0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200a3e4:	10 80 00 04 	b  200a3f4 <_RBTree_Extract_unprotected+0xd0>  
 200a3e8:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
 200a3ec:	7f ff ff 55 	call  200a140 <_RBTree_Extract_validate_unprotected>
 200a3f0:	90 10 00 1d 	mov  %i5, %o0                                  
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
 200a3f4:	c4 07 40 00 	ld  [ %i5 ], %g2                               
      leaf->parent = target->parent;                                  
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
    }                                                                 
    victim_color = target->color;                                     
 200a3f8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    dir = target != target->parent->child[0];                         
 200a3fc:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200a400:	86 1f 40 03 	xor  %i5, %g3, %g3                             
 200a404:	80 a0 00 03 	cmp  %g0, %g3                                  
 200a408:	86 40 20 00 	addx  %g0, 0, %g3                              
    target->parent->child[dir] = leaf;                                
 200a40c:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200a410:	84 00 80 03 	add  %g2, %g3, %g2                             
 200a414:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
 200a418:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 200a41c:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200a420:	86 1e 40 03 	xor  %i1, %g3, %g3                             
 200a424:	80 a0 00 03 	cmp  %g0, %g3                                  
 200a428:	86 40 20 00 	addx  %g0, 0, %g3                              
    the_node->parent->child[dir] = target;                            
 200a42c:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200a430:	84 00 80 03 	add  %g2, %g3, %g2                             
 200a434:	fa 20 a0 04 	st  %i5, [ %g2 + 4 ]                           
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
 200a438:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 200a43c:	c4 27 60 08 	st  %g2, [ %i5 + 8 ]                           
    if (the_node->child[RBT_RIGHT])                                   
 200a440:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 200a444:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a448:	32 80 00 02 	bne,a   200a450 <_RBTree_Extract_unprotected+0x12c><== ALWAYS TAKEN
 200a44c:	fa 20 80 00 	st  %i5, [ %g2 ]                               
      the_node->child[RBT_RIGHT]->parent = target;                    
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
 200a450:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 200a454:	c4 27 60 04 	st  %g2, [ %i5 + 4 ]                           
    if (the_node->child[RBT_LEFT])                                    
 200a458:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 200a45c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a460:	32 80 00 02 	bne,a   200a468 <_RBTree_Extract_unprotected+0x144>
 200a464:	fa 20 80 00 	st  %i5, [ %g2 ]                               
    /* finally, update the parent node and recolor. target has completely
     * replaced the_node, and target's child has moved up the tree if needed.
     * the_node is no longer part of the tree, although it has valid pointers
     * still.                                                         
     */                                                               
    target->parent = the_node->parent;                                
 200a468:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 200a46c:	c4 27 40 00 	st  %g2, [ %i5 ]                               
    target->color = the_node->color;                                  
 200a470:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         
 200a474:	10 80 00 14 	b  200a4c4 <_RBTree_Extract_unprotected+0x1a0> 
 200a478:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
     * violated. We will fix it later.                                
     * For now we store the color of the node being deleted in victim_color.
     */                                                               
    leaf = the_node->child[RBT_LEFT] ?                                
              the_node->child[RBT_LEFT] : the_node->child[RBT_RIGHT]; 
    if( leaf ) {                                                      
 200a47c:	80 a7 20 00 	cmp  %i4, 0                                    
 200a480:	32 80 00 04 	bne,a   200a490 <_RBTree_Extract_unprotected+0x16c>
 200a484:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200a488:	30 80 00 04 	b,a   200a498 <_RBTree_Extract_unprotected+0x174>
      leaf->parent = the_node->parent;                                
 200a48c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200a490:	10 80 00 04 	b  200a4a0 <_RBTree_Extract_unprotected+0x17c> 
 200a494:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
 200a498:	7f ff ff 2a 	call  200a140 <_RBTree_Extract_validate_unprotected>
 200a49c:	90 10 00 19 	mov  %i1, %o0                                  
    }                                                                 
    victim_color = the_node->color;                                   
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200a4a0:	c4 06 40 00 	ld  [ %i1 ], %g2                               
      leaf->parent = the_node->parent;                                
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
    }                                                                 
    victim_color = the_node->color;                                   
 200a4a4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200a4a8:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200a4ac:	86 1e 40 03 	xor  %i1, %g3, %g3                             
 200a4b0:	80 a0 00 03 	cmp  %g0, %g3                                  
 200a4b4:	86 40 20 00 	addx  %g0, 0, %g3                              
    the_node->parent->child[dir] = leaf;                              
 200a4b8:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200a4bc:	84 00 80 03 	add  %g2, %g3, %g2                             
 200a4c0:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
  /* fix coloring. leaf has moved up the tree. The color of the deleted
   * node is in victim_color. There are two cases:                    
   *   1. Deleted a red node, its child must be black. Nothing must be done.
   *   2. Deleted a black node, its child must be red. Paint child black.
   */                                                                 
  if (victim_color == RBT_BLACK) { /* eliminate case 1 */             
 200a4c4:	80 a0 60 00 	cmp  %g1, 0                                    
 200a4c8:	32 80 00 06 	bne,a   200a4e0 <_RBTree_Extract_unprotected+0x1bc>
 200a4cc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
    if (leaf) {                                                       
 200a4d0:	80 a7 20 00 	cmp  %i4, 0                                    
 200a4d4:	32 80 00 02 	bne,a   200a4dc <_RBTree_Extract_unprotected+0x1b8>
 200a4d8:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
                                                                      
  /* Wipe the_node */                                                 
  _RBTree_Set_off_rbtree(the_node);                                   
                                                                      
  /* set root to black, if it exists */                               
  if (the_rbtree->root) the_rbtree->root->color = RBT_BLACK;          
 200a4dc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _RBTree_Set_off_rbtree(                     
    RBTree_Node *node                                                 
    )                                                                 
{                                                                     
  node->parent = node->child[RBT_LEFT] = node->child[RBT_RIGHT] = NULL;
 200a4e0:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200a4e4:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 200a4e8:	80 a0 60 00 	cmp  %g1, 0                                    
 200a4ec:	02 80 00 03 	be  200a4f8 <_RBTree_Extract_unprotected+0x1d4>
 200a4f0:	c0 26 40 00 	clr  [ %i1 ]                                   
 200a4f4:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
 200a4f8:	81 c7 e0 08 	ret                                            
 200a4fc:	81 e8 00 00 	restore                                        
                                                                      

0200a140 <_RBTree_Extract_validate_unprotected>: * of the extract operation. */ static void _RBTree_Extract_validate_unprotected( RBTree_Node *the_node ) {
 200a140:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *parent, *sibling;                                      
  RBTree_Direction dir;                                               
                                                                      
  parent = the_node->parent;                                          
 200a144:	fa 06 00 00 	ld  [ %i0 ], %i5                               
  if(!parent->parent) return;                                         
 200a148:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200a14c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a150:	02 80 00 6c 	be  200a300 <_RBTree_Extract_validate_unprotected+0x1c0>
 200a154:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
 200a158:	7f ff ff ca 	call  200a080 <_RBTree_Sibling>                
 200a15c:	b6 10 20 01 	mov  1, %i3                                    
                                                                      
  /* continue to correct tree as long as the_node is black and not the root */
  while (!_RBTree_Is_red(the_node) && parent->parent) {               
 200a160:	10 80 00 5b 	b  200a2cc <_RBTree_Extract_validate_unprotected+0x18c>
 200a164:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a168:	22 80 00 14 	be,a   200a1b8 <_RBTree_Extract_validate_unprotected+0x78><== NEVER TAKEN
 200a16c:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           <== NOT EXECUTED
 200a170:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 200a174:	80 a0 60 01 	cmp  %g1, 1                                    
 200a178:	32 80 00 10 	bne,a   200a1b8 <_RBTree_Extract_validate_unprotected+0x78>
 200a17c:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
     * then rotate parent left, making the sibling be the_node's grandparent.
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
 200a180:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
 200a184:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
 200a188:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
      dir = the_node != parent->child[0];                             
 200a18c:	82 1e 00 01 	xor  %i0, %g1, %g1                             
 200a190:	80 a0 00 01 	cmp  %g0, %g1                                  
      _RBTree_Rotate(parent, dir);                                    
 200a194:	90 10 00 1d 	mov  %i5, %o0                                  
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
 200a198:	b8 40 20 00 	addx  %g0, 0, %i4                              
      _RBTree_Rotate(parent, dir);                                    
 200a19c:	7f ff ff ca 	call  200a0c4 <_RBTree_Rotate>                 
 200a1a0:	92 10 00 1c 	mov  %i4, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200a1a4:	b8 1f 20 01 	xor  %i4, 1, %i4                               
      sibling = parent->child[_RBTree_Opposite_direction(dir)];       
 200a1a8:	b9 2f 20 02 	sll  %i4, 2, %i4                               
 200a1ac:	b8 07 40 1c 	add  %i5, %i4, %i4                             
 200a1b0:	d0 07 20 04 	ld  [ %i4 + 4 ], %o0                           
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200a1b4:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a1b8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a1bc:	02 80 00 06 	be  200a1d4 <_RBTree_Extract_validate_unprotected+0x94>
 200a1c0:	82 10 20 00 	clr  %g1                                       
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
static void _RBTree_Extract_validate_unprotected(                     
 200a1c4:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200a1c8:	82 18 60 01 	xor  %g1, 1, %g1                               
 200a1cc:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a1d0:	82 60 3f ff 	subx  %g0, -1, %g1                             
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[_RBTree_Opposite_direction(dir)];       
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200a1d4:	80 a0 60 00 	cmp  %g1, 0                                    
 200a1d8:	32 80 00 14 	bne,a   200a228 <_RBTree_Extract_validate_unprotected+0xe8>
 200a1dc:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
 200a1e0:	c4 02 20 04 	ld  [ %o0 + 4 ], %g2                           
 200a1e4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a1e8:	02 80 00 07 	be  200a204 <_RBTree_Extract_validate_unprotected+0xc4>
 200a1ec:	80 a0 60 00 	cmp  %g1, 0                                    
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
static void _RBTree_Extract_validate_unprotected(                     
 200a1f0:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200a1f4:	82 18 60 01 	xor  %g1, 1, %g1                               
 200a1f8:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a1fc:	82 60 3f ff 	subx  %g0, -1, %g1                             
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[_RBTree_Opposite_direction(dir)];       
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200a200:	80 a0 60 00 	cmp  %g1, 0                                    
 200a204:	32 80 00 09 	bne,a   200a228 <_RBTree_Extract_validate_unprotected+0xe8>
 200a208:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
        sibling->color = RBT_RED;                                     
 200a20c:	f6 22 20 0c 	st  %i3, [ %o0 + 0xc ]                         
 200a210:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200a214:	80 a0 60 01 	cmp  %g1, 1                                    
 200a218:	32 80 00 3c 	bne,a   200a308 <_RBTree_Extract_validate_unprotected+0x1c8>
 200a21c:	f4 07 40 00 	ld  [ %i5 ], %i2                               
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
 200a220:	10 80 00 32 	b  200a2e8 <_RBTree_Extract_validate_unprotected+0x1a8>
 200a224:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
       * cases, either the_node is to the left or the right of the parent.
       * In both cases, first check if one of sibling's children is black,
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
 200a228:	82 1e 00 01 	xor  %i0, %g1, %g1                             
 200a22c:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a230:	b6 40 20 00 	addx  %g0, 0, %i3                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200a234:	b8 1e e0 01 	xor  %i3, 1, %i4                               
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
 200a238:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200a23c:	82 02 00 01 	add  %o0, %g1, %g1                             
 200a240:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a244:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a248:	02 80 00 06 	be  200a260 <_RBTree_Extract_validate_unprotected+0x120>
 200a24c:	82 10 20 00 	clr  %g1                                       
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
static void _RBTree_Extract_validate_unprotected(                     
 200a250:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200a254:	82 18 60 01 	xor  %g1, 1, %g1                               
 200a258:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a25c:	82 60 3f ff 	subx  %g0, -1, %g1                             
       * In both cases, first check if one of sibling's children is black,
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
 200a260:	80 a0 60 00 	cmp  %g1, 0                                    
 200a264:	32 80 00 0e 	bne,a   200a29c <_RBTree_Extract_validate_unprotected+0x15c>
 200a268:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
        sibling->color = RBT_RED;                                     
 200a26c:	82 10 20 01 	mov  1, %g1                                    
 200a270:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
        sibling->child[dir]->color = RBT_BLACK;                       
 200a274:	83 2e e0 02 	sll  %i3, 2, %g1                               
 200a278:	82 02 00 01 	add  %o0, %g1, %g1                             
 200a27c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
 200a280:	92 10 00 1c 	mov  %i4, %o1                                  
 200a284:	7f ff ff 90 	call  200a0c4 <_RBTree_Rotate>                 
 200a288:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
 200a28c:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200a290:	82 07 40 01 	add  %i5, %g1, %g1                             
 200a294:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
      }                                                               
      sibling->color = parent->color;                                 
 200a298:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
      parent->color = RBT_BLACK;                                      
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
 200a29c:	b9 2f 20 02 	sll  %i4, 2, %i4                               
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
      }                                                               
      sibling->color = parent->color;                                 
 200a2a0:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
      parent->color = RBT_BLACK;                                      
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
 200a2a4:	90 02 00 1c 	add  %o0, %i4, %o0                             
 200a2a8:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
      }                                                               
      sibling->color = parent->color;                                 
      parent->color = RBT_BLACK;                                      
 200a2ac:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
 200a2b0:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      _RBTree_Rotate(parent, dir);                                    
 200a2b4:	90 10 00 1d 	mov  %i5, %o0                                  
 200a2b8:	7f ff ff 83 	call  200a0c4 <_RBTree_Rotate>                 
 200a2bc:	92 10 00 1b 	mov  %i3, %o1                                  
      break; /* done */                                               
 200a2c0:	10 80 00 0b 	b  200a2ec <_RBTree_Extract_validate_unprotected+0x1ac>
 200a2c4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  if(!parent->parent) return;                                         
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
                                                                      
  /* continue to correct tree as long as the_node is black and not the root */
  while (!_RBTree_Is_red(the_node) && parent->parent) {               
 200a2c8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200a2cc:	80 a0 60 01 	cmp  %g1, 1                                    
 200a2d0:	22 80 00 07 	be,a   200a2ec <_RBTree_Extract_validate_unprotected+0x1ac>
 200a2d4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200a2d8:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200a2dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200a2e0:	12 bf ff a2 	bne  200a168 <_RBTree_Extract_validate_unprotected+0x28>
 200a2e4:	80 a2 20 00 	cmp  %o0, 0                                    
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200a2e8:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200a2ec:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200a2f0:	80 a0 60 00 	cmp  %g1, 0                                    
 200a2f4:	12 80 00 0a 	bne  200a31c <_RBTree_Extract_validate_unprotected+0x1dc>
 200a2f8:	01 00 00 00 	nop                                            
 200a2fc:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 200a300:	81 c7 e0 08 	ret                                            
 200a304:	81 e8 00 00 	restore                                        
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
        sibling = _RBTree_Sibling(the_node);                          
 200a308:	90 10 00 1d 	mov  %i5, %o0                                  
 200a30c:	7f ff ff 5d 	call  200a080 <_RBTree_Sibling>                
 200a310:	b0 10 00 1d 	mov  %i5, %i0                                  
 200a314:	10 bf ff ed 	b  200a2c8 <_RBTree_Extract_validate_unprotected+0x188>
 200a318:	ba 10 00 1a 	mov  %i2, %i5                                  
 200a31c:	81 c7 e0 08 	ret                                            
 200a320:	81 e8 00 00 	restore                                        
                                                                      

0200b4e0 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
 200b4e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
 200b4e4:	80 a6 20 00 	cmp  %i0, 0                                    
 200b4e8:	02 80 00 10 	be  200b528 <_RBTree_Initialize+0x48>          <== NEVER TAKEN
 200b4ec:	01 00 00 00 	nop                                            
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
 200b4f0:	c0 26 00 00 	clr  [ %i0 ]                                   
  the_rbtree->root             = NULL;                                
 200b4f4:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
  the_rbtree->first[0]         = NULL;                                
 200b4f8:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
  the_rbtree->first[1]         = NULL;                                
 200b4fc:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
  the_rbtree->compare_function = compare_function;                    
 200b500:	f2 26 20 10 	st  %i1, [ %i0 + 0x10 ]                        
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
 200b504:	10 80 00 06 	b  200b51c <_RBTree_Initialize+0x3c>           
 200b508:	fa 2e 20 14 	stb  %i5, [ %i0 + 0x14 ]                       
    _RBTree_Insert(the_rbtree, next);                                 
 200b50c:	90 10 00 18 	mov  %i0, %o0                                  
 200b510:	7f ff ff ba 	call  200b3f8 <_RBTree_Insert>                 
 200b514:	b4 06 80 1c 	add  %i2, %i4, %i2                             
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RBTree_Initialize(                                              
 200b518:	b6 06 ff ff 	add  %i3, -1, %i3                              
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
 200b51c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b520:	12 bf ff fb 	bne  200b50c <_RBTree_Initialize+0x2c>         
 200b524:	92 10 00 1a 	mov  %i2, %o1                                  
 200b528:	81 c7 e0 08 	ret                                            
 200b52c:	81 e8 00 00 	restore                                        
                                                                      

0200a5a0 <_RBTree_Insert_unprotected>: */ RBTree_Node *_RBTree_Insert_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
 200a5a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200a5a4:	ba 10 00 18 	mov  %i0, %i5                                  
  if(!the_node) return (RBTree_Node*)-1;                              
 200a5a8:	80 a6 60 00 	cmp  %i1, 0                                    
 200a5ac:	02 80 00 0d 	be  200a5e0 <_RBTree_Insert_unprotected+0x40>  
 200a5b0:	b0 10 3f ff 	mov  -1, %i0                                   
                                                                      
  RBTree_Node *iter_node = the_rbtree->root;                          
 200a5b4:	f0 07 60 04 	ld  [ %i5 + 4 ], %i0                           
  int compare_result;                                                 
                                                                      
  if (!iter_node) { /* special case: first node inserted */           
 200a5b8:	b8 96 20 00 	orcc  %i0, 0, %i4                              
 200a5bc:	32 80 00 22 	bne,a   200a644 <_RBTree_Insert_unprotected+0xa4>
 200a5c0:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
    the_node->color = RBT_BLACK;                                      
 200a5c4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    the_rbtree->root = the_node;                                      
 200a5c8:	f2 27 60 04 	st  %i1, [ %i5 + 4 ]                           
    the_rbtree->first[0] = the_rbtree->first[1] = the_node;           
 200a5cc:	f2 27 60 0c 	st  %i1, [ %i5 + 0xc ]                         
 200a5d0:	f2 27 60 08 	st  %i1, [ %i5 + 8 ]                           
    the_node->parent = (RBTree_Node *) the_rbtree;                    
 200a5d4:	fa 26 40 00 	st  %i5, [ %i1 ]                               
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
 200a5d8:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200a5dc:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 200a5e0:	81 c7 e0 08 	ret                                            
 200a5e4:	81 e8 00 00 	restore                                        
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200a5e8:	02 bf ff fe 	be  200a5e0 <_RBTree_Insert_unprotected+0x40>  
 200a5ec:	82 38 00 08 	xnor  %g0, %o0, %g1                            
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
 200a5f0:	83 30 60 1f 	srl  %g1, 0x1f, %g1                            
      if (!iter_node->child[dir]) {                                   
 200a5f4:	85 28 60 02 	sll  %g1, 2, %g2                               
 200a5f8:	84 06 00 02 	add  %i0, %g2, %g2                             
 200a5fc:	f0 00 a0 04 	ld  [ %g2 + 4 ], %i0                           
 200a600:	80 a6 20 00 	cmp  %i0, 0                                    
 200a604:	32 80 00 0f 	bne,a   200a640 <_RBTree_Insert_unprotected+0xa0>
 200a608:	b8 10 00 18 	mov  %i0, %i4                                  
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
 200a60c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200a610:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
        the_node->color = RBT_RED;                                    
        iter_node->child[dir] = the_node;                             
 200a614:	f2 20 a0 04 	st  %i1, [ %g2 + 4 ]                           
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
 200a618:	82 00 60 02 	add  %g1, 2, %g1                               
 200a61c:	83 28 60 02 	sll  %g1, 2, %g1                               
        the_node->parent = iter_node;                                 
        /* update min/max */                                          
        if (_RBTree_Is_first(the_rbtree, iter_node, dir)) {           
 200a620:	c4 07 40 01 	ld  [ %i5 + %g1 ], %g2                         
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
        the_node->color = RBT_RED;                                    
 200a624:	86 10 20 01 	mov  1, %g3                                    
        iter_node->child[dir] = the_node;                             
        the_node->parent = iter_node;                                 
 200a628:	f8 26 40 00 	st  %i4, [ %i1 ]                               
        /* update min/max */                                          
        if (_RBTree_Is_first(the_rbtree, iter_node, dir)) {           
 200a62c:	80 a7 00 02 	cmp  %i4, %g2                                  
 200a630:	12 80 00 2d 	bne  200a6e4 <_RBTree_Insert_unprotected+0x144>
 200a634:	c6 26 60 0c 	st  %g3, [ %i1 + 0xc ]                         
          the_rbtree->first[dir] = the_node;                          
 200a638:	10 80 00 2b 	b  200a6e4 <_RBTree_Insert_unprotected+0x144>  
 200a63c:	f2 27 40 01 	st  %i1, [ %i5 + %g1 ]                         
    the_node->parent = (RBTree_Node *) the_rbtree;                    
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
 200a640:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200a644:	90 10 00 19 	mov  %i1, %o0                                  
 200a648:	9f c0 40 00 	call  %g1                                      
 200a64c:	92 10 00 18 	mov  %i0, %o1                                  
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200a650:	c2 0f 60 14 	ldub  [ %i5 + 0x14 ], %g1                      
 200a654:	80 a0 60 00 	cmp  %g1, 0                                    
 200a658:	12 bf ff e4 	bne  200a5e8 <_RBTree_Insert_unprotected+0x48> 
 200a65c:	80 a2 20 00 	cmp  %o0, 0                                    
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
 200a660:	10 bf ff e4 	b  200a5f0 <_RBTree_Insert_unprotected+0x50>   
 200a664:	82 38 00 08 	xnor  %g0, %o0, %g1                            
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
  if(!(the_node->parent->parent->parent)) return NULL;                
 200a668:	80 a0 60 00 	cmp  %g1, 0                                    
 200a66c:	02 80 00 2c 	be  200a71c <_RBTree_Insert_unprotected+0x17c> <== NEVER TAKEN
 200a670:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
 200a674:	80 a2 00 01 	cmp  %o0, %g1                                  
 200a678:	22 80 00 02 	be,a   200a680 <_RBTree_Insert_unprotected+0xe0>
 200a67c:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a680:	80 a0 60 00 	cmp  %g1, 0                                    
 200a684:	22 80 00 26 	be,a   200a71c <_RBTree_Insert_unprotected+0x17c>
 200a688:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200a68c:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200a690:	80 a0 a0 01 	cmp  %g2, 1                                    
 200a694:	32 80 00 22 	bne,a   200a71c <_RBTree_Insert_unprotected+0x17c>
 200a698:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
    u = _RBTree_Parent_sibling(the_node);                             
    g = the_node->parent->parent;                                     
                                                                      
    /* if uncle is red, repaint uncle/parent black and grandparent red */
    if(_RBTree_Is_red(u)) {                                           
      the_node->parent->color = RBT_BLACK;                            
 200a69c:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
      u->color = RBT_BLACK;                                           
 200a6a0:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      g->color = RBT_RED;                                             
 200a6a4:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
 200a6a8:	10 80 00 10 	b  200a6e8 <_RBTree_Insert_unprotected+0x148>  
 200a6ac:	b2 10 00 1d 	mov  %i5, %i1                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
 200a6b0:	7f ff ff 9d 	call  200a524 <_RBTree_Rotate>                 
 200a6b4:	92 10 00 1c 	mov  %i4, %o1                                  
        the_node = the_node->child[pdir];                             
 200a6b8:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200a6bc:	b2 06 40 01 	add  %i1, %g1, %i1                             
 200a6c0:	f2 06 60 04 	ld  [ %i1 + 4 ], %i1                           
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200a6c4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      g->color = RBT_RED;                                             
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
 200a6c8:	90 10 00 1d 	mov  %i5, %o0                                  
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200a6cc:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      g->color = RBT_RED;                                             
 200a6d0:	f6 27 60 0c 	st  %i3, [ %i5 + 0xc ]                         
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
 200a6d4:	7f ff ff 94 	call  200a524 <_RBTree_Rotate>                 
 200a6d8:	92 26 c0 1c 	sub  %i3, %i4, %o1                             
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
 200a6dc:	10 80 00 04 	b  200a6ec <_RBTree_Insert_unprotected+0x14c>  
 200a6e0:	d0 06 40 00 	ld  [ %i1 ], %o0                               
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
      g->color = RBT_RED;                                             
 200a6e4:	b6 10 20 01 	mov  1, %i3                                    
 200a6e8:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200a6ec:	fa 02 00 00 	ld  [ %o0 ], %i5                               
 200a6f0:	80 a7 60 00 	cmp  %i5, 0                                    
 200a6f4:	22 bf ff bb 	be,a   200a5e0 <_RBTree_Insert_unprotected+0x40>
 200a6f8:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a6fc:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 200a700:	80 a0 60 01 	cmp  %g1, 1                                    
 200a704:	12 80 00 04 	bne  200a714 <_RBTree_Insert_unprotected+0x174>
 200a708:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
  if(!(the_node->parent->parent)) return NULL;                        
  if(!(the_node->parent->parent->parent)) return NULL;                
 200a70c:	10 bf ff d7 	b  200a668 <_RBTree_Insert_unprotected+0xc8>   
 200a710:	c2 07 40 00 	ld  [ %i5 ], %g1                               
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
 200a714:	81 c7 e0 08 	ret                                            
 200a718:	81 e8 00 00 	restore                                        
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200a71c:	82 1a 00 01 	xor  %o0, %g1, %g1                             
 200a720:	80 a0 00 01 	cmp  %g0, %g1                                  
      the_node->parent->color = RBT_BLACK;                            
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
 200a724:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200a728:	b8 40 20 00 	addx  %g0, 0, %i4                              
      the_node->parent->color = RBT_BLACK;                            
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
 200a72c:	82 1e 40 01 	xor  %i1, %g1, %g1                             
 200a730:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a734:	82 40 20 00 	addx  %g0, 0, %g1                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
 200a738:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200a73c:	12 bf ff dd 	bne  200a6b0 <_RBTree_Insert_unprotected+0x110>
 200a740:	01 00 00 00 	nop                                            
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200a744:	10 bf ff e1 	b  200a6c8 <_RBTree_Insert_unprotected+0x128>  
 200a748:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      

0200a760 <_RBTree_Iterate_unprotected>: const RBTree_Control *rbtree, RBTree_Direction dir, RBTree_Visitor visitor, void *visitor_arg ) {
 200a760:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200a764:	80 a0 00 19 	cmp  %g0, %i1                                  
 200a768:	82 60 3f ff 	subx  %g0, -1, %g1                             
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
 200a76c:	82 00 60 02 	add  %g1, 2, %g1                               
 200a770:	83 28 60 02 	sll  %g1, 2, %g1                               
 200a774:	10 80 00 0d 	b  200a7a8 <_RBTree_Iterate_unprotected+0x48>  
 200a778:	fa 06 00 01 	ld  [ %i0 + %g1 ], %i5                         
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
    stop = (*visitor)( current, dir, visitor_arg );                   
 200a77c:	92 10 00 19 	mov  %i1, %o1                                  
 200a780:	9f c6 80 00 	call  %i2                                      
 200a784:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
    current = _RBTree_Next_unprotected( rbtree, current, dir );       
 200a788:	92 10 00 1d 	mov  %i5, %o1                                  
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
    stop = (*visitor)( current, dir, visitor_arg );                   
 200a78c:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    current = _RBTree_Next_unprotected( rbtree, current, dir );       
 200a790:	94 10 00 19 	mov  %i1, %o2                                  
 200a794:	40 00 00 0a 	call  200a7bc <_RBTree_Next_unprotected>       
 200a798:	90 10 00 18 	mov  %i0, %o0                                  
{                                                                     
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
 200a79c:	80 8f 20 ff 	btst  0xff, %i4                                
 200a7a0:	12 80 00 05 	bne  200a7b4 <_RBTree_Iterate_unprotected+0x54><== NEVER TAKEN
 200a7a4:	ba 10 00 08 	mov  %o0, %i5                                  
 200a7a8:	80 a7 60 00 	cmp  %i5, 0                                    
 200a7ac:	12 bf ff f4 	bne  200a77c <_RBTree_Iterate_unprotected+0x1c>
 200a7b0:	90 10 00 1d 	mov  %i5, %o0                                  
 200a7b4:	81 c7 e0 08 	ret                                            
 200a7b8:	81 e8 00 00 	restore                                        
                                                                      

0200a080 <_RBTree_Sibling>: */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling( const RBTree_Node *the_node ) { if(!the_node) return NULL;
 200a080:	80 a2 20 00 	cmp  %o0, 0                                    
 200a084:	02 80 00 0e 	be  200a0bc <_RBTree_Sibling+0x3c>             
 200a088:	82 10 20 00 	clr  %g1                                       
  if(!(the_node->parent)) return NULL;                                
 200a08c:	c4 02 00 00 	ld  [ %o0 ], %g2                               
 200a090:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a094:	02 80 00 0a 	be  200a0bc <_RBTree_Sibling+0x3c>             <== NEVER TAKEN
 200a098:	01 00 00 00 	nop                                            
  if(!(the_node->parent->parent)) return NULL;                        
 200a09c:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 200a0a0:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a0a4:	02 80 00 06 	be  200a0bc <_RBTree_Sibling+0x3c>             
 200a0a8:	01 00 00 00 	nop                                            
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
 200a0ac:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 200a0b0:	80 a2 00 01 	cmp  %o0, %g1                                  
 200a0b4:	22 80 00 02 	be,a   200a0bc <_RBTree_Sibling+0x3c>          
 200a0b8:	c2 00 a0 08 	ld  [ %g2 + 8 ], %g1                           
    return the_node->parent->child[RBT_RIGHT];                        
  else                                                                
    return the_node->parent->child[RBT_LEFT];                         
}                                                                     
 200a0bc:	81 c3 e0 08 	retl                                           
 200a0c0:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0203e77c <_Rate_monotonic_Get_status>: bool _Rate_monotonic_Get_status( Rate_monotonic_Control *the_period, Rate_monotonic_Period_time_t *wall_since_last_period, Thread_CPU_usage_t *cpu_since_last_period ) {
 203e77c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    Timestamp_Control        uptime;                                  
  #endif                                                              
    Thread_Control          *owning_thread = the_period->owner;       
 203e780:	fa 06 20 40 	ld  [ %i0 + 0x40 ], %i5                        
                                                                      
  /*                                                                  
   *  Determine elapsed wall time since period initiated.             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
 203e784:	7f ff b1 8a 	call  202adac <_TOD_Get_uptime>                
 203e788:	90 07 bf f8 	add  %fp, -8, %o0                              
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 203e78c:	c4 1e 20 50 	ldd  [ %i0 + 0x50 ], %g2                       
    _Timestamp_Subtract(                                              
 203e790:	d8 1f bf f8 	ldd  [ %fp + -8 ], %o4                         
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
 203e794:	82 10 20 01 	mov  1, %g1                                    
 203e798:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 203e79c:	84 63 00 02 	subx  %o4, %g2, %g2                            
 203e7a0:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
 203e7a4:	05 00 81 be 	sethi  %hi(0x206f800), %g2                     
 203e7a8:	84 10 a0 00 	mov  %g2, %g2	! 206f800 <_Per_CPU_Information> 
 203e7ac:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
 203e7b0:	80 a7 40 03 	cmp  %i5, %g3                                  
 203e7b4:	12 80 00 15 	bne  203e808 <_Rate_monotonic_Get_status+0x8c> 
 203e7b8:	d4 1f 60 80 	ldd  [ %i5 + 0x80 ], %o2                       
 203e7bc:	c4 18 a0 20 	ldd  [ %g2 + 0x20 ], %g2                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 203e7c0:	f0 1e 20 48 	ldd  [ %i0 + 0x48 ], %i0                       
 203e7c4:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 203e7c8:	84 63 00 02 	subx  %o4, %g2, %g2                            
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 203e7cc:	96 82 c0 03 	addcc  %o3, %g3, %o3                           
 203e7d0:	94 42 80 02 	addx  %o2, %g2, %o2                            
                                                                      
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
 203e7d4:	80 a6 00 0a 	cmp  %i0, %o2                                  
 203e7d8:	34 80 00 0c 	bg,a   203e808 <_Rate_monotonic_Get_status+0x8c><== NEVER TAKEN
 203e7dc:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 203e7e0:	32 80 00 06 	bne,a   203e7f8 <_Rate_monotonic_Get_status+0x7c>
 203e7e4:	96 a2 c0 19 	subcc  %o3, %i1, %o3                           
 203e7e8:	80 a6 40 0b 	cmp  %i1, %o3                                  
 203e7ec:	18 80 00 06 	bgu  203e804 <_Rate_monotonic_Get_status+0x88> 
 203e7f0:	96 a2 c0 19 	subcc  %o3, %i1, %o3                           
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
 203e7f4:	82 10 20 01 	mov  1, %g1                                    
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 203e7f8:	94 62 80 18 	subx  %o2, %i0, %o2                            
 203e7fc:	10 80 00 03 	b  203e808 <_Rate_monotonic_Get_status+0x8c>   
 203e800:	d4 3e 80 00 	std  %o2, [ %i2 ]                              
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
        return false;                                                 
 203e804:	82 10 20 00 	clr  %g1                                       
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
}                                                                     
 203e808:	b0 08 60 01 	and  %g1, 1, %i0                               
 203e80c:	81 c7 e0 08 	ret                                            
 203e810:	81 e8 00 00 	restore                                        
                                                                      

0203eb74 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 203eb74:	9d e3 bf 98 	save  %sp, -104, %sp                           
 203eb78:	11 00 81 bf 	sethi  %hi(0x206fc00), %o0                     
 203eb7c:	92 10 00 18 	mov  %i0, %o1                                  
 203eb80:	90 12 22 70 	or  %o0, 0x270, %o0                            
 203eb84:	7f ff 40 f4 	call  200ef54 <_Objects_Get>                   
 203eb88:	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 ) {                                               
 203eb8c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 203eb90:	80 a0 60 00 	cmp  %g1, 0                                    
 203eb94:	12 80 00 25 	bne  203ec28 <_Rate_monotonic_Timeout+0xb4>    <== NEVER TAKEN
 203eb98:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 203eb9c:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 203eba0:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
 203eba4:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 203eba8:	80 88 80 01 	btst  %g2, %g1                                 
 203ebac:	22 80 00 0b 	be,a   203ebd8 <_Rate_monotonic_Timeout+0x64>  
 203ebb0:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 203ebb4:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 203ebb8:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 203ebbc:	80 a0 80 01 	cmp  %g2, %g1                                  
 203ebc0:	32 80 00 06 	bne,a   203ebd8 <_Rate_monotonic_Timeout+0x64> 
 203ebc4:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 203ebc8:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 203ebcc:	7f ff 43 c2 	call  200fad4 <_Thread_Clear_state>            
 203ebd0:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
 203ebd4:	30 80 00 06 	b,a   203ebec <_Rate_monotonic_Timeout+0x78>   
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 203ebd8:	80 a0 60 01 	cmp  %g1, 1                                    
 203ebdc:	12 80 00 0d 	bne  203ec10 <_Rate_monotonic_Timeout+0x9c>    
 203ebe0:	82 10 20 04 	mov  4, %g1                                    
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 203ebe4:	82 10 20 03 	mov  3, %g1                                    
 203ebe8:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 203ebec:	7f ff ff 53 	call  203e938 <_Rate_monotonic_Initiate_statistics>
 203ebf0:	90 10 00 1d 	mov  %i5, %o0                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 203ebf4:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 203ebf8:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 203ebfc:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 203ec00:	90 12 23 80 	or  %o0, 0x380, %o0                            
 203ec04:	7f ff 47 d5 	call  2010b58 <_Watchdog_Insert>               
 203ec08:	92 07 60 10 	add  %i5, 0x10, %o1                            
 203ec0c:	30 80 00 02 	b,a   203ec14 <_Rate_monotonic_Timeout+0xa0>   
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 203ec10:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 203ec14:	03 00 81 bc 	sethi  %hi(0x206f000), %g1                     
 203ec18:	c4 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g2	! 206f2c0 <_Thread_Dispatch_disable_level>
 203ec1c:	84 00 bf ff 	add  %g2, -1, %g2                              
 203ec20:	c4 20 62 c0 	st  %g2, [ %g1 + 0x2c0 ]                       
    return _Thread_Dispatch_disable_level;                            
 203ec24:	c2 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g1                       
 203ec28:	81 c7 e0 08 	ret                                            
 203ec2c:	81 e8 00 00 	restore                                        
                                                                      

0203e814 <_Rate_monotonic_Update_statistics>: } static void _Rate_monotonic_Update_statistics( Rate_monotonic_Control *the_period ) {
 203e814:	9d e3 bf 90 	save  %sp, -112, %sp                           
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
 203e818:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        
 203e81c:	82 00 60 01 	inc  %g1                                       
 203e820:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
 203e824:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
 203e828:	80 a0 60 04 	cmp  %g1, 4                                    
 203e82c:	12 80 00 05 	bne  203e840 <_Rate_monotonic_Update_statistics+0x2c>
 203e830:	90 10 00 18 	mov  %i0, %o0                                  
    stats->missed_count++;                                            
 203e834:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
 203e838:	82 00 60 01 	inc  %g1                                       
 203e83c:	c2 26 20 5c 	st  %g1, [ %i0 + 0x5c ]                        
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
 203e840:	92 07 bf f8 	add  %fp, -8, %o1                              
 203e844:	7f ff ff ce 	call  203e77c <_Rate_monotonic_Get_status>     
 203e848:	94 07 bf f0 	add  %fp, -16, %o2                             
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  if (!valid_status)                                                  
 203e84c:	80 8a 20 ff 	btst  0xff, %o0                                
 203e850:	02 80 00 38 	be  203e930 <_Rate_monotonic_Update_statistics+0x11c>
 203e854:	c4 1f bf f0 	ldd  [ %fp + -16 ], %g2                        
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 203e858:	d8 1e 20 70 	ldd  [ %i0 + 0x70 ], %o4                       
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
 203e85c:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
 203e860:	9a 83 40 03 	addcc  %o5, %g3, %o5                           
 203e864:	98 43 00 02 	addx  %o4, %g2, %o4                            
 203e868:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e86c:	14 80 00 09 	bg  203e890 <_Rate_monotonic_Update_statistics+0x7c>
 203e870:	d8 3e 20 70 	std  %o4, [ %i0 + 0x70 ]                       
 203e874:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e878:	32 80 00 08 	bne,a   203e898 <_Rate_monotonic_Update_statistics+0x84><== NEVER TAKEN
 203e87c:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        <== NOT EXECUTED
 203e880:	c2 06 20 64 	ld  [ %i0 + 0x64 ], %g1                        
 203e884:	80 a0 40 03 	cmp  %g1, %g3                                  
 203e888:	28 80 00 04 	bleu,a   203e898 <_Rate_monotonic_Update_statistics+0x84>
 203e88c:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
      stats->min_cpu_time = executed;                                 
 203e890:	c4 3e 20 60 	std  %g2, [ %i0 + 0x60 ]                       
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
 203e894:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
 203e898:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e89c:	26 80 00 0a 	bl,a   203e8c4 <_Rate_monotonic_Update_statistics+0xb0><== NEVER TAKEN
 203e8a0:	c4 3e 20 68 	std  %g2, [ %i0 + 0x68 ]                       <== NOT EXECUTED
 203e8a4:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e8a8:	32 80 00 08 	bne,a   203e8c8 <_Rate_monotonic_Update_statistics+0xb4><== NEVER TAKEN
 203e8ac:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         <== NOT EXECUTED
 203e8b0:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        
 203e8b4:	80 a0 40 03 	cmp  %g1, %g3                                  
 203e8b8:	3a 80 00 04 	bcc,a   203e8c8 <_Rate_monotonic_Update_statistics+0xb4>
 203e8bc:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
      stats->max_cpu_time = executed;                                 
 203e8c0:	c4 3e 20 68 	std  %g2, [ %i0 + 0x68 ]                       
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
 203e8c4:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
 203e8c8:	d8 1e 20 88 	ldd  [ %i0 + 0x88 ], %o4                       
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
 203e8cc:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
 203e8d0:	9a 83 40 03 	addcc  %o5, %g3, %o5                           
 203e8d4:	98 43 00 02 	addx  %o4, %g2, %o4                            
 203e8d8:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e8dc:	14 80 00 09 	bg  203e900 <_Rate_monotonic_Update_statistics+0xec>
 203e8e0:	d8 3e 20 88 	std  %o4, [ %i0 + 0x88 ]                       
 203e8e4:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e8e8:	32 80 00 08 	bne,a   203e908 <_Rate_monotonic_Update_statistics+0xf4><== NEVER TAKEN
 203e8ec:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
 203e8f0:	c2 06 20 7c 	ld  [ %i0 + 0x7c ], %g1                        
 203e8f4:	80 a0 40 03 	cmp  %g1, %g3                                  
 203e8f8:	28 80 00 04 	bleu,a   203e908 <_Rate_monotonic_Update_statistics+0xf4>
 203e8fc:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
      stats->min_wall_time = since_last_period;                       
 203e900:	c4 3e 20 78 	std  %g2, [ %i0 + 0x78 ]                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
 203e904:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 203e908:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e90c:	26 80 00 09 	bl,a   203e930 <_Rate_monotonic_Update_statistics+0x11c><== NEVER TAKEN
 203e910:	c4 3e 20 80 	std  %g2, [ %i0 + 0x80 ]                       <== NOT EXECUTED
 203e914:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e918:	12 80 00 06 	bne  203e930 <_Rate_monotonic_Update_statistics+0x11c><== NEVER TAKEN
 203e91c:	01 00 00 00 	nop                                            
 203e920:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 203e924:	80 a0 40 03 	cmp  %g1, %g3                                  
 203e928:	2a 80 00 02 	bcs,a   203e930 <_Rate_monotonic_Update_statistics+0x11c>
 203e92c:	c4 3e 20 80 	std  %g2, [ %i0 + 0x80 ]                       
 203e930:	81 c7 e0 08 	ret                                            
 203e934:	81 e8 00 00 	restore                                        
                                                                      

0200b4dc <_Scheduler_CBS_Budget_callout>: Scheduler_CBS_Server **_Scheduler_CBS_Server_list; void _Scheduler_CBS_Budget_callout( Thread_Control *the_thread ) {
 200b4dc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Priority_Control          new_priority;                             
  Scheduler_CBS_Per_thread *sched_info;                               
  Scheduler_CBS_Server_id   server_id;                                
                                                                      
  /* Put violating task to background until the end of period. */     
  new_priority = the_thread->Start.initial_priority;                  
 200b4e0:	d2 06 20 ac 	ld  [ %i0 + 0xac ], %o1                        
  if ( the_thread->real_priority != new_priority )                    
 200b4e4:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200b4e8:	80 a0 40 09 	cmp  %g1, %o1                                  
 200b4ec:	32 80 00 02 	bne,a   200b4f4 <_Scheduler_CBS_Budget_callout+0x18><== ALWAYS TAKEN
 200b4f0:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
    the_thread->real_priority = new_priority;                         
  if ( the_thread->current_priority != new_priority )                 
 200b4f4:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200b4f8:	80 a0 40 09 	cmp  %g1, %o1                                  
 200b4fc:	02 80 00 04 	be  200b50c <_Scheduler_CBS_Budget_callout+0x30><== NEVER TAKEN
 200b500:	90 10 00 18 	mov  %i0, %o0                                  
    _Thread_Change_priority(the_thread, new_priority, true);          
 200b504:	40 00 01 90 	call  200bb44 <_Thread_Change_priority>        
 200b508:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  /* Invoke callback function if any. */                              
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
 200b50c:	f0 06 20 88 	ld  [ %i0 + 0x88 ], %i0                        
  if ( sched_info->cbs_server->cbs_budget_overrun ) {                 
 200b510:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200b514:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200b518:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b51c:	02 80 00 09 	be  200b540 <_Scheduler_CBS_Budget_callout+0x64><== NEVER TAKEN
 200b520:	01 00 00 00 	nop                                            
    _Scheduler_CBS_Get_server_id(                                     
 200b524:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 200b528:	7f ff ff d7 	call  200b484 <_Scheduler_CBS_Get_server_id>   
 200b52c:	92 07 bf fc 	add  %fp, -4, %o1                              
        sched_info->cbs_server->task_id,                              
        &server_id                                                    
    );                                                                
    sched_info->cbs_server->cbs_budget_overrun( server_id );          
 200b530:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200b534:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 200b538:	9f c0 40 00 	call  %g1                                      
 200b53c:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200b540:	81 c7 e0 08 	ret                                            
 200b544:	81 e8 00 00 	restore                                        
                                                                      

0200b0f8 <_Scheduler_CBS_Create_server>: int _Scheduler_CBS_Create_server ( Scheduler_CBS_Parameters *params, Scheduler_CBS_Budget_overrun budget_overrun_callback, rtems_id *server_id ) {
 200b0f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
 200b0fc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
int _Scheduler_CBS_Create_server (                                    
  Scheduler_CBS_Parameters     *params,                               
  Scheduler_CBS_Budget_overrun  budget_overrun_callback,              
  rtems_id                     *server_id                             
)                                                                     
{                                                                     
 200b100:	ba 10 00 18 	mov  %i0, %i5                                  
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
 200b104:	80 a0 60 00 	cmp  %g1, 0                                    
 200b108:	04 80 00 1c 	ble  200b178 <_Scheduler_CBS_Create_server+0x80>
 200b10c:	b0 10 3f ee 	mov  -18, %i0                                  
 200b110:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200b114:	80 a0 60 00 	cmp  %g1, 0                                    
 200b118:	04 80 00 18 	ble  200b178 <_Scheduler_CBS_Create_server+0x80>
 200b11c:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
       params->deadline <= 0 ||                                       
       params->budget >= SCHEDULER_EDF_PRIO_MSB ||                    
       params->deadline >= SCHEDULER_EDF_PRIO_MSB )                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 200b120:	c6 00 61 48 	ld  [ %g1 + 0x148 ], %g3	! 2020548 <_Scheduler_CBS_Maximum_servers>
    if ( !_Scheduler_CBS_Server_list[i] )                             
 200b124:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 200b128:	c4 00 60 28 	ld  [ %g1 + 0x28 ], %g2	! 2021828 <_Scheduler_CBS_Server_list>
 200b12c:	10 80 00 15 	b  200b180 <_Scheduler_CBS_Create_server+0x88> 
 200b130:	82 10 20 00 	clr  %g1                                       
 200b134:	c8 00 80 1b 	ld  [ %g2 + %i3 ], %g4                         
 200b138:	80 a1 20 00 	cmp  %g4, 0                                    
 200b13c:	32 80 00 11 	bne,a   200b180 <_Scheduler_CBS_Create_server+0x88>
 200b140:	82 00 60 01 	inc  %g1                                       
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
 200b144:	39 00 80 86 	sethi  %hi(0x2021800), %i4                     
 200b148:	f0 07 20 28 	ld  [ %i4 + 0x28 ], %i0	! 2021828 <_Scheduler_CBS_Server_list>
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
 200b14c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
 200b150:	40 00 07 ae 	call  200d008 <_Workspace_Allocate>            
 200b154:	90 10 20 10 	mov  0x10, %o0                                 
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 200b158:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
 200b15c:	d0 26 00 1b 	st  %o0, [ %i0 + %i3 ]                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 200b160:	c4 07 20 28 	ld  [ %i4 + 0x28 ], %g2                        
 200b164:	83 28 60 02 	sll  %g1, 2, %g1                               
 200b168:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
  if ( !the_server )                                                  
 200b16c:	80 a0 60 00 	cmp  %g1, 0                                    
 200b170:	12 80 00 09 	bne  200b194 <_Scheduler_CBS_Create_server+0x9c><== ALWAYS TAKEN
 200b174:	b0 10 3f ef 	mov  -17, %i0                                  
 200b178:	81 c7 e0 08 	ret                                            
 200b17c:	81 e8 00 00 	restore                                        
       params->deadline <= 0 ||                                       
       params->budget >= SCHEDULER_EDF_PRIO_MSB ||                    
       params->deadline >= SCHEDULER_EDF_PRIO_MSB )                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 200b180:	80 a0 40 03 	cmp  %g1, %g3                                  
 200b184:	12 bf ff ec 	bne  200b134 <_Scheduler_CBS_Create_server+0x3c>
 200b188:	b7 28 60 02 	sll  %g1, 2, %i3                               
    if ( !_Scheduler_CBS_Server_list[i] )                             
      break;                                                          
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
 200b18c:	81 c7 e0 08 	ret                                            
 200b190:	91 e8 3f e6 	restore  %g0, -26, %o0                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 200b194:	c4 07 40 00 	ld  [ %i5 ], %g2                               
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
 200b198:	b0 10 20 00 	clr  %i0                                       
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 200b19c:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 200b1a0:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
 200b1a4:	f2 20 60 0c 	st  %i1, [ %g1 + 0xc ]                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 200b1a8:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
  the_server->task_id = -1;                                           
 200b1ac:	84 10 3f ff 	mov  -1, %g2                                   
 200b1b0:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200b1b4:	81 c7 e0 08 	ret                                            
 200b1b8:	81 e8 00 00 	restore                                        
                                                                      

0200b230 <_Scheduler_CBS_Detach_thread>: int _Scheduler_CBS_Detach_thread ( Scheduler_CBS_Server_id server_id, rtems_id task_id ) {
 200b230:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
  Scheduler_CBS_Per_thread *sched_info;                               
                                                                      
  the_thread = _Thread_Get(task_id, &location);                       
 200b234:	90 10 00 19 	mov  %i1, %o0                                  
 200b238:	40 00 03 75 	call  200c00c <_Thread_Get>                    
 200b23c:	92 07 bf fc 	add  %fp, -4, %o1                              
  /* The routine _Thread_Get may disable dispatch and not enable again. */
  if ( the_thread ) {                                                 
 200b240:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200b244:	22 80 00 05 	be,a   200b258 <_Scheduler_CBS_Detach_thread+0x28>
 200b248:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
    _Thread_Enable_dispatch();                                        
 200b24c:	40 00 03 63 	call  200bfd8 <_Thread_Enable_dispatch>        
 200b250:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  if ( server_id >= _Scheduler_CBS_Maximum_servers )                  
 200b254:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
 200b258:	c4 00 61 48 	ld  [ %g1 + 0x148 ], %g2	! 2020548 <_Scheduler_CBS_Maximum_servers>
 200b25c:	80 a6 00 02 	cmp  %i0, %g2                                  
 200b260:	1a 80 00 1b 	bcc  200b2cc <_Scheduler_CBS_Detach_thread+0x9c>
 200b264:	82 10 3f ee 	mov  -18, %g1                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  if ( !the_thread )                                                  
 200b268:	80 a7 60 00 	cmp  %i5, 0                                    
 200b26c:	02 80 00 18 	be  200b2cc <_Scheduler_CBS_Detach_thread+0x9c>
 200b270:	01 00 00 00 	nop                                            
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  /* Server is not valid. */                                          
  if ( !_Scheduler_CBS_Server_list[server_id] )                       
 200b274:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 200b278:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1	! 2021828 <_Scheduler_CBS_Server_list>
 200b27c:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 200b280:	c4 00 40 18 	ld  [ %g1 + %i0 ], %g2                         
 200b284:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b288:	02 80 00 11 	be  200b2cc <_Scheduler_CBS_Detach_thread+0x9c>
 200b28c:	82 10 3f e7 	mov  -25, %g1                                  
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  /* Thread and server are not attached. */                           
  if ( _Scheduler_CBS_Server_list[server_id]->task_id != task_id )    
 200b290:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 200b294:	80 a0 c0 19 	cmp  %g3, %i1                                  
 200b298:	12 80 00 0d 	bne  200b2cc <_Scheduler_CBS_Detach_thread+0x9c><== NEVER TAKEN
 200b29c:	82 10 3f ee 	mov  -18, %g1                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  _Scheduler_CBS_Server_list[server_id]->task_id = -1;                
 200b2a0:	82 10 3f ff 	mov  -1, %g1                                   
 200b2a4:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
 200b2a8:	c2 07 60 88 	ld  [ %i5 + 0x88 ], %g1                        
 200b2ac:	c0 20 60 18 	clr  [ %g1 + 0x18 ]                            
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
 200b2b0:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 200b2b4:	c2 27 60 78 	st  %g1, [ %i5 + 0x78 ]                        
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
 200b2b8:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        
 200b2bc:	c2 27 60 7c 	st  %g1, [ %i5 + 0x7c ]                        
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
 200b2c0:	c2 0f 60 9c 	ldub  [ %i5 + 0x9c ], %g1                      
 200b2c4:	c2 2f 60 70 	stb  %g1, [ %i5 + 0x70 ]                       
                                                                      
  return SCHEDULER_CBS_OK;                                            
 200b2c8:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200b2cc:	81 c7 e0 08 	ret                                            
 200b2d0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200b548 <_Scheduler_CBS_Initialize>: } } int _Scheduler_CBS_Initialize(void) {
 200b548:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
 200b54c:	3b 00 80 81 	sethi  %hi(0x2020400), %i5                     
 200b550:	d0 07 61 48 	ld  [ %i5 + 0x148 ], %o0	! 2020548 <_Scheduler_CBS_Maximum_servers>
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
 200b554:	b0 10 3f ef 	mov  -17, %i0                                  
}                                                                     
                                                                      
int _Scheduler_CBS_Initialize(void)                                   
{                                                                     
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
 200b558:	40 00 06 ac 	call  200d008 <_Workspace_Allocate>            
 200b55c:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200b560:	05 00 80 86 	sethi  %hi(0x2021800), %g2                     
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
 200b564:	80 a2 20 00 	cmp  %o0, 0                                    
 200b568:	02 80 00 0c 	be  200b598 <_Scheduler_CBS_Initialize+0x50>   <== NEVER TAKEN
 200b56c:	d0 20 a0 28 	st  %o0, [ %g2 + 0x28 ]                        
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200b570:	c6 07 61 48 	ld  [ %i5 + 0x148 ], %g3                       
 200b574:	10 80 00 05 	b  200b588 <_Scheduler_CBS_Initialize+0x40>    
 200b578:	82 10 20 00 	clr  %g1                                       
    _Scheduler_CBS_Server_list[i] = NULL;                             
 200b57c:	89 28 60 02 	sll  %g1, 2, %g4                               
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200b580:	82 00 60 01 	inc  %g1                                       
    _Scheduler_CBS_Server_list[i] = NULL;                             
 200b584:	c0 27 40 04 	clr  [ %i5 + %g4 ]                             
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200b588:	80 a0 40 03 	cmp  %g1, %g3                                  
 200b58c:	12 bf ff fc 	bne  200b57c <_Scheduler_CBS_Initialize+0x34>  
 200b590:	fa 00 a0 28 	ld  [ %g2 + 0x28 ], %i5                        
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
 200b594:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200b598:	81 c7 e0 08 	ret                                            
 200b59c:	81 e8 00 00 	restore                                        
                                                                      

0200a144 <_Scheduler_CBS_Release_job>: { Priority_Control new_priority; Scheduler_CBS_Per_thread *sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info; Scheduler_CBS_Server *serv_info = (Scheduler_CBS_Server *) sched_info->cbs_server;
 200a144:	c2 02 20 88 	ld  [ %o0 + 0x88 ], %g1                        
                                                                      
  if (deadline) {                                                     
 200a148:	80 a2 60 00 	cmp  %o1, 0                                    
 200a14c:	02 80 00 10 	be  200a18c <_Scheduler_CBS_Release_job+0x48>  
 200a150:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
 200a154:	80 a0 60 00 	cmp  %g1, 0                                    
 200a158:	02 80 00 08 	be  200a178 <_Scheduler_CBS_Release_job+0x34>  
 200a15c:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
      new_priority = (_Watchdog_Ticks_since_boot + serv_info->parameters.deadline)
 200a160:	d2 00 a0 30 	ld  [ %g2 + 0x30 ], %o1	! 201f830 <_Watchdog_Ticks_since_boot>
 200a164:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200a168:	92 02 40 02 	add  %o1, %g2, %o1                             
 200a16c:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
 200a170:	10 80 00 0a 	b  200a198 <_Scheduler_CBS_Release_job+0x54>   
 200a174:	92 2a 40 02 	andn  %o1, %g2, %o1                            
        & ~SCHEDULER_EDF_PRIO_MSB;                                    
    else                                                              
      new_priority = (_Watchdog_Ticks_since_boot + deadline)          
 200a178:	c2 00 a0 30 	ld  [ %g2 + 0x30 ], %g1                        
 200a17c:	92 02 40 01 	add  %o1, %g1, %o1                             
 200a180:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200a184:	10 80 00 07 	b  200a1a0 <_Scheduler_CBS_Release_job+0x5c>   
 200a188:	92 2a 40 01 	andn  %o1, %g1, %o1                            
    /* Switch back to background priority. */                         
    new_priority = the_thread->Start.initial_priority;                
  }                                                                   
                                                                      
  /* Budget replenishment for the next job. */                        
  if (serv_info)                                                      
 200a18c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a190:	02 80 00 04 	be  200a1a0 <_Scheduler_CBS_Release_job+0x5c>  <== NEVER TAKEN
 200a194:	d2 02 20 ac 	ld  [ %o0 + 0xac ], %o1                        
    the_thread->cpu_time_budget = serv_info->parameters.budget;       
 200a198:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 200a19c:	c2 22 20 74 	st  %g1, [ %o0 + 0x74 ]                        
                                                                      
  the_thread->real_priority = new_priority;                           
 200a1a0:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
  _Thread_Change_priority(the_thread, new_priority, true);            
 200a1a4:	94 10 20 01 	mov  1, %o2                                    
 200a1a8:	82 13 c0 00 	mov  %o7, %g1                                  
 200a1ac:	40 00 01 35 	call  200a680 <_Thread_Change_priority>        
 200a1b0:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200a1b4 <_Scheduler_CBS_Unblock>: #include <rtems/score/schedulercbs.h> void _Scheduler_CBS_Unblock( Thread_Control *the_thread ) {
 200a1b4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Scheduler_CBS_Per_thread *sched_info;                               
  Scheduler_CBS_Server *serv_info;                                    
  Priority_Control new_priority;                                      
                                                                      
  _Scheduler_EDF_Enqueue(the_thread);                                 
 200a1b8:	40 00 00 57 	call  200a314 <_Scheduler_EDF_Enqueue>         
 200a1bc:	90 10 00 18 	mov  %i0, %o0                                  
  /* TODO: flash critical section? */                                 
                                                                      
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  serv_info = (Scheduler_CBS_Server *) sched_info->cbs_server;        
 200a1c0:	c2 06 20 88 	ld  [ %i0 + 0x88 ], %g1                        
 200a1c4:	fa 00 60 18 	ld  [ %g1 + 0x18 ], %i5                        
   * Late unblock rule for deadline-driven tasks. The remaining time to
   * deadline must be sufficient to serve the remaining computation time
   * without increased utilization of this task. It might cause a deadline
   * miss of another task.                                            
   */                                                                 
  if (serv_info) {                                                    
 200a1c8:	80 a7 60 00 	cmp  %i5, 0                                    
 200a1cc:	02 80 00 18 	be  200a22c <_Scheduler_CBS_Unblock+0x78>      
 200a1d0:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
    time_t budget = serv_info->parameters.budget;                     
    time_t deadline_left = the_thread->cpu_time_budget;               
    time_t budget_left = the_thread->real_priority -                  
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
 200a1d4:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
   */                                                                 
  if (serv_info) {                                                    
    time_t deadline = serv_info->parameters.deadline;                 
    time_t budget = serv_info->parameters.budget;                     
    time_t deadline_left = the_thread->cpu_time_budget;               
    time_t budget_left = the_thread->real_priority -                  
 200a1d8:	d0 00 60 30 	ld  [ %g1 + 0x30 ], %o0                        
 200a1dc:	f8 06 20 18 	ld  [ %i0 + 0x18 ], %i4                        
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
 200a1e0:	40 00 3f 81 	call  2019fe4 <.umul>                          
 200a1e4:	90 27 00 08 	sub  %i4, %o0, %o0                             
 200a1e8:	d2 06 20 74 	ld  [ %i0 + 0x74 ], %o1                        
 200a1ec:	b6 10 00 08 	mov  %o0, %i3                                  
 200a1f0:	40 00 3f 7d 	call  2019fe4 <.umul>                          
 200a1f4:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 200a1f8:	80 a6 c0 08 	cmp  %i3, %o0                                  
 200a1fc:	24 80 00 0d 	ble,a   200a230 <_Scheduler_CBS_Unblock+0x7c>  
 200a200:	3b 00 80 7f 	sethi  %hi(0x201fc00), %i5                     
      /* Put late unblocked task to background until the end of period. */
      new_priority = the_thread->Start.initial_priority;              
 200a204:	d2 06 20 ac 	ld  [ %i0 + 0xac ], %o1                        
      if ( the_thread->real_priority != new_priority )                
 200a208:	80 a7 00 09 	cmp  %i4, %o1                                  
 200a20c:	32 80 00 02 	bne,a   200a214 <_Scheduler_CBS_Unblock+0x60>  
 200a210:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
        the_thread->real_priority = new_priority;                     
      if ( the_thread->current_priority != new_priority )             
 200a214:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200a218:	80 a0 40 09 	cmp  %g1, %o1                                  
 200a21c:	02 80 00 04 	be  200a22c <_Scheduler_CBS_Unblock+0x78>      
 200a220:	90 10 00 18 	mov  %i0, %o0                                  
        _Thread_Change_priority(the_thread, new_priority, true);      
 200a224:	40 00 01 17 	call  200a680 <_Thread_Change_priority>        
 200a228:	94 10 20 01 	mov  1, %o2                                    
   *    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 ( _Scheduler_Is_priority_higher_than( the_thread->current_priority,
 200a22c:	3b 00 80 7f 	sethi  %hi(0x201fc00), %i5                     
 200a230:	ba 17 60 60 	or  %i5, 0x60, %i5	! 201fc60 <_Per_CPU_Information>
 200a234:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 200a238:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200a23c:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
 200a240:	c2 00 61 dc 	ld  [ %g1 + 0x1dc ], %g1                       
 200a244:	9f c0 40 00 	call  %g1                                      
 200a248:	d2 00 a0 14 	ld  [ %g2 + 0x14 ], %o1                        
 200a24c:	80 a2 20 00 	cmp  %o0, 0                                    
 200a250:	04 80 00 0f 	ble  200a28c <_Scheduler_CBS_Unblock+0xd8>     
 200a254:	01 00 00 00 	nop                                            
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a258:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
   *    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 ( _Scheduler_Is_priority_higher_than( the_thread->current_priority,
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
 200a25c:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a260:	c2 08 60 70 	ldub  [ %g1 + 0x70 ], %g1                      
 200a264:	80 a0 60 00 	cmp  %g1, 0                                    
 200a268:	12 80 00 06 	bne  200a280 <_Scheduler_CBS_Unblock+0xcc>     
 200a26c:	84 10 20 01 	mov  1, %g2                                    
 200a270:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200a274:	80 a0 60 00 	cmp  %g1, 0                                    
 200a278:	12 80 00 05 	bne  200a28c <_Scheduler_CBS_Unblock+0xd8>     <== ALWAYS TAKEN
 200a27c:	01 00 00 00 	nop                                            
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200a280:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200a284:	82 10 60 60 	or  %g1, 0x60, %g1	! 201fc60 <_Per_CPU_Information>
 200a288:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 200a28c:	81 c7 e0 08 	ret                                            
 200a290:	81 e8 00 00 	restore                                        
                                                                      

0200a294 <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
 200a294:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
 200a298:	40 00 06 52 	call  200bbe0 <_Workspace_Allocate>            
 200a29c:	90 10 20 18 	mov  0x18, %o0                                 
                                                                      
  if ( sched ) {                                                      
 200a2a0:	80 a2 20 00 	cmp  %o0, 0                                    
 200a2a4:	02 80 00 05 	be  200a2b8 <_Scheduler_EDF_Allocate+0x24>     <== NEVER TAKEN
 200a2a8:	82 10 20 02 	mov  2, %g1                                    
    the_thread->scheduler_info = sched;                               
 200a2ac:	d0 26 20 88 	st  %o0, [ %i0 + 0x88 ]                        
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
 200a2b0:	f0 22 00 00 	st  %i0, [ %o0 ]                               
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
 200a2b4:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
 200a2b8:	81 c7 e0 08 	ret                                            
 200a2bc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200a31c <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
 200a31c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _Scheduler_EDF_Enqueue(the_thread);                                 
 200a320:	7f ff ff a9 	call  200a1c4 <_Scheduler_EDF_Enqueue>         
 200a324:	90 10 00 18 	mov  %i0, %o0                                  
   *    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 ( _Scheduler_Is_priority_lower_than(                             
 200a328:	3b 00 80 7e 	sethi  %hi(0x201f800), %i5                     
 200a32c:	ba 17 63 c0 	or  %i5, 0x3c0, %i5	! 201fbc0 <_Per_CPU_Information>
 200a330:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 200a334:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200a338:	d0 00 a0 14 	ld  [ %g2 + 0x14 ], %o0                        
 200a33c:	c2 00 61 3c 	ld  [ %g1 + 0x13c ], %g1                       
 200a340:	9f c0 40 00 	call  %g1                                      
 200a344:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        
 200a348:	80 a2 20 00 	cmp  %o0, 0                                    
 200a34c:	16 80 00 0f 	bge  200a388 <_Scheduler_EDF_Unblock+0x6c>     
 200a350:	01 00 00 00 	nop                                            
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a354:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
 200a358:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a35c:	c2 08 60 70 	ldub  [ %g1 + 0x70 ], %g1                      
 200a360:	80 a0 60 00 	cmp  %g1, 0                                    
 200a364:	12 80 00 06 	bne  200a37c <_Scheduler_EDF_Unblock+0x60>     
 200a368:	84 10 20 01 	mov  1, %g2                                    
 200a36c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200a370:	80 a0 60 00 	cmp  %g1, 0                                    
 200a374:	12 80 00 05 	bne  200a388 <_Scheduler_EDF_Unblock+0x6c>     <== ALWAYS TAKEN
 200a378:	01 00 00 00 	nop                                            
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200a37c:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200a380:	82 10 63 c0 	or  %g1, 0x3c0, %g1	! 201fbc0 <_Per_CPU_Information>
 200a384:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 200a388:	81 c7 e0 08 	ret                                            
 200a38c:	81 e8 00 00 	restore                                        
                                                                      

02009a2c <_Scheduler_priority_Tick>: #include <rtems/system.h> #include <rtems/score/schedulerpriority.h> void _Scheduler_priority_Tick( void ) {
 2009a2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
 2009a30:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009a34:	fa 00 61 5c 	ld  [ %g1 + 0x15c ], %i5	! 201e15c <_Per_CPU_Information+0xc>
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
 2009a38:	c2 0f 60 70 	ldub  [ %i5 + 0x70 ], %g1                      
 2009a3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a40:	02 80 00 25 	be  2009ad4 <_Scheduler_priority_Tick+0xa8>    
 2009a44:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
 2009a48:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 2009a4c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a50:	12 80 00 21 	bne  2009ad4 <_Scheduler_priority_Tick+0xa8>   
 2009a54:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
 2009a58:	c2 07 60 78 	ld  [ %i5 + 0x78 ], %g1                        
 2009a5c:	80 a0 60 01 	cmp  %g1, 1                                    
 2009a60:	0a 80 00 14 	bcs  2009ab0 <_Scheduler_priority_Tick+0x84>   
 2009a64:	80 a0 60 02 	cmp  %g1, 2                                    
 2009a68:	28 80 00 07 	bleu,a   2009a84 <_Scheduler_priority_Tick+0x58>
 2009a6c:	c2 07 60 74 	ld  [ %i5 + 0x74 ], %g1                        
 2009a70:	80 a0 60 03 	cmp  %g1, 3                                    
 2009a74:	12 80 00 18 	bne  2009ad4 <_Scheduler_priority_Tick+0xa8>   <== NEVER TAKEN
 2009a78:	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 )                             
 2009a7c:	10 80 00 0f 	b  2009ab8 <_Scheduler_priority_Tick+0x8c>     
 2009a80:	c2 07 60 74 	ld  [ %i5 + 0x74 ], %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 ) {               
 2009a84:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009a88:	80 a0 60 00 	cmp  %g1, 0                                    
 2009a8c:	14 80 00 09 	bg  2009ab0 <_Scheduler_priority_Tick+0x84>    
 2009a90:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield();                                      
 2009a94:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 2009a98:	c2 00 63 28 	ld  [ %g1 + 0x328 ], %g1	! 201cf28 <_Scheduler+0xc>
 2009a9c:	9f c0 40 00 	call  %g1                                      
 2009aa0:	01 00 00 00 	nop                                            
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield();                                           
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
 2009aa4:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 2009aa8:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201db74 <_Thread_Ticks_per_timeslice>
 2009aac:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        
 2009ab0:	81 c7 e0 08 	ret                                            
 2009ab4:	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 )                             
 2009ab8:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009abc:	80 a0 60 00 	cmp  %g1, 0                                    
 2009ac0:	12 bf ff fc 	bne  2009ab0 <_Scheduler_priority_Tick+0x84>   
 2009ac4:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        
	  (*executing->budget_callout)( executing );                         
 2009ac8:	c2 07 60 7c 	ld  [ %i5 + 0x7c ], %g1                        
 2009acc:	9f c0 40 00 	call  %g1                                      
 2009ad0:	90 10 00 1d 	mov  %i5, %o0                                  
 2009ad4:	81 c7 e0 08 	ret                                            
 2009ad8:	81 e8 00 00 	restore                                        
                                                                      

020087d0 <_TOD_Tickle_ticks>: * * Output parameters: NONE */ void _TOD_Tickle_ticks( void ) {
 20087d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
 20087d4:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 20087d8:	c2 00 62 3c 	ld  [ %g1 + 0x23c ], %g1	! 201ce3c <Configuration+0x10>
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
  *_time += *_add;                                                    
  if ( ((*_time) / 1000000000L) != _start ) {                         
 20087dc:	94 10 20 00 	clr  %o2                                       
 20087e0:	85 28 60 02 	sll  %g1, 2, %g2                               
 20087e4:	91 28 60 07 	sll  %g1, 7, %o0                               
 20087e8:	90 22 00 02 	sub  %o0, %g2, %o0                             
 20087ec:	90 02 00 01 	add  %o0, %g1, %o0                             
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
 20087f0:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20087f4:	c4 00 61 20 	ld  [ %g1 + 0x120 ], %g2	! 201dd20 <_Watchdog_Ticks_since_boot>
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
 20087f8:	91 2a 20 03 	sll  %o0, 3, %o0                               
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
 20087fc:	84 00 a0 01 	inc  %g2                                       
 2008800:	c4 20 61 20 	st  %g2, [ %g1 + 0x120 ]                       
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 2008804:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2008808:	c4 18 60 90 	ldd  [ %g1 + 0x90 ], %g2	! 201dc90 <_TOD_Uptime>
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
 200880c:	92 10 00 08 	mov  %o0, %o1                                  
 2008810:	90 10 20 00 	clr  %o0                                       
 2008814:	86 80 c0 09 	addcc  %g3, %o1, %g3                           
 2008818:	84 40 80 08 	addx  %g2, %o0, %g2                            
 200881c:	c4 38 60 90 	std  %g2, [ %g1 + 0x90 ]                       
static inline uint32_t _Timestamp64_Add_to_at_tick(                   
  Timestamp64_Control *_time,                                         
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
 2008820:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2008824:	f8 18 60 a0 	ldd  [ %g1 + 0xa0 ], %i4	! 201dca0 <_TOD_Now>  
  *_time += *_add;                                                    
  if ( ((*_time) / 1000000000L) != _start ) {                         
 2008828:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
  Timestamp64_Control *_time,                                         
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
  *_time += *_add;                                                    
 200882c:	92 87 40 09 	addcc  %i5, %o1, %o1                           
  if ( ((*_time) / 1000000000L) != _start ) {                         
 2008830:	96 12 e2 00 	or  %o3, 0x200, %o3                            
  Timestamp64_Control *_time,                                         
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
  *_time += *_add;                                                    
 2008834:	90 47 00 08 	addx  %i4, %o0, %o0                            
  if ( ((*_time) / 1000000000L) != _start ) {                         
 2008838:	40 00 41 4f 	call  2018d74 <__divdi3>                       
 200883c:	d0 38 60 a0 	std  %o0, [ %g1 + 0xa0 ]                       
static inline uint32_t _Timestamp64_Add_to_at_tick(                   
  Timestamp64_Control *_time,                                         
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
 2008840:	94 10 20 00 	clr  %o2                                       
  *_time += *_add;                                                    
  if ( ((*_time) / 1000000000L) != _start ) {                         
 2008844:	b4 10 00 08 	mov  %o0, %i2                                  
 2008848:	b6 10 00 09 	mov  %o1, %i3                                  
static inline uint32_t _Timestamp64_Add_to_at_tick(                   
  Timestamp64_Control *_time,                                         
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  Timestamp64_Control _start = *_time / 1000000000L;                  
 200884c:	90 10 00 1c 	mov  %i4, %o0                                  
 2008850:	92 10 00 1d 	mov  %i5, %o1                                  
 2008854:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2008858:	40 00 41 47 	call  2018d74 <__divdi3>                       
 200885c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
  while ( seconds ) {                                                 
 2008860:	80 a6 80 08 	cmp  %i2, %o0                                  
 2008864:	12 80 00 05 	bne  2008878 <_TOD_Tickle_ticks+0xa8>          <== NEVER TAKEN
 2008868:	31 00 80 77 	sethi  %hi(0x201dc00), %i0                     
 200886c:	80 a6 c0 09 	cmp  %i3, %o1                                  
 2008870:	02 80 00 04 	be  2008880 <_TOD_Tickle_ticks+0xb0>           
 2008874:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void )            
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Seconds_chain );                       
 2008878:	40 00 0a 07 	call  200b094 <_Watchdog_Tickle>               
 200887c:	91 ee 20 c4 	restore  %i0, 0xc4, %o0                        
 2008880:	81 c7 e0 08 	ret                                            
 2008884:	81 e8 00 00 	restore                                        
                                                                      

02008664 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 2008664:	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();                 
 2008668:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
 200866c:	ba 10 20 00 	clr  %i5                                       
  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)                                  ||                  
 2008670:	80 a6 20 00 	cmp  %i0, 0                                    
 2008674:	02 80 00 2b 	be  2008720 <_TOD_Validate+0xbc>               <== NEVER TAKEN
 2008678:	d2 00 61 7c 	ld  [ %g1 + 0x17c ], %o1                       
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
 200867c:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2008680:	40 00 48 8c 	call  201a8b0 <.udiv>                          
 2008684:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 2008688:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200868c:	80 a0 40 08 	cmp  %g1, %o0                                  
 2008690:	3a 80 00 25 	bcc,a   2008724 <_TOD_Validate+0xc0>           
 2008694:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->ticks  >= ticks_per_second)       ||                  
 2008698:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200869c:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 20086a0:	38 80 00 21 	bgu,a   2008724 <_TOD_Validate+0xc0>           
 20086a4:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 20086a8:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 20086ac:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 20086b0:	38 80 00 1d 	bgu,a   2008724 <_TOD_Validate+0xc0>           
 20086b4:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 20086b8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20086bc:	80 a0 60 17 	cmp  %g1, 0x17                                 
 20086c0:	38 80 00 19 	bgu,a   2008724 <_TOD_Validate+0xc0>           
 20086c4:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
 20086c8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 20086cc:	80 a0 60 00 	cmp  %g1, 0                                    
 20086d0:	02 80 00 14 	be  2008720 <_TOD_Validate+0xbc>               <== NEVER TAKEN
 20086d4:	80 a0 60 0c 	cmp  %g1, 0xc                                  
      (the_tod->month  == 0)                      ||                  
 20086d8:	38 80 00 13 	bgu,a   2008724 <_TOD_Validate+0xc0>           
 20086dc:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 20086e0:	c6 06 00 00 	ld  [ %i0 ], %g3                               
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
 20086e4:	80 a0 e7 c3 	cmp  %g3, 0x7c3                                
 20086e8:	28 80 00 0f 	bleu,a   2008724 <_TOD_Validate+0xc0>          
 20086ec:	b0 0f 60 01 	and  %i5, 1, %i0                               
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
 20086f0:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
      (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)          ||                  
 20086f4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20086f8:	02 80 00 0a 	be  2008720 <_TOD_Validate+0xbc>               <== NEVER TAKEN
 20086fc:	80 88 e0 03 	btst  3, %g3                                   
 2008700:	07 00 80 77 	sethi  %hi(0x201dc00), %g3                     
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
 2008704:	12 80 00 03 	bne  2008710 <_TOD_Validate+0xac>              
 2008708:	86 10 e3 b8 	or  %g3, 0x3b8, %g3	! 201dfb8 <_TOD_Days_per_month>
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 200870c:	82 00 60 0d 	add  %g1, 0xd, %g1                             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 2008710:	83 28 60 02 	sll  %g1, 2, %g1                               
 2008714:	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(                                                   
 2008718:	80 a0 40 02 	cmp  %g1, %g2                                  
 200871c:	ba 60 3f ff 	subx  %g0, -1, %i5                             
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 2008720:	b0 0f 60 01 	and  %i5, 1, %i0                               
 2008724:	81 c7 e0 08 	ret                                            
 2008728:	81 e8 00 00 	restore                                        
                                                                      

02009cec <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 2009cec:	9d e3 bf a0 	save  %sp, -96, %sp                            
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 2009cf0:	f8 06 20 10 	ld  [ %i0 + 0x10 ], %i4                        
  /*                                                                  
   * 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 );                                
 2009cf4:	40 00 03 67 	call  200aa90 <_Thread_Set_transient>          
 2009cf8:	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 )                  
 2009cfc:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2009d00:	80 a0 40 19 	cmp  %g1, %i1                                  
 2009d04:	02 80 00 05 	be  2009d18 <_Thread_Change_priority+0x2c>     
 2009d08:	ba 10 00 18 	mov  %i0, %i5                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 2009d0c:	90 10 00 18 	mov  %i0, %o0                                  
 2009d10:	40 00 03 47 	call  200aa2c <_Thread_Set_priority>           
 2009d14:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  _ISR_Disable( level );                                              
 2009d18:	7f ff e2 35 	call  20025ec <sparc_disable_interrupts>       
 2009d1c:	01 00 00 00 	nop                                            
 2009d20:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
  /*                                                                  
   *  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;                                  
 2009d24:	f2 07 60 10 	ld  [ %i5 + 0x10 ], %i1                        
  if ( state != STATES_TRANSIENT ) {                                  
 2009d28:	80 a6 60 04 	cmp  %i1, 4                                    
 2009d2c:	02 80 00 10 	be  2009d6c <_Thread_Change_priority+0x80>     
 2009d30:	b8 0f 20 04 	and  %i4, 4, %i4                               
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 2009d34:	80 a7 20 00 	cmp  %i4, 0                                    
 2009d38:	12 80 00 03 	bne  2009d44 <_Thread_Change_priority+0x58>    <== NEVER TAKEN
 2009d3c:	82 0e 7f fb 	and  %i1, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 2009d40:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
    _ISR_Enable( level );                                             
 2009d44:	7f ff e2 2e 	call  20025fc <sparc_enable_interrupts>        
 2009d48:	90 10 00 1b 	mov  %i3, %o0                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 2009d4c:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 2009d50:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2009d54:	80 8e 40 01 	btst  %i1, %g1                                 
 2009d58:	02 80 00 29 	be  2009dfc <_Thread_Change_priority+0x110>    
 2009d5c:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 2009d60:	f0 07 60 44 	ld  [ %i5 + 0x44 ], %i0                        
 2009d64:	40 00 03 04 	call  200a974 <_Thread_queue_Requeue>          
 2009d68:	93 e8 00 1d 	restore  %g0, %i5, %o1                         
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
 2009d6c:	80 a7 20 00 	cmp  %i4, 0                                    
 2009d70:	12 80 00 0b 	bne  2009d9c <_Thread_Change_priority+0xb0>    <== NEVER TAKEN
 2009d74:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
     *  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 );
 2009d78:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
                                                                      
    if ( prepend_it )                                                 
 2009d7c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009d80:	02 80 00 04 	be  2009d90 <_Thread_Change_priority+0xa4>     
 2009d84:	82 10 63 1c 	or  %g1, 0x31c, %g1                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
 2009d88:	10 80 00 03 	b  2009d94 <_Thread_Change_priority+0xa8>      
 2009d8c:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
 2009d90:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
 2009d94:	9f c0 40 00 	call  %g1                                      
 2009d98:	90 10 00 1d 	mov  %i5, %o0                                  
      _Scheduler_Enqueue_first( the_thread );                         
    else                                                              
      _Scheduler_Enqueue( the_thread );                               
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 2009d9c:	7f ff e2 18 	call  20025fc <sparc_enable_interrupts>        
 2009da0:	90 10 00 1b 	mov  %i3, %o0                                  
 2009da4:	7f ff e2 12 	call  20025ec <sparc_disable_interrupts>       
 2009da8:	01 00 00 00 	nop                                            
 2009dac:	b0 10 00 08 	mov  %o0, %i0                                  
 *  This kernel routine implements the scheduling decision logic for  
 *  the scheduler. It does NOT dispatch.                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( void )                 
{                                                                     
  _Scheduler.Operations.schedule();                                   
 2009db0:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 2009db4:	c2 00 63 24 	ld  [ %g1 + 0x324 ], %g1	! 201cf24 <_Scheduler+0x8>
 2009db8:	9f c0 40 00 	call  %g1                                      
 2009dbc:	01 00 00 00 	nop                                            
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 2009dc0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009dc4:	82 10 61 50 	or  %g1, 0x150, %g1	! 201e150 <_Per_CPU_Information>
 2009dc8:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Scheduler_Schedule();                                              
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
 2009dcc:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 2009dd0:	80 a0 80 03 	cmp  %g2, %g3                                  
 2009dd4:	02 80 00 08 	be  2009df4 <_Thread_Change_priority+0x108>    
 2009dd8:	01 00 00 00 	nop                                            
 2009ddc:	c4 08 a0 70 	ldub  [ %g2 + 0x70 ], %g2                      
 2009de0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009de4:	02 80 00 04 	be  2009df4 <_Thread_Change_priority+0x108>    
 2009de8:	01 00 00 00 	nop                                            
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
 2009dec:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
 2009df0:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
  _ISR_Enable( level );                                               
 2009df4:	7f ff e2 02 	call  20025fc <sparc_enable_interrupts>        
 2009df8:	81 e8 00 00 	restore                                        
 2009dfc:	81 c7 e0 08 	ret                                            
 2009e00:	81 e8 00 00 	restore                                        
                                                                      

02009ff0 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2009ff0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2009ff4:	90 10 00 18 	mov  %i0, %o0                                  
 2009ff8:	40 00 00 6f 	call  200a1b4 <_Thread_Get>                    
 2009ffc:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a000:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a004:	80 a0 60 00 	cmp  %g1, 0                                    
 200a008:	12 80 00 09 	bne  200a02c <_Thread_Delay_ended+0x3c>        <== NEVER TAKEN
 200a00c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 200a010:	7f ff ff 7d 	call  2009e04 <_Thread_Clear_state>            
 200a014:	92 12 60 18 	or  %o1, 0x18, %o1	! 10000018 <RAM_END+0xdc00018>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 200a018:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a01c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 200a020:	84 00 bf ff 	add  %g2, -1, %g2                              
 200a024:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a028:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200a02c:	81 c7 e0 08 	ret                                            
 200a030:	81 e8 00 00 	restore                                        
                                                                      

0200a034 <_Thread_Dispatch>: * INTERRUPT LATENCY: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 200a034:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200a038:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a03c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 200a040:	84 00 a0 01 	inc  %g2                                       
 200a044:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a048:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
 200a04c:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
 200a050:	82 16 e1 50 	or  %i3, 0x150, %g1	! 201e150 <_Per_CPU_Information>
  _ISR_Disable( level );                                              
 200a054:	7f ff e1 66 	call  20025ec <sparc_disable_interrupts>       
 200a058:	fa 00 60 0c 	ld  [ %g1 + 0xc ], %i5                         
#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;            
 200a05c:	35 00 80 76 	sethi  %hi(0x201d800), %i2                     
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 200a060:	31 00 80 77 	sethi  %hi(0x201dc00), %i0                     
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
 200a064:	10 80 00 37 	b  200a140 <_Thread_Dispatch+0x10c>            
 200a068:	33 00 80 77 	sethi  %hi(0x201dc00), %i1                     
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
 200a06c:	c0 28 60 18 	clrb  [ %g1 + 0x18 ]                           
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
 200a070:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200a074:	02 80 00 38 	be  200a154 <_Thread_Dispatch+0x120>           
 200a078:	f8 20 60 0c 	st  %i4, [ %g1 + 0xc ]                         
     */                                                               
#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 )
 200a07c:	c2 07 20 78 	ld  [ %i4 + 0x78 ], %g1                        
 200a080:	80 a0 60 01 	cmp  %g1, 1                                    
 200a084:	12 80 00 03 	bne  200a090 <_Thread_Dispatch+0x5c>           
 200a088:	c2 06 a3 74 	ld  [ %i2 + 0x374 ], %g1                       
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 200a08c:	c2 27 20 74 	st  %g1, [ %i4 + 0x74 ]                        
                                                                      
    _ISR_Enable( level );                                             
 200a090:	7f ff e1 5b 	call  20025fc <sparc_enable_interrupts>        
 200a094:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 200a098:	40 00 0d 3a 	call  200d580 <_TOD_Get_uptime>                
 200a09c:	90 07 bf f8 	add  %fp, -8, %o0                              
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 200a0a0:	c4 1f 60 80 	ldd  [ %i5 + 0x80 ], %g2                       
        _Timestamp_Subtract(                                          
 200a0a4:	d4 1f bf f8 	ldd  [ %fp + -8 ], %o2                         
 200a0a8:	82 16 e1 50 	or  %i3, 0x150, %g1                            
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 200a0ac:	d8 18 60 20 	ldd  [ %g1 + 0x20 ], %o4                       
 200a0b0:	9a a2 c0 0d 	subcc  %o3, %o5, %o5                           
 200a0b4:	98 62 80 0c 	subx  %o2, %o4, %o4                            
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 200a0b8:	86 80 c0 0d 	addcc  %g3, %o5, %g3                           
 200a0bc:	84 40 80 0c 	addx  %g2, %o4, %g2                            
 200a0c0:	c4 3f 60 80 	std  %g2, [ %i5 + 0x80 ]                       
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 200a0c4:	d4 38 60 20 	std  %o2, [ %g1 + 0x20 ]                       
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 200a0c8:	c2 06 20 9c 	ld  [ %i0 + 0x9c ], %g1                        
 200a0cc:	80 a0 60 00 	cmp  %g1, 0                                    
 200a0d0:	02 80 00 06 	be  200a0e8 <_Thread_Dispatch+0xb4>            <== NEVER TAKEN
 200a0d4:	90 10 00 1d 	mov  %i5, %o0                                  
      executing->libc_reent = *_Thread_libc_reent;                    
 200a0d8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200a0dc:	c4 27 61 54 	st  %g2, [ %i5 + 0x154 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 200a0e0:	c4 07 21 54 	ld  [ %i4 + 0x154 ], %g2                       
 200a0e4:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 200a0e8:	40 00 03 59 	call  200ae4c <_User_extensions_Thread_switch> 
 200a0ec:	92 10 00 1c 	mov  %i4, %o1                                  
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 200a0f0:	90 07 60 c8 	add  %i5, 0xc8, %o0                            
 200a0f4:	40 00 04 85 	call  200b308 <_CPU_Context_switch>            
 200a0f8:	92 07 20 c8 	add  %i4, 0xc8, %o1                            
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
 200a0fc:	c2 07 61 50 	ld  [ %i5 + 0x150 ], %g1                       
 200a100:	80 a0 60 00 	cmp  %g1, 0                                    
 200a104:	02 80 00 0c 	be  200a134 <_Thread_Dispatch+0x100>           
 200a108:	d0 06 60 98 	ld  [ %i1 + 0x98 ], %o0                        
 200a10c:	80 a7 40 08 	cmp  %i5, %o0                                  
 200a110:	02 80 00 09 	be  200a134 <_Thread_Dispatch+0x100>           
 200a114:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 200a118:	02 80 00 04 	be  200a128 <_Thread_Dispatch+0xf4>            
 200a11c:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 200a120:	40 00 04 40 	call  200b220 <_CPU_Context_save_fp>           
 200a124:	90 02 21 50 	add  %o0, 0x150, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 200a128:	40 00 04 5b 	call  200b294 <_CPU_Context_restore_fp>        
 200a12c:	90 07 61 50 	add  %i5, 0x150, %o0                           
      _Thread_Allocated_fp = executing;                               
 200a130:	fa 26 60 98 	st  %i5, [ %i1 + 0x98 ]                        
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
 200a134:	82 16 e1 50 	or  %i3, 0x150, %g1                            
                                                                      
    _ISR_Disable( level );                                            
 200a138:	7f ff e1 2d 	call  20025ec <sparc_disable_interrupts>       
 200a13c:	fa 00 60 0c 	ld  [ %g1 + 0xc ], %i5                         
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
 200a140:	82 16 e1 50 	or  %i3, 0x150, %g1                            
 200a144:	c4 08 60 18 	ldub  [ %g1 + 0x18 ], %g2                      
 200a148:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a14c:	32 bf ff c8 	bne,a   200a06c <_Thread_Dispatch+0x38>        
 200a150:	f8 00 60 10 	ld  [ %g1 + 0x10 ], %i4                        
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
                                                                      
  _ISR_Enable( level );                                               
 200a154:	7f ff e1 2a 	call  20025fc <sparc_enable_interrupts>        
 200a158:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 200a15c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a160:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 200a164:	84 00 bf ff 	add  %g2, -1, %g2                              
 200a168:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a16c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  _API_extensions_Run_postswitch();                                   
 200a170:	7f ff f8 14 	call  20081c0 <_API_extensions_Run_postswitch> 
 200a174:	01 00 00 00 	nop                                            
}                                                                     
 200a178:	81 c7 e0 08 	ret                                            
 200a17c:	81 e8 00 00 	restore                                        
                                                                      

0200f628 <_Thread_Handler>: * Input parameters: NONE * * Output parameters: NONE */ void _Thread_Handler( void ) {
 200f628:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 200f62c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f630:	fa 00 61 5c 	ld  [ %g1 + 0x15c ], %i5	! 201e15c <_Per_CPU_Information+0xc>
  /*                                                                  
   * 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();                          
 200f634:	3f 00 80 3d 	sethi  %hi(0x200f400), %i7                     
 200f638:	be 17 e2 28 	or  %i7, 0x228, %i7	! 200f628 <_Thread_Handler>
                                                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
  level = executing->Start.isr_level;                                 
 200f63c:	d0 07 60 a8 	ld  [ %i5 + 0xa8 ], %o0                        
  _ISR_Set_level(level);                                              
 200f640:	7f ff cb ef 	call  20025fc <sparc_enable_interrupts>        
 200f644:	91 2a 20 08 	sll  %o0, 8, %o0                               
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 200f648:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
      doneConstructors = true;                                        
 200f64c:	84 10 20 01 	mov  1, %g2                                    
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 200f650:	f8 08 60 38 	ldub  [ %g1 + 0x38 ], %i4                      
      doneConstructors = true;                                        
 200f654:	c4 28 60 38 	stb  %g2, [ %g1 + 0x38 ]                       
    #endif                                                            
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 200f658:	c2 07 61 50 	ld  [ %i5 + 0x150 ], %g1                       
 200f65c:	80 a0 60 00 	cmp  %g1, 0                                    
 200f660:	02 80 00 0c 	be  200f690 <_Thread_Handler+0x68>             
 200f664:	03 00 80 77 	sethi  %hi(0x201dc00), %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 );                      
 200f668:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0	! 201dc98 <_Thread_Allocated_fp>
 200f66c:	80 a7 40 08 	cmp  %i5, %o0                                  
 200f670:	02 80 00 08 	be  200f690 <_Thread_Handler+0x68>             
 200f674:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 200f678:	22 80 00 06 	be,a   200f690 <_Thread_Handler+0x68>          
 200f67c:	fa 20 60 98 	st  %i5, [ %g1 + 0x98 ]                        
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 200f680:	7f ff ee e8 	call  200b220 <_CPU_Context_save_fp>           
 200f684:	90 02 21 50 	add  %o0, 0x150, %o0                           
        _Thread_Allocated_fp = executing;                             
 200f688:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200f68c:	fa 20 60 98 	st  %i5, [ %g1 + 0x98 ]	! 201dc98 <_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 );                         
 200f690:	7f ff ed 80 	call  200ac90 <_User_extensions_Thread_begin>  
 200f694:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 200f698:	7f ff ea ba 	call  200a180 <_Thread_Enable_dispatch>        
 200f69c:	01 00 00 00 	nop                                            
    /*                                                                
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (doCons) /* && (volatile void *)_init) */ {                    
 200f6a0:	80 8f 20 ff 	btst  0xff, %i4                                
 200f6a4:	32 80 00 05 	bne,a   200f6b8 <_Thread_Handler+0x90>         
 200f6a8:	c2 07 60 90 	ld  [ %i5 + 0x90 ], %g1                        
      INIT_NAME ();                                                   
 200f6ac:	40 00 35 cf 	call  201cde8 <_init>                          
 200f6b0:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 200f6b4:	c2 07 60 90 	ld  [ %i5 + 0x90 ], %g1                        
 200f6b8:	80 a0 60 00 	cmp  %g1, 0                                    
 200f6bc:	12 80 00 05 	bne  200f6d0 <_Thread_Handler+0xa8>            
 200f6c0:	80 a0 60 01 	cmp  %g1, 1                                    
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 200f6c4:	c2 07 60 8c 	ld  [ %i5 + 0x8c ], %g1                        
 200f6c8:	10 80 00 06 	b  200f6e0 <_Thread_Handler+0xb8>              
 200f6cc:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
 200f6d0:	12 80 00 07 	bne  200f6ec <_Thread_Handler+0xc4>            <== NEVER TAKEN
 200f6d4:	01 00 00 00 	nop                                            
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
 200f6d8:	c2 07 60 8c 	ld  [ %i5 + 0x8c ], %g1                        
 200f6dc:	d0 07 60 94 	ld  [ %i5 + 0x94 ], %o0                        
 200f6e0:	9f c0 40 00 	call  %g1                                      
 200f6e4:	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 =                               
 200f6e8:	d0 27 60 28 	st  %o0, [ %i5 + 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 );                       
 200f6ec:	7f ff ed 7a 	call  200acd4 <_User_extensions_Thread_exitted>
 200f6f0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 200f6f4:	90 10 20 00 	clr  %o0                                       
 200f6f8:	92 10 20 01 	mov  1, %o1                                    
 200f6fc:	7f ff e5 5c 	call  2008c6c <_Internal_error_Occurred>       
 200f700:	94 10 20 05 	mov  5, %o2                                    
                                                                      

0200a454 <_Thread_Handler_initialization>: * * Output parameters: NONE */ void _Thread_Handler_initialization(void) {
 200a454:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uint32_t ticks_per_timeslice =                                      
 200a458:	05 00 80 73 	sethi  %hi(0x201cc00), %g2                     
 200a45c:	84 10 a2 2c 	or  %g2, 0x22c, %g2	! 201ce2c <Configuration>  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
 200a460:	c6 00 a0 28 	ld  [ %g2 + 0x28 ], %g3                        
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
  uint32_t ticks_per_timeslice =                                      
 200a464:	fa 00 a0 14 	ld  [ %g2 + 0x14 ], %i5                        
    rtems_configuration_get_ticks_per_timeslice();                    
  uint32_t maximum_extensions =                                       
 200a468:	f8 00 a0 0c 	ld  [ %g2 + 0xc ], %i4                         
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
 200a46c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a470:	02 80 00 06 	be  200a488 <_Thread_Handler_initialization+0x34>
 200a474:	c2 00 a0 24 	ld  [ %g2 + 0x24 ], %g1                        
 200a478:	c6 00 a0 2c 	ld  [ %g2 + 0x2c ], %g3                        
 200a47c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a480:	12 80 00 06 	bne  200a498 <_Thread_Handler_initialization+0x44><== ALWAYS TAKEN
 200a484:	80 a0 60 00 	cmp  %g1, 0                                    
       rtems_configuration_get_stack_free_hook() == NULL)             
    _Internal_error_Occurred(                                         
 200a488:	90 10 20 00 	clr  %o0                                       
 200a48c:	92 10 20 01 	mov  1, %o1                                    
 200a490:	7f ff f9 f7 	call  2008c6c <_Internal_error_Occurred>       
 200a494:	94 10 20 0e 	mov  0xe, %o2                                  
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  if ( stack_allocate_init_hook != NULL )                             
 200a498:	22 80 00 05 	be,a   200a4ac <_Thread_Handler_initialization+0x58>
 200a49c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    (*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
 200a4a0:	9f c0 40 00 	call  %g1                                      
 200a4a4:	d0 00 a0 08 	ld  [ %g2 + 8 ], %o0                           
                                                                      
  _Thread_Dispatch_necessary = false;                                 
 200a4a8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200a4ac:	82 10 61 50 	or  %g1, 0x150, %g1	! 201e150 <_Per_CPU_Information>
 200a4b0:	c0 28 60 18 	clrb  [ %g1 + 0x18 ]                           
  _Thread_Executing         = NULL;                                   
 200a4b4:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
  _Thread_Heir              = NULL;                                   
 200a4b8:	c0 20 60 10 	clr  [ %g1 + 0x10 ]                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
 200a4bc:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a4c0:	c0 20 60 98 	clr  [ %g1 + 0x98 ]	! 201dc98 <_Thread_Allocated_fp>
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
 200a4c4:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a4c8:	f8 20 60 a8 	st  %i4, [ %g1 + 0xa8 ]	! 201dca8 <_Thread_Maximum_extensions>
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
 200a4cc:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200a4d0:	fa 20 63 74 	st  %i5, [ %g1 + 0x374 ]	! 201db74 <_Thread_Ticks_per_timeslice>
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
 200a4d4:	82 10 20 08 	mov  8, %g1                                    
 200a4d8:	11 00 80 77 	sethi  %hi(0x201dc00), %o0                     
 200a4dc:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 200a4e0:	90 12 21 28 	or  %o0, 0x128, %o0                            
 200a4e4:	92 10 20 01 	mov  1, %o1                                    
 200a4e8:	94 10 20 01 	mov  1, %o2                                    
 200a4ec:	96 10 20 01 	mov  1, %o3                                    
 200a4f0:	98 10 21 68 	mov  0x168, %o4                                
 200a4f4:	7f ff fb 63 	call  2009280 <_Objects_Initialize_information>
 200a4f8:	9a 10 20 00 	clr  %o5                                       
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
 200a4fc:	81 c7 e0 08 	ret                                            
 200a500:	81 e8 00 00 	restore                                        
                                                                      

0200a264 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 200a264:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200a268:	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;                             
 200a26c:	c0 26 61 58 	clr  [ %i1 + 0x158 ]                           
 200a270:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 200a274:	c0 26 61 54 	clr  [ %i1 + 0x154 ]                           
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 200a278:	e0 07 a0 60 	ld  [ %fp + 0x60 ], %l0                        
 200a27c:	e2 00 40 00 	ld  [ %g1 ], %l1                               
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 200a280:	80 a6 a0 00 	cmp  %i2, 0                                    
 200a284:	12 80 00 0d 	bne  200a2b8 <_Thread_Initialize+0x54>         
 200a288:	e4 0f a0 5f 	ldub  [ %fp + 0x5f ], %l2                      
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 200a28c:	90 10 00 19 	mov  %i1, %o0                                  
 200a290:	40 00 02 0f 	call  200aacc <_Thread_Stack_Allocate>         
 200a294:	92 10 00 1b 	mov  %i3, %o1                                  
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 200a298:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200a29c:	0a 80 00 6a 	bcs  200a444 <_Thread_Initialize+0x1e0>        
 200a2a0:	80 a2 20 00 	cmp  %o0, 0                                    
 200a2a4:	02 80 00 68 	be  200a444 <_Thread_Initialize+0x1e0>         <== NEVER TAKEN
 200a2a8:	82 10 20 01 	mov  1, %g1                                    
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
 200a2ac:	f4 06 60 c0 	ld  [ %i1 + 0xc0 ], %i2                        
      the_thread->Start.core_allocated_stack = true;                  
 200a2b0:	10 80 00 04 	b  200a2c0 <_Thread_Initialize+0x5c>           
 200a2b4:	c2 2e 60 b0 	stb  %g1, [ %i1 + 0xb0 ]                       
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
 200a2b8:	c0 2e 60 b0 	clrb  [ %i1 + 0xb0 ]                           
 200a2bc:	90 10 00 1b 	mov  %i3, %o0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 200a2c0:	f4 26 60 b8 	st  %i2, [ %i1 + 0xb8 ]                        
  the_stack->size = size;                                             
 200a2c4:	d0 26 60 b4 	st  %o0, [ %i1 + 0xb4 ]                        
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
 200a2c8:	80 a7 20 00 	cmp  %i4, 0                                    
 200a2cc:	02 80 00 07 	be  200a2e8 <_Thread_Initialize+0x84>          
 200a2d0:	b6 10 20 00 	clr  %i3                                       
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
 200a2d4:	40 00 03 b7 	call  200b1b0 <_Workspace_Allocate>            
 200a2d8:	90 10 20 88 	mov  0x88, %o0                                 
      if ( !fp_area )                                                 
 200a2dc:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 200a2e0:	02 80 00 4a 	be  200a408 <_Thread_Initialize+0x1a4>         
 200a2e4:	b8 10 20 00 	clr  %i4                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 200a2e8:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a2ec:	d0 00 60 a8 	ld  [ %g1 + 0xa8 ], %o0	! 201dca8 <_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;                           
 200a2f0:	f6 26 61 50 	st  %i3, [ %i1 + 0x150 ]                       
    the_thread->Start.fp_context = fp_area;                           
 200a2f4:	f6 26 60 bc 	st  %i3, [ %i1 + 0xbc ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 200a2f8:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 200a2fc:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 200a300:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  the_watchdog->user_data = user_data;                                
 200a304:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 200a308:	80 a2 20 00 	cmp  %o0, 0                                    
 200a30c:	02 80 00 08 	be  200a32c <_Thread_Initialize+0xc8>          
 200a310:	b8 10 20 00 	clr  %i4                                       
    extensions_area = _Workspace_Allocate(                            
 200a314:	90 02 20 01 	inc  %o0                                       
 200a318:	40 00 03 a6 	call  200b1b0 <_Workspace_Allocate>            
 200a31c:	91 2a 20 02 	sll  %o0, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 200a320:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200a324:	02 80 00 3a 	be  200a40c <_Thread_Initialize+0x1a8>         
 200a328:	b4 10 20 00 	clr  %i2                                       
   * 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 ) {                                     
 200a32c:	80 a7 20 00 	cmp  %i4, 0                                    
 200a330:	02 80 00 0c 	be  200a360 <_Thread_Initialize+0xfc>          
 200a334:	f8 26 61 60 	st  %i4, [ %i1 + 0x160 ]                       
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
 200a338:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200a33c:	c4 00 60 a8 	ld  [ %g1 + 0xa8 ], %g2	! 201dca8 <_Thread_Maximum_extensions>
 200a340:	10 80 00 05 	b  200a354 <_Thread_Initialize+0xf0>           
 200a344:	82 10 20 00 	clr  %g1                                       
      the_thread->extensions[i] = NULL;                               
 200a348:	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++ )              
 200a34c:	82 00 60 01 	inc  %g1                                       
      the_thread->extensions[i] = NULL;                               
 200a350:	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++ )              
 200a354:	80 a0 40 02 	cmp  %g1, %g2                                  
 200a358:	28 bf ff fc 	bleu,a   200a348 <_Thread_Initialize+0xe4>     
 200a35c:	c8 06 61 60 	ld  [ %i1 + 0x160 ], %g4                       
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 200a360:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 200a364:	e4 2e 60 9c 	stb  %l2, [ %i1 + 0x9c ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
 200a368:	e0 26 60 a0 	st  %l0, [ %i1 + 0xa0 ]                        
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
 200a36c:	80 a4 20 02 	cmp  %l0, 2                                    
 200a370:	12 80 00 05 	bne  200a384 <_Thread_Initialize+0x120>        
 200a374:	c2 26 60 a4 	st  %g1, [ %i1 + 0xa4 ]                        
    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;    
 200a378:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200a37c:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201db74 <_Thread_Ticks_per_timeslice>
 200a380:	c2 26 60 74 	st  %g1, [ %i1 + 0x74 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 200a384:	c2 07 a0 68 	ld  [ %fp + 0x68 ], %g1                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
 200a388:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 200a38c:	c2 26 60 a8 	st  %g1, [ %i1 + 0xa8 ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 200a390:	82 10 20 01 	mov  1, %g1                                    
 200a394:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
 200a398:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 200a39c:	c2 00 63 34 	ld  [ %g1 + 0x334 ], %g1	! 201cf34 <_Scheduler+0x18>
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
 200a3a0:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  the_thread->real_priority           = priority;                     
 200a3a4:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
 200a3a8:	fa 26 60 ac 	st  %i5, [ %i1 + 0xac ]                        
 200a3ac:	9f c0 40 00 	call  %g1                                      
 200a3b0:	90 10 00 19 	mov  %i1, %o0                                  
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
 200a3b4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200a3b8:	02 80 00 15 	be  200a40c <_Thread_Initialize+0x1a8>         
 200a3bc:	90 10 00 19 	mov  %i1, %o0                                  
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
 200a3c0:	40 00 01 9b 	call  200aa2c <_Thread_Set_priority>           
 200a3c4:	92 10 00 1d 	mov  %i5, %o1                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200a3c8:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 200a3cc:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
                                                                      
static inline void _Timestamp64_implementation_Set_to_zero(           
  Timestamp64_Control *_time                                          
)                                                                     
{                                                                     
  *_time = 0;                                                         
 200a3d0:	c0 26 60 80 	clr  [ %i1 + 0x80 ]                            
 200a3d4:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200a3d8:	83 28 60 02 	sll  %g1, 2, %g1                               
 200a3dc:	f2 20 80 01 	st  %i1, [ %g2 + %g1 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 200a3e0:	e2 26 60 0c 	st  %l1, [ %i1 + 0xc ]                         
   *  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 );    
 200a3e4:	90 10 00 19 	mov  %i1, %o0                                  
 200a3e8:	40 00 02 5c 	call  200ad58 <_User_extensions_Thread_create> 
 200a3ec:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 200a3f0:	80 8a 20 ff 	btst  0xff, %o0                                
 200a3f4:	02 80 00 06 	be  200a40c <_Thread_Initialize+0x1a8>         
 200a3f8:	01 00 00 00 	nop                                            
 200a3fc:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200a400:	81 c7 e0 08 	ret                                            
 200a404:	81 e8 00 00 	restore                                        
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
 200a408:	b4 10 20 00 	clr  %i2                                       
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
 200a40c:	40 00 03 71 	call  200b1d0 <_Workspace_Free>                
 200a410:	d0 06 61 54 	ld  [ %i1 + 0x154 ], %o0                       
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
 200a414:	40 00 03 6f 	call  200b1d0 <_Workspace_Free>                
 200a418:	d0 06 61 58 	ld  [ %i1 + 0x158 ], %o0                       
 200a41c:	40 00 03 6d 	call  200b1d0 <_Workspace_Free>                
 200a420:	d0 06 61 5c 	ld  [ %i1 + 0x15c ], %o0                       
                                                                      
  _Workspace_Free( extensions_area );                                 
 200a424:	40 00 03 6b 	call  200b1d0 <_Workspace_Free>                
 200a428:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
 200a42c:	40 00 03 69 	call  200b1d0 <_Workspace_Free>                
 200a430:	90 10 00 1b 	mov  %i3, %o0                                  
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
 200a434:	40 00 03 67 	call  200b1d0 <_Workspace_Free>                
 200a438:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 200a43c:	40 00 01 b5 	call  200ab10 <_Thread_Stack_Free>             
 200a440:	90 10 00 19 	mov  %i1, %o0                                  
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
 200a444:	b0 10 20 00 	clr  %i0                                       
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
 200a448:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200a44c:	81 c7 e0 08 	ret                                            
 200a450:	81 e8 00 00 	restore                                        
                                                                      

0200ab10 <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
 200ab10:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
 200ab14:	c4 0e 20 b0 	ldub  [ %i0 + 0xb0 ], %g2                      
                                                                      
void _Thread_Stack_Free(                                              
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  rtems_stack_free_hook stack_free_hook =                             
 200ab18:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
                                                                      
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
 200ab1c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200ab20:	02 80 00 04 	be  200ab30 <_Thread_Stack_Free+0x20>          <== NEVER TAKEN
 200ab24:	c2 00 62 58 	ld  [ %g1 + 0x258 ], %g1                       
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  (*stack_free_hook)( the_thread->Start.Initial_stack.area );         
 200ab28:	9f c0 40 00 	call  %g1                                      
 200ab2c:	d0 06 20 b8 	ld  [ %i0 + 0xb8 ], %o0                        
 200ab30:	81 c7 e0 08 	ret                                            
 200ab34:	81 e8 00 00 	restore                                        
                                                                      

0200a974 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 200a974:	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 )                                            
 200a978:	80 a6 20 00 	cmp  %i0, 0                                    
 200a97c:	02 80 00 19 	be  200a9e0 <_Thread_queue_Requeue+0x6c>       <== NEVER TAKEN
 200a980:	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 ) {
 200a984:	f8 06 20 34 	ld  [ %i0 + 0x34 ], %i4                        
 200a988:	80 a7 20 01 	cmp  %i4, 1                                    
 200a98c:	12 80 00 15 	bne  200a9e0 <_Thread_queue_Requeue+0x6c>      <== NEVER TAKEN
 200a990:	01 00 00 00 	nop                                            
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 200a994:	7f ff df 16 	call  20025ec <sparc_disable_interrupts>       
 200a998:	01 00 00 00 	nop                                            
 200a99c:	ba 10 00 08 	mov  %o0, %i5                                  
 200a9a0:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 200a9a4:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 200a9a8:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 200a9ac:	80 88 80 01 	btst  %g2, %g1                                 
 200a9b0:	02 80 00 0a 	be  200a9d8 <_Thread_queue_Requeue+0x64>       <== NEVER TAKEN
 200a9b4:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
 200a9b8:	92 10 00 19 	mov  %i1, %o1                                  
 200a9bc:	94 10 20 01 	mov  1, %o2                                    
 200a9c0:	40 00 0c c5 	call  200dcd4 <_Thread_queue_Extract_priority_helper>
 200a9c4:	f8 26 20 30 	st  %i4, [ %i0 + 0x30 ]                        
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 200a9c8:	90 10 00 18 	mov  %i0, %o0                                  
 200a9cc:	92 10 00 19 	mov  %i1, %o1                                  
 200a9d0:	7f ff ff 50 	call  200a710 <_Thread_queue_Enqueue_priority> 
 200a9d4:	94 07 bf fc 	add  %fp, -4, %o2                              
    }                                                                 
    _ISR_Enable( level );                                             
 200a9d8:	7f ff df 09 	call  20025fc <sparc_enable_interrupts>        
 200a9dc:	90 10 00 1d 	mov  %i5, %o0                                  
 200a9e0:	81 c7 e0 08 	ret                                            
 200a9e4:	81 e8 00 00 	restore                                        
                                                                      

0200a9e8 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 200a9e8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200a9ec:	90 10 00 18 	mov  %i0, %o0                                  
 200a9f0:	7f ff fd f1 	call  200a1b4 <_Thread_Get>                    
 200a9f4:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a9f8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a9fc:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa00:	12 80 00 09 	bne  200aa24 <_Thread_queue_Timeout+0x3c>      <== NEVER TAKEN
 200aa04:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 200aa08:	40 00 0c ea 	call  200ddb0 <_Thread_queue_Process_timeout>  
 200aa0c:	01 00 00 00 	nop                                            
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
 200aa10:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200aa14:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 200aa18:	84 00 bf ff 	add  %g2, -1, %g2                              
 200aa1c:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 200aa20:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200aa24:	81 c7 e0 08 	ret                                            
 200aa28:	81 e8 00 00 	restore                                        
                                                                      

020188e0 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 20188e0:	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;            
 20188e4:	25 00 80 f3 	sethi  %hi(0x203cc00), %l2                     
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20188e8:	a6 07 bf e8 	add  %fp, -24, %l3                             
 20188ec:	a2 07 bf ec 	add  %fp, -20, %l1                             
 20188f0:	b8 07 bf f4 	add  %fp, -12, %i4                             
 20188f4:	b6 07 bf f8 	add  %fp, -8, %i3                              
 20188f8:	e2 27 bf e8 	st  %l1, [ %fp + -24 ]                         
  head->previous = NULL;                                              
 20188fc:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  tail->previous = head;                                              
 2018900:	e6 27 bf f0 	st  %l3, [ %fp + -16 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2018904:	f6 27 bf f4 	st  %i3, [ %fp + -12 ]                         
  head->previous = NULL;                                              
 2018908:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  tail->previous = head;                                              
 201890c:	f8 27 bf fc 	st  %i4, [ %fp + -4 ]                          
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2018910:	b4 06 20 30 	add  %i0, 0x30, %i2                            
     /*                                                               
      *  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 ); 
 2018914:	ba 06 20 68 	add  %i0, 0x68, %i5                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2018918:	a0 06 20 08 	add  %i0, 8, %l0                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 201891c:	b2 06 20 40 	add  %i0, 0x40, %i1                            
{                                                                     
  /*                                                                  
   *  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;                                    
 2018920:	e6 26 20 78 	st  %l3, [ %i0 + 0x78 ]                        
 2018924:	29 00 80 f3 	sethi  %hi(0x203cc00), %l4                     
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2018928:	c2 04 a1 60 	ld  [ %l2 + 0x160 ], %g1                       
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 201892c:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2018930:	90 10 00 1a 	mov  %i2, %o0                                  
 2018934:	92 20 40 09 	sub  %g1, %o1, %o1                             
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2018938:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 201893c:	40 00 11 d8 	call  201d09c <_Watchdog_Adjust_to_chain>      
 2018940:	94 10 00 1c 	mov  %i4, %o2                                  
 2018944:	d0 1d 20 e0 	ldd  [ %l4 + 0xe0 ], %o0                       
 2018948:	94 10 20 00 	clr  %o2                                       
 201894c:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2018950:	40 00 4f 7a 	call  202c738 <__divdi3>                       
 2018954:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 2018958:	d4 06 20 74 	ld  [ %i0 + 0x74 ], %o2                        
  /*                                                                  
   *  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 ) {                                   
 201895c:	80 a2 40 0a 	cmp  %o1, %o2                                  
 2018960:	08 80 00 07 	bleu  201897c <_Timer_server_Body+0x9c>        
 2018964:	aa 10 00 09 	mov  %o1, %l5                                  
    /*                                                                
     *  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 );
 2018968:	92 22 40 0a 	sub  %o1, %o2, %o1                             
 201896c:	90 10 00 1d 	mov  %i5, %o0                                  
 2018970:	40 00 11 cb 	call  201d09c <_Watchdog_Adjust_to_chain>      
 2018974:	94 10 00 1c 	mov  %i4, %o2                                  
 2018978:	30 80 00 06 	b,a   2018990 <_Timer_server_Body+0xb0>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 201897c:	1a 80 00 05 	bcc  2018990 <_Timer_server_Body+0xb0>         
 2018980:	90 10 00 1d 	mov  %i5, %o0                                  
     /*                                                               
      *  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 ); 
 2018984:	92 10 20 01 	mov  1, %o1                                    
 2018988:	40 00 11 9e 	call  201d000 <_Watchdog_Adjust>               
 201898c:	94 22 80 15 	sub  %o2, %l5, %o2                             
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2018990:	ea 26 20 74 	st  %l5, [ %i0 + 0x74 ]                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 2018994:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 2018998:	40 00 02 db 	call  2019504 <_Chain_Get>                     
 201899c:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 20189a0:	92 92 20 00 	orcc  %o0, 0, %o1                              
 20189a4:	02 80 00 0c 	be  20189d4 <_Timer_server_Body+0xf4>          
 20189a8:	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 ) {                 
 20189ac:	c2 02 60 38 	ld  [ %o1 + 0x38 ], %g1                        
 20189b0:	80 a0 60 01 	cmp  %g1, 1                                    
 20189b4:	02 80 00 05 	be  20189c8 <_Timer_server_Body+0xe8>          
 20189b8:	90 10 00 1a 	mov  %i2, %o0                                  
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 20189bc:	80 a0 60 03 	cmp  %g1, 3                                    
 20189c0:	12 bf ff f5 	bne  2018994 <_Timer_server_Body+0xb4>         <== NEVER TAKEN
 20189c4:	90 10 00 1d 	mov  %i5, %o0                                  
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 20189c8:	40 00 11 e7 	call  201d164 <_Watchdog_Insert>               
 20189cc:	92 02 60 10 	add  %o1, 0x10, %o1                            
 20189d0:	30 bf ff f1 	b,a   2018994 <_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 );                                            
 20189d4:	7f ff de df 	call  2010550 <sparc_disable_interrupts>       
 20189d8:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 20189dc:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 20189e0:	80 a0 40 11 	cmp  %g1, %l1                                  
 20189e4:	12 80 00 0a 	bne  2018a0c <_Timer_server_Body+0x12c>        <== NEVER TAKEN
 20189e8:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
 20189ec:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 20189f0:	7f ff de dc 	call  2010560 <sparc_enable_interrupts>        
 20189f4:	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 ) ) {                          
 20189f8:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 20189fc:	80 a0 40 1b 	cmp  %g1, %i3                                  
 2018a00:	12 80 00 06 	bne  2018a18 <_Timer_server_Body+0x138>        
 2018a04:	01 00 00 00 	nop                                            
 2018a08:	30 80 00 18 	b,a   2018a68 <_Timer_server_Body+0x188>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 2018a0c:	7f ff de d5 	call  2010560 <sparc_enable_interrupts>        <== NOT EXECUTED
 2018a10:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2018a14:	30 bf ff c5 	b,a   2018928 <_Timer_server_Body+0x48>        <== 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 );                                        
 2018a18:	7f ff de ce 	call  2010550 <sparc_disable_interrupts>       
 2018a1c:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2018a20:	e8 07 bf f4 	ld  [ %fp + -12 ], %l4                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 2018a24:	80 a5 00 1b 	cmp  %l4, %i3                                  
 2018a28:	02 80 00 0d 	be  2018a5c <_Timer_server_Body+0x17c>         
 2018a2c:	01 00 00 00 	nop                                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
 2018a30:	c2 05 00 00 	ld  [ %l4 ], %g1                               
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
 2018a34:	f8 20 60 04 	st  %i4, [ %g1 + 4 ]                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
 2018a38:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
 2018a3c:	c0 25 20 08 	clr  [ %l4 + 8 ]                               
          _ISR_Enable( level );                                       
 2018a40:	7f ff de c8 	call  2010560 <sparc_enable_interrupts>        
 2018a44:	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 );    
 2018a48:	c2 05 20 1c 	ld  [ %l4 + 0x1c ], %g1                        
 2018a4c:	d0 05 20 20 	ld  [ %l4 + 0x20 ], %o0                        
 2018a50:	9f c0 40 00 	call  %g1                                      
 2018a54:	d2 05 20 24 	ld  [ %l4 + 0x24 ], %o1                        
      }                                                               
 2018a58:	30 bf ff f0 	b,a   2018a18 <_Timer_server_Body+0x138>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 2018a5c:	7f ff de c1 	call  2010560 <sparc_enable_interrupts>        
 2018a60:	01 00 00 00 	nop                                            
 2018a64:	30 bf ff af 	b,a   2018920 <_Timer_server_Body+0x40>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 2018a68:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
 2018a6c:	7f ff ff 6e 	call  2018824 <_Thread_Disable_dispatch>       
 2018a70:	01 00 00 00 	nop                                            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 2018a74:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2018a78:	40 00 10 40 	call  201cb78 <_Thread_Set_state>              
 2018a7c:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 2018a80:	7f ff ff 70 	call  2018840 <_Timer_server_Reset_interval_system_watchdog>
 2018a84:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 2018a88:	7f ff ff 82 	call  2018890 <_Timer_server_Reset_tod_system_watchdog>
 2018a8c:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 2018a90:	40 00 0d e4 	call  201c220 <_Thread_Enable_dispatch>        
 2018a94:	01 00 00 00 	nop                                            
                                                                      
      ts->active = true;                                              
 2018a98:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2018a9c:	90 10 00 10 	mov  %l0, %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;                                              
 2018aa0:	c2 2e 20 7c 	stb  %g1, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2018aa4:	40 00 12 0a 	call  201d2cc <_Watchdog_Remove>               
 2018aa8:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2018aac:	40 00 12 08 	call  201d2cc <_Watchdog_Remove>               
 2018ab0:	90 10 00 19 	mov  %i1, %o0                                  
 2018ab4:	30 bf ff 9b 	b,a   2018920 <_Timer_server_Body+0x40>        
                                                                      

02018ab8 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
 2018ab8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( ts->insert_chain == NULL ) {                                   
 2018abc:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
 2018ac0:	80 a0 60 00 	cmp  %g1, 0                                    
 2018ac4:	12 80 00 4e 	bne  2018bfc <_Timer_server_Schedule_operation_method+0x144>
 2018ac8:	ba 10 00 19 	mov  %i1, %i5                                  
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
 2018acc:	7f ff ff 56 	call  2018824 <_Thread_Disable_dispatch>       
 2018ad0:	01 00 00 00 	nop                                            
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
 2018ad4:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
 2018ad8:	80 a0 60 01 	cmp  %g1, 1                                    
 2018adc:	12 80 00 1f 	bne  2018b58 <_Timer_server_Schedule_operation_method+0xa0>
 2018ae0:	80 a0 60 03 	cmp  %g1, 3                                    
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 2018ae4:	7f ff de 9b 	call  2010550 <sparc_disable_interrupts>       
 2018ae8:	01 00 00 00 	nop                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
 2018aec:	03 00 80 f3 	sethi  %hi(0x203cc00), %g1                     
 2018af0:	c4 00 61 60 	ld  [ %g1 + 0x160 ], %g2	! 203cd60 <_Watchdog_Ticks_since_boot>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2018af4:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
 2018af8:	c8 06 20 3c 	ld  [ %i0 + 0x3c ], %g4                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2018afc:	86 06 20 34 	add  %i0, 0x34, %g3                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
 2018b00:	80 a0 40 03 	cmp  %g1, %g3                                  
 2018b04:	02 80 00 08 	be  2018b24 <_Timer_server_Schedule_operation_method+0x6c>
 2018b08:	88 20 80 04 	sub  %g2, %g4, %g4                             
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
 2018b0c:	f8 00 60 10 	ld  [ %g1 + 0x10 ], %i4                        
      if (delta_interval > delta) {                                   
 2018b10:	80 a7 00 04 	cmp  %i4, %g4                                  
 2018b14:	08 80 00 03 	bleu  2018b20 <_Timer_server_Schedule_operation_method+0x68>
 2018b18:	86 10 20 00 	clr  %g3                                       
        delta_interval -= delta;                                      
 2018b1c:	86 27 00 04 	sub  %i4, %g4, %g3                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 2018b20:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
 2018b24:	c4 26 20 3c 	st  %g2, [ %i0 + 0x3c ]                        
    _ISR_Enable( level );                                             
 2018b28:	7f ff de 8e 	call  2010560 <sparc_enable_interrupts>        
 2018b2c:	01 00 00 00 	nop                                            
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 2018b30:	90 06 20 30 	add  %i0, 0x30, %o0                            
 2018b34:	40 00 11 8c 	call  201d164 <_Watchdog_Insert>               
 2018b38:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 2018b3c:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 2018b40:	80 a0 60 00 	cmp  %g1, 0                                    
 2018b44:	12 80 00 2c 	bne  2018bf4 <_Timer_server_Schedule_operation_method+0x13c>
 2018b48:	01 00 00 00 	nop                                            
      _Timer_server_Reset_interval_system_watchdog( ts );             
 2018b4c:	7f ff ff 3d 	call  2018840 <_Timer_server_Reset_interval_system_watchdog>
 2018b50:	90 10 00 18 	mov  %i0, %o0                                  
 2018b54:	30 80 00 28 	b,a   2018bf4 <_Timer_server_Schedule_operation_method+0x13c>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 2018b58:	12 80 00 27 	bne  2018bf4 <_Timer_server_Schedule_operation_method+0x13c>
 2018b5c:	01 00 00 00 	nop                                            
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 2018b60:	7f ff de 7c 	call  2010550 <sparc_disable_interrupts>       
 2018b64:	01 00 00 00 	nop                                            
 2018b68:	b8 10 00 08 	mov  %o0, %i4                                  
 2018b6c:	03 00 80 f3 	sethi  %hi(0x203cc00), %g1                     
 2018b70:	d0 18 60 e0 	ldd  [ %g1 + 0xe0 ], %o0	! 203cce0 <_TOD_Now>  
 2018b74:	94 10 20 00 	clr  %o2                                       
 2018b78:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2018b7c:	40 00 4e ef 	call  202c738 <__divdi3>                       
 2018b80:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2018b84:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
 2018b88:	c8 06 20 74 	ld  [ %i0 + 0x74 ], %g4                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2018b8c:	84 06 20 6c 	add  %i0, 0x6c, %g2                            
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
 2018b90:	80 a0 40 02 	cmp  %g1, %g2                                  
 2018b94:	02 80 00 0c 	be  2018bc4 <_Timer_server_Schedule_operation_method+0x10c>
 2018b98:	80 a2 40 04 	cmp  %o1, %g4                                  
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
 2018b9c:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
 2018ba0:	84 00 c0 04 	add  %g3, %g4, %g2                             
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
 2018ba4:	08 80 00 07 	bleu  2018bc0 <_Timer_server_Schedule_operation_method+0x108>
 2018ba8:	84 20 80 09 	sub  %g2, %o1, %g2                             
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
 2018bac:	88 22 40 04 	sub  %o1, %g4, %g4                             
        if (delta_interval > delta) {                                 
 2018bb0:	80 a0 c0 04 	cmp  %g3, %g4                                  
 2018bb4:	08 80 00 03 	bleu  2018bc0 <_Timer_server_Schedule_operation_method+0x108><== NEVER TAKEN
 2018bb8:	84 10 20 00 	clr  %g2                                       
          delta_interval -= delta;                                    
 2018bbc:	84 20 c0 04 	sub  %g3, %g4, %g2                             
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 2018bc0:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
 2018bc4:	d2 26 20 74 	st  %o1, [ %i0 + 0x74 ]                        
    _ISR_Enable( level );                                             
 2018bc8:	7f ff de 66 	call  2010560 <sparc_enable_interrupts>        
 2018bcc:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 2018bd0:	90 06 20 68 	add  %i0, 0x68, %o0                            
 2018bd4:	40 00 11 64 	call  201d164 <_Watchdog_Insert>               
 2018bd8:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 2018bdc:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 2018be0:	80 a0 60 00 	cmp  %g1, 0                                    
 2018be4:	12 80 00 04 	bne  2018bf4 <_Timer_server_Schedule_operation_method+0x13c>
 2018be8:	01 00 00 00 	nop                                            
      _Timer_server_Reset_tod_system_watchdog( ts );                  
 2018bec:	7f ff ff 29 	call  2018890 <_Timer_server_Reset_tod_system_watchdog>
 2018bf0:	90 10 00 18 	mov  %i0, %o0                                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 2018bf4:	40 00 0d 8b 	call  201c220 <_Thread_Enable_dispatch>        
 2018bf8:	81 e8 00 00 	restore                                        
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
 2018bfc:	f0 06 20 78 	ld  [ %i0 + 0x78 ], %i0                        
 2018c00:	40 00 02 36 	call  20194d8 <_Chain_Append>                  
 2018c04:	81 e8 00 00 	restore                                        
                                                                      

0200c7a4 <_Timespec_Add_to>: uint32_t _Timespec_Add_to( struct timespec *time, const struct timespec *add ) {
 200c7a4:	82 10 00 08 	mov  %o0, %g1                                  
  uint32_t seconds = add->tv_sec;                                     
 200c7a8:	d0 02 40 00 	ld  [ %o1 ], %o0                               
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 200c7ac:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  time->tv_nsec += add->tv_nsec;                                      
 200c7b0:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 200c7b4:	84 00 80 08 	add  %g2, %o0, %g2                             
 200c7b8:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  time->tv_nsec += add->tv_nsec;                                      
 200c7bc:	c4 02 60 04 	ld  [ %o1 + 4 ], %g2                           
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200c7c0:	09 0e e6 b2 	sethi  %hi(0x3b9ac800), %g4                    
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
 200c7c4:	84 00 c0 02 	add  %g3, %g2, %g2                             
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200c7c8:	88 11 21 ff 	or  %g4, 0x1ff, %g4                            
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
 200c7cc:	07 31 19 4d 	sethi  %hi(0xc4653400), %g3                    
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
 200c7d0:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200c7d4:	10 80 00 07 	b  200c7f0 <_Timespec_Add_to+0x4c>             
 200c7d8:	86 10 e2 00 	or  %g3, 0x200, %g3                            
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
 200c7dc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
    time->tv_sec++;                                                   
 200c7e0:	c4 00 40 00 	ld  [ %g1 ], %g2                               <== NOT EXECUTED
    seconds++;                                                        
 200c7e4:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
 200c7e8:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 200c7ec:	c4 20 40 00 	st  %g2, [ %g1 ]                               <== NOT EXECUTED
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200c7f0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200c7f4:	80 a0 80 04 	cmp  %g2, %g4                                  
 200c7f8:	18 bf ff f9 	bgu  200c7dc <_Timespec_Add_to+0x38>           <== NEVER TAKEN
 200c7fc:	84 00 80 03 	add  %g2, %g3, %g2                             
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
 200c800:	81 c3 e0 08 	retl                                           
                                                                      

0200a544 <_Timespec_Divide>: const struct timespec *lhs, const struct timespec *rhs, uint32_t *ival_percentage, uint32_t *fval_percentage ) {
 200a544:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a548:	d6 06 40 00 	ld  [ %i1 ], %o3                               
  const struct timespec *lhs,                                         
  const struct timespec *rhs,                                         
  uint32_t              *ival_percentage,                             
  uint32_t              *fval_percentage                              
)                                                                     
{                                                                     
 200a54c:	a0 10 00 1a 	mov  %i2, %l0                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a550:	95 3a e0 1f 	sra  %o3, 0x1f, %o2                            
 200a554:	b9 2a a0 03 	sll  %o2, 3, %i4                               
 200a558:	87 2a e0 03 	sll  %o3, 3, %g3                               
 200a55c:	b5 32 e0 1d 	srl  %o3, 0x1d, %i2                            
 200a560:	9b 28 e0 05 	sll  %g3, 5, %o5                               
 200a564:	84 16 80 1c 	or  %i2, %i4, %g2                              
 200a568:	b9 30 e0 1b 	srl  %g3, 0x1b, %i4                            
 200a56c:	99 28 a0 05 	sll  %g2, 5, %o4                               
 200a570:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 200a574:	98 17 00 0c 	or  %i4, %o4, %o4                              
 200a578:	84 63 00 02 	subx  %o4, %g2, %g2                            
 200a57c:	b9 30 e0 1a 	srl  %g3, 0x1a, %i4                            
 200a580:	99 28 a0 06 	sll  %g2, 6, %o4                               
 200a584:	9b 28 e0 06 	sll  %g3, 6, %o5                               
 200a588:	98 17 00 0c 	or  %i4, %o4, %o4                              
 200a58c:	9a a3 40 03 	subcc  %o5, %g3, %o5                           
 200a590:	98 63 00 02 	subx  %o4, %g2, %o4                            
 200a594:	96 83 40 0b 	addcc  %o5, %o3, %o3                           
 200a598:	85 32 e0 1e 	srl  %o3, 0x1e, %g2                            
 200a59c:	94 43 00 0a 	addx  %o4, %o2, %o2                            
  const struct timespec *lhs,                                         
  const struct timespec *rhs,                                         
  uint32_t              *ival_percentage,                             
  uint32_t              *fval_percentage                              
)                                                                     
{                                                                     
 200a5a0:	a2 10 00 1b 	mov  %i3, %l1                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a5a4:	b5 2a a0 02 	sll  %o2, 2, %i2                               
 200a5a8:	b7 2a e0 02 	sll  %o3, 2, %i3                               
 200a5ac:	b4 10 80 1a 	or  %g2, %i2, %i2                              
 200a5b0:	96 82 c0 1b 	addcc  %o3, %i3, %o3                           
 200a5b4:	94 42 80 1a 	addx  %o2, %i2, %o2                            
 200a5b8:	85 32 e0 1e 	srl  %o3, 0x1e, %g2                            
 200a5bc:	b9 2a a0 02 	sll  %o2, 2, %i4                               
 200a5c0:	bb 2a e0 02 	sll  %o3, 2, %i5                               
 200a5c4:	b8 10 80 1c 	or  %g2, %i4, %i4                              
 200a5c8:	96 82 c0 1d 	addcc  %o3, %i5, %o3                           
 200a5cc:	94 42 80 1c 	addx  %o2, %i4, %o2                            
 200a5d0:	85 32 e0 1e 	srl  %o3, 0x1e, %g2                            
 200a5d4:	b9 2a a0 02 	sll  %o2, 2, %i4                               
 200a5d8:	bb 2a e0 02 	sll  %o3, 2, %i5                               
 200a5dc:	b8 10 80 1c 	or  %g2, %i4, %i4                              
 200a5e0:	96 82 c0 1d 	addcc  %o3, %i5, %o3                           
 200a5e4:	94 42 80 1c 	addx  %o2, %i4, %o2                            
 200a5e8:	87 2a a0 09 	sll  %o2, 9, %g3                               
 200a5ec:	b9 32 e0 17 	srl  %o3, 0x17, %i4                            
 200a5f0:	94 17 00 03 	or  %i4, %g3, %o2                              
  right += rhs->tv_nsec;                                              
 200a5f4:	c6 06 60 04 	ld  [ %i1 + 4 ], %g3                           
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a5f8:	85 2a e0 09 	sll  %o3, 9, %g2                               
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a5fc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  left  += lhs->tv_nsec;                                              
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a600:	96 10 00 02 	mov  %g2, %o3                                  
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  left  += lhs->tv_nsec;                                              
 200a604:	c8 06 20 04 	ld  [ %i0 + 4 ], %g4                           
  right  = rhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
  right += rhs->tv_nsec;                                              
 200a608:	b2 82 c0 03 	addcc  %o3, %g3, %i1                           
 200a60c:	85 38 e0 1f 	sra  %g3, 0x1f, %g2                            
 200a610:	b0 42 80 02 	addx  %o2, %g2, %i0                            
                                                                      
  if ( right == 0 ) {                                                 
 200a614:	80 96 00 19 	orcc  %i0, %i1, %g0                            
 200a618:	32 80 00 06 	bne,a   200a630 <_Timespec_Divide+0xec>        <== NEVER TAKEN
 200a61c:	96 10 00 01 	mov  %g1, %o3                                  <== NOT EXECUTED
    *ival_percentage = 0;                                             
 200a620:	c0 24 00 00 	clr  [ %l0 ]                                   
    *fval_percentage = 0;                                             
 200a624:	c0 24 40 00 	clr  [ %l1 ]                                   
    return;                                                           
 200a628:	81 c7 e0 08 	ret                                            
 200a62c:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a630:	95 38 60 1f 	sra  %g1, 0x1f, %o2                            <== NOT EXECUTED
 200a634:	b9 30 60 1d 	srl  %g1, 0x1d, %i4                            <== NOT EXECUTED
 200a638:	83 2a a0 03 	sll  %o2, 3, %g1                               <== NOT EXECUTED
 200a63c:	87 2a e0 03 	sll  %o3, 3, %g3                               <== NOT EXECUTED
 200a640:	84 17 00 01 	or  %i4, %g1, %g2                              <== NOT EXECUTED
 200a644:	83 30 e0 1b 	srl  %g3, 0x1b, %g1                            <== NOT EXECUTED
 200a648:	99 28 a0 05 	sll  %g2, 5, %o4                               <== NOT EXECUTED
 200a64c:	9b 28 e0 05 	sll  %g3, 5, %o5                               <== NOT EXECUTED
 200a650:	98 10 40 0c 	or  %g1, %o4, %o4                              <== NOT EXECUTED
 200a654:	9a a3 40 03 	subcc  %o5, %g3, %o5                           <== NOT EXECUTED
 200a658:	83 33 60 1a 	srl  %o5, 0x1a, %g1                            <== NOT EXECUTED
 200a65c:	98 63 00 02 	subx  %o4, %g2, %o4                            <== NOT EXECUTED
 200a660:	87 2b 60 06 	sll  %o5, 6, %g3                               <== NOT EXECUTED
 200a664:	85 2b 20 06 	sll  %o4, 6, %g2                               <== NOT EXECUTED
 200a668:	92 a0 c0 0d 	subcc  %g3, %o5, %o1                           <== NOT EXECUTED
 200a66c:	84 10 40 02 	or  %g1, %g2, %g2                              <== NOT EXECUTED
 200a670:	90 60 80 0c 	subx  %g2, %o4, %o0                            <== NOT EXECUTED
 200a674:	92 82 40 0b 	addcc  %o1, %o3, %o1                           <== NOT EXECUTED
 200a678:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            <== NOT EXECUTED
 200a67c:	90 42 00 0a 	addx  %o0, %o2, %o0                            <== NOT EXECUTED
 200a680:	b7 2a 60 02 	sll  %o1, 2, %i3                               <== NOT EXECUTED
 200a684:	b5 2a 20 02 	sll  %o0, 2, %i2                               <== NOT EXECUTED
 200a688:	92 82 40 1b 	addcc  %o1, %i3, %o1                           <== NOT EXECUTED
 200a68c:	b4 10 40 1a 	or  %g1, %i2, %i2                              <== NOT EXECUTED
 200a690:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            <== NOT EXECUTED
 200a694:	90 42 00 1a 	addx  %o0, %i2, %o0                            <== NOT EXECUTED
 200a698:	bb 2a 60 02 	sll  %o1, 2, %i5                               <== NOT EXECUTED
 200a69c:	b9 2a 20 02 	sll  %o0, 2, %i4                               <== NOT EXECUTED
 200a6a0:	92 82 40 1d 	addcc  %o1, %i5, %o1                           <== NOT EXECUTED
 200a6a4:	b8 10 40 1c 	or  %g1, %i4, %i4                              <== NOT EXECUTED
 200a6a8:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            <== NOT EXECUTED
 200a6ac:	90 42 00 1c 	addx  %o0, %i4, %o0                            <== NOT EXECUTED
 200a6b0:	bb 2a 60 02 	sll  %o1, 2, %i5                               <== NOT EXECUTED
 200a6b4:	b9 2a 20 02 	sll  %o0, 2, %i4                               <== NOT EXECUTED
 200a6b8:	92 82 40 1d 	addcc  %o1, %i5, %o1                           <== NOT EXECUTED
 200a6bc:	b8 10 40 1c 	or  %g1, %i4, %i4                              <== NOT EXECUTED
 200a6c0:	83 2a 60 09 	sll  %o1, 9, %g1                               <== NOT EXECUTED
 200a6c4:	90 42 00 1c 	addx  %o0, %i4, %o0                            <== NOT EXECUTED
  left  += lhs->tv_nsec;                                              
 200a6c8:	95 39 20 1f 	sra  %g4, 0x1f, %o2                            <== NOT EXECUTED
 200a6cc:	96 80 40 04 	addcc  %g1, %g4, %o3                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  For math simplicity just convert the timespec to nanoseconds    
   *  in a 64-bit integer.                                            
   */                                                                 
  left   = lhs->tv_sec * (uint64_t)TOD_NANOSECONDS_PER_SECOND;        
 200a6d0:	87 32 60 17 	srl  %o1, 0x17, %g3                            <== NOT EXECUTED
 200a6d4:	85 2a 20 09 	sll  %o0, 9, %g2                               <== NOT EXECUTED
 200a6d8:	90 10 c0 02 	or  %g3, %g2, %o0                              <== NOT EXECUTED
  left  += lhs->tv_nsec;                                              
 200a6dc:	94 42 00 0a 	addx  %o0, %o2, %o2                            <== NOT EXECUTED
   *  Put it back in the timespec result.                             
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
 200a6e0:	83 2a a0 02 	sll  %o2, 2, %g1                               <== NOT EXECUTED
 200a6e4:	9b 2a e0 02 	sll  %o3, 2, %o5                               <== NOT EXECUTED
 200a6e8:	85 32 e0 1e 	srl  %o3, 0x1e, %g2                            <== NOT EXECUTED
 200a6ec:	98 10 80 01 	or  %g2, %g1, %o4                              <== NOT EXECUTED
 200a6f0:	83 33 60 1b 	srl  %o5, 0x1b, %g1                            <== NOT EXECUTED
 200a6f4:	85 2b 20 05 	sll  %o4, 5, %g2                               <== NOT EXECUTED
 200a6f8:	87 2b 60 05 	sll  %o5, 5, %g3                               <== NOT EXECUTED
 200a6fc:	84 10 40 02 	or  %g1, %g2, %g2                              <== NOT EXECUTED
 200a700:	86 a0 c0 0d 	subcc  %g3, %o5, %g3                           <== NOT EXECUTED
 200a704:	84 60 80 0c 	subx  %g2, %o4, %g2                            <== NOT EXECUTED
 200a708:	96 80 c0 0b 	addcc  %g3, %o3, %o3                           <== NOT EXECUTED
 200a70c:	83 32 e0 1e 	srl  %o3, 0x1e, %g1                            <== NOT EXECUTED
 200a710:	94 40 80 0a 	addx  %g2, %o2, %o2                            <== NOT EXECUTED
 200a714:	bb 2a e0 02 	sll  %o3, 2, %i5                               <== NOT EXECUTED
 200a718:	b9 2a a0 02 	sll  %o2, 2, %i4                               <== NOT EXECUTED
 200a71c:	ba 82 c0 1d 	addcc  %o3, %i5, %i5                           <== NOT EXECUTED
 200a720:	b8 10 40 1c 	or  %g1, %i4, %i4                              <== NOT EXECUTED
 200a724:	83 37 60 1e 	srl  %i5, 0x1e, %g1                            <== NOT EXECUTED
 200a728:	b8 42 80 1c 	addx  %o2, %i4, %i4                            <== NOT EXECUTED
 200a72c:	93 2f 60 02 	sll  %i5, 2, %o1                               <== NOT EXECUTED
 200a730:	91 2f 20 02 	sll  %i4, 2, %o0                               <== NOT EXECUTED
 200a734:	92 87 40 09 	addcc  %i5, %o1, %o1                           <== NOT EXECUTED
 200a738:	90 10 40 08 	or  %g1, %o0, %o0                              <== NOT EXECUTED
 200a73c:	87 32 60 1b 	srl  %o1, 0x1b, %g3                            <== NOT EXECUTED
 200a740:	90 47 00 08 	addx  %i4, %o0, %o0                            <== NOT EXECUTED
 200a744:	83 2a 60 05 	sll  %o1, 5, %g1                               <== NOT EXECUTED
 200a748:	85 2a 20 05 	sll  %o0, 5, %g2                               <== NOT EXECUTED
 200a74c:	92 10 00 01 	mov  %g1, %o1                                  <== NOT EXECUTED
 200a750:	90 10 c0 02 	or  %g3, %g2, %o0                              <== NOT EXECUTED
 200a754:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 200a758:	40 00 3a 49 	call  201907c <__udivdi3>                      <== NOT EXECUTED
 200a75c:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
                                                                      
  *ival_percentage = answer / 1000;                                   
 200a760:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
   *  Put it back in the timespec result.                             
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
 200a764:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
 200a768:	b8 10 00 09 	mov  %o1, %i4                                  <== NOT EXECUTED
                                                                      
  *ival_percentage = answer / 1000;                                   
 200a76c:	40 00 3a 44 	call  201907c <__udivdi3>                      <== NOT EXECUTED
 200a770:	96 10 23 e8 	mov  0x3e8, %o3                                <== NOT EXECUTED
  *fval_percentage = answer % 1000;                                   
 200a774:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (left * 100000) / right;                                   
                                                                      
  *ival_percentage = answer / 1000;                                   
 200a778:	d2 24 00 00 	st  %o1, [ %l0 ]                               <== NOT EXECUTED
  *fval_percentage = answer % 1000;                                   
 200a77c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200a780:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200a784:	40 00 3b 13 	call  20193d0 <__umoddi3>                      <== NOT EXECUTED
 200a788:	96 10 23 e8 	mov  0x3e8, %o3                                <== NOT EXECUTED
 200a78c:	d2 24 40 00 	st  %o1, [ %l1 ]                               <== NOT EXECUTED
 200a790:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a794:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200c540 <_Timestamp64_Divide>: const Timestamp64_Control *_lhs, const Timestamp64_Control *_rhs, uint32_t *_ival_percentage, uint32_t *_fval_percentage ) {
 200c540:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
 200c544:	d4 1e 40 00 	ldd  [ %i1 ], %o2                              
  const Timestamp64_Control *_lhs,                                    
  const Timestamp64_Control *_rhs,                                    
  uint32_t                  *_ival_percentage,                        
  uint32_t                  *_fval_percentage                         
)                                                                     
{                                                                     
 200c548:	a2 10 00 1a 	mov  %i2, %l1                                  
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
 200c54c:	80 92 80 0b 	orcc  %o2, %o3, %g0                            
 200c550:	12 80 00 06 	bne  200c568 <_Timestamp64_Divide+0x28>        <== ALWAYS TAKEN
 200c554:	a0 10 00 1b 	mov  %i3, %l0                                  
    *_ival_percentage = 0;                                            
 200c558:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
    *_fval_percentage = 0;                                            
 200c55c:	c0 26 c0 00 	clr  [ %i3 ]                                   <== NOT EXECUTED
    return;                                                           
 200c560:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200c564:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
 200c568:	d0 1e 00 00 	ldd  [ %i0 ], %o0                              
 200c56c:	83 2a 20 02 	sll  %o0, 2, %g1                               
 200c570:	89 32 60 1e 	srl  %o1, 0x1e, %g4                            
 200c574:	87 2a 60 02 	sll  %o1, 2, %g3                               
 200c578:	84 11 00 01 	or  %g4, %g1, %g2                              
 200c57c:	83 30 e0 1b 	srl  %g3, 0x1b, %g1                            
 200c580:	9b 28 e0 05 	sll  %g3, 5, %o5                               
 200c584:	99 28 a0 05 	sll  %g2, 5, %o4                               
 200c588:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 200c58c:	98 10 40 0c 	or  %g1, %o4, %o4                              
 200c590:	84 63 00 02 	subx  %o4, %g2, %g2                            
 200c594:	92 80 c0 09 	addcc  %g3, %o1, %o1                           
 200c598:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            
 200c59c:	90 40 80 08 	addx  %g2, %o0, %o0                            
 200c5a0:	b7 2a 60 02 	sll  %o1, 2, %i3                               
 200c5a4:	b5 2a 20 02 	sll  %o0, 2, %i2                               
 200c5a8:	b6 82 40 1b 	addcc  %o1, %i3, %i3                           
 200c5ac:	b4 10 40 1a 	or  %g1, %i2, %i2                              
 200c5b0:	83 36 e0 1e 	srl  %i3, 0x1e, %g1                            
 200c5b4:	b4 42 00 1a 	addx  %o0, %i2, %i2                            
 200c5b8:	bb 2e e0 02 	sll  %i3, 2, %i5                               
 200c5bc:	b9 2e a0 02 	sll  %i2, 2, %i4                               
 200c5c0:	92 86 c0 1d 	addcc  %i3, %i5, %o1                           
 200c5c4:	b8 10 40 1c 	or  %g1, %i4, %i4                              
 200c5c8:	87 32 60 1b 	srl  %o1, 0x1b, %g3                            
 200c5cc:	90 46 80 1c 	addx  %i2, %i4, %o0                            
 200c5d0:	83 2a 60 05 	sll  %o1, 5, %g1                               
 200c5d4:	85 2a 20 05 	sll  %o0, 5, %g2                               
 200c5d8:	92 10 00 01 	mov  %g1, %o1                                  
 200c5dc:	40 00 3a 0d 	call  201ae10 <__divdi3>                       
 200c5e0:	90 10 c0 02 	or  %g3, %g2, %o0                              
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200c5e4:	94 10 20 00 	clr  %o2                                       
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
 200c5e8:	b4 10 00 08 	mov  %o0, %i2                                  
 200c5ec:	b8 10 00 09 	mov  %o1, %i4                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200c5f0:	40 00 3a 08 	call  201ae10 <__divdi3>                       
 200c5f4:	96 10 23 e8 	mov  0x3e8, %o3                                
  *_fval_percentage = answer % 1000;                                  
 200c5f8:	90 10 00 1a 	mov  %i2, %o0                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200c5fc:	d2 24 40 00 	st  %o1, [ %l1 ]                               
  *_fval_percentage = answer % 1000;                                  
 200c600:	94 10 20 00 	clr  %o2                                       
 200c604:	92 10 00 1c 	mov  %i4, %o1                                  
 200c608:	40 00 3a e8 	call  201b1a8 <__moddi3>                       
 200c60c:	96 10 23 e8 	mov  0x3e8, %o3                                
 200c610:	d2 24 00 00 	st  %o1, [ %l0 ]                               
 200c614:	81 c7 e0 08 	ret                                            
 200c618:	81 e8 00 00 	restore                                        
                                                                      

0200abd8 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
 200abd8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
 200abdc:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 200abe0:	82 10 62 2c 	or  %g1, 0x22c, %g1	! 201ce2c <Configuration>  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200abe4:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
  initial_extensions   = Configuration.User_extension_table;          
 200abe8:	f4 00 60 44 	ld  [ %g1 + 0x44 ], %i2                        
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
 200abec:	f6 00 60 40 	ld  [ %g1 + 0x40 ], %i3                        
 200abf0:	82 10 a1 f8 	or  %g2, 0x1f8, %g1                            
 200abf4:	86 00 60 04 	add  %g1, 4, %g3                               
  head->previous = NULL;                                              
 200abf8:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
  tail->previous = head;                                              
 200abfc:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ac00:	c6 20 a1 f8 	st  %g3, [ %g2 + 0x1f8 ]                       
 200ac04:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 200ac08:	82 10 a0 14 	or  %g2, 0x14, %g1	! 201dc14 <_User_extensions_Switches_list>
 200ac0c:	86 00 60 04 	add  %g1, 4, %g3                               
  head->previous = NULL;                                              
 200ac10:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ac14:	c6 20 a0 14 	st  %g3, [ %g2 + 0x14 ]                        
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
 200ac18:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ac1c:	02 80 00 1b 	be  200ac88 <_User_extensions_Handler_initialization+0xb0><== NEVER TAKEN
 200ac20:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
 200ac24:	83 2e e0 02 	sll  %i3, 2, %g1                               
 200ac28:	bb 2e e0 04 	sll  %i3, 4, %i5                               
 200ac2c:	ba 27 40 01 	sub  %i5, %g1, %i5                             
 200ac30:	ba 07 40 1b 	add  %i5, %i3, %i5                             
 200ac34:	bb 2f 60 02 	sll  %i5, 2, %i5                               
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 200ac38:	40 00 01 6c 	call  200b1e8 <_Workspace_Allocate_or_fatal_error>
 200ac3c:	90 10 00 1d 	mov  %i5, %o0                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 200ac40:	94 10 00 1d 	mov  %i5, %o2                                  
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 200ac44:	b8 10 00 08 	mov  %o0, %i4                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 200ac48:	92 10 20 00 	clr  %o1                                       
 200ac4c:	40 00 15 a2 	call  20102d4 <memset>                         
 200ac50:	ba 10 20 00 	clr  %i5                                       
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 200ac54:	10 80 00 0b 	b  200ac80 <_User_extensions_Handler_initialization+0xa8>
 200ac58:	80 a7 40 1b 	cmp  %i5, %i3                                  
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 200ac5c:	90 07 20 14 	add  %i4, 0x14, %o0                            
 200ac60:	92 06 80 09 	add  %i2, %o1, %o1                             
 200ac64:	40 00 15 60 	call  20101e4 <memcpy>                         
 200ac68:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
  _User_extensions_Add_set( extension );                              
 200ac6c:	90 10 00 1c 	mov  %i4, %o0                                  
 200ac70:	40 00 0c 95 	call  200dec4 <_User_extensions_Add_set>       
 200ac74:	ba 07 60 01 	inc  %i5                                       
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
 200ac78:	b8 07 20 34 	add  %i4, 0x34, %i4                            
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 200ac7c:	80 a7 40 1b 	cmp  %i5, %i3                                  
 200ac80:	12 bf ff f7 	bne  200ac5c <_User_extensions_Handler_initialization+0x84>
 200ac84:	93 2f 60 05 	sll  %i5, 5, %o1                               
 200ac88:	81 c7 e0 08 	ret                                            
 200ac8c:	81 e8 00 00 	restore                                        
                                                                      

0200c90c <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200c90c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200c910:	7f ff da d6 	call  2003468 <sparc_disable_interrupts>       
 200c914:	ba 10 00 18 	mov  %i0, %i5                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200c918:	c2 06 00 00 	ld  [ %i0 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200c91c:	b8 06 20 04 	add  %i0, 4, %i4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
 200c920:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200c924:	02 80 00 1f 	be  200c9a0 <_Watchdog_Adjust+0x94>            
 200c928:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200c92c:	02 80 00 1a 	be  200c994 <_Watchdog_Adjust+0x88>            
 200c930:	b6 10 20 01 	mov  1, %i3                                    
 200c934:	80 a6 60 01 	cmp  %i1, 1                                    
 200c938:	12 80 00 1a 	bne  200c9a0 <_Watchdog_Adjust+0x94>           <== NEVER TAKEN
 200c93c:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200c940:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200c944:	10 80 00 07 	b  200c960 <_Watchdog_Adjust+0x54>             
 200c948:	b4 00 80 1a 	add  %g2, %i2, %i2                             
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200c94c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200c950:	80 a6 80 02 	cmp  %i2, %g2                                  
 200c954:	3a 80 00 05 	bcc,a   200c968 <_Watchdog_Adjust+0x5c>        
 200c958:	f6 20 60 10 	st  %i3, [ %g1 + 0x10 ]                        
            _Watchdog_First( header )->delta_interval -= units;       
 200c95c:	b4 20 80 1a 	sub  %g2, %i2, %i2                             
            break;                                                    
 200c960:	10 80 00 10 	b  200c9a0 <_Watchdog_Adjust+0x94>             
 200c964:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
 200c968:	b4 26 80 02 	sub  %i2, %g2, %i2                             
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
 200c96c:	7f ff da c3 	call  2003478 <sparc_enable_interrupts>        
 200c970:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200c974:	40 00 00 90 	call  200cbb4 <_Watchdog_Tickle>               
 200c978:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200c97c:	7f ff da bb 	call  2003468 <sparc_disable_interrupts>       
 200c980:	01 00 00 00 	nop                                            
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200c984:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200c988:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200c98c:	02 80 00 05 	be  200c9a0 <_Watchdog_Adjust+0x94>            
 200c990:	01 00 00 00 	nop                                            
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200c994:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c998:	32 bf ff ed 	bne,a   200c94c <_Watchdog_Adjust+0x40>        <== ALWAYS TAKEN
 200c99c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200c9a0:	7f ff da b6 	call  2003478 <sparc_enable_interrupts>        
 200c9a4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200aff0 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 200aff0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 200aff4:	7f ff dd 7e 	call  20025ec <sparc_disable_interrupts>       
 200aff8:	ba 10 00 18 	mov  %i0, %i5                                  
  previous_state = the_watchdog->state;                               
 200affc:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           
  switch ( previous_state ) {                                         
 200b000:	80 a6 20 01 	cmp  %i0, 1                                    
 200b004:	22 80 00 1d 	be,a   200b078 <_Watchdog_Remove+0x88>         
 200b008:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
 200b00c:	0a 80 00 1c 	bcs  200b07c <_Watchdog_Remove+0x8c>           
 200b010:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200b014:	80 a6 20 03 	cmp  %i0, 3                                    
 200b018:	18 80 00 19 	bgu  200b07c <_Watchdog_Remove+0x8c>           <== NEVER TAKEN
 200b01c:	01 00 00 00 	nop                                            
 200b020:	c2 07 40 00 	ld  [ %i5 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 200b024:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 200b028:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200b02c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b030:	02 80 00 07 	be  200b04c <_Watchdog_Remove+0x5c>            
 200b034:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 200b038:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 200b03c:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 200b040:	84 00 c0 02 	add  %g3, %g2, %g2                             
 200b044:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 200b048:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 200b04c:	c4 00 a1 1c 	ld  [ %g2 + 0x11c ], %g2	! 201dd1c <_Watchdog_Sync_count>
 200b050:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b054:	22 80 00 07 	be,a   200b070 <_Watchdog_Remove+0x80>         
 200b058:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 200b05c:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 200b060:	c6 00 a1 58 	ld  [ %g2 + 0x158 ], %g3	! 201e158 <_Per_CPU_Information+0x8>
 200b064:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 200b068:	c6 20 a0 bc 	st  %g3, [ %g2 + 0xbc ]	! 201dcbc <_Watchdog_Sync_level>
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200b06c:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
  next->previous = previous;                                          
 200b070:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  previous->next = next;                                              
 200b074:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200b078:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200b07c:	c2 00 61 20 	ld  [ %g1 + 0x120 ], %g1	! 201dd20 <_Watchdog_Ticks_since_boot>
 200b080:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200b084:	7f ff dd 5e 	call  20025fc <sparc_enable_interrupts>        
 200b088:	01 00 00 00 	nop                                            
  return( previous_state );                                           
}                                                                     
 200b08c:	81 c7 e0 08 	ret                                            
 200b090:	81 e8 00 00 	restore                                        
                                                                      

0200c248 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200c248:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200c24c:	7f ff db 57 	call  2002fa8 <sparc_disable_interrupts>       
 200c250:	ba 10 00 18 	mov  %i0, %i5                                  
 200c254:	b0 10 00 08 	mov  %o0, %i0                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200c258:	11 00 80 76 	sethi  %hi(0x201d800), %o0                     
 200c25c:	94 10 00 19 	mov  %i1, %o2                                  
 200c260:	90 12 21 80 	or  %o0, 0x180, %o0                            
 200c264:	7f ff e3 3e 	call  2004f5c <printk>                         
 200c268:	92 10 00 1d 	mov  %i5, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200c26c:	f8 06 40 00 	ld  [ %i1 ], %i4                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200c270:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200c274:	80 a7 00 19 	cmp  %i4, %i1                                  
 200c278:	12 80 00 04 	bne  200c288 <_Watchdog_Report_chain+0x40>     
 200c27c:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200c280:	10 80 00 0d 	b  200c2b4 <_Watchdog_Report_chain+0x6c>       
 200c284:	11 00 80 76 	sethi  %hi(0x201d800), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200c288:	40 00 00 0f 	call  200c2c4 <_Watchdog_Report>               
 200c28c:	90 10 20 00 	clr  %o0                                       
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
 200c290:	f8 07 00 00 	ld  [ %i4 ], %i4                               
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
 200c294:	80 a7 00 19 	cmp  %i4, %i1                                  
 200c298:	12 bf ff fc 	bne  200c288 <_Watchdog_Report_chain+0x40>     <== NEVER TAKEN
 200c29c:	92 10 00 1c 	mov  %i4, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200c2a0:	11 00 80 76 	sethi  %hi(0x201d800), %o0                     
 200c2a4:	92 10 00 1d 	mov  %i5, %o1                                  
 200c2a8:	7f ff e3 2d 	call  2004f5c <printk>                         
 200c2ac:	90 12 21 98 	or  %o0, 0x198, %o0                            
 200c2b0:	30 80 00 03 	b,a   200c2bc <_Watchdog_Report_chain+0x74>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200c2b4:	7f ff e3 2a 	call  2004f5c <printk>                         
 200c2b8:	90 12 21 a8 	or  %o0, 0x1a8, %o0                            
    }                                                                 
  _ISR_Enable( level );                                               
 200c2bc:	7f ff db 3f 	call  2002fb8 <sparc_enable_interrupts>        
 200c2c0:	81 e8 00 00 	restore                                        
                                                                      

02007978 <aio_cancel>: * operation(s) cannot be canceled */ int aio_cancel(int fildes, struct aiocb *aiocbp) {
 2007978:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
 200797c:	3b 00 80 80 	sethi  %hi(0x2020000), %i5                     
 2007980:	40 00 04 66 	call  2008b18 <pthread_mutex_lock>             
 2007984:	90 17 60 24 	or  %i5, 0x24, %o0	! 2020024 <aio_request_queue>
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
 2007988:	90 10 00 18 	mov  %i0, %o0                                  
 200798c:	40 00 1a ab 	call  200e438 <fcntl>                          
 2007990:	92 10 20 01 	mov  1, %o1                                    
 2007994:	80 a2 20 00 	cmp  %o0, 0                                    
 2007998:	16 80 00 08 	bge  20079b8 <aio_cancel+0x40>                 
 200799c:	80 a6 60 00 	cmp  %i1, 0                                    
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
 20079a0:	40 00 04 7e 	call  2008b98 <pthread_mutex_unlock>           
 20079a4:	90 17 60 24 	or  %i5, 0x24, %o0                             
    rtems_set_errno_and_return_minus_one (EBADF);                     
 20079a8:	40 00 28 7e 	call  2011ba0 <__errno>                        
 20079ac:	01 00 00 00 	nop                                            
 20079b0:	10 80 00 4e 	b  2007ae8 <aio_cancel+0x170>                  
 20079b4:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
  }                                                                   
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
 20079b8:	32 80 00 2f 	bne,a   2007a74 <aio_cancel+0xfc>              
 20079bc:	f8 06 40 00 	ld  [ %i1 ], %i4                               
    AIO_printf ("Cancel all requests\n");                             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
 20079c0:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 20079c4:	92 10 00 18 	mov  %i0, %o1                                  
 20079c8:	90 12 20 6c 	or  %o0, 0x6c, %o0                             
 20079cc:	40 00 01 6f 	call  2007f88 <rtems_aio_search_fd>            
 20079d0:	94 10 20 00 	clr  %o2                                       
    if (r_chain == NULL) {                                            
 20079d4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20079d8:	32 80 00 1a 	bne,a   2007a40 <aio_cancel+0xc8>              
 20079dc:	b2 07 20 1c 	add  %i4, 0x1c, %i1                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 20079e0:	ba 17 60 24 	or  %i5, 0x24, %i5                             
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
 20079e4:	c4 07 60 54 	ld  [ %i5 + 0x54 ], %g2                        
 20079e8:	82 07 60 58 	add  %i5, 0x58, %g1                            
 20079ec:	80 a0 80 01 	cmp  %g2, %g1                                  
 20079f0:	02 80 00 48 	be  2007b10 <aio_cancel+0x198>                 <== NEVER TAKEN
 20079f4:	90 07 60 54 	add  %i5, 0x54, %o0                            
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
 20079f8:	92 10 00 18 	mov  %i0, %o1                                  
 20079fc:	40 00 01 63 	call  2007f88 <rtems_aio_search_fd>            
 2007a00:	94 10 20 00 	clr  %o2                                       
        if (r_chain == NULL) {                                        
 2007a04:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2007a08:	22 80 00 43 	be,a   2007b14 <aio_cancel+0x19c>              
 2007a0c:	90 10 00 1d 	mov  %i5, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 2007a10:	40 00 0a ca 	call  200a538 <_Chain_Extract>                 
 2007a14:	b2 07 20 1c 	add  %i4, 0x1c, %i1                            
        }                                                             
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
 2007a18:	40 00 01 87 	call  2008034 <rtems_aio_remove_fd>            
 2007a1c:	90 10 00 1c 	mov  %i4, %o0                                  
        pthread_mutex_destroy (&r_chain->mutex);                      
 2007a20:	40 00 03 99 	call  2008884 <pthread_mutex_destroy>          
 2007a24:	90 10 00 19 	mov  %i1, %o0                                  
        pthread_cond_destroy (&r_chain->mutex);                       
 2007a28:	40 00 02 be 	call  2008520 <pthread_cond_destroy>           
 2007a2c:	90 10 00 19 	mov  %i1, %o0                                  
        free (r_chain);                                               
 2007a30:	7f ff f0 9e 	call  2003ca8 <free>                           
 2007a34:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
 2007a38:	10 80 00 0b 	b  2007a64 <aio_cancel+0xec>                   
 2007a3c:	90 10 00 1d 	mov  %i5, %o0                                  
      return AIO_ALLDONE;                                             
    }                                                                 
                                                                      
    AIO_printf ("Request chain on [WQ]\n");                           
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
 2007a40:	40 00 04 36 	call  2008b18 <pthread_mutex_lock>             
 2007a44:	90 10 00 19 	mov  %i1, %o0                                  
 2007a48:	40 00 0a bc 	call  200a538 <_Chain_Extract>                 
 2007a4c:	90 10 00 1c 	mov  %i4, %o0                                  
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
 2007a50:	40 00 01 79 	call  2008034 <rtems_aio_remove_fd>            
 2007a54:	90 10 00 1c 	mov  %i4, %o0                                  
    pthread_mutex_unlock (&r_chain->mutex);                           
 2007a58:	40 00 04 50 	call  2008b98 <pthread_mutex_unlock>           
 2007a5c:	90 10 00 19 	mov  %i1, %o0                                  
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
 2007a60:	90 17 60 24 	or  %i5, 0x24, %o0                             
 2007a64:	40 00 04 4d 	call  2008b98 <pthread_mutex_unlock>           
 2007a68:	b0 10 20 00 	clr  %i0                                       
    return AIO_CANCELED;                                              
 2007a6c:	81 c7 e0 08 	ret                                            
 2007a70:	81 e8 00 00 	restore                                        
  } else {                                                            
    AIO_printf ("Cancel request\n");                                  
                                                                      
    if (aiocbp->aio_fildes != fildes) {                               
 2007a74:	80 a7 00 18 	cmp  %i4, %i0                                  
 2007a78:	12 80 00 17 	bne  2007ad4 <aio_cancel+0x15c>                
 2007a7c:	90 17 60 24 	or  %i5, 0x24, %o0                             
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
 2007a80:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 2007a84:	92 10 00 1c 	mov  %i4, %o1                                  
 2007a88:	90 12 20 6c 	or  %o0, 0x6c, %o0                             
 2007a8c:	40 00 01 3f 	call  2007f88 <rtems_aio_search_fd>            
 2007a90:	94 10 20 00 	clr  %o2                                       
    if (r_chain == NULL) {                                            
 2007a94:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007a98:	32 80 00 23 	bne,a   2007b24 <aio_cancel+0x1ac>             
 2007a9c:	b8 06 20 1c 	add  %i0, 0x1c, %i4                            
 2007aa0:	ba 17 60 24 	or  %i5, 0x24, %i5                             
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
 2007aa4:	c4 07 60 54 	ld  [ %i5 + 0x54 ], %g2                        
 2007aa8:	82 07 60 58 	add  %i5, 0x58, %g1                            
 2007aac:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007ab0:	02 80 00 18 	be  2007b10 <aio_cancel+0x198>                 <== NEVER TAKEN
 2007ab4:	90 07 60 54 	add  %i5, 0x54, %o0                            
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
 2007ab8:	92 10 00 1c 	mov  %i4, %o1                                  
 2007abc:	40 00 01 33 	call  2007f88 <rtems_aio_search_fd>            
 2007ac0:	94 10 20 00 	clr  %o2                                       
        if (r_chain == NULL) {                                        
 2007ac4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007ac8:	12 80 00 0b 	bne  2007af4 <aio_cancel+0x17c>                
 2007acc:	92 10 00 19 	mov  %i1, %o1                                  
          pthread_mutex_unlock (&aio_request_queue.mutex);            
 2007ad0:	90 10 00 1d 	mov  %i5, %o0                                  
 2007ad4:	40 00 04 31 	call  2008b98 <pthread_mutex_unlock>           
 2007ad8:	01 00 00 00 	nop                                            
          rtems_set_errno_and_return_minus_one (EINVAL);              
 2007adc:	40 00 28 31 	call  2011ba0 <__errno>                        
 2007ae0:	01 00 00 00 	nop                                            
 2007ae4:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2007ae8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007aec:	81 c7 e0 08 	ret                                            
 2007af0:	91 e8 3f ff 	restore  %g0, -1, %o0                          
        }                                                             
                                                                      
        AIO_printf ("Request on [IQ]\n");                             
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
 2007af4:	40 00 01 64 	call  2008084 <rtems_aio_remove_req>           
 2007af8:	90 02 20 08 	add  %o0, 8, %o0                               
 2007afc:	b0 10 00 08 	mov  %o0, %i0                                  
        pthread_mutex_unlock (&aio_request_queue.mutex);              
 2007b00:	40 00 04 26 	call  2008b98 <pthread_mutex_unlock>           
 2007b04:	90 10 00 1d 	mov  %i5, %o0                                  
        return result;                                                
 2007b08:	81 c7 e0 08 	ret                                            
 2007b0c:	81 e8 00 00 	restore                                        
      } else {                                                        
        pthread_mutex_unlock (&aio_request_queue.mutex);              
 2007b10:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2007b14:	40 00 04 21 	call  2008b98 <pthread_mutex_unlock>           
 2007b18:	b0 10 20 02 	mov  2, %i0                                    
        return AIO_ALLDONE;                                           
 2007b1c:	81 c7 e0 08 	ret                                            
 2007b20:	81 e8 00 00 	restore                                        
      }                                                               
    }                                                                 
      AIO_printf ("Request on [WQ]\n");                               
                                                                      
      pthread_mutex_lock (&r_chain->mutex);                           
 2007b24:	40 00 03 fd 	call  2008b18 <pthread_mutex_lock>             
 2007b28:	90 10 00 1c 	mov  %i4, %o0                                  
      result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);        
 2007b2c:	92 10 00 19 	mov  %i1, %o1                                  
 2007b30:	40 00 01 55 	call  2008084 <rtems_aio_remove_req>           
 2007b34:	90 06 20 08 	add  %i0, 8, %o0                               
 2007b38:	b0 10 00 08 	mov  %o0, %i0                                  
      pthread_mutex_unlock (&r_chain->mutex);                         
 2007b3c:	40 00 04 17 	call  2008b98 <pthread_mutex_unlock>           
 2007b40:	90 10 00 1c 	mov  %i4, %o0                                  
      pthread_mutex_unlock (&aio_request_queue.mutex);                
 2007b44:	40 00 04 15 	call  2008b98 <pthread_mutex_unlock>           
 2007b48:	90 17 60 24 	or  %i5, 0x24, %o0                             
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
 2007b4c:	81 c7 e0 08 	ret                                            
 2007b50:	81 e8 00 00 	restore                                        
                                                                      

02007b5c <aio_fsync>: int aio_fsync( int op, struct aiocb *aiocbp ) {
 2007b5c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
 2007b60:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 2007b64:	80 a6 00 01 	cmp  %i0, %g1                                  
 2007b68:	12 80 00 10 	bne  2007ba8 <aio_fsync+0x4c>                  
 2007b6c:	ba 10 20 16 	mov  0x16, %i5                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 2007b70:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 2007b74:	40 00 1a 31 	call  200e438 <fcntl>                          
 2007b78:	92 10 20 03 	mov  3, %o1                                    
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 2007b7c:	90 0a 20 03 	and  %o0, 3, %o0                               
 2007b80:	90 02 3f ff 	add  %o0, -1, %o0                              
 2007b84:	80 a2 20 01 	cmp  %o0, 1                                    
 2007b88:	18 80 00 08 	bgu  2007ba8 <aio_fsync+0x4c>                  
 2007b8c:	ba 10 20 09 	mov  9, %i5                                    
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 2007b90:	7f ff f1 9d 	call  2004204 <malloc>                         
 2007b94:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 2007b98:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b9c:	32 80 00 0b 	bne,a   2007bc8 <aio_fsync+0x6c>               <== ALWAYS TAKEN
 2007ba0:	f2 22 20 14 	st  %i1, [ %o0 + 0x14 ]                        
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 2007ba4:	ba 10 20 0b 	mov  0xb, %i5                                  <== NOT EXECUTED
 2007ba8:	82 10 3f ff 	mov  -1, %g1                                   
 2007bac:	fa 26 60 34 	st  %i5, [ %i1 + 0x34 ]                        
 2007bb0:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
 2007bb4:	40 00 27 fb 	call  2011ba0 <__errno>                        
 2007bb8:	b0 10 3f ff 	mov  -1, %i0                                   
 2007bbc:	fa 22 00 00 	st  %i5, [ %o0 ]                               
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
 2007bc0:	81 c7 e0 08 	ret                                            
 2007bc4:	81 e8 00 00 	restore                                        
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
 2007bc8:	82 10 20 03 	mov  3, %g1                                    
 2007bcc:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 2007bd0:	40 00 01 4a 	call  20080f8 <rtems_aio_enqueue>              
 2007bd4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02008328 <aio_read>: * 0 - otherwise */ int aio_read (struct aiocb *aiocbp) {
 2008328:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 200832c:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2008330:	40 00 18 42 	call  200e438 <fcntl>                          
 2008334:	92 10 20 03 	mov  3, %o1                                    
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 2008338:	90 0a 20 03 	and  %o0, 3, %o0                               
 200833c:	80 a2 20 02 	cmp  %o0, 2                                    
 2008340:	02 80 00 05 	be  2008354 <aio_read+0x2c>                    
 2008344:	ba 10 00 18 	mov  %i0, %i5                                  
 2008348:	80 a2 20 00 	cmp  %o0, 0                                    
 200834c:	12 80 00 10 	bne  200838c <aio_read+0x64>                   <== ALWAYS TAKEN
 2008350:	b8 10 20 09 	mov  9, %i4                                    
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
 2008354:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2008358:	80 a0 60 00 	cmp  %g1, 0                                    
 200835c:	32 80 00 0c 	bne,a   200838c <aio_read+0x64>                
 2008360:	b8 10 20 16 	mov  0x16, %i4                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
 2008364:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2008368:	80 a0 60 00 	cmp  %g1, 0                                    
 200836c:	26 80 00 08 	bl,a   200838c <aio_read+0x64>                 
 2008370:	b8 10 20 16 	mov  0x16, %i4                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 2008374:	7f ff ef a4 	call  2004204 <malloc>                         
 2008378:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 200837c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008380:	32 80 00 0b 	bne,a   20083ac <aio_read+0x84>                <== ALWAYS TAKEN
 2008384:	fa 22 20 14 	st  %i5, [ %o0 + 0x14 ]                        
 2008388:	b8 10 20 0b 	mov  0xb, %i4                                  <== NOT EXECUTED
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 200838c:	82 10 3f ff 	mov  -1, %g1                                   
 2008390:	f8 27 60 34 	st  %i4, [ %i5 + 0x34 ]                        
 2008394:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
 2008398:	40 00 26 02 	call  2011ba0 <__errno>                        
 200839c:	b0 10 3f ff 	mov  -1, %i0                                   
 20083a0:	f8 22 00 00 	st  %i4, [ %o0 ]                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
 20083a4:	81 c7 e0 08 	ret                                            
 20083a8:	81 e8 00 00 	restore                                        
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
 20083ac:	82 10 20 01 	mov  1, %g1                                    
 20083b0:	c2 27 60 30 	st  %g1, [ %i5 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 20083b4:	7f ff ff 51 	call  20080f8 <rtems_aio_enqueue>              
 20083b8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

020083c4 <aio_write>: * 0 - otherwise */ int aio_write (struct aiocb *aiocbp) {
 20083c4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 20083c8:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 20083cc:	40 00 18 1b 	call  200e438 <fcntl>                          
 20083d0:	92 10 20 03 	mov  3, %o1                                    
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_write (struct aiocb *aiocbp)                                      
{                                                                     
 20083d4:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 20083d8:	90 0a 20 03 	and  %o0, 3, %o0                               
 20083dc:	90 02 3f ff 	add  %o0, -1, %o0                              
 20083e0:	80 a2 20 01 	cmp  %o0, 1                                    
 20083e4:	18 80 00 10 	bgu  2008424 <aio_write+0x60>                  
 20083e8:	b8 10 20 09 	mov  9, %i4                                    
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
 20083ec:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 20083f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20083f4:	32 80 00 0c 	bne,a   2008424 <aio_write+0x60>               
 20083f8:	b8 10 20 16 	mov  0x16, %i4                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
 20083fc:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2008400:	80 a0 60 00 	cmp  %g1, 0                                    
 2008404:	26 80 00 08 	bl,a   2008424 <aio_write+0x60>                
 2008408:	b8 10 20 16 	mov  0x16, %i4                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 200840c:	7f ff ef 7e 	call  2004204 <malloc>                         
 2008410:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 2008414:	80 a2 20 00 	cmp  %o0, 0                                    
 2008418:	32 80 00 0b 	bne,a   2008444 <aio_write+0x80>               <== ALWAYS TAKEN
 200841c:	f0 22 20 14 	st  %i0, [ %o0 + 0x14 ]                        
 2008420:	b8 10 20 0b 	mov  0xb, %i4                                  <== NOT EXECUTED
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 2008424:	82 10 3f ff 	mov  -1, %g1                                   
 2008428:	f8 27 60 34 	st  %i4, [ %i5 + 0x34 ]                        
 200842c:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
 2008430:	40 00 25 dc 	call  2011ba0 <__errno>                        
 2008434:	b0 10 3f ff 	mov  -1, %i0                                   
 2008438:	f8 22 00 00 	st  %i4, [ %o0 ]                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
 200843c:	81 c7 e0 08 	ret                                            
 2008440:	81 e8 00 00 	restore                                        
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
 2008444:	82 10 20 02 	mov  2, %g1                                    
 2008448:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 200844c:	7f ff ff 2b 	call  20080f8 <rtems_aio_enqueue>              
 2008450:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02007504 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
 2007504:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !tp )                                                          
 2007508:	80 a6 60 00 	cmp  %i1, 0                                    
 200750c:	12 80 00 06 	bne  2007524 <clock_gettime+0x20>              
 2007510:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007514:	40 00 25 1d 	call  2010988 <__errno>                        
 2007518:	01 00 00 00 	nop                                            
 200751c:	10 80 00 24 	b  20075ac <clock_gettime+0xa8>                
 2007520:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2007524:	12 80 00 14 	bne  2007574 <clock_gettime+0x70>              
 2007528:	80 a6 20 04 	cmp  %i0, 4                                    
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 200752c:	40 00 08 21 	call  20095b0 <_TOD_Get_as_timestamp>          
 2007530:	90 07 bf f8 	add  %fp, -8, %o0                              
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007534:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007538:	94 10 20 00 	clr  %o2                                       
 200753c:	90 10 00 1c 	mov  %i4, %o0                                  
 2007540:	92 10 00 1d 	mov  %i5, %o1                                  
 2007544:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007548:	40 00 53 a0 	call  201c3c8 <__divdi3>                       
 200754c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007550:	90 10 00 1c 	mov  %i4, %o0                                  
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007554:	d2 26 40 00 	st  %o1, [ %i1 ]                               
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007558:	94 10 20 00 	clr  %o2                                       
 200755c:	92 10 00 1d 	mov  %i5, %o1                                  
 2007560:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007564:	40 00 54 7f 	call  201c760 <__moddi3>                       
 2007568:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
 200756c:	10 80 00 09 	b  2007590 <clock_gettime+0x8c>                
 2007570:	d2 26 60 04 	st  %o1, [ %i1 + 4 ]                           
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
 2007574:	02 80 00 05 	be  2007588 <clock_gettime+0x84>               <== NEVER TAKEN
 2007578:	01 00 00 00 	nop                                            
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
 200757c:	80 a6 20 02 	cmp  %i0, 2                                    
 2007580:	12 80 00 06 	bne  2007598 <clock_gettime+0x94>              
 2007584:	80 a6 20 03 	cmp  %i0, 3                                    
    _TOD_Get_uptime_as_timespec( tp );                                
 2007588:	40 00 08 1d 	call  20095fc <_TOD_Get_uptime_as_timespec>    
 200758c:	90 10 00 19 	mov  %i1, %o0                                  
    return 0;                                                         
 2007590:	81 c7 e0 08 	ret                                            
 2007594:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
 2007598:	12 80 00 08 	bne  20075b8 <clock_gettime+0xb4>              
 200759c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 20075a0:	40 00 24 fa 	call  2010988 <__errno>                        
 20075a4:	01 00 00 00 	nop                                            
 20075a8:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 20075ac:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20075b0:	81 c7 e0 08 	ret                                            
 20075b4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 20075b8:	40 00 24 f4 	call  2010988 <__errno>                        
 20075bc:	b0 10 3f ff 	mov  -1, %i0                                   
 20075c0:	82 10 20 16 	mov  0x16, %g1                                 
 20075c4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 20075c8:	81 c7 e0 08 	ret                                            
 20075cc:	81 e8 00 00 	restore                                        
                                                                      

02029474 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
 2029474:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !tp )                                                          
 2029478:	80 a6 60 00 	cmp  %i1, 0                                    
 202947c:	02 80 00 0b 	be  20294a8 <clock_settime+0x34>               <== NEVER TAKEN
 2029480:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2029484:	80 a6 20 01 	cmp  %i0, 1                                    
 2029488:	12 80 00 46 	bne  20295a0 <clock_settime+0x12c>             
 202948c:	80 a6 20 02 	cmp  %i0, 2                                    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
 2029490:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2029494:	03 08 76 b9 	sethi  %hi(0x21dae400), %g1                    
 2029498:	82 10 60 ff 	or  %g1, 0xff, %g1	! 21dae4ff <RAM_END+0x1f9ae4ff>
 202949c:	80 a0 80 01 	cmp  %g2, %g1                                  
 20294a0:	38 80 00 06 	bgu,a   20294b8 <clock_settime+0x44>           
 20294a4:	03 00 81 bc 	sethi  %hi(0x206f000), %g1                     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 20294a8:	40 00 61 fe 	call  2041ca0 <__errno>                        
 20294ac:	01 00 00 00 	nop                                            
 20294b0:	10 80 00 44 	b  20295c0 <clock_settime+0x14c>               
 20294b4:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20294b8:	c4 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g2                       
 20294bc:	84 00 a0 01 	inc  %g2                                       
 20294c0:	c4 20 62 c0 	st  %g2, [ %g1 + 0x2c0 ]                       
    return _Thread_Dispatch_disable_level;                            
 20294c4:	c2 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g1                       
  const struct timespec *tod_as_timespec                              
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _Timestamp_Set(                                                     
 20294c8:	d6 06 40 00 	ld  [ %i1 ], %o3                               
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
 20294cc:	b0 10 20 00 	clr  %i0                                       
 20294d0:	95 3a e0 1f 	sra  %o3, 0x1f, %o2                            
  Timestamp64_Control *_time,                                         
  Timestamp64_Control  _seconds,                                      
  Timestamp64_Control  _nanoseconds                                   
)                                                                     
{                                                                     
  *_time = _seconds * 1000000000L + _nanoseconds;                     
 20294d4:	83 2a a0 03 	sll  %o2, 3, %g1                               
 20294d8:	89 32 e0 1d 	srl  %o3, 0x1d, %g4                            
 20294dc:	87 2a e0 03 	sll  %o3, 3, %g3                               
 20294e0:	84 11 00 01 	or  %g4, %g1, %g2                              
 20294e4:	83 30 e0 1b 	srl  %g3, 0x1b, %g1                            
 20294e8:	99 28 a0 05 	sll  %g2, 5, %o4                               
 20294ec:	9b 28 e0 05 	sll  %g3, 5, %o5                               
 20294f0:	98 10 40 0c 	or  %g1, %o4, %o4                              
 20294f4:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 20294f8:	83 30 e0 1a 	srl  %g3, 0x1a, %g1                            
 20294fc:	84 63 00 02 	subx  %o4, %g2, %g2                            
 2029500:	9b 28 e0 06 	sll  %g3, 6, %o5                               
 2029504:	99 28 a0 06 	sll  %g2, 6, %o4                               
 2029508:	9a a3 40 03 	subcc  %o5, %g3, %o5                           
 202950c:	98 10 40 0c 	or  %g1, %o4, %o4                              
 2029510:	98 63 00 02 	subx  %o4, %g2, %o4                            
 2029514:	96 83 40 0b 	addcc  %o5, %o3, %o3                           
 2029518:	83 32 e0 1e 	srl  %o3, 0x1e, %g1                            
 202951c:	94 43 00 0a 	addx  %o4, %o2, %o2                            
 2029520:	bb 2a e0 02 	sll  %o3, 2, %i5                               
 2029524:	b9 2a a0 02 	sll  %o2, 2, %i4                               
 2029528:	96 82 c0 1d 	addcc  %o3, %i5, %o3                           
 202952c:	b8 10 40 1c 	or  %g1, %i4, %i4                              
 2029530:	93 2a e0 02 	sll  %o3, 2, %o1                               
 2029534:	94 42 80 1c 	addx  %o2, %i4, %o2                            
 2029538:	83 32 e0 1e 	srl  %o3, 0x1e, %g1                            
 202953c:	91 2a a0 02 	sll  %o2, 2, %o0                               
 2029540:	90 10 40 08 	or  %g1, %o0, %o0                              
 2029544:	96 82 c0 09 	addcc  %o3, %o1, %o3                           
 2029548:	94 42 80 08 	addx  %o2, %o0, %o2                            
 202954c:	83 32 e0 1e 	srl  %o3, 0x1e, %g1                            
 2029550:	93 2a e0 02 	sll  %o3, 2, %o1                               
 2029554:	91 2a a0 02 	sll  %o2, 2, %o0                               
 2029558:	96 82 c0 09 	addcc  %o3, %o1, %o3                           
 202955c:	90 10 40 08 	or  %g1, %o0, %o0                              
 2029560:	87 32 e0 17 	srl  %o3, 0x17, %g3                            
 2029564:	94 42 80 08 	addx  %o2, %o0, %o2                            
 2029568:	85 2a a0 09 	sll  %o2, 9, %g2                               
 202956c:	94 10 c0 02 	or  %g3, %g2, %o2                              
 2029570:	c6 06 60 04 	ld  [ %i1 + 4 ], %g3                           
 2029574:	83 2a e0 09 	sll  %o3, 9, %g1                               
 2029578:	85 38 e0 1f 	sra  %g3, 0x1f, %g2                            
 202957c:	96 80 40 03 	addcc  %g1, %g3, %o3                           
    &tod_as_timestamp,                                                
    tod_as_timespec->tv_sec,                                          
    tod_as_timespec->tv_nsec                                          
  );                                                                  
  _TOD_Set_with_timestamp( &tod_as_timestamp );                       
 2029580:	90 07 bf f8 	add  %fp, -8, %o0                              
 2029584:	94 42 80 02 	addx  %o2, %g2, %o2                            
 2029588:	40 00 06 30 	call  202ae48 <_TOD_Set_with_timestamp>        
 202958c:	d4 3f bf f8 	std  %o2, [ %fp + -8 ]                         
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
 2029590:	7f ff 9a 30 	call  200fe50 <_Thread_Enable_dispatch>        
 2029594:	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;                                                           
 2029598:	81 c7 e0 08 	ret                                            
 202959c:	81 e8 00 00 	restore                                        
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
 20295a0:	02 80 00 05 	be  20295b4 <clock_settime+0x140>              
 20295a4:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
 20295a8:	80 a6 20 03 	cmp  %i0, 3                                    
 20295ac:	12 80 00 08 	bne  20295cc <clock_settime+0x158>             
 20295b0:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 20295b4:	40 00 61 bb 	call  2041ca0 <__errno>                        
 20295b8:	01 00 00 00 	nop                                            
 20295bc:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 20295c0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20295c4:	81 c7 e0 08 	ret                                            
 20295c8:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20295cc:	40 00 61 b5 	call  2041ca0 <__errno>                        
 20295d0:	b0 10 3f ff 	mov  -1, %i0                                   
 20295d4:	82 10 20 16 	mov  0x16, %g1                                 
 20295d8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 20295dc:	81 c7 e0 08 	ret                                            
 20295e0:	81 e8 00 00 	restore                                        
                                                                      

0201a464 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
 201a464:	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() )                                              
 201a468:	7f ff fe f9 	call  201a04c <getpid>                         
 201a46c:	01 00 00 00 	nop                                            
 201a470:	80 a6 00 08 	cmp  %i0, %o0                                  
 201a474:	02 80 00 06 	be  201a48c <killinfo+0x28>                    
 201a478:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 201a47c:	7f ff d4 fe 	call  200f874 <__errno>                        
 201a480:	01 00 00 00 	nop                                            
 201a484:	10 80 00 a5 	b  201a718 <killinfo+0x2b4>                    
 201a488:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
 201a48c:	02 80 00 06 	be  201a4a4 <killinfo+0x40>                    
 201a490:	01 00 00 00 	nop                                            
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 201a494:	ba 06 7f ff 	add  %i1, -1, %i5                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 201a498:	80 a7 60 1f 	cmp  %i5, 0x1f                                 
 201a49c:	28 80 00 06 	bleu,a   201a4b4 <killinfo+0x50>               
 201a4a0:	83 2e 60 02 	sll  %i1, 2, %g1                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 201a4a4:	7f ff d4 f4 	call  200f874 <__errno>                        
 201a4a8:	01 00 00 00 	nop                                            
 201a4ac:	10 80 00 9b 	b  201a718 <killinfo+0x2b4>                    
 201a4b0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
 201a4b4:	85 2e 60 04 	sll  %i1, 4, %g2                               
 201a4b8:	84 20 80 01 	sub  %g2, %g1, %g2                             
 201a4bc:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a4c0:	82 10 61 b0 	or  %g1, 0x1b0, %g1	! 201e1b0 <_POSIX_signals_Vectors>
 201a4c4:	82 00 40 02 	add  %g1, %g2, %g1                             
 201a4c8:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 201a4cc:	80 a0 60 01 	cmp  %g1, 1                                    
 201a4d0:	02 80 00 7b 	be  201a6bc <killinfo+0x258>                   
 201a4d4:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
 201a4d8:	80 a6 60 04 	cmp  %i1, 4                                    
 201a4dc:	02 80 00 06 	be  201a4f4 <killinfo+0x90>                    
 201a4e0:	80 a6 60 08 	cmp  %i1, 8                                    
 201a4e4:	02 80 00 04 	be  201a4f4 <killinfo+0x90>                    
 201a4e8:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 201a4ec:	12 80 00 08 	bne  201a50c <killinfo+0xa8>                   
 201a4f0:	82 10 20 01 	mov  1, %g1                                    
      return pthread_kill( pthread_self(), sig );                     
 201a4f4:	40 00 01 2e 	call  201a9ac <pthread_self>                   
 201a4f8:	01 00 00 00 	nop                                            
 201a4fc:	40 00 00 f2 	call  201a8c4 <pthread_kill>                   
 201a500:	92 10 00 19 	mov  %i1, %o1                                  
 201a504:	81 c7 e0 08 	ret                                            
 201a508:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
 201a50c:	f2 27 bf f4 	st  %i1, [ %fp + -12 ]                         
  siginfo->si_code = SI_USER;                                         
 201a510:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  if ( !value ) {                                                     
 201a514:	80 a6 a0 00 	cmp  %i2, 0                                    
 201a518:	12 80 00 04 	bne  201a528 <killinfo+0xc4>                   
 201a51c:	bb 28 40 1d 	sll  %g1, %i5, %i5                             
    siginfo->si_value.sival_int = 0;                                  
 201a520:	10 80 00 04 	b  201a530 <killinfo+0xcc>                     
 201a524:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  } else {                                                            
    siginfo->si_value = *value;                                       
 201a528:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 201a52c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 201a530:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 201a534:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2	! 201dc10 <_Thread_Dispatch_disable_level>
 201a538:	84 00 a0 01 	inc  %g2                                       
 201a53c:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
    return _Thread_Dispatch_disable_level;                            
 201a540:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
                                                                      
  /*                                                                  
   *  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;                                     
 201a544:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a548:	d0 00 61 5c 	ld  [ %g1 + 0x15c ], %o0	! 201e15c <_Per_CPU_Information+0xc>
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
 201a54c:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
 201a550:	c2 00 60 d0 	ld  [ %g1 + 0xd0 ], %g1                        
 201a554:	80 af 40 01 	andncc  %i5, %g1, %g0                          
 201a558:	12 80 00 51 	bne  201a69c <killinfo+0x238>                  
 201a55c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 201a560:	d0 00 63 3c 	ld  [ %g1 + 0x33c ], %o0	! 201e33c <_POSIX_signals_Wait_queue>
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
 201a564:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a568:	10 80 00 0a 	b  201a590 <killinfo+0x12c>                    
 201a56c:	82 10 63 40 	or  %g1, 0x340, %g1	! 201e340 <_POSIX_signals_Wait_queue+0x4>
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 201a570:	80 8f 40 03 	btst  %i5, %g3                                 
 201a574:	12 80 00 4a 	bne  201a69c <killinfo+0x238>                  
 201a578:	c4 02 21 5c 	ld  [ %o0 + 0x15c ], %g2                       
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
 201a57c:	c4 00 a0 d0 	ld  [ %g2 + 0xd0 ], %g2                        
 201a580:	80 af 40 02 	andncc  %i5, %g2, %g0                          
 201a584:	12 80 00 47 	bne  201a6a0 <killinfo+0x23c>                  
 201a588:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
 201a58c:	d0 02 00 00 	ld  [ %o0 ], %o0                               
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
 201a590:	80 a2 00 01 	cmp  %o0, %g1                                  
 201a594:	32 bf ff f7 	bne,a   201a570 <killinfo+0x10c>               
 201a598:	c6 02 20 30 	ld  [ %o0 + 0x30 ], %g3                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 201a59c:	03 00 80 73 	sethi  %hi(0x201cc00), %g1                     
 201a5a0:	c4 08 62 74 	ldub  [ %g1 + 0x274 ], %g2	! 201ce74 <rtems_maximum_priority>
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
 201a5a4:	90 10 20 00 	clr  %o0                                       
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 201a5a8:	84 00 a0 01 	inc  %g2                                       
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
 201a5ac:	88 10 20 02 	mov  2, %g4                                    
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
 201a5b0:	19 00 80 76 	sethi  %hi(0x201d800), %o4                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_interruptible_by_signal (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_INTERRUPTIBLE_BY_SIGNAL);              
 201a5b4:	31 04 00 00 	sethi  %hi(0x10000000), %i0                    
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 201a5b8:	83 29 20 02 	sll  %g4, 2, %g1                               
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
 201a5bc:	86 13 23 78 	or  %o4, 0x378, %g3                            
 201a5c0:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
 201a5c4:	80 a0 60 00 	cmp  %g1, 0                                    
 201a5c8:	22 80 00 2f 	be,a   201a684 <killinfo+0x220>                <== NEVER TAKEN
 201a5cc:	88 01 20 01 	inc  %g4                                       <== NOT EXECUTED
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
 201a5d0:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 201a5d4:	b4 10 20 01 	mov  1, %i2                                    
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
 201a5d8:	d4 10 60 10 	lduh  [ %g1 + 0x10 ], %o2                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 201a5dc:	10 80 00 26 	b  201a674 <killinfo+0x210>                    
 201a5e0:	d6 00 60 1c 	ld  [ %g1 + 0x1c ], %o3                        
      the_thread = (Thread_Control *) object_table[ index ];          
 201a5e4:	c2 02 c0 01 	ld  [ %o3 + %g1 ], %g1                         
                                                                      
      if ( !the_thread )                                              
 201a5e8:	80 a0 60 00 	cmp  %g1, 0                                    
 201a5ec:	22 80 00 22 	be,a   201a674 <killinfo+0x210>                
 201a5f0:	b4 06 a0 01 	inc  %i2                                       
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
 201a5f4:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
 201a5f8:	80 a0 c0 02 	cmp  %g3, %g2                                  
 201a5fc:	38 80 00 1e 	bgu,a   201a674 <killinfo+0x210>               
 201a600:	b4 06 a0 01 	inc  %i2                                       
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
 201a604:	de 00 61 5c 	ld  [ %g1 + 0x15c ], %o7                       
 201a608:	de 03 e0 d0 	ld  [ %o7 + 0xd0 ], %o7                        
 201a60c:	80 af 40 0f 	andncc  %i5, %o7, %g0                          
 201a610:	22 80 00 19 	be,a   201a674 <killinfo+0x210>                
 201a614:	b4 06 a0 01 	inc  %i2                                       
       *                                                              
       *  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 ) {     
 201a618:	80 a0 c0 02 	cmp  %g3, %g2                                  
 201a61c:	2a 80 00 14 	bcs,a   201a66c <killinfo+0x208>               
 201a620:	84 10 00 03 	mov  %g3, %g2                                  
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
 201a624:	80 a2 20 00 	cmp  %o0, 0                                    
 201a628:	22 80 00 13 	be,a   201a674 <killinfo+0x210>                <== NEVER TAKEN
 201a62c:	b4 06 a0 01 	inc  %i2                                       <== NOT EXECUTED
 201a630:	da 02 20 10 	ld  [ %o0 + 0x10 ], %o5                        
 201a634:	80 a3 60 00 	cmp  %o5, 0                                    
 201a638:	22 80 00 0f 	be,a   201a674 <killinfo+0x210>                <== NEVER TAKEN
 201a63c:	b4 06 a0 01 	inc  %i2                                       <== NOT EXECUTED
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 201a640:	de 00 60 10 	ld  [ %g1 + 0x10 ], %o7                        
 201a644:	80 a3 e0 00 	cmp  %o7, 0                                    
 201a648:	22 80 00 09 	be,a   201a66c <killinfo+0x208>                
 201a64c:	84 10 00 03 	mov  %g3, %g2                                  
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 201a650:	80 8b 40 18 	btst  %o5, %i0                                 
 201a654:	32 80 00 08 	bne,a   201a674 <killinfo+0x210>               
 201a658:	b4 06 a0 01 	inc  %i2                                       
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
 201a65c:	80 8b c0 18 	btst  %o7, %i0                                 
 201a660:	22 80 00 05 	be,a   201a674 <killinfo+0x210>                
 201a664:	b4 06 a0 01 	inc  %i2                                       
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 201a668:	84 10 00 03 	mov  %g3, %g2                                  
 201a66c:	90 10 00 01 	mov  %g1, %o0                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 201a670:	b4 06 a0 01 	inc  %i2                                       
 201a674:	80 a6 80 0a 	cmp  %i2, %o2                                  
 201a678:	08 bf ff db 	bleu  201a5e4 <killinfo+0x180>                 
 201a67c:	83 2e a0 02 	sll  %i2, 2, %g1                               
   *    + 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++) {
 201a680:	88 01 20 01 	inc  %g4                                       
 201a684:	80 a1 20 04 	cmp  %g4, 4                                    
 201a688:	12 bf ff cd 	bne  201a5bc <killinfo+0x158>                  
 201a68c:	83 29 20 02 	sll  %g4, 2, %g1                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
 201a690:	80 a2 20 00 	cmp  %o0, 0                                    
 201a694:	02 80 00 0c 	be  201a6c4 <killinfo+0x260>                   
 201a698:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  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 ) ) {  
 201a69c:	92 10 00 19 	mov  %i1, %o1                                  
 201a6a0:	40 00 00 36 	call  201a778 <_POSIX_signals_Unblock_thread>  
 201a6a4:	94 07 bf f4 	add  %fp, -12, %o2                             
 201a6a8:	80 8a 20 ff 	btst  0xff, %o0                                
 201a6ac:	02 80 00 06 	be  201a6c4 <killinfo+0x260>                   
 201a6b0:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 201a6b4:	7f ff be b3 	call  200a180 <_Thread_Enable_dispatch>        
 201a6b8:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
    return 0;                                                         
 201a6bc:	81 c7 e0 08 	ret                                            
 201a6c0:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  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 );                         
 201a6c4:	40 00 00 24 	call  201a754 <_POSIX_signals_Set_process_signals>
 201a6c8:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
 201a6cc:	83 2e 60 02 	sll  %i1, 2, %g1                               
 201a6d0:	b3 2e 60 04 	sll  %i1, 4, %i1                               
 201a6d4:	b2 26 40 01 	sub  %i1, %g1, %i1                             
 201a6d8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a6dc:	82 10 61 b0 	or  %g1, 0x1b0, %g1	! 201e1b0 <_POSIX_signals_Vectors>
 201a6e0:	c2 00 40 19 	ld  [ %g1 + %i1 ], %g1                         
 201a6e4:	80 a0 60 02 	cmp  %g1, 2                                    
 201a6e8:	12 80 00 17 	bne  201a744 <killinfo+0x2e0>                  
 201a6ec:	11 00 80 78 	sethi  %hi(0x201e000), %o0                     
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
 201a6f0:	7f ff b7 08 	call  2008310 <_Chain_Get>                     
 201a6f4:	90 12 23 30 	or  %o0, 0x330, %o0	! 201e330 <_POSIX_signals_Inactive_siginfo>
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
 201a6f8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 201a6fc:	12 80 00 0a 	bne  201a724 <killinfo+0x2c0>                  
 201a700:	92 07 bf f4 	add  %fp, -12, %o1                             
      _Thread_Enable_dispatch();                                      
 201a704:	7f ff be 9f 	call  200a180 <_Thread_Enable_dispatch>        
 201a708:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
 201a70c:	7f ff d4 5a 	call  200f874 <__errno>                        
 201a710:	01 00 00 00 	nop                                            
 201a714:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 201a718:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201a71c:	81 c7 e0 08 	ret                                            
 201a720:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 201a724:	90 07 60 08 	add  %i5, 8, %o0                               
 201a728:	7f ff d6 af 	call  20101e4 <memcpy>                         
 201a72c:	94 10 20 0c 	mov  0xc, %o2                                  
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 201a730:	11 00 80 78 	sethi  %hi(0x201e000), %o0                     
 201a734:	92 10 00 1d 	mov  %i5, %o1                                  
 201a738:	90 12 23 a8 	or  %o0, 0x3a8, %o0                            
 201a73c:	7f ff b6 ea 	call  20082e4 <_Chain_Append>                  
 201a740:	90 02 00 19 	add  %o0, %i1, %o0                             
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
 201a744:	7f ff be 8f 	call  200a180 <_Thread_Enable_dispatch>        
 201a748:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 201a74c:	81 c7 e0 08 	ret                                            
 201a750:	81 e8 00 00 	restore                                        
                                                                      

0200c3d8 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
 200c3d8:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 200c3dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c3e0:	02 80 00 0f 	be  200c41c <pthread_attr_setschedpolicy+0x44> 
 200c3e4:	90 10 20 16 	mov  0x16, %o0                                 
 200c3e8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200c3ec:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c3f0:	02 80 00 0b 	be  200c41c <pthread_attr_setschedpolicy+0x44> 
 200c3f4:	80 a2 60 04 	cmp  %o1, 4                                    
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
 200c3f8:	18 80 00 09 	bgu  200c41c <pthread_attr_setschedpolicy+0x44>
 200c3fc:	90 10 20 86 	mov  0x86, %o0                                 
 200c400:	84 10 20 01 	mov  1, %g2                                    
 200c404:	85 28 80 09 	sll  %g2, %o1, %g2                             
 200c408:	80 88 a0 17 	btst  0x17, %g2                                
 200c40c:	02 80 00 04 	be  200c41c <pthread_attr_setschedpolicy+0x44> <== NEVER TAKEN
 200c410:	01 00 00 00 	nop                                            
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
 200c414:	d2 20 60 14 	st  %o1, [ %g1 + 0x14 ]                        
 200c418:	90 10 20 00 	clr  %o0                                       
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200c41c:	81 c3 e0 08 	retl                                           
                                                                      

02007ae0 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
 2007ae0:	9d e3 bf 90 	save  %sp, -112, %sp                           
 2007ae4:	ba 10 00 18 	mov  %i0, %i5                                  
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
 2007ae8:	80 a7 60 00 	cmp  %i5, 0                                    
 2007aec:	02 80 00 20 	be  2007b6c <pthread_barrier_init+0x8c>        
 2007af0:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
 2007af4:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007af8:	02 80 00 1d 	be  2007b6c <pthread_barrier_init+0x8c>        
 2007afc:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2007b00:	32 80 00 06 	bne,a   2007b18 <pthread_barrier_init+0x38>    
 2007b04:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
 2007b08:	90 07 bf f8 	add  %fp, -8, %o0                              
 2007b0c:	7f ff ff bd 	call  2007a00 <pthread_barrierattr_init>       
 2007b10:	b2 07 bf f8 	add  %fp, -8, %i1                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2007b14:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007b18:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b1c:	02 80 00 14 	be  2007b6c <pthread_barrier_init+0x8c>        
 2007b20:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2007b24:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2007b28:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b2c:	12 80 00 10 	bne  2007b6c <pthread_barrier_init+0x8c>       <== NEVER TAKEN
 2007b30:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007b34:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2	! 201f240 <_Thread_Dispatch_disable_level>
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
 2007b38:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
  the_attributes.maximum_count = count;                               
 2007b3c:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         
 2007b40:	84 00 a0 01 	inc  %g2                                       
 2007b44:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007b48:	c2 00 62 40 	ld  [ %g1 + 0x240 ], %g1                       
 *  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 *)                                    
 2007b4c:	37 00 80 7d 	sethi  %hi(0x201f400), %i3                     
 2007b50:	40 00 08 70 	call  2009d10 <_Objects_Allocate>              
 2007b54:	90 16 e2 00 	or  %i3, 0x200, %o0	! 201f600 <_POSIX_Barrier_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
 2007b58:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2007b5c:	12 80 00 06 	bne  2007b74 <pthread_barrier_init+0x94>       
 2007b60:	90 07 20 10 	add  %i4, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 2007b64:	40 00 0d 59 	call  200b0c8 <_Thread_Enable_dispatch>        
 2007b68:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2007b6c:	81 c7 e0 08 	ret                                            
 2007b70:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 2007b74:	40 00 05 d4 	call  20092c4 <_CORE_barrier_Initialize>       
 2007b78:	92 07 bf f0 	add  %fp, -16, %o1                             
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2007b7c:	c4 17 20 0a 	lduh  [ %i4 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007b80:	b6 16 e2 00 	or  %i3, 0x200, %i3                            
 2007b84:	c6 06 e0 1c 	ld  [ %i3 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2007b88:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007b8c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2007b90:	f8 20 c0 02 	st  %i4, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2007b94:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
 2007b98:	c2 27 40 00 	st  %g1, [ %i5 ]                               
  _Thread_Enable_dispatch();                                          
 2007b9c:	40 00 0d 4b 	call  200b0c8 <_Thread_Enable_dispatch>        
 2007ba0:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2007ba4:	81 c7 e0 08 	ret                                            
 2007ba8:	81 e8 00 00 	restore                                        
                                                                      

02007368 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
 2007368:	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 )                                                     
 200736c:	80 a6 20 00 	cmp  %i0, 0                                    
 2007370:	02 80 00 15 	be  20073c4 <pthread_cleanup_push+0x5c>        
 2007374:	01 00 00 00 	nop                                            
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007378:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200737c:	c4 00 62 60 	ld  [ %g1 + 0x260 ], %g2	! 201ea60 <_Thread_Dispatch_disable_level>
 2007380:	84 00 a0 01 	inc  %g2                                       
 2007384:	c4 20 62 60 	st  %g2, [ %g1 + 0x260 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007388:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1                       
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
 200738c:	40 00 11 e2 	call  200bb14 <_Workspace_Allocate>            
 2007390:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if ( handler ) {                                                    
 2007394:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2007398:	02 80 00 09 	be  20073bc <pthread_cleanup_push+0x54>        <== NEVER TAKEN
 200739c:	01 00 00 00 	nop                                            
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 20073a0:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 20073a4:	c2 00 63 ac 	ld  [ %g1 + 0x3ac ], %g1	! 201efac <_Per_CPU_Information+0xc>
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 20073a8:	d0 00 61 5c 	ld  [ %g1 + 0x15c ], %o0                       
                                                                      
    handler->routine = routine;                                       
 20073ac:	f0 22 60 08 	st  %i0, [ %o1 + 8 ]                           
    handler->arg = arg;                                               
 20073b0:	f2 22 60 0c 	st  %i1, [ %o1 + 0xc ]                         
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 20073b4:	40 00 06 1f 	call  2008c30 <_Chain_Append>                  
 20073b8:	90 02 20 e4 	add  %o0, 0xe4, %o0                            
  }                                                                   
  _Thread_Enable_dispatch();                                          
 20073bc:	40 00 0d 99 	call  200aa20 <_Thread_Enable_dispatch>        
 20073c0:	81 e8 00 00 	restore                                        
 20073c4:	81 c7 e0 08 	ret                                            
 20073c8:	81 e8 00 00 	restore                                        
                                                                      

0200836c <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
 200836c:	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;                                        
 2008370:	80 a6 60 00 	cmp  %i1, 0                                    
 2008374:	12 80 00 04 	bne  2008384 <pthread_cond_init+0x18>          
 2008378:	ba 10 00 18 	mov  %i0, %i5                                  
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
 200837c:	33 00 80 78 	sethi  %hi(0x201e000), %i1                     
 2008380:	b2 16 61 74 	or  %i1, 0x174, %i1	! 201e174 <_POSIX_Condition_variables_Default_attributes>
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
 2008384:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2008388:	80 a0 60 01 	cmp  %g1, 1                                    
 200838c:	02 80 00 12 	be  20083d4 <pthread_cond_init+0x68>           <== NEVER TAKEN
 2008390:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
 2008394:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2008398:	80 a0 60 00 	cmp  %g1, 0                                    
 200839c:	02 80 00 0e 	be  20083d4 <pthread_cond_init+0x68>           
 20083a0:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20083a4:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2	! 2020440 <_Thread_Dispatch_disable_level>
 20083a8:	84 00 a0 01 	inc  %g2                                       
 20083ac:	c4 20 60 40 	st  %g2, [ %g1 + 0x40 ]                        
    return _Thread_Dispatch_disable_level;                            
 20083b0:	c2 00 60 40 	ld  [ %g1 + 0x40 ], %g1                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
 20083b4:	37 00 80 82 	sethi  %hi(0x2020800), %i3                     
 20083b8:	40 00 0a 0e 	call  200abf0 <_Objects_Allocate>              
 20083bc:	90 16 e0 98 	or  %i3, 0x98, %o0	! 2020898 <_POSIX_Condition_variables_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
 20083c0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20083c4:	32 80 00 06 	bne,a   20083dc <pthread_cond_init+0x70>       
 20083c8:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
    _Thread_Enable_dispatch();                                        
 20083cc:	40 00 0e f7 	call  200bfa8 <_Thread_Enable_dispatch>        
 20083d0:	b0 10 20 0c 	mov  0xc, %i0                                  
    return ENOMEM;                                                    
 20083d4:	81 c7 e0 08 	ret                                            
 20083d8:	81 e8 00 00 	restore                                        
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
  _Thread_queue_Initialize(                                           
 20083dc:	90 07 20 18 	add  %i4, 0x18, %o0                            
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 20083e0:	c2 27 20 10 	st  %g1, [ %i4 + 0x10 ]                        
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
  _Thread_queue_Initialize(                                           
 20083e4:	92 10 20 00 	clr  %o1                                       
 20083e8:	15 04 00 02 	sethi  %hi(0x10000800), %o2                    
 20083ec:	96 10 20 74 	mov  0x74, %o3                                 
 20083f0:	40 00 10 ef 	call  200c7ac <_Thread_queue_Initialize>       
 20083f4:	c0 27 20 14 	clr  [ %i4 + 0x14 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 20083f8:	c4 17 20 0a 	lduh  [ %i4 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20083fc:	b6 16 e0 98 	or  %i3, 0x98, %i3                             
 2008400:	c6 06 e0 1c 	ld  [ %i3 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008404:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008408:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200840c:	f8 20 c0 02 	st  %i4, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2008410:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
 2008414:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2008418:	40 00 0e e4 	call  200bfa8 <_Thread_Enable_dispatch>        
 200841c:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
}                                                                     
 2008420:	81 c7 e0 08 	ret                                            
 2008424:	81 e8 00 00 	restore                                        
                                                                      

020081d8 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
 20081d8:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || attr->is_initialized == false )                       
 20081dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20081e0:	02 80 00 08 	be  2008200 <pthread_condattr_destroy+0x28>    
 20081e4:	90 10 20 16 	mov  0x16, %o0                                 
 20081e8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 20081ec:	80 a0 a0 00 	cmp  %g2, 0                                    
 20081f0:	02 80 00 04 	be  2008200 <pthread_condattr_destroy+0x28>    <== NEVER TAKEN
 20081f4:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
 20081f8:	c0 20 40 00 	clr  [ %g1 ]                                   
  return 0;                                                           
 20081fc:	90 10 20 00 	clr  %o0                                       
}                                                                     
 2008200:	81 c3 e0 08 	retl                                           
                                                                      

020077b4 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
 20077b4:	9d e3 bf 58 	save  %sp, -168, %sp                           
 20077b8:	ba 10 00 18 	mov  %i0, %i5                                  
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
 20077bc:	80 a6 a0 00 	cmp  %i2, 0                                    
 20077c0:	02 80 00 66 	be  2007958 <pthread_create+0x1a4>             
 20077c4:	b0 10 20 0e 	mov  0xe, %i0                                  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 20077c8:	80 a6 60 00 	cmp  %i1, 0                                    
 20077cc:	32 80 00 05 	bne,a   20077e0 <pthread_create+0x2c>          
 20077d0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20077d4:	33 00 80 81 	sethi  %hi(0x2020400), %i1                     
 20077d8:	b2 16 62 2c 	or  %i1, 0x22c, %i1	! 202062c <_POSIX_Threads_Default_attributes>
                                                                      
  if ( !the_attr->is_initialized )                                    
 20077dc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20077e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20077e4:	02 80 00 5d 	be  2007958 <pthread_create+0x1a4>             
 20077e8:	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) )
 20077ec:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 20077f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20077f4:	02 80 00 07 	be  2007810 <pthread_create+0x5c>              
 20077f8:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 20077fc:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 2007800:	c2 00 63 68 	ld  [ %g1 + 0x368 ], %g1                       
 2007804:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007808:	0a 80 00 79 	bcs  20079ec <pthread_create+0x238>            
 200780c:	01 00 00 00 	nop                                            
   *  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 ) {                                 
 2007810:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 2007814:	80 a0 60 01 	cmp  %g1, 1                                    
 2007818:	02 80 00 06 	be  2007830 <pthread_create+0x7c>              
 200781c:	80 a0 60 02 	cmp  %g1, 2                                    
 2007820:	12 80 00 4e 	bne  2007958 <pthread_create+0x1a4>            
 2007824:	b0 10 20 16 	mov  0x16, %i0                                 
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
 2007828:	10 80 00 09 	b  200784c <pthread_create+0x98>               
 200782c:	e0 06 60 14 	ld  [ %i1 + 0x14 ], %l0                        
   *  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 ];    
 2007830:	03 00 80 8b 	sethi  %hi(0x2022c00), %g1                     
 2007834:	c2 00 62 4c 	ld  [ %g1 + 0x24c ], %g1	! 2022e4c <_Per_CPU_Information+0xc>
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2007838:	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 ];    
 200783c:	d2 00 61 5c 	ld  [ %g1 + 0x15c ], %o1                       
      schedpolicy = api->schedpolicy;                                 
 2007840:	e0 02 60 84 	ld  [ %o1 + 0x84 ], %l0                        
      schedparam  = api->schedparam;                                  
 2007844:	10 80 00 04 	b  2007854 <pthread_create+0xa0>               
 2007848:	92 02 60 88 	add  %o1, 0x88, %o1                            
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
 200784c:	90 07 bf dc 	add  %fp, -36, %o0                             
 2007850:	92 06 60 18 	add  %i1, 0x18, %o1                            
 2007854:	40 00 25 44 	call  2010d64 <memcpy>                         
 2007858:	94 10 20 1c 	mov  0x1c, %o2                                 
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
 200785c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2007860:	80 a0 60 00 	cmp  %g1, 0                                    
 2007864:	12 80 00 3d 	bne  2007958 <pthread_create+0x1a4>            
 2007868:	b0 10 20 86 	mov  0x86, %i0                                 
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
 200786c:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 2007870:	40 00 19 05 	call  200dc84 <_POSIX_Priority_Is_valid>       
 2007874:	b0 10 20 16 	mov  0x16, %i0                                 
 2007878:	80 8a 20 ff 	btst  0xff, %o0                                
 200787c:	02 80 00 37 	be  2007958 <pthread_create+0x1a4>             <== NEVER TAKEN
 2007880:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
 2007884:	e4 07 bf dc 	ld  [ %fp + -36 ], %l2                         
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 2007888:	e2 08 63 64 	ldub  [ %g1 + 0x364 ], %l1                     
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
 200788c:	90 10 00 10 	mov  %l0, %o0                                  
 2007890:	92 07 bf dc 	add  %fp, -36, %o1                             
 2007894:	94 07 bf f8 	add  %fp, -8, %o2                              
 2007898:	40 00 19 06 	call  200dcb0 <_POSIX_Thread_Translate_sched_param>
 200789c:	96 07 bf fc 	add  %fp, -4, %o3                              
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 20078a0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20078a4:	12 80 00 2d 	bne  2007958 <pthread_create+0x1a4>            
 20078a8:	27 00 80 8a 	sethi  %hi(0x2022800), %l3                     
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
 20078ac:	40 00 06 32 	call  2009174 <_API_Mutex_Lock>                
 20078b0:	d0 04 e1 a8 	ld  [ %l3 + 0x1a8 ], %o0	! 20229a8 <_RTEMS_Allocator_Mutex>
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
 20078b4:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 20078b8:	40 00 08 de 	call  2009c30 <_Objects_Allocate>              
 20078bc:	90 12 23 40 	or  %o0, 0x340, %o0	! 2022b40 <_POSIX_Threads_Information>
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
 20078c0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20078c4:	32 80 00 04 	bne,a   20078d4 <pthread_create+0x120>         
 20078c8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
    _RTEMS_Unlock_allocator();                                        
 20078cc:	10 80 00 21 	b  2007950 <pthread_create+0x19c>              
 20078d0:	d0 04 e1 a8 	ld  [ %l3 + 0x1a8 ], %o0                       
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
 20078d4:	05 00 80 86 	sethi  %hi(0x2021800), %g2                     
 20078d8:	d6 00 a3 68 	ld  [ %g2 + 0x368 ], %o3	! 2021b68 <rtems_minimum_stack_size>
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 20078dc:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
 20078e0:	97 2a e0 01 	sll  %o3, 1, %o3                               
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 20078e4:	80 a2 c0 01 	cmp  %o3, %g1                                  
 20078e8:	1a 80 00 03 	bcc  20078f4 <pthread_create+0x140>            
 20078ec:	d4 06 60 04 	ld  [ %i1 + 4 ], %o2                           
 20078f0:	96 10 00 01 	mov  %g1, %o3                                  
 20078f4:	82 10 20 01 	mov  1, %g1                                    
 20078f8:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 20078fc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2007900:	9a 0c 60 ff 	and  %l1, 0xff, %o5                            
 2007904:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2007908:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200790c:	c0 23 a0 68 	clr  [ %sp + 0x68 ]                            
 2007910:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2007914:	82 07 bf d4 	add  %fp, -44, %g1                             
 2007918:	23 00 80 8a 	sethi  %hi(0x2022800), %l1                     
 200791c:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2007920:	90 14 63 40 	or  %l1, 0x340, %o0                            
 2007924:	92 10 00 1c 	mov  %i4, %o1                                  
 2007928:	98 10 20 01 	mov  1, %o4                                    
 200792c:	40 00 0d e8 	call  200b0cc <_Thread_Initialize>             
 2007930:	9a 23 40 12 	sub  %o5, %l2, %o5                             
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
 2007934:	80 8a 20 ff 	btst  0xff, %o0                                
 2007938:	12 80 00 0a 	bne  2007960 <pthread_create+0x1ac>            
 200793c:	90 14 63 40 	or  %l1, 0x340, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
 2007940:	40 00 09 95 	call  2009f94 <_Objects_Free>                  
 2007944:	92 10 00 1c 	mov  %i4, %o1                                  
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
 2007948:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 200794c:	d0 00 61 a8 	ld  [ %g1 + 0x1a8 ], %o0	! 20229a8 <_RTEMS_Allocator_Mutex>
 2007950:	40 00 06 1e 	call  20091c8 <_API_Mutex_Unlock>              
 2007954:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2007958:	81 c7 e0 08 	ret                                            
 200795c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2007960:	e2 07 21 5c 	ld  [ %i4 + 0x15c ], %l1                       
                                                                      
  api->Attributes  = *the_attr;                                       
 2007964:	92 10 00 19 	mov  %i1, %o1                                  
 2007968:	94 10 20 40 	mov  0x40, %o2                                 
 200796c:	40 00 24 fe 	call  2010d64 <memcpy>                         
 2007970:	90 10 00 11 	mov  %l1, %o0                                  
  api->detachstate = the_attr->detachstate;                           
 2007974:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2007978:	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;                           
 200797c:	c2 24 60 40 	st  %g1, [ %l1 + 0x40 ]                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2007980:	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;                                     
 2007984:	e0 24 60 84 	st  %l0, [ %l1 + 0x84 ]                        
  api->schedparam  = schedparam;                                      
 2007988:	40 00 24 f7 	call  2010d64 <memcpy>                         
 200798c:	90 04 60 88 	add  %l1, 0x88, %o0                            
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2007990:	90 10 00 1c 	mov  %i4, %o0                                  
 2007994:	92 10 20 01 	mov  1, %o1                                    
 2007998:	94 10 00 1a 	mov  %i2, %o2                                  
 200799c:	96 10 00 1b 	mov  %i3, %o3                                  
 20079a0:	40 00 10 15 	call  200b9f4 <_Thread_Start>                  
 20079a4:	98 10 20 00 	clr  %o4                                       
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
 20079a8:	80 a4 20 04 	cmp  %l0, 4                                    
 20079ac:	32 80 00 0a 	bne,a   20079d4 <pthread_create+0x220>         
 20079b0:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
    _Watchdog_Insert_ticks(                                           
 20079b4:	40 00 10 38 	call  200ba94 <_Timespec_To_ticks>             
 20079b8:	90 04 60 90 	add  %l1, 0x90, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20079bc:	92 04 60 a8 	add  %l1, 0xa8, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20079c0:	d0 24 60 b4 	st  %o0, [ %l1 + 0xb4 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20079c4:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 20079c8:	40 00 11 10 	call  200be08 <_Watchdog_Insert>               
 20079cc:	90 12 21 c0 	or  %o0, 0x1c0, %o0	! 20229c0 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 20079d0:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
 20079d4:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                                                                      
  _RTEMS_Unlock_allocator();                                          
 20079d8:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 20079dc:	40 00 05 fb 	call  20091c8 <_API_Mutex_Unlock>              
 20079e0:	d0 00 61 a8 	ld  [ %g1 + 0x1a8 ], %o0	! 20229a8 <_RTEMS_Allocator_Mutex>
  return 0;                                                           
 20079e4:	81 c7 e0 08 	ret                                            
 20079e8:	81 e8 00 00 	restore                                        
}                                                                     
 20079ec:	81 c7 e0 08 	ret                                            
 20079f0:	81 e8 00 00 	restore                                        
                                                                      

0201a8c4 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
 201a8c4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
 201a8c8:	80 a6 60 00 	cmp  %i1, 0                                    
 201a8cc:	02 80 00 06 	be  201a8e4 <pthread_kill+0x20>                
 201a8d0:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 201a8d4:	b6 06 7f ff 	add  %i1, -1, %i3                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 201a8d8:	80 a6 e0 1f 	cmp  %i3, 0x1f                                 
 201a8dc:	08 80 00 08 	bleu  201a8fc <pthread_kill+0x38>              
 201a8e0:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 201a8e4:	7f ff d3 e4 	call  200f874 <__errno>                        
 201a8e8:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 201a8ec:	82 10 20 16 	mov  0x16, %g1                                 
 201a8f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201a8f4:	81 c7 e0 08 	ret                                            
 201a8f8:	81 e8 00 00 	restore                                        
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
 201a8fc:	7f ff be 2e 	call  200a1b4 <_Thread_Get>                    
 201a900:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 201a904:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201a908:	80 a0 60 00 	cmp  %g1, 0                                    
 201a90c:	12 80 00 22 	bne  201a994 <pthread_kill+0xd0>               <== NEVER TAKEN
 201a910:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
 201a914:	85 2e 60 02 	sll  %i1, 2, %g2                               
 201a918:	87 2e 60 04 	sll  %i1, 4, %g3                               
 201a91c:	86 20 c0 02 	sub  %g3, %g2, %g3                             
 201a920:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 201a924:	84 10 a1 b0 	or  %g2, 0x1b0, %g2	! 201e1b0 <_POSIX_signals_Vectors>
 201a928:	84 00 80 03 	add  %g2, %g3, %g2                             
 201a92c:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 201a930:	80 a0 a0 01 	cmp  %g2, 1                                    
 201a934:	02 80 00 14 	be  201a984 <pthread_kill+0xc0>                
 201a938:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 201a93c:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
 201a940:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 201a944:	92 10 00 19 	mov  %i1, %o1                                  
 201a948:	b7 2f 40 1b 	sll  %i5, %i3, %i3                             
 201a94c:	94 10 20 00 	clr  %o2                                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 201a950:	b6 10 80 1b 	or  %g2, %i3, %i3                              
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 201a954:	7f ff ff 89 	call  201a778 <_POSIX_signals_Unblock_thread>  
 201a958:	f6 20 60 d4 	st  %i3, [ %g1 + 0xd4 ]                        
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 201a95c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 201a960:	82 10 61 50 	or  %g1, 0x150, %g1	! 201e150 <_Per_CPU_Information>
 201a964:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201a968:	80 a0 a0 00 	cmp  %g2, 0                                    
 201a96c:	02 80 00 06 	be  201a984 <pthread_kill+0xc0>                
 201a970:	01 00 00 00 	nop                                            
 201a974:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 201a978:	80 a7 00 02 	cmp  %i4, %g2                                  
 201a97c:	22 80 00 02 	be,a   201a984 <pthread_kill+0xc0>             
 201a980:	fa 28 60 18 	stb  %i5, [ %g1 + 0x18 ]                       
	  _Thread_Dispatch_necessary = true;                                 
      }                                                               
      _Thread_Enable_dispatch();                                      
 201a984:	7f ff bd ff 	call  200a180 <_Thread_Enable_dispatch>        
 201a988:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
 201a98c:	81 c7 e0 08 	ret                                            
 201a990:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
 201a994:	7f ff d3 b8 	call  200f874 <__errno>                        <== NOT EXECUTED
 201a998:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201a99c:	82 10 20 03 	mov  3, %g1                                    <== NOT EXECUTED
 201a9a0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
}                                                                     
 201a9a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201a9a8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02009960 <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
 2009960:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 2009964:	92 07 bf fc 	add  %fp, -4, %o1                              
 2009968:	40 00 00 37 	call  2009a44 <_POSIX_Absolute_timeout_to_ticks>
 200996c:	90 10 00 19 	mov  %i1, %o0                                  
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
 2009970:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
int	_EXFUN(pthread_mutex_trylock, (pthread_mutex_t *__mutex));        
int	_EXFUN(pthread_mutex_unlock, (pthread_mutex_t *__mutex));         
                                                                      
#if defined(_POSIX_TIMEOUTS)                                          
                                                                      
int	_EXFUN(pthread_mutex_timedlock,                                   
 2009974:	82 1a 20 03 	xor  %o0, 3, %g1                               
 2009978:	80 a0 00 01 	cmp  %g0, %g1                                  
   *                                                                  
   *  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 );       
 200997c:	ba 10 00 08 	mov  %o0, %i5                                  
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
 2009980:	b8 60 3f ff 	subx  %g0, -1, %i4                             
 2009984:	90 10 00 18 	mov  %i0, %o0                                  
 2009988:	7f ff ff bd 	call  200987c <_POSIX_Mutex_Lock_support>      
 200998c:	92 10 00 1c 	mov  %i4, %o1                                  
   *  This service only gives us the option to block.  We used a polling
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
 2009990:	80 a7 20 00 	cmp  %i4, 0                                    
 2009994:	12 80 00 0d 	bne  20099c8 <pthread_mutex_timedlock+0x68>    
 2009998:	b0 10 00 08 	mov  %o0, %i0                                  
 200999c:	80 a2 20 10 	cmp  %o0, 0x10                                 
 20099a0:	12 80 00 0a 	bne  20099c8 <pthread_mutex_timedlock+0x68>    
 20099a4:	80 a7 60 00 	cmp  %i5, 0                                    
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
 20099a8:	02 80 00 07 	be  20099c4 <pthread_mutex_timedlock+0x64>     <== NEVER TAKEN
 20099ac:	ba 07 7f ff 	add  %i5, -1, %i5                              
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
 20099b0:	80 a7 60 01 	cmp  %i5, 1                                    
 20099b4:	18 80 00 05 	bgu  20099c8 <pthread_mutex_timedlock+0x68>    <== NEVER TAKEN
 20099b8:	01 00 00 00 	nop                                            
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
 20099bc:	81 c7 e0 08 	ret                                            
 20099c0:	91 e8 20 74 	restore  %g0, 0x74, %o0                        
 20099c4:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
 20099c8:	81 c7 e0 08 	ret                                            
 20099cc:	81 e8 00 00 	restore                                        
                                                                      

0200707c <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
 200707c:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr )                                                        
 2007080:	80 a0 60 00 	cmp  %g1, 0                                    
 2007084:	02 80 00 0b 	be  20070b0 <pthread_mutexattr_gettype+0x34>   
 2007088:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 200708c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2007090:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007094:	02 80 00 07 	be  20070b0 <pthread_mutexattr_gettype+0x34>   
 2007098:	80 a2 60 00 	cmp  %o1, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
 200709c:	02 80 00 05 	be  20070b0 <pthread_mutexattr_gettype+0x34>   <== NEVER TAKEN
 20070a0:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 20070a4:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
  return 0;                                                           
 20070a8:	90 10 20 00 	clr  %o0                                       
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 20070ac:	c2 22 40 00 	st  %g1, [ %o1 ]                               
  return 0;                                                           
}                                                                     
 20070b0:	81 c3 e0 08 	retl                                           
                                                                      

02009550 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
 2009550:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 2009554:	80 a0 60 00 	cmp  %g1, 0                                    
 2009558:	02 80 00 0a 	be  2009580 <pthread_mutexattr_setpshared+0x30>
 200955c:	90 10 20 16 	mov  0x16, %o0                                 
 2009560:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009564:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009568:	02 80 00 06 	be  2009580 <pthread_mutexattr_setpshared+0x30>
 200956c:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2009570:	18 80 00 04 	bgu  2009580 <pthread_mutexattr_setpshared+0x30><== NEVER TAKEN
 2009574:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2009578:	d2 20 60 04 	st  %o1, [ %g1 + 4 ]                           
      return 0;                                                       
 200957c:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2009580:	81 c3 e0 08 	retl                                           
                                                                      

020070e8 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
 20070e8:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 20070ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20070f0:	02 80 00 0a 	be  2007118 <pthread_mutexattr_settype+0x30>   
 20070f4:	90 10 20 16 	mov  0x16, %o0                                 
 20070f8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 20070fc:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007100:	02 80 00 06 	be  2007118 <pthread_mutexattr_settype+0x30>   <== NEVER TAKEN
 2007104:	80 a2 60 03 	cmp  %o1, 3                                    
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
 2007108:	18 80 00 04 	bgu  2007118 <pthread_mutexattr_settype+0x30>  
 200710c:	01 00 00 00 	nop                                            
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
 2007110:	d2 20 60 10 	st  %o1, [ %g1 + 0x10 ]                        
      return 0;                                                       
 2007114:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2007118:	81 c3 e0 08 	retl                                           
                                                                      

02007e38 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
 2007e38:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !once_control || !init_routine )                               
 2007e3c:	80 a6 60 00 	cmp  %i1, 0                                    
 2007e40:	02 80 00 1c 	be  2007eb0 <pthread_once+0x78>                
 2007e44:	ba 10 00 18 	mov  %i0, %i5                                  
 2007e48:	80 a6 20 00 	cmp  %i0, 0                                    
 2007e4c:	22 80 00 17 	be,a   2007ea8 <pthread_once+0x70>             
 2007e50:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
 2007e54:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2007e58:	80 a0 60 00 	cmp  %g1, 0                                    
 2007e5c:	12 80 00 13 	bne  2007ea8 <pthread_once+0x70>               
 2007e60:	b0 10 20 00 	clr  %i0                                       
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 2007e64:	90 10 21 00 	mov  0x100, %o0                                
 2007e68:	92 10 21 00 	mov  0x100, %o1                                
 2007e6c:	40 00 03 06 	call  2008a84 <rtems_task_mode>                
 2007e70:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( !once_control->init_executed ) {                             
 2007e74:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 2007e78:	80 a0 60 00 	cmp  %g1, 0                                    
 2007e7c:	12 80 00 07 	bne  2007e98 <pthread_once+0x60>               <== NEVER TAKEN
 2007e80:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      once_control->is_initialized = true;                            
 2007e84:	82 10 20 01 	mov  1, %g1                                    
 2007e88:	c2 27 40 00 	st  %g1, [ %i5 ]                               
      once_control->init_executed = true;                             
      (*init_routine)();                                              
 2007e8c:	9f c6 40 00 	call  %i1                                      
 2007e90:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2007e94:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2007e98:	92 10 21 00 	mov  0x100, %o1                                
 2007e9c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007ea0:	40 00 02 f9 	call  2008a84 <rtems_task_mode>                
 2007ea4:	b0 10 20 00 	clr  %i0                                       
 2007ea8:	81 c7 e0 08 	ret                                            
 2007eac:	81 e8 00 00 	restore                                        
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
 2007eb0:	b0 10 20 16 	mov  0x16, %i0                                 
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
 2007eb4:	81 c7 e0 08 	ret                                            
 2007eb8:	81 e8 00 00 	restore                                        
                                                                      

02007f64 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
 2007f64:	9d e3 bf 90 	save  %sp, -112, %sp                           
 2007f68:	ba 10 00 18 	mov  %i0, %i5                                  
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
 2007f6c:	80 a7 60 00 	cmp  %i5, 0                                    
 2007f70:	02 80 00 1d 	be  2007fe4 <pthread_rwlock_init+0x80>         
 2007f74:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2007f78:	80 a6 60 00 	cmp  %i1, 0                                    
 2007f7c:	32 80 00 06 	bne,a   2007f94 <pthread_rwlock_init+0x30>     
 2007f80:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
 2007f84:	90 07 bf f4 	add  %fp, -12, %o0                             
 2007f88:	40 00 01 ac 	call  2008638 <pthread_rwlockattr_init>        
 2007f8c:	b2 07 bf f4 	add  %fp, -12, %i1                             
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2007f90:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007f94:	80 a0 60 00 	cmp  %g1, 0                                    
 2007f98:	02 80 00 13 	be  2007fe4 <pthread_rwlock_init+0x80>         <== NEVER TAKEN
 2007f9c:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2007fa0:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2007fa4:	80 a0 60 00 	cmp  %g1, 0                                    
 2007fa8:	12 80 00 0f 	bne  2007fe4 <pthread_rwlock_init+0x80>        <== NEVER TAKEN
 2007fac:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007fb0:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 2022730 <_Thread_Dispatch_disable_level>
 */                                                                   
RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes(         
  CORE_RWLock_Attributes *the_attributes                              
)                                                                     
{                                                                     
  the_attributes->XXX = 0;                                            
 2007fb4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
 2007fb8:	84 00 a0 01 	inc  %g2                                       
 2007fbc:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007fc0:	c2 00 63 30 	ld  [ %g1 + 0x330 ], %g1                       
 *  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 *)                                     
 2007fc4:	37 00 80 8a 	sethi  %hi(0x2022800), %i3                     
 2007fc8:	40 00 0a 7b 	call  200a9b4 <_Objects_Allocate>              
 2007fcc:	90 16 e1 70 	or  %i3, 0x170, %o0	! 2022970 <_POSIX_RWLock_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
 2007fd0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2007fd4:	12 80 00 06 	bne  2007fec <pthread_rwlock_init+0x88>        
 2007fd8:	90 07 20 10 	add  %i4, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 2007fdc:	40 00 0f 9e 	call  200be54 <_Thread_Enable_dispatch>        
 2007fe0:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 2007fe4:	81 c7 e0 08 	ret                                            
 2007fe8:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
 2007fec:	40 00 08 ca 	call  200a314 <_CORE_RWLock_Initialize>        
 2007ff0:	92 07 bf fc 	add  %fp, -4, %o1                              
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2007ff4:	c4 17 20 0a 	lduh  [ %i4 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007ff8:	b6 16 e1 70 	or  %i3, 0x170, %i3                            
 2007ffc:	c6 06 e0 1c 	ld  [ %i3 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008000:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008004:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008008:	f8 20 c0 02 	st  %i4, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 200800c:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
 2008010:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2008014:	40 00 0f 90 	call  200be54 <_Thread_Enable_dispatch>        
 2008018:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 200801c:	81 c7 e0 08 	ret                                            
 2008020:	81 e8 00 00 	restore                                        
                                                                      

02008918 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2008918:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
 200891c:	ba 10 20 16 	mov  0x16, %i5                                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2008920:	80 a6 20 00 	cmp  %i0, 0                                    
 2008924:	02 80 00 2b 	be  20089d0 <pthread_rwlock_timedrdlock+0xb8>  
 2008928:	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 );       
 200892c:	40 00 19 c2 	call  200f034 <_POSIX_Absolute_timeout_to_ticks>
 2008930:	92 07 bf fc 	add  %fp, -4, %o1                              
 2008934:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2008938:	b8 10 00 08 	mov  %o0, %i4                                  
 200893c:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008940:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2008944:	40 00 0b 16 	call  200b59c <_Objects_Get>                   
 2008948:	90 12 23 40 	or  %o0, 0x340, %o0	! 2020f40 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 200894c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2008950:	80 a0 60 00 	cmp  %g1, 0                                    
 2008954:	12 80 00 1f 	bne  20089d0 <pthread_rwlock_timedrdlock+0xb8> 
 2008958:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 200895c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
 2008960:	82 1f 20 03 	xor  %i4, 3, %g1                               
 2008964:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2008968:	80 a0 00 01 	cmp  %g0, %g1                                  
 200896c:	98 10 20 00 	clr  %o4                                       
 2008970:	b6 60 3f ff 	subx  %g0, -1, %i3                             
 2008974:	40 00 07 80 	call  200a774 <_CORE_RWLock_Obtain_for_reading>
 2008978:	94 10 00 1b 	mov  %i3, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200897c:	40 00 0e bb 	call  200c468 <_Thread_Enable_dispatch>        
 2008980:	01 00 00 00 	nop                                            
      if ( !do_wait ) {                                               
 2008984:	80 a6 e0 00 	cmp  %i3, 0                                    
 2008988:	12 80 00 0d 	bne  20089bc <pthread_rwlock_timedrdlock+0xa4> 
 200898c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 2008990:	c2 00 62 8c 	ld  [ %g1 + 0x28c ], %g1	! 202128c <_Per_CPU_Information+0xc>
 2008994:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2008998:	80 a0 60 02 	cmp  %g1, 2                                    
 200899c:	32 80 00 09 	bne,a   20089c0 <pthread_rwlock_timedrdlock+0xa8>
 20089a0:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
 20089a4:	80 a7 20 00 	cmp  %i4, 0                                    
 20089a8:	02 80 00 0a 	be  20089d0 <pthread_rwlock_timedrdlock+0xb8>  <== NEVER TAKEN
 20089ac:	b8 07 3f ff 	add  %i4, -1, %i4                              
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
 20089b0:	80 a7 20 01 	cmp  %i4, 1                                    
 20089b4:	08 80 00 07 	bleu  20089d0 <pthread_rwlock_timedrdlock+0xb8><== ALWAYS TAKEN
 20089b8:	ba 10 20 74 	mov  0x74, %i5                                 
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
 20089bc:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
 20089c0:	c2 00 62 8c 	ld  [ %g1 + 0x28c ], %g1	! 202128c <_Per_CPU_Information+0xc>
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 20089c4:	40 00 00 35 	call  2008a98 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 20089c8:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 20089cc:	ba 10 00 08 	mov  %o0, %i5                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 20089d0:	81 c7 e0 08 	ret                                            
 20089d4:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      

020089d8 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 20089d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
 20089dc:	ba 10 20 16 	mov  0x16, %i5                                 
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 20089e0:	80 a6 20 00 	cmp  %i0, 0                                    
 20089e4:	02 80 00 2b 	be  2008a90 <pthread_rwlock_timedwrlock+0xb8>  
 20089e8:	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 );       
 20089ec:	40 00 19 92 	call  200f034 <_POSIX_Absolute_timeout_to_ticks>
 20089f0:	92 07 bf fc 	add  %fp, -4, %o1                              
 20089f4:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 20089f8:	b8 10 00 08 	mov  %o0, %i4                                  
 20089fc:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008a00:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2008a04:	40 00 0a e6 	call  200b59c <_Objects_Get>                   
 2008a08:	90 12 23 40 	or  %o0, 0x340, %o0	! 2020f40 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2008a0c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2008a10:	80 a0 60 00 	cmp  %g1, 0                                    
 2008a14:	12 80 00 1f 	bne  2008a90 <pthread_rwlock_timedwrlock+0xb8> 
 2008a18:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 2008a1c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
 2008a20:	82 1f 20 03 	xor  %i4, 3, %g1                               
 2008a24:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2008a28:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008a2c:	98 10 20 00 	clr  %o4                                       
 2008a30:	b6 60 3f ff 	subx  %g0, -1, %i3                             
 2008a34:	40 00 07 84 	call  200a844 <_CORE_RWLock_Obtain_for_writing>
 2008a38:	94 10 00 1b 	mov  %i3, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2008a3c:	40 00 0e 8b 	call  200c468 <_Thread_Enable_dispatch>        
 2008a40:	01 00 00 00 	nop                                            
      if ( !do_wait &&                                                
 2008a44:	80 a6 e0 00 	cmp  %i3, 0                                    
 2008a48:	12 80 00 0d 	bne  2008a7c <pthread_rwlock_timedwrlock+0xa4> 
 2008a4c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
 2008a50:	c2 00 62 8c 	ld  [ %g1 + 0x28c ], %g1	! 202128c <_Per_CPU_Information+0xc>
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
 2008a54:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2008a58:	80 a0 60 02 	cmp  %g1, 2                                    
 2008a5c:	32 80 00 09 	bne,a   2008a80 <pthread_rwlock_timedwrlock+0xa8>
 2008a60:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
 2008a64:	80 a7 20 00 	cmp  %i4, 0                                    
 2008a68:	02 80 00 0a 	be  2008a90 <pthread_rwlock_timedwrlock+0xb8>  <== NEVER TAKEN
 2008a6c:	b8 07 3f ff 	add  %i4, -1, %i4                              
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
 2008a70:	80 a7 20 01 	cmp  %i4, 1                                    
 2008a74:	08 80 00 07 	bleu  2008a90 <pthread_rwlock_timedwrlock+0xb8><== ALWAYS TAKEN
 2008a78:	ba 10 20 74 	mov  0x74, %i5                                 
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
 2008a7c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
 2008a80:	c2 00 62 8c 	ld  [ %g1 + 0x28c ], %g1	! 202128c <_Per_CPU_Information+0xc>
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2008a84:	40 00 00 05 	call  2008a98 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2008a88:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2008a8c:	ba 10 00 08 	mov  %o0, %i5                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2008a90:	81 c7 e0 08 	ret                                            
 2008a94:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      

02009218 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
 2009218:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr )                                                        
 200921c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009220:	02 80 00 0a 	be  2009248 <pthread_rwlockattr_setpshared+0x30>
 2009224:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2009228:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200922c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009230:	02 80 00 06 	be  2009248 <pthread_rwlockattr_setpshared+0x30>
 2009234:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2009238:	18 80 00 04 	bgu  2009248 <pthread_rwlockattr_setpshared+0x30><== NEVER TAKEN
 200923c:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2009240:	d2 20 60 04 	st  %o1, [ %g1 + 4 ]                           
      return 0;                                                       
 2009244:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2009248:	81 c3 e0 08 	retl                                           
                                                                      

0200a228 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
 200a228:	9d e3 bf 90 	save  %sp, -112, %sp                           
 200a22c:	ba 10 00 18 	mov  %i0, %i5                                  
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
 200a230:	80 a6 a0 00 	cmp  %i2, 0                                    
 200a234:	02 80 00 3d 	be  200a328 <pthread_setschedparam+0x100>      
 200a238:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
 200a23c:	90 10 00 19 	mov  %i1, %o0                                  
 200a240:	92 10 00 1a 	mov  %i2, %o1                                  
 200a244:	94 07 bf f4 	add  %fp, -12, %o2                             
 200a248:	40 00 17 80 	call  2010048 <_POSIX_Thread_Translate_sched_param>
 200a24c:	96 07 bf f8 	add  %fp, -8, %o3                              
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 200a250:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200a254:	12 80 00 35 	bne  200a328 <pthread_setschedparam+0x100>     
 200a258:	90 10 00 1d 	mov  %i5, %o0                                  
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
 200a25c:	40 00 0c 1d 	call  200d2d0 <_Thread_Get>                    
 200a260:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a264:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a268:	80 a0 60 00 	cmp  %g1, 0                                    
 200a26c:	12 80 00 31 	bne  200a330 <pthread_setschedparam+0x108>     
 200a270:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 200a274:	fa 02 21 5c 	ld  [ %o0 + 0x15c ], %i5                       
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
 200a278:	c2 07 60 84 	ld  [ %i5 + 0x84 ], %g1                        
 200a27c:	80 a0 60 04 	cmp  %g1, 4                                    
 200a280:	32 80 00 05 	bne,a   200a294 <pthread_setschedparam+0x6c>   
 200a284:	f2 27 60 84 	st  %i1, [ %i5 + 0x84 ]                        
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
 200a288:	40 00 10 2b 	call  200e334 <_Watchdog_Remove>               
 200a28c:	90 07 60 a8 	add  %i5, 0xa8, %o0                            
                                                                      
      api->schedpolicy = policy;                                      
 200a290:	f2 27 60 84 	st  %i1, [ %i5 + 0x84 ]                        
      api->schedparam  = *param;                                      
 200a294:	90 07 60 88 	add  %i5, 0x88, %o0                            
 200a298:	92 10 00 1a 	mov  %i2, %o1                                  
 200a29c:	40 00 23 f6 	call  2013274 <memcpy>                         
 200a2a0:	94 10 20 1c 	mov  0x1c, %o2                                 
      the_thread->budget_algorithm = budget_algorithm;                
 200a2a4:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 200a2a8:	80 a6 60 00 	cmp  %i1, 0                                    
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
 200a2ac:	c2 27 20 78 	st  %g1, [ %i4 + 0x78 ]                        
      the_thread->budget_callout   = budget_callout;                  
 200a2b0:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
      switch ( api->schedpolicy ) {                                   
 200a2b4:	06 80 00 1b 	bl  200a320 <pthread_setschedparam+0xf8>       <== NEVER TAKEN
 200a2b8:	c2 27 20 7c 	st  %g1, [ %i4 + 0x7c ]                        
 200a2bc:	80 a6 60 02 	cmp  %i1, 2                                    
 200a2c0:	04 80 00 07 	ble  200a2dc <pthread_setschedparam+0xb4>      
 200a2c4:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 200a2c8:	80 a6 60 04 	cmp  %i1, 4                                    
 200a2cc:	12 80 00 15 	bne  200a320 <pthread_setschedparam+0xf8>      <== NEVER TAKEN
 200a2d0:	01 00 00 00 	nop                                            
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
 200a2d4:	10 80 00 0d 	b  200a308 <pthread_setschedparam+0xe0>        
 200a2d8:	c2 07 60 88 	ld  [ %i5 + 0x88 ], %g1                        
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 200a2dc:	c2 00 61 14 	ld  [ %g1 + 0x114 ], %g1                       
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 200a2e0:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 200a2e4:	c2 27 20 74 	st  %g1, [ %i4 + 0x74 ]                        
 200a2e8:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
 200a2ec:	d2 08 63 b4 	ldub  [ %g1 + 0x3b4 ], %o1	! 20223b4 <rtems_maximum_priority>
 200a2f0:	c2 07 60 88 	ld  [ %i5 + 0x88 ], %g1                        
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 200a2f4:	94 10 20 01 	mov  1, %o2                                    
 200a2f8:	92 22 40 01 	sub  %o1, %g1, %o1                             
 200a2fc:	40 00 0a c3 	call  200ce08 <_Thread_Change_priority>        
 200a300:	d2 27 20 18 	st  %o1, [ %i4 + 0x18 ]                        
             the_thread,                                              
             the_thread->real_priority,                               
             true                                                     
          );                                                          
          break;                                                      
 200a304:	30 80 00 07 	b,a   200a320 <pthread_setschedparam+0xf8>     
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
          _Watchdog_Remove( &api->Sporadic_timer );                   
 200a308:	90 07 60 a8 	add  %i5, 0xa8, %o0                            
 200a30c:	40 00 10 0a 	call  200e334 <_Watchdog_Remove>               
 200a310:	c2 27 60 a4 	st  %g1, [ %i5 + 0xa4 ]                        
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
 200a314:	90 10 20 00 	clr  %o0                                       
 200a318:	7f ff ff 80 	call  200a118 <_POSIX_Threads_Sporadic_budget_TSR>
 200a31c:	92 10 00 1c 	mov  %i4, %o1                                  
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 200a320:	40 00 0b df 	call  200d29c <_Thread_Enable_dispatch>        
 200a324:	01 00 00 00 	nop                                            
      return 0;                                                       
 200a328:	81 c7 e0 08 	ret                                            
 200a32c:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
 200a330:	b0 10 20 03 	mov  3, %i0                                    
}                                                                     
 200a334:	81 c7 e0 08 	ret                                            
 200a338:	81 e8 00 00 	restore                                        
                                                                      

02007b1c <pthread_testcancel>: /* * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
 2007b1c:	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() )                                        
 2007b20:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2007b24:	82 10 63 a0 	or  %g1, 0x3a0, %g1	! 201efa0 <_Per_CPU_Information>
 2007b28:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2007b2c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007b30:	12 80 00 19 	bne  2007b94 <pthread_testcancel+0x78>         <== NEVER TAKEN
 2007b34:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 2007b38:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2007b3c:	c4 00 61 5c 	ld  [ %g1 + 0x15c ], %g2                       
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007b40:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2007b44:	c6 00 62 60 	ld  [ %g1 + 0x260 ], %g3	! 201ea60 <_Thread_Dispatch_disable_level>
 2007b48:	86 00 e0 01 	inc  %g3                                       
 2007b4c:	c6 20 62 60 	st  %g3, [ %g1 + 0x260 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007b50:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1                       
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 2007b54:	c2 00 a0 d8 	ld  [ %g2 + 0xd8 ], %g1                        
 2007b58:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b5c:	12 80 00 05 	bne  2007b70 <pthread_testcancel+0x54>         <== NEVER TAKEN
 2007b60:	ba 10 20 00 	clr  %i5                                       
                                                                      
/* 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));                             
 2007b64:	c2 00 a0 e0 	ld  [ %g2 + 0xe0 ], %g1                        
 2007b68:	80 a0 00 01 	cmp  %g0, %g1                                  
 2007b6c:	ba 40 20 00 	addx  %g0, 0, %i5                              
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 2007b70:	40 00 0b ac 	call  200aa20 <_Thread_Enable_dispatch>        
 2007b74:	01 00 00 00 	nop                                            
                                                                      
  if ( cancel )                                                       
 2007b78:	80 8f 60 ff 	btst  0xff, %i5                                
 2007b7c:	02 80 00 06 	be  2007b94 <pthread_testcancel+0x78>          
 2007b80:	01 00 00 00 	nop                                            
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
 2007b84:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2007b88:	f0 00 63 ac 	ld  [ %g1 + 0x3ac ], %i0	! 201efac <_Per_CPU_Information+0xc>
 2007b8c:	40 00 17 48 	call  200d8ac <_POSIX_Thread_Exit>             
 2007b90:	93 e8 3f ff 	restore  %g0, -1, %o1                          
 2007b94:	81 c7 e0 08 	ret                                            
 2007b98:	81 e8 00 00 	restore                                        
                                                                      

020080f8 <rtems_aio_enqueue>: * errno - otherwise */ int rtems_aio_enqueue (rtems_aio_request *req) {
 20080f8:	9d e3 bf 78 	save  %sp, -136, %sp                           
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
 20080fc:	3b 00 80 80 	sethi  %hi(0x2020000), %i5                     
 2008100:	40 00 02 86 	call  2008b18 <pthread_mutex_lock>             
 2008104:	90 17 60 24 	or  %i5, 0x24, %o0	! 2020024 <aio_request_queue>
  if (result != 0) {                                                  
 2008108:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200810c:	02 80 00 06 	be  2008124 <rtems_aio_enqueue+0x2c>           <== ALWAYS TAKEN
 2008110:	01 00 00 00 	nop                                            
    free (req);                                                       
 2008114:	7f ff ee e5 	call  2003ca8 <free>                           <== NOT EXECUTED
 2008118:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    return result;                                                    
 200811c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008120:	91 e8 00 1c 	restore  %g0, %i4, %o0                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
 2008124:	40 00 04 8c 	call  2009354 <pthread_self>                   
 2008128:	ba 17 60 24 	or  %i5, 0x24, %i5                             
 200812c:	92 07 bf fc 	add  %fp, -4, %o1                              
 2008130:	40 00 03 9a 	call  2008f98 <pthread_getschedparam>          
 2008134:	94 07 bf dc 	add  %fp, -36, %o2                             
                                                                      
  req->caller_thread = pthread_self ();                               
 2008138:	40 00 04 87 	call  2009354 <pthread_self>                   
 200813c:	01 00 00 00 	nop                                            
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 2008140:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2008144:	c6 07 bf dc 	ld  [ %fp + -36 ], %g3                         
 2008148:	c4 00 60 18 	ld  [ %g1 + 0x18 ], %g2                        
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
 200814c:	d0 26 20 10 	st  %o0, [ %i0 + 0x10 ]                        
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 2008150:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 2008154:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
  req->policy = policy;                                               
 2008158:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 200815c:	c4 26 20 08 	st  %g2, [ %i0 + 8 ]                           
  req->aiocbp->error_code = EINPROGRESS;                              
 2008160:	84 10 20 77 	mov  0x77, %g2                                 
 2008164:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
 2008168:	c4 07 60 68 	ld  [ %i5 + 0x68 ], %g2                        
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
  req->aiocbp->return_value = 0;                                      
 200816c:	c0 20 60 38 	clr  [ %g1 + 0x38 ]                            
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
 2008170:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008174:	12 80 00 33 	bne  2008240 <rtems_aio_enqueue+0x148>         <== NEVER TAKEN
 2008178:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 200817c:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
 2008180:	80 a0 60 04 	cmp  %g1, 4                                    
 2008184:	14 80 00 30 	bg  2008244 <rtems_aio_enqueue+0x14c>          
 2008188:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
 200818c:	90 07 60 48 	add  %i5, 0x48, %o0                            
 2008190:	7f ff ff 7e 	call  2007f88 <rtems_aio_search_fd>            
 2008194:	94 10 20 01 	mov  1, %o2                                    
                                                                      
      if (r_chain->new_fd == 1) {                                     
 2008198:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
 200819c:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
      if (r_chain->new_fd == 1) {                                     
 20081a0:	80 a0 60 01 	cmp  %g1, 1                                    
 20081a4:	12 80 00 1d 	bne  2008218 <rtems_aio_enqueue+0x120>         
 20081a8:	b4 02 20 08 	add  %o0, 8, %i2                               
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 20081ac:	90 10 00 1a 	mov  %i2, %o0                                  
 20081b0:	40 00 08 fa 	call  200a598 <_Chain_Insert>                  
 20081b4:	92 10 00 18 	mov  %i0, %o1                                  
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
	pthread_mutex_init (&r_chain->mutex, NULL);                          
 20081b8:	90 06 e0 1c 	add  %i3, 0x1c, %o0                            
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
                                                                      
      if (r_chain->new_fd == 1) {                                     
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
 20081bc:	c0 26 e0 18 	clr  [ %i3 + 0x18 ]                            
	pthread_mutex_init (&r_chain->mutex, NULL);                          
 20081c0:	40 00 02 00 	call  20089c0 <pthread_mutex_init>             
 20081c4:	92 10 20 00 	clr  %o1                                       
	pthread_cond_init (&r_chain->cond, NULL);                            
 20081c8:	90 06 e0 20 	add  %i3, 0x20, %o0                            
 20081cc:	40 00 01 09 	call  20085f0 <pthread_cond_init>              
 20081d0:	92 10 20 00 	clr  %o1                                       
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
 20081d4:	96 10 00 1b 	mov  %i3, %o3                                  
 20081d8:	90 07 bf f8 	add  %fp, -8, %o0                              
 20081dc:	92 07 60 08 	add  %i5, 8, %o1                               
 20081e0:	15 00 80 1e 	sethi  %hi(0x2007800), %o2                     
 20081e4:	40 00 02 dd 	call  2008d58 <pthread_create>                 
 20081e8:	94 12 a3 d8 	or  %o2, 0x3d8, %o2	! 2007bd8 <rtems_aio_handle>
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
 20081ec:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 20081f0:	22 80 00 07 	be,a   200820c <rtems_aio_enqueue+0x114>       <== ALWAYS TAKEN
 20081f4:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
 20081f8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20081fc:	40 00 02 67 	call  2008b98 <pthread_mutex_unlock>           <== NOT EXECUTED
 2008200:	b8 10 00 1b 	mov  %i3, %i4                                  <== NOT EXECUTED
	  return result;                                                     
 2008204:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008208:	91 e8 00 1c 	restore  %g0, %i4, %o0                         <== NOT EXECUTED
	}                                                                    
	++aio_request_queue.active_threads;                                  
 200820c:	82 00 60 01 	inc  %g1                                       
 2008210:	10 80 00 40 	b  2008310 <rtems_aio_enqueue+0x218>           
 2008214:	c2 27 60 64 	st  %g1, [ %i5 + 0x64 ]                        
      }                                                               
      else {                                                          
	/* put request in the fd chain it belongs to */                      
	pthread_mutex_lock (&r_chain->mutex);                                
 2008218:	ba 02 20 1c 	add  %o0, 0x1c, %i5                            
 200821c:	40 00 02 3f 	call  2008b18 <pthread_mutex_lock>             
 2008220:	90 10 00 1d 	mov  %i5, %o0                                  
	rtems_aio_insert_prio (&r_chain->perfd, req);                        
 2008224:	90 10 00 1a 	mov  %i2, %o0                                  
 2008228:	7f ff ff 0a 	call  2007e50 <rtems_aio_insert_prio>          
 200822c:	92 10 00 18 	mov  %i0, %o1                                  
	pthread_cond_signal (&r_chain->cond);                                
 2008230:	40 00 01 1f 	call  20086ac <pthread_cond_signal>            
 2008234:	90 06 e0 20 	add  %i3, 0x20, %o0                            
	pthread_mutex_unlock (&r_chain->mutex);                              
 2008238:	10 80 00 11 	b  200827c <rtems_aio_enqueue+0x184>           
 200823c:	90 10 00 1d 	mov  %i5, %o0                                  
  else                                                                
    {                                                                 
      /* the maximum number of threads has been already created       
	 even though some of them might be idle.                             
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
 2008240:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2008244:	94 10 20 00 	clr  %o2                                       
 2008248:	7f ff ff 50 	call  2007f88 <rtems_aio_search_fd>            
 200824c:	90 12 20 6c 	or  %o0, 0x6c, %o0                             
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
 2008250:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2008254:	02 80 00 0e 	be  200828c <rtems_aio_enqueue+0x194>          
 2008258:	b6 07 60 1c 	add  %i5, 0x1c, %i3                            
	{                                                                    
	  pthread_mutex_lock (&r_chain->mutex);                              
 200825c:	40 00 02 2f 	call  2008b18 <pthread_mutex_lock>             
 2008260:	90 10 00 1b 	mov  %i3, %o0                                  
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
 2008264:	90 07 60 08 	add  %i5, 8, %o0                               
 2008268:	7f ff fe fa 	call  2007e50 <rtems_aio_insert_prio>          
 200826c:	92 10 00 18 	mov  %i0, %o1                                  
	  pthread_cond_signal (&r_chain->cond);                              
 2008270:	40 00 01 0f 	call  20086ac <pthread_cond_signal>            
 2008274:	90 07 60 20 	add  %i5, 0x20, %o0                            
	  pthread_mutex_unlock (&r_chain->mutex);                            
 2008278:	90 10 00 1b 	mov  %i3, %o0                                  
 200827c:	40 00 02 47 	call  2008b98 <pthread_mutex_unlock>           
 2008280:	01 00 00 00 	nop                                            
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
 2008284:	10 80 00 24 	b  2008314 <rtems_aio_enqueue+0x21c>           
 2008288:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
 200828c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2008290:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 2008294:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 2008298:	90 12 20 78 	or  %o0, 0x78, %o0                             
 200829c:	7f ff ff 3b 	call  2007f88 <rtems_aio_search_fd>            
 20082a0:	94 10 20 01 	mov  1, %o2                                    
                                                                      
	if (r_chain->new_fd == 1) {                                          
 20082a4:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
 20082a8:	ba 10 00 08 	mov  %o0, %i5                                  
 20082ac:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
	if (r_chain->new_fd == 1) {                                          
 20082b0:	80 a0 60 01 	cmp  %g1, 1                                    
 20082b4:	12 80 00 0d 	bne  20082e8 <rtems_aio_enqueue+0x1f0>         
 20082b8:	90 02 20 08 	add  %o0, 8, %o0                               
 20082bc:	40 00 08 b7 	call  200a598 <_Chain_Insert>                  
 20082c0:	01 00 00 00 	nop                                            
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
 20082c4:	90 07 60 1c 	add  %i5, 0x1c, %o0                            
	if (r_chain->new_fd == 1) {                                          
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
 20082c8:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
 20082cc:	40 00 01 bd 	call  20089c0 <pthread_mutex_init>             
 20082d0:	92 10 20 00 	clr  %o1                                       
	  pthread_cond_init (&r_chain->cond, NULL);                          
 20082d4:	90 07 60 20 	add  %i5, 0x20, %o0                            
 20082d8:	40 00 00 c6 	call  20085f0 <pthread_cond_init>              
 20082dc:	92 10 20 00 	clr  %o1                                       
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
	if (aio_request_queue.idle_threads > 0)                              
 20082e0:	10 80 00 05 	b  20082f4 <rtems_aio_enqueue+0x1fc>           
 20082e4:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
	  pthread_cond_init (&r_chain->cond, NULL);                          
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
 20082e8:	7f ff fe da 	call  2007e50 <rtems_aio_insert_prio>          
 20082ec:	01 00 00 00 	nop                                            
	if (aio_request_queue.idle_threads > 0)                              
 20082f0:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 20082f4:	90 12 20 24 	or  %o0, 0x24, %o0	! 2020024 <aio_request_queue>
 20082f8:	c2 02 20 68 	ld  [ %o0 + 0x68 ], %g1                        
 20082fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2008300:	24 80 00 05 	ble,a   2008314 <rtems_aio_enqueue+0x21c>      <== ALWAYS TAKEN
 2008304:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
	  pthread_cond_signal (&aio_request_queue.new_req);                  
 2008308:	40 00 00 e9 	call  20086ac <pthread_cond_signal>            <== NOT EXECUTED
 200830c:	90 02 20 04 	add  %o0, 4, %o0	! 2020004 <rtems_malloc_statistics+0x1c><== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
 2008310:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 2008314:	40 00 02 21 	call  2008b98 <pthread_mutex_unlock>           
 2008318:	90 12 20 24 	or  %o0, 0x24, %o0	! 2020024 <aio_request_queue>
  return 0;                                                           
}                                                                     
 200831c:	b0 10 00 1c 	mov  %i4, %i0                                  
 2008320:	81 c7 e0 08 	ret                                            
 2008324:	81 e8 00 00 	restore                                        
                                                                      

02007bd8 <rtems_aio_handle>: * NULL - if error */ static void * rtems_aio_handle (void *arg) {
 2007bd8:	9d e3 bf 78 	save  %sp, -136, %sp                           
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
 2007bdc:	3b 00 80 80 	sethi  %hi(0x2020000), %i5                     
 2007be0:	ba 17 60 24 	or  %i5, 0x24, %i5	! 2020024 <aio_request_queue>
	    pthread_cond_destroy (&r_chain->cond);                           
	    free (r_chain);                                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
 2007be4:	b2 07 60 58 	add  %i5, 0x58, %i1                            
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
 2007be8:	b4 07 60 4c 	add  %i5, 0x4c, %i2                            
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
 2007bec:	b6 07 60 04 	add  %i5, 4, %i3                               
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
 2007bf0:	a0 06 20 1c 	add  %i0, 0x1c, %l0                            
 2007bf4:	40 00 03 c9 	call  2008b18 <pthread_mutex_lock>             
 2007bf8:	90 10 00 10 	mov  %l0, %o0                                  
    if (result != 0)                                                  
 2007bfc:	80 a2 20 00 	cmp  %o0, 0                                    
 2007c00:	12 80 00 91 	bne  2007e44 <rtems_aio_handle+0x26c>          <== NEVER TAKEN
 2007c04:	82 06 20 0c 	add  %i0, 0xc, %g1                             
 2007c08:	f8 06 20 08 	ld  [ %i0 + 8 ], %i4                           
                                                                      
    /* If the locked chain is not empty, take the first               
       request extract it, unlock the chain and process               
       the request, in this way the user can supply more              
       requests to this fd chain */                                   
    if (!rtems_chain_is_empty (chain)) {                              
 2007c0c:	80 a7 00 01 	cmp  %i4, %g1                                  
 2007c10:	02 80 00 3b 	be  2007cfc <rtems_aio_handle+0x124>           
 2007c14:	01 00 00 00 	nop                                            
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
 2007c18:	40 00 05 cf 	call  2009354 <pthread_self>                   
 2007c1c:	01 00 00 00 	nop                                            
 2007c20:	92 07 bf fc 	add  %fp, -4, %o1                              
 2007c24:	40 00 04 dd 	call  2008f98 <pthread_getschedparam>          
 2007c28:	94 07 bf d8 	add  %fp, -40, %o2                             
      param.sched_priority = req->priority;                           
 2007c2c:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
      pthread_setschedparam (pthread_self(), req->policy, ¶m);    
 2007c30:	40 00 05 c9 	call  2009354 <pthread_self>                   
 2007c34:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
 2007c38:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 2007c3c:	40 00 05 ca 	call  2009364 <pthread_setschedparam>          
 2007c40:	94 07 bf d8 	add  %fp, -40, %o2                             
 2007c44:	40 00 0a 3d 	call  200a538 <_Chain_Extract>                 
 2007c48:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
      rtems_chain_extract (node);                                     
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
 2007c4c:	40 00 03 d3 	call  2008b98 <pthread_mutex_unlock>           
 2007c50:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
 2007c54:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 2007c58:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2                        
 2007c5c:	80 a0 a0 02 	cmp  %g2, 2                                    
 2007c60:	22 80 00 10 	be,a   2007ca0 <rtems_aio_handle+0xc8>         
 2007c64:	c4 18 60 08 	ldd  [ %g1 + 8 ], %g2                          
 2007c68:	80 a0 a0 03 	cmp  %g2, 3                                    
 2007c6c:	02 80 00 15 	be  2007cc0 <rtems_aio_handle+0xe8>            <== NEVER TAKEN
 2007c70:	80 a0 a0 01 	cmp  %g2, 1                                    
 2007c74:	32 80 00 19 	bne,a   2007cd8 <rtems_aio_handle+0x100>       <== NEVER TAKEN
 2007c78:	f8 07 20 14 	ld  [ %i4 + 0x14 ], %i4                        <== NOT EXECUTED
      case LIO_READ:                                                  
	AIO_printf ("read\n");                                               
        result = pread (req->aiocbp->aio_fildes,                      
 2007c7c:	c4 18 60 08 	ldd  [ %g1 + 8 ], %g2                          
 2007c80:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 2007c84:	d2 00 60 10 	ld  [ %g1 + 0x10 ], %o1                        
 2007c88:	d4 00 60 14 	ld  [ %g1 + 0x14 ], %o2                        
 2007c8c:	96 10 00 02 	mov  %g2, %o3                                  
 2007c90:	40 00 2a d3 	call  20127dc <pread>                          
 2007c94:	98 10 00 03 	mov  %g3, %o4                                  
                        (void *) req->aiocbp->aio_buf,                
                        req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
 2007c98:	10 80 00 0d 	b  2007ccc <rtems_aio_handle+0xf4>             
 2007c9c:	80 a2 3f ff 	cmp  %o0, -1                                   
                                                                      
      case LIO_WRITE:                                                 
	AIO_printf ("write\n");                                              
        result = pwrite (req->aiocbp->aio_fildes,                     
 2007ca0:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 2007ca4:	d2 00 60 10 	ld  [ %g1 + 0x10 ], %o1                        
 2007ca8:	d4 00 60 14 	ld  [ %g1 + 0x14 ], %o2                        
 2007cac:	96 10 00 02 	mov  %g2, %o3                                  
 2007cb0:	40 00 2b 09 	call  20128d4 <pwrite>                         
 2007cb4:	98 10 00 03 	mov  %g3, %o4                                  
                         (void *) req->aiocbp->aio_buf,               
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
 2007cb8:	10 80 00 05 	b  2007ccc <rtems_aio_handle+0xf4>             
 2007cbc:	80 a2 3f ff 	cmp  %o0, -1                                   
                                                                      
      case LIO_SYNC:                                                  
	AIO_printf ("sync\n");                                               
      	result = fsync (req->aiocbp->aio_fildes);                      
 2007cc0:	40 00 1a 78 	call  200e6a0 <fsync>                          <== NOT EXECUTED
 2007cc4:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
 2007cc8:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
 2007ccc:	32 80 00 09 	bne,a   2007cf0 <rtems_aio_handle+0x118>       <== ALWAYS TAKEN
 2007cd0:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
        req->aiocbp->return_value = -1;                               
 2007cd4:	f8 07 20 14 	ld  [ %i4 + 0x14 ], %i4                        <== NOT EXECUTED
 2007cd8:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
	req->aiocbp->error_code = errno;                                     
 2007cdc:	40 00 27 b1 	call  2011ba0 <__errno>                        <== NOT EXECUTED
 2007ce0:	c2 27 20 38 	st  %g1, [ %i4 + 0x38 ]                        <== NOT EXECUTED
 2007ce4:	c2 02 00 00 	ld  [ %o0 ], %g1                               <== NOT EXECUTED
 2007ce8:	10 bf ff c2 	b  2007bf0 <rtems_aio_handle+0x18>             <== NOT EXECUTED
 2007cec:	c2 27 20 34 	st  %g1, [ %i4 + 0x34 ]                        <== NOT EXECUTED
      } else {                                                        
        req->aiocbp->return_value = result;                           
 2007cf0:	d0 20 60 38 	st  %o0, [ %g1 + 0x38 ]                        
        req->aiocbp->error_code = 0;                                  
 2007cf4:	10 bf ff bf 	b  2007bf0 <rtems_aio_handle+0x18>             
 2007cf8:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
                                                                      
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
 2007cfc:	40 00 03 a7 	call  2008b98 <pthread_mutex_unlock>           
 2007d00:	90 10 00 10 	mov  %l0, %o0                                  
      pthread_mutex_lock (&aio_request_queue.mutex);                  
 2007d04:	40 00 03 85 	call  2008b18 <pthread_mutex_lock>             
 2007d08:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
 2007d0c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2007d10:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2007d14:	12 80 00 48 	bne  2007e34 <rtems_aio_handle+0x25c>          <== NEVER TAKEN
 2007d18:	92 07 bf f4 	add  %fp, -12, %o1                             
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
 2007d1c:	40 00 01 ce 	call  2008454 <clock_gettime>                  
 2007d20:	90 10 20 01 	mov  1, %o0                                    
	  timeout.tv_sec += 3;                                               
 2007d24:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
	  timeout.tv_nsec = 0;                                               
 2007d28:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
 2007d2c:	82 00 60 03 	add  %g1, 3, %g1                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
 2007d30:	b8 06 20 20 	add  %i0, 0x20, %i4                            
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
 2007d34:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
 2007d38:	90 10 00 1c 	mov  %i4, %o0                                  
 2007d3c:	92 10 00 1d 	mov  %i5, %o1                                  
 2007d40:	40 00 02 78 	call  2008720 <pthread_cond_timedwait>         
 2007d44:	94 07 bf f4 	add  %fp, -12, %o2                             
					   &aio_request_queue.mutex,                                     
					   &timeout);                                                    
                                                                      
	  /* If no requests were added to the chain we delete the fd chain from
	     the queue and start working with idle fd chains */              
	  if (result == ETIMEDOUT) {                                         
 2007d48:	80 a2 20 74 	cmp  %o0, 0x74                                 
 2007d4c:	12 80 00 3a 	bne  2007e34 <rtems_aio_handle+0x25c>          <== NEVER TAKEN
 2007d50:	01 00 00 00 	nop                                            
 2007d54:	40 00 09 f9 	call  200a538 <_Chain_Extract>                 
 2007d58:	90 10 00 18 	mov  %i0, %o0                                  
	    rtems_chain_extract (&r_chain->next_fd);                         
	    pthread_mutex_destroy (&r_chain->mutex);                         
 2007d5c:	40 00 02 ca 	call  2008884 <pthread_mutex_destroy>          
 2007d60:	90 10 00 10 	mov  %l0, %o0                                  
	    pthread_cond_destroy (&r_chain->cond);                           
 2007d64:	40 00 01 ef 	call  2008520 <pthread_cond_destroy>           
 2007d68:	90 10 00 1c 	mov  %i4, %o0                                  
	    free (r_chain);                                                  
 2007d6c:	7f ff ef cf 	call  2003ca8 <free>                           
 2007d70:	90 10 00 18 	mov  %i0, %o0                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
 2007d74:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 2007d78:	80 a0 40 19 	cmp  %g1, %i1                                  
 2007d7c:	12 80 00 1b 	bne  2007de8 <rtems_aio_handle+0x210>          
 2007d80:	c2 07 60 68 	ld  [ %i5 + 0x68 ], %g1                        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
 2007d84:	92 07 bf f4 	add  %fp, -12, %o1                             
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
 2007d88:	82 00 60 01 	inc  %g1                                       
 2007d8c:	c2 27 60 68 	st  %g1, [ %i5 + 0x68 ]                        
	      --aio_request_queue.active_threads;                            
 2007d90:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
 2007d94:	90 10 20 01 	mov  1, %o0                                    
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
 2007d98:	82 00 7f ff 	add  %g1, -1, %g1                              
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
 2007d9c:	40 00 01 ae 	call  2008454 <clock_gettime>                  
 2007da0:	c2 27 60 64 	st  %g1, [ %i5 + 0x64 ]                        
	      timeout.tv_sec += 3;                                           
 2007da4:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
	      timeout.tv_nsec = 0;                                           
 2007da8:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
 2007dac:	82 00 60 03 	add  %g1, 3, %g1                               
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
 2007db0:	90 10 00 1b 	mov  %i3, %o0                                  
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
 2007db4:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
 2007db8:	92 10 00 1d 	mov  %i5, %o1                                  
 2007dbc:	40 00 02 59 	call  2008720 <pthread_cond_timedwait>         
 2007dc0:	94 07 bf f4 	add  %fp, -12, %o2                             
					       &aio_request_queue.mutex,                                 
					       &timeout);                                                
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
 2007dc4:	80 a2 20 74 	cmp  %o0, 0x74                                 
 2007dc8:	12 80 00 08 	bne  2007de8 <rtems_aio_handle+0x210>          <== NEVER TAKEN
 2007dcc:	c2 07 60 68 	ld  [ %i5 + 0x68 ], %g1                        
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
 2007dd0:	90 10 00 1d 	mov  %i5, %o0                                  
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
 2007dd4:	82 00 7f ff 	add  %g1, -1, %g1                              
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
 2007dd8:	40 00 03 70 	call  2008b98 <pthread_mutex_unlock>           
 2007ddc:	c2 27 60 68 	st  %g1, [ %i5 + 0x68 ]                        
		return NULL;                                                        
 2007de0:	81 c7 e0 08 	ret                                            
 2007de4:	91 e8 20 00 	restore  %g0, 0, %o0                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2007de8:	f0 07 60 54 	ld  [ %i5 + 0x54 ], %i0                        
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
 2007dec:	82 00 7f ff 	add  %g1, -1, %g1                              
 2007df0:	c2 27 60 68 	st  %g1, [ %i5 + 0x68 ]                        
	    ++aio_request_queue.active_threads;                              
 2007df4:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
 2007df8:	90 10 00 18 	mov  %i0, %o0                                  
 2007dfc:	82 00 60 01 	inc  %g1                                       
 2007e00:	40 00 09 ce 	call  200a538 <_Chain_Extract>                 
 2007e04:	c2 27 60 64 	st  %g1, [ %i5 + 0x64 ]                        
 2007e08:	c2 07 60 48 	ld  [ %i5 + 0x48 ], %g1                        
 2007e0c:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
 2007e10:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
 2007e14:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2007e18:	16 80 00 04 	bge  2007e28 <rtems_aio_handle+0x250>          
 2007e1c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2007e20:	32 bf ff fc 	bne,a   2007e10 <rtems_aio_handle+0x238>       <== ALWAYS TAKEN
 2007e24:	c2 00 40 00 	ld  [ %g1 ], %g1                               
RTEMS_INLINE_ROUTINE void rtems_chain_insert(                         
  rtems_chain_node *after_node,                                       
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Insert( after_node, the_node );                              
 2007e28:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
 2007e2c:	40 00 09 db 	call  200a598 <_Chain_Insert>                  
 2007e30:	92 10 00 18 	mov  %i0, %o1                                  
	                                                                     
	  }                                                                  
	}                                                                    
      /* If there was a request added in the initial fd chain then release
	 the mutex and process it */                                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
 2007e34:	40 00 03 59 	call  2008b98 <pthread_mutex_unlock>           
 2007e38:	90 10 00 1d 	mov  %i5, %o0                                  
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
 2007e3c:	10 bf ff 6e 	b  2007bf4 <rtems_aio_handle+0x1c>             
 2007e40:	a0 06 20 1c 	add  %i0, 0x1c, %l0                            
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
 2007e44:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2007e48:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007e4c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02007ea8 <rtems_aio_init>: * 0 - if initialization succeeded */ int rtems_aio_init (void) {
 2007ea8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
 2007eac:	3b 00 80 80 	sethi  %hi(0x2020000), %i5                     
 2007eb0:	40 00 03 90 	call  2008cf0 <pthread_attr_init>              
 2007eb4:	90 17 60 2c 	or  %i5, 0x2c, %o0	! 202002c <aio_request_queue+0x8>
  if (result != 0)                                                    
 2007eb8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007ebc:	12 80 00 31 	bne  2007f80 <rtems_aio_init+0xd8>             <== NEVER TAKEN
 2007ec0:	90 17 60 2c 	or  %i5, 0x2c, %o0                             
    return result;                                                    
                                                                      
  result =                                                            
 2007ec4:	40 00 03 97 	call  2008d20 <pthread_attr_setdetachstate>    
 2007ec8:	92 10 20 00 	clr  %o1                                       
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
 2007ecc:	80 a2 20 00 	cmp  %o0, 0                                    
 2007ed0:	22 80 00 05 	be,a   2007ee4 <rtems_aio_init+0x3c>           <== ALWAYS TAKEN
 2007ed4:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
    pthread_attr_destroy (&aio_request_queue.attr);                   
 2007ed8:	40 00 03 7a 	call  2008cc0 <pthread_attr_destroy>           <== NOT EXECUTED
 2007edc:	90 17 60 2c 	or  %i5, 0x2c, %o0                             <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
 2007ee0:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2007ee4:	92 10 20 00 	clr  %o1                                       
 2007ee8:	40 00 02 b6 	call  20089c0 <pthread_mutex_init>             
 2007eec:	90 12 20 24 	or  %o0, 0x24, %o0                             
  if (result != 0)                                                    
 2007ef0:	80 a2 20 00 	cmp  %o0, 0                                    
 2007ef4:	22 80 00 06 	be,a   2007f0c <rtems_aio_init+0x64>           <== ALWAYS TAKEN
 2007ef8:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
    pthread_attr_destroy (&aio_request_queue.attr);                   
 2007efc:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2007f00:	40 00 03 70 	call  2008cc0 <pthread_attr_destroy>           <== NOT EXECUTED
 2007f04:	90 12 20 2c 	or  %o0, 0x2c, %o0	! 202002c <aio_request_queue+0x8><== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
 2007f08:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2007f0c:	92 10 20 00 	clr  %o1                                       
 2007f10:	40 00 01 b8 	call  20085f0 <pthread_cond_init>              
 2007f14:	90 12 20 28 	or  %o0, 0x28, %o0                             
  if (result != 0) {                                                  
 2007f18:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007f1c:	02 80 00 09 	be  2007f40 <rtems_aio_init+0x98>              <== ALWAYS TAKEN
 2007f20:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
    pthread_mutex_destroy (&aio_request_queue.mutex);                 
 2007f24:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2007f28:	40 00 02 57 	call  2008884 <pthread_mutex_destroy>          <== NOT EXECUTED
 2007f2c:	90 12 20 24 	or  %o0, 0x24, %o0	! 2020024 <aio_request_queue><== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
 2007f30:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     <== NOT EXECUTED
 2007f34:	40 00 03 63 	call  2008cc0 <pthread_attr_destroy>           <== NOT EXECUTED
 2007f38:	90 12 20 2c 	or  %o0, 0x2c, %o0	! 202002c <aio_request_queue+0x8><== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2007f3c:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     <== NOT EXECUTED
 2007f40:	82 10 60 24 	or  %g1, 0x24, %g1	! 2020024 <aio_request_queue>
 2007f44:	84 00 60 4c 	add  %g1, 0x4c, %g2                            
 2007f48:	c4 20 60 48 	st  %g2, [ %g1 + 0x48 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 2007f4c:	84 00 60 48 	add  %g1, 0x48, %g2                            
 2007f50:	c4 20 60 50 	st  %g2, [ %g1 + 0x50 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2007f54:	84 00 60 58 	add  %g1, 0x58, %g2                            
 2007f58:	c4 20 60 54 	st  %g2, [ %g1 + 0x54 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 2007f5c:	84 00 60 54 	add  %g1, 0x54, %g2                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 2007f60:	c0 20 60 4c 	clr  [ %g1 + 0x4c ]                            
  tail->previous = head;                                              
 2007f64:	c4 20 60 5c 	st  %g2, [ %g1 + 0x5c ]                        
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 2007f68:	c0 20 60 58 	clr  [ %g1 + 0x58 ]                            
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
 2007f6c:	05 00 00 2c 	sethi  %hi(0xb000), %g2                        
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
 2007f70:	c0 20 60 64 	clr  [ %g1 + 0x64 ]                            
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
 2007f74:	84 10 a0 0b 	or  %g2, 0xb, %g2                              
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
 2007f78:	c0 20 60 68 	clr  [ %g1 + 0x68 ]                            
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
 2007f7c:	c4 20 60 60 	st  %g2, [ %g1 + 0x60 ]                        
                                                                      
  return result;                                                      
}                                                                     
 2007f80:	81 c7 e0 08 	ret                                            
 2007f84:	81 e8 00 00 	restore                                        
                                                                      

02007e50 <rtems_aio_insert_prio>: * NONE */ static void rtems_aio_insert_prio (rtems_chain_control *chain, rtems_aio_request *req) {
 2007e50:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2007e54:	c2 06 00 00 	ld  [ %i0 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2007e58:	86 06 20 04 	add  %i0, 4, %g3                               
  rtems_chain_node *node;                                             
                                                                      
  AIO_printf ("FD exists \n");                                        
  node = rtems_chain_first (chain);                                   
                                                                      
  if (rtems_chain_is_empty (chain)) {                                 
 2007e5c:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007e60:	02 80 00 10 	be  2007ea0 <rtems_aio_insert_prio+0x50>       <== NEVER TAKEN
 2007e64:	84 10 00 19 	mov  %i1, %g2                                  
    AIO_printf ("First in chain \n");                                 
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
 2007e68:	c8 00 60 14 	ld  [ %g1 + 0x14 ], %g4                        
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 2007e6c:	de 06 60 14 	ld  [ %i1 + 0x14 ], %o7                        
  if (rtems_chain_is_empty (chain)) {                                 
    AIO_printf ("First in chain \n");                                 
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
 2007e70:	c8 01 20 18 	ld  [ %g4 + 0x18 ], %g4                        
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 2007e74:	10 80 00 04 	b  2007e84 <rtems_aio_insert_prio+0x34>        
 2007e78:	de 03 e0 18 	ld  [ %o7 + 0x18 ], %o7                        
           !rtems_chain_is_tail (chain, node)) {                      
      node = rtems_chain_next (node);                                 
      prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;       
 2007e7c:	c8 00 60 14 	ld  [ %g1 + 0x14 ], %g4                        <== NOT EXECUTED
 2007e80:	c8 01 20 18 	ld  [ %g4 + 0x18 ], %g4                        <== NOT EXECUTED
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 2007e84:	80 a3 c0 04 	cmp  %o7, %g4                                  
 2007e88:	04 80 00 04 	ble  2007e98 <rtems_aio_insert_prio+0x48>      <== ALWAYS TAKEN
 2007e8c:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007e90:	32 bf ff fb 	bne,a   2007e7c <rtems_aio_insert_prio+0x2c>   <== NOT EXECUTED
 2007e94:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 2007e98:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0                           
 2007e9c:	b2 10 00 02 	mov  %g2, %i1                                  
 2007ea0:	40 00 09 be 	call  200a598 <_Chain_Insert>                  
 2007ea4:	81 e8 00 00 	restore                                        
                                                                      

02008084 <rtems_aio_remove_req>: * AIO_NOTCANCELED - if request was not canceled * AIO_CANCELED - if request was canceled */ int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp) {
 2008084:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2008088:	fa 06 00 00 	ld  [ %i0 ], %i5                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200808c:	82 06 20 04 	add  %i0, 4, %g1                               
  if (rtems_chain_is_empty (chain))                                   
 2008090:	80 a7 40 01 	cmp  %i5, %g1                                  
 2008094:	12 80 00 09 	bne  20080b8 <rtems_aio_remove_req+0x34>       
 2008098:	b0 10 20 02 	mov  2, %i0                                    
 200809c:	81 c7 e0 08 	ret                                            
 20080a0:	81 e8 00 00 	restore                                        
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
 20080a4:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 20080a8:	32 80 00 05 	bne,a   20080bc <rtems_aio_remove_req+0x38>    <== NOT EXECUTED
 20080ac:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        <== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
  }                                                                   
                                                                      
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
 20080b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20080b4:	91 e8 20 01 	restore  %g0, 1, %o0                           <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
 20080b8:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
 20080bc:	80 a0 80 19 	cmp  %g2, %i1                                  
 20080c0:	32 bf ff f9 	bne,a   20080a4 <rtems_aio_remove_req+0x20>    <== NEVER TAKEN
 20080c4:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== NOT EXECUTED
 20080c8:	40 00 09 1c 	call  200a538 <_Chain_Extract>                 
 20080cc:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
 20080d0:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 20080d4:	84 10 20 8c 	mov  0x8c, %g2                                 
 20080d8:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
      current->aiocbp->return_value = -1;                             
 20080dc:	84 10 3f ff 	mov  -1, %g2                                   
      free (current);                                                 
 20080e0:	90 10 00 1d 	mov  %i5, %o0                                  
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
      current->aiocbp->return_value = -1;                             
 20080e4:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
      free (current);                                                 
 20080e8:	7f ff ee f0 	call  2003ca8 <free>                           
 20080ec:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
 20080f0:	81 c7 e0 08 	ret                                            
 20080f4:	81 e8 00 00 	restore                                        
                                                                      

020084a8 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
 20084a8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20084ac:	10 80 00 09 	b  20084d0 <rtems_chain_get_with_wait+0x28>    
 20084b0:	ba 10 00 18 	mov  %i0, %i5                                  
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
 20084b4:	92 10 20 00 	clr  %o1                                       
 20084b8:	94 10 00 1a 	mov  %i2, %o2                                  
 20084bc:	7f ff fd 03 	call  20078c8 <rtems_event_receive>            
 20084c0:	96 07 bf fc 	add  %fp, -4, %o3                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
 20084c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20084c8:	32 80 00 09 	bne,a   20084ec <rtems_chain_get_with_wait+0x44><== ALWAYS TAKEN
 20084cc:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 20084d0:	40 00 01 87 	call  2008aec <_Chain_Get>                     
 20084d4:	90 10 00 1d 	mov  %i5, %o0                                  
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
 20084d8:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20084dc:	02 bf ff f6 	be  20084b4 <rtems_chain_get_with_wait+0xc>    
 20084e0:	90 10 00 19 	mov  %i1, %o0                                  
 20084e4:	90 10 20 00 	clr  %o0                                       
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
 20084e8:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 20084ec:	81 c7 e0 08 	ret                                            
 20084f0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200a5a0 <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) {
 200a5a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 200a5a4:	80 a6 20 00 	cmp  %i0, 0                                    
 200a5a8:	02 80 00 1b 	be  200a614 <rtems_iterate_over_all_threads+0x74><== NEVER TAKEN
 200a5ac:	ba 10 20 01 	mov  1, %i5                                    
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 200a5b0:	35 00 80 81 	sethi  %hi(0x2020400), %i2                     
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 200a5b4:	83 2f 60 02 	sll  %i5, 2, %g1                               
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 200a5b8:	84 16 a2 88 	or  %i2, 0x288, %g2                            
 200a5bc:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200a5c0:	f6 00 60 04 	ld  [ %g1 + 4 ], %i3                           
    if ( !information )                                               
 200a5c4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200a5c8:	12 80 00 0b 	bne  200a5f4 <rtems_iterate_over_all_threads+0x54>
 200a5cc:	b8 10 20 01 	mov  1, %i4                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 200a5d0:	10 80 00 0e 	b  200a608 <rtems_iterate_over_all_threads+0x68>
 200a5d4:	ba 07 60 01 	inc  %i5                                       
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
 200a5d8:	83 2f 20 02 	sll  %i4, 2, %g1                               
 200a5dc:	d0 00 80 01 	ld  [ %g2 + %g1 ], %o0                         
                                                                      
      if ( !the_thread )                                              
 200a5e0:	80 a2 20 00 	cmp  %o0, 0                                    
 200a5e4:	02 80 00 04 	be  200a5f4 <rtems_iterate_over_all_threads+0x54>
 200a5e8:	b8 07 20 01 	inc  %i4                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 200a5ec:	9f c6 00 00 	call  %i0                                      
 200a5f0:	01 00 00 00 	nop                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 200a5f4:	c2 16 e0 10 	lduh  [ %i3 + 0x10 ], %g1                      
 200a5f8:	80 a7 00 01 	cmp  %i4, %g1                                  
 200a5fc:	28 bf ff f7 	bleu,a   200a5d8 <rtems_iterate_over_all_threads+0x38>
 200a600:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 200a604:	ba 07 60 01 	inc  %i5                                       
 200a608:	80 a7 60 04 	cmp  %i5, 4                                    
 200a60c:	12 bf ff eb 	bne  200a5b8 <rtems_iterate_over_all_threads+0x18>
 200a610:	83 2f 60 02 	sll  %i5, 2, %g1                               
 200a614:	81 c7 e0 08 	ret                                            
 200a618:	81 e8 00 00 	restore                                        
                                                                      

02008d70 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 2008d70:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 2008d74:	80 a6 20 00 	cmp  %i0, 0                                    
 2008d78:	02 80 00 39 	be  2008e5c <rtems_partition_create+0xec>      
 2008d7c:	82 10 20 03 	mov  3, %g1                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 2008d80:	80 a6 60 00 	cmp  %i1, 0                                    
 2008d84:	02 80 00 36 	be  2008e5c <rtems_partition_create+0xec>      
 2008d88:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 2008d8c:	80 a7 60 00 	cmp  %i5, 0                                    
 2008d90:	02 80 00 33 	be  2008e5c <rtems_partition_create+0xec>      <== NEVER TAKEN
 2008d94:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2008d98:	02 80 00 31 	be  2008e5c <rtems_partition_create+0xec>      
 2008d9c:	82 10 20 08 	mov  8, %g1                                    
 2008da0:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008da4:	02 80 00 2e 	be  2008e5c <rtems_partition_create+0xec>      
 2008da8:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2008dac:	0a 80 00 2c 	bcs  2008e5c <rtems_partition_create+0xec>     
 2008db0:	80 8e e0 07 	btst  7, %i3                                   
 2008db4:	12 80 00 2a 	bne  2008e5c <rtems_partition_create+0xec>     
 2008db8:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 2008dbc:	12 80 00 28 	bne  2008e5c <rtems_partition_create+0xec>     
 2008dc0:	82 10 20 09 	mov  9, %g1                                    
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008dc4:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 2008dc8:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 2022730 <_Thread_Dispatch_disable_level>
 2008dcc:	84 00 a0 01 	inc  %g2                                       
 2008dd0:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008dd4:	c2 00 63 30 	ld  [ %g1 + 0x330 ], %g1                       
 *  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 );
 2008dd8:	23 00 80 89 	sethi  %hi(0x2022400), %l1                     
 2008ddc:	40 00 06 f6 	call  200a9b4 <_Objects_Allocate>              
 2008de0:	90 14 61 4c 	or  %l1, 0x14c, %o0	! 202254c <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 2008de4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2008de8:	32 80 00 06 	bne,a   2008e00 <rtems_partition_create+0x90>  
 2008dec:	f8 24 20 1c 	st  %i4, [ %l0 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
 2008df0:	40 00 0c 19 	call  200be54 <_Thread_Enable_dispatch>        
 2008df4:	01 00 00 00 	nop                                            
    return RTEMS_TOO_MANY;                                            
 2008df8:	10 80 00 19 	b  2008e5c <rtems_partition_create+0xec>       
 2008dfc:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               
  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,        
                        length / buffer_size, buffer_size );          
 2008e00:	92 10 00 1b 	mov  %i3, %o1                                  
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 2008e04:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
  the_partition->length                = length;                      
 2008e08:	f4 24 20 14 	st  %i2, [ %l0 + 0x14 ]                        
  the_partition->buffer_size           = buffer_size;                 
 2008e0c:	f6 24 20 18 	st  %i3, [ %l0 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
 2008e10:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
                        length / buffer_size, buffer_size );          
 2008e14:	40 00 46 73 	call  201a7e0 <.udiv>                          
 2008e18:	90 10 00 1a 	mov  %i2, %o0                                  
  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,        
 2008e1c:	92 10 00 19 	mov  %i1, %o1                                  
                        length / buffer_size, buffer_size );          
 2008e20:	94 10 00 08 	mov  %o0, %o2                                  
  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,        
 2008e24:	96 10 00 1b 	mov  %i3, %o3                                  
 2008e28:	b8 04 20 24 	add  %l0, 0x24, %i4                            
 2008e2c:	40 00 04 52 	call  2009f74 <_Chain_Initialize>              
 2008e30:	90 10 00 1c 	mov  %i4, %o0                                  
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008e34:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008e38:	a2 14 61 4c 	or  %l1, 0x14c, %l1                            
 2008e3c:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008e40:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008e44:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008e48:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2008e4c:	f0 24 20 0c 	st  %i0, [ %l0 + 0xc ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 2008e50:	40 00 0c 01 	call  200be54 <_Thread_Enable_dispatch>        
 2008e54:	c2 27 40 00 	st  %g1, [ %i5 ]                               
  return RTEMS_SUCCESSFUL;                                            
 2008e58:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2008e5c:	81 c7 e0 08 	ret                                            
 2008e60:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0203e9a0 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 203e9a0:	9d e3 bf 98 	save  %sp, -104, %sp                           
 203e9a4:	11 00 81 bf 	sethi  %hi(0x206fc00), %o0                     
 203e9a8:	92 10 00 18 	mov  %i0, %o1                                  
 203e9ac:	90 12 22 70 	or  %o0, 0x270, %o0                            
 203e9b0:	7f ff 41 69 	call  200ef54 <_Objects_Get>                   
 203e9b4:	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 ) {                                               
 203e9b8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 203e9bc:	80 a0 60 00 	cmp  %g1, 0                                    
 203e9c0:	12 80 00 6a 	bne  203eb68 <rtems_rate_monotonic_period+0x1c8>
 203e9c4:	ba 10 00 08 	mov  %o0, %i5                                  
 203e9c8:	37 00 81 be 	sethi  %hi(0x206f800), %i3                     
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 203e9cc:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 203e9d0:	b6 16 e0 00 	mov  %i3, %i3                                  
 203e9d4:	c2 06 e0 0c 	ld  [ %i3 + 0xc ], %g1                         
 203e9d8:	80 a0 80 01 	cmp  %g2, %g1                                  
 203e9dc:	02 80 00 06 	be  203e9f4 <rtems_rate_monotonic_period+0x54> 
 203e9e0:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 203e9e4:	7f ff 45 1b 	call  200fe50 <_Thread_Enable_dispatch>        
 203e9e8:	b0 10 20 17 	mov  0x17, %i0                                 
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
 203e9ec:	81 c7 e0 08 	ret                                            
 203e9f0:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 203e9f4:	12 80 00 0d 	bne  203ea28 <rtems_rate_monotonic_period+0x88>
 203e9f8:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 203e9fc:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 203ea00:	80 a0 60 04 	cmp  %g1, 4                                    
 203ea04:	18 80 00 05 	bgu  203ea18 <rtems_rate_monotonic_period+0x78><== NEVER TAKEN
 203ea08:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 203ea0c:	05 00 81 a4 	sethi  %hi(0x2069000), %g2                     
 203ea10:	84 10 a2 a8 	or  %g2, 0x2a8, %g2	! 20692a8 <CSWTCH.11>      
 203ea14:	f0 08 80 01 	ldub  [ %g2 + %g1 ], %i0                       
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
 203ea18:	7f ff 45 0e 	call  200fe50 <_Thread_Enable_dispatch>        
 203ea1c:	01 00 00 00 	nop                                            
        return( return_value );                                       
 203ea20:	81 c7 e0 08 	ret                                            
 203ea24:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 203ea28:	7f ff 15 4e 	call  2003f60 <sparc_disable_interrupts>       
 203ea2c:	01 00 00 00 	nop                                            
 203ea30:	b4 10 00 08 	mov  %o0, %i2                                  
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
 203ea34:	f8 07 60 38 	ld  [ %i5 + 0x38 ], %i4                        
 203ea38:	80 a7 20 00 	cmp  %i4, 0                                    
 203ea3c:	12 80 00 15 	bne  203ea90 <rtems_rate_monotonic_period+0xf0>
 203ea40:	80 a7 20 02 	cmp  %i4, 2                                    
        _ISR_Enable( level );                                         
 203ea44:	7f ff 15 4b 	call  2003f70 <sparc_enable_interrupts>        
 203ea48:	01 00 00 00 	nop                                            
        the_period->next_length = length;                             
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
 203ea4c:	90 10 00 1d 	mov  %i5, %o0                                  
 203ea50:	7f ff ff ba 	call  203e938 <_Rate_monotonic_Initiate_statistics>
 203ea54:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 203ea58:	82 10 20 02 	mov  2, %g1                                    
 203ea5c:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 203ea60:	03 00 80 fa 	sethi  %hi(0x203e800), %g1                     
 203ea64:	82 10 63 74 	or  %g1, 0x374, %g1	! 203eb74 <_Rate_monotonic_Timeout>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 203ea68:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 203ea6c:	c2 27 60 2c 	st  %g1, [ %i5 + 0x2c ]                        
  the_watchdog->id        = id;                                       
 203ea70:	f0 27 60 30 	st  %i0, [ %i5 + 0x30 ]                        
  the_watchdog->user_data = user_data;                                
 203ea74:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 203ea78:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 203ea7c:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     
 203ea80:	92 07 60 10 	add  %i5, 0x10, %o1                            
 203ea84:	7f ff 48 35 	call  2010b58 <_Watchdog_Insert>               
 203ea88:	90 12 23 80 	or  %o0, 0x380, %o0                            
 203ea8c:	30 80 00 1b 	b,a   203eaf8 <rtems_rate_monotonic_period+0x158>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
 203ea90:	12 80 00 1e 	bne  203eb08 <rtems_rate_monotonic_period+0x168>
 203ea94:	80 a7 20 04 	cmp  %i4, 4                                    
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 203ea98:	7f ff ff 5f 	call  203e814 <_Rate_monotonic_Update_statistics>
 203ea9c:	90 10 00 1d 	mov  %i5, %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;         
 203eaa0:	82 10 20 01 	mov  1, %g1                                    
        the_period->next_length = length;                             
 203eaa4:	f2 27 60 3c 	st  %i1, [ %i5 + 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;         
 203eaa8:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
 203eaac:	7f ff 15 31 	call  2003f70 <sparc_enable_interrupts>        
 203eab0:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
 203eab4:	d0 06 e0 0c 	ld  [ %i3 + 0xc ], %o0                         
 203eab8:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 203eabc:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 203eac0:	7f ff 47 17 	call  201071c <_Thread_Set_state>              
 203eac4:	c2 22 20 20 	st  %g1, [ %o0 + 0x20 ]                        
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
 203eac8:	7f ff 15 26 	call  2003f60 <sparc_disable_interrupts>       
 203eacc:	01 00 00 00 	nop                                            
          local_state = the_period->state;                            
 203ead0:	f4 07 60 38 	ld  [ %i5 + 0x38 ], %i2                        
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 203ead4:	f8 27 60 38 	st  %i4, [ %i5 + 0x38 ]                        
        _ISR_Enable( level );                                         
 203ead8:	7f ff 15 26 	call  2003f70 <sparc_enable_interrupts>        
 203eadc:	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 )   
 203eae0:	80 a6 a0 03 	cmp  %i2, 3                                    
 203eae4:	12 80 00 05 	bne  203eaf8 <rtems_rate_monotonic_period+0x158>
 203eae8:	01 00 00 00 	nop                                            
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 203eaec:	d0 06 e0 0c 	ld  [ %i3 + 0xc ], %o0                         
 203eaf0:	7f ff 43 f9 	call  200fad4 <_Thread_Clear_state>            
 203eaf4:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
        _Thread_Enable_dispatch();                                    
 203eaf8:	7f ff 44 d6 	call  200fe50 <_Thread_Enable_dispatch>        
 203eafc:	b0 10 20 00 	clr  %i0                                       
        return RTEMS_SUCCESSFUL;                                      
 203eb00:	81 c7 e0 08 	ret                                            
 203eb04:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
 203eb08:	12 bf ff b9 	bne  203e9ec <rtems_rate_monotonic_period+0x4c><== NEVER TAKEN
 203eb0c:	b0 10 20 04 	mov  4, %i0                                    
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 203eb10:	7f ff ff 41 	call  203e814 <_Rate_monotonic_Update_statistics>
 203eb14:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
        _ISR_Enable( level );                                         
 203eb18:	7f ff 15 16 	call  2003f70 <sparc_enable_interrupts>        
 203eb1c:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 203eb20:	82 10 20 02 	mov  2, %g1                                    
 203eb24:	92 07 60 10 	add  %i5, 0x10, %o1                            
 203eb28:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
 203eb2c:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 203eb30:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 203eb34:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     
 203eb38:	7f ff 48 08 	call  2010b58 <_Watchdog_Insert>               
 203eb3c:	90 12 23 80 	or  %o0, 0x380, %o0	! 206f380 <_Watchdog_Ticks_chain>
 203eb40:	d0 07 60 40 	ld  [ %i5 + 0x40 ], %o0                        
 203eb44:	d2 07 60 3c 	ld  [ %i5 + 0x3c ], %o1                        
 203eb48:	03 00 81 ab 	sethi  %hi(0x206ac00), %g1                     
 203eb4c:	c2 00 63 b4 	ld  [ %g1 + 0x3b4 ], %g1	! 206afb4 <_Scheduler+0x34>
 203eb50:	9f c0 40 00 	call  %g1                                      
 203eb54:	b0 10 20 06 	mov  6, %i0                                    
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Scheduler_Release_job(the_period->owner, the_period->next_length);
        _Thread_Enable_dispatch();                                    
 203eb58:	7f ff 44 be 	call  200fe50 <_Thread_Enable_dispatch>        
 203eb5c:	01 00 00 00 	nop                                            
        return RTEMS_TIMEOUT;                                         
 203eb60:	81 c7 e0 08 	ret                                            
 203eb64:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 203eb68:	b0 10 20 04 	mov  4, %i0                                    
}                                                                     
 203eb6c:	81 c7 e0 08 	ret                                            
 203eb70:	81 e8 00 00 	restore                                        
                                                                      

0202a3dc <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 202a3dc:	9d e3 bf 38 	save  %sp, -200, %sp                           
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
 202a3e0:	80 a6 60 00 	cmp  %i1, 0                                    
 202a3e4:	02 80 00 75 	be  202a5b8 <rtems_rate_monotonic_report_statistics_with_plugin+0x1dc><== NEVER TAKEN
 202a3e8:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 202a3ec:	13 00 81 90 	sethi  %hi(0x2064000), %o1                     
 202a3f0:	9f c6 40 00 	call  %i1                                      
 202a3f4:	92 12 61 f8 	or  %o1, 0x1f8, %o1	! 20641f8 <_TOD_Days_per_month+0x68>
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 202a3f8:	90 10 00 18 	mov  %i0, %o0                                  
 202a3fc:	13 00 81 90 	sethi  %hi(0x2064000), %o1                     
 202a400:	9f c6 40 00 	call  %i1                                      
 202a404:	92 12 62 18 	or  %o1, 0x218, %o1	! 2064218 <_TOD_Days_per_month+0x88>
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 202a408:	90 10 00 18 	mov  %i0, %o0                                  
 202a40c:	13 00 81 90 	sethi  %hi(0x2064000), %o1                     
 202a410:	9f c6 40 00 	call  %i1                                      
 202a414:	92 12 62 40 	or  %o1, 0x240, %o1	! 2064240 <_TOD_Days_per_month+0xb0>
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 202a418:	90 10 00 18 	mov  %i0, %o0                                  
 202a41c:	13 00 81 90 	sethi  %hi(0x2064000), %o1                     
 202a420:	9f c6 40 00 	call  %i1                                      
 202a424:	92 12 62 68 	or  %o1, 0x268, %o1	! 2064268 <_TOD_Days_per_month+0xd8>
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 202a428:	90 10 00 18 	mov  %i0, %o0                                  
 202a42c:	13 00 81 90 	sethi  %hi(0x2064000), %o1                     
 202a430:	9f c6 40 00 	call  %i1                                      
 202a434:	92 12 62 b8 	or  %o1, 0x2b8, %o1	! 20642b8 <_TOD_Days_per_month+0x128>
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202a438:	03 00 81 bf 	sethi  %hi(0x206fc00), %g1                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202a43c:	21 00 81 90 	sethi  %hi(0x2064000), %l0                     
      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,                                              
 202a440:	35 00 81 90 	sethi  %hi(0x2064000), %i2                     
      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,                                              
 202a444:	37 00 81 90 	sethi  %hi(0x2064000), %i3                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202a448:	39 00 81 95 	sethi  %hi(0x2065400), %i4                     
                                                                      
  /*                                                                  
   * 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 ;                   
 202a44c:	fa 00 62 78 	ld  [ %g1 + 0x278 ], %i5                       
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202a450:	a0 14 23 08 	or  %l0, 0x308, %l0                            
      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,                                              
 202a454:	b4 16 a3 20 	or  %i2, 0x320, %i2                            
      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,                                              
 202a458:	b6 16 e3 40 	or  %i3, 0x340, %i3                            
                                                                      
  /*                                                                  
   * 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 ;                   
 202a45c:	10 80 00 52 	b  202a5a4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 202a460:	b8 17 23 d8 	or  %i4, 0x3d8, %i4                            
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 202a464:	40 00 50 12 	call  203e4ac <rtems_rate_monotonic_get_statistics>
 202a468:	92 07 bf a0 	add  %fp, -96, %o1                             
    if ( status != RTEMS_SUCCESSFUL )                                 
 202a46c:	80 a2 20 00 	cmp  %o0, 0                                    
 202a470:	32 80 00 4d 	bne,a   202a5a4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 202a474:	ba 07 60 01 	inc  %i5                                       
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
 202a478:	92 07 bf d8 	add  %fp, -40, %o1                             
 202a47c:	40 00 50 7c 	call  203e66c <rtems_rate_monotonic_get_status>
 202a480:	90 10 00 1d 	mov  %i5, %o0                                  
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202a484:	d0 07 bf d8 	ld  [ %fp + -40 ], %o0                         
 202a488:	92 10 20 05 	mov  5, %o1                                    
 202a48c:	7f ff 8a 75 	call  200ce60 <rtems_object_get_name>          
 202a490:	94 07 bf f8 	add  %fp, -8, %o2                              
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202a494:	d8 1f bf a0 	ldd  [ %fp + -96 ], %o4                        
 202a498:	92 10 00 10 	mov  %l0, %o1                                  
 202a49c:	90 10 00 18 	mov  %i0, %o0                                  
 202a4a0:	94 10 00 1d 	mov  %i5, %o2                                  
 202a4a4:	9f c6 40 00 	call  %i1                                      
 202a4a8:	96 07 bf f8 	add  %fp, -8, %o3                              
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202a4ac:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 202a4b0:	80 a2 60 00 	cmp  %o1, 0                                    
 202a4b4:	12 80 00 07 	bne  202a4d0 <rtems_rate_monotonic_report_statistics_with_plugin+0xf4>
 202a4b8:	94 07 bf f0 	add  %fp, -16, %o2                             
      (*print)( context, "\n" );                                      
 202a4bc:	90 10 00 18 	mov  %i0, %o0                                  
 202a4c0:	9f c6 40 00 	call  %i1                                      
 202a4c4:	92 10 00 1c 	mov  %i4, %o1                                  
      continue;                                                       
 202a4c8:	10 80 00 37 	b  202a5a4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c8>
 202a4cc:	ba 07 60 01 	inc  %i5                                       
      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 );
 202a4d0:	40 00 04 f5 	call  202b8a4 <_Timespec_Divide_by_integer>    
 202a4d4:	90 07 bf b8 	add  %fp, -72, %o0                             
      (*print)( context,                                              
 202a4d8:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202a4dc:	40 00 c3 df 	call  205b458 <.div>                           
 202a4e0:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a4e4:	a6 10 00 08 	mov  %o0, %l3                                  
 202a4e8:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
 202a4ec:	40 00 c3 db 	call  205b458 <.div>                           
 202a4f0:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a4f4:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202a4f8:	a2 10 00 08 	mov  %o0, %l1                                  
 202a4fc:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202a500:	e8 07 bf a8 	ld  [ %fp + -88 ], %l4                         
 202a504:	e4 07 bf b0 	ld  [ %fp + -80 ], %l2                         
 202a508:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202a50c:	40 00 c3 d3 	call  205b458 <.div>                           
 202a510:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a514:	96 10 00 13 	mov  %l3, %o3                                  
 202a518:	98 10 00 12 	mov  %l2, %o4                                  
 202a51c:	9a 10 00 11 	mov  %l1, %o5                                  
 202a520:	94 10 00 14 	mov  %l4, %o2                                  
 202a524:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202a528:	92 10 00 1a 	mov  %i2, %o1                                  
 202a52c:	9f c6 40 00 	call  %i1                                      
 202a530:	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);
 202a534:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 202a538:	94 07 bf f0 	add  %fp, -16, %o2                             
 202a53c:	40 00 04 da 	call  202b8a4 <_Timespec_Divide_by_integer>    
 202a540:	90 07 bf d0 	add  %fp, -48, %o0                             
      (*print)( context,                                              
 202a544:	d0 07 bf c4 	ld  [ %fp + -60 ], %o0                         
 202a548:	40 00 c3 c4 	call  205b458 <.div>                           
 202a54c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a550:	a6 10 00 08 	mov  %o0, %l3                                  
 202a554:	d0 07 bf cc 	ld  [ %fp + -52 ], %o0                         
 202a558:	40 00 c3 c0 	call  205b458 <.div>                           
 202a55c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a560:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202a564:	a2 10 00 08 	mov  %o0, %l1                                  
 202a568:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202a56c:	e8 07 bf c0 	ld  [ %fp + -64 ], %l4                         
 202a570:	e4 07 bf c8 	ld  [ %fp + -56 ], %l2                         
 202a574:	92 10 23 e8 	mov  0x3e8, %o1                                
 202a578:	40 00 c3 b8 	call  205b458 <.div>                           
 202a57c:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202a580:	92 10 00 1b 	mov  %i3, %o1                                  
 202a584:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202a588:	94 10 00 14 	mov  %l4, %o2                                  
 202a58c:	90 10 00 18 	mov  %i0, %o0                                  
 202a590:	96 10 00 13 	mov  %l3, %o3                                  
 202a594:	98 10 00 12 	mov  %l2, %o4                                  
 202a598:	9f c6 40 00 	call  %i1                                      
 202a59c:	9a 10 00 11 	mov  %l1, %o5                                  
   * 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++ ) {                                                      
 202a5a0:	ba 07 60 01 	inc  %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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
 202a5a4:	03 00 81 bf 	sethi  %hi(0x206fc00), %g1                     
                                                                      
  /*                                                                  
   * 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 ;                   
 202a5a8:	c2 00 62 7c 	ld  [ %g1 + 0x27c ], %g1	! 206fe7c <_Rate_monotonic_Information+0xc>
 202a5ac:	80 a7 40 01 	cmp  %i5, %g1                                  
 202a5b0:	08 bf ff ad 	bleu  202a464 <rtems_rate_monotonic_report_statistics_with_plugin+0x88>
 202a5b4:	90 10 00 1d 	mov  %i5, %o0                                  
 202a5b8:	81 c7 e0 08 	ret                                            
 202a5bc:	81 e8 00 00 	restore                                        
                                                                      

02008960 <rtems_rbheap_allocate>: return big_enough; } void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size) {
 2008960:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *ptr = NULL;                                                   
  rtems_chain_control *free_chain = &control->free_chain;             
  rtems_rbtree_control *page_tree = &control->page_tree;              
  uintptr_t page_alignment = control->page_alignment;                 
 2008964:	f8 06 20 30 	ld  [ %i0 + 0x30 ], %i4                        
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t page_alignment, uintptr_t value)  
{                                                                     
  uintptr_t excess = value % page_alignment;                          
 2008968:	90 10 00 19 	mov  %i1, %o0                                  
 200896c:	92 10 00 1c 	mov  %i4, %o1                                  
 2008970:	40 00 44 fd 	call  2019d64 <.urem>                          
 2008974:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
  if (excess > 0) {                                                   
 2008978:	80 a2 20 00 	cmp  %o0, 0                                    
 200897c:	02 80 00 04 	be  200898c <rtems_rbheap_allocate+0x2c>       <== ALWAYS TAKEN
 2008980:	b6 10 00 19 	mov  %i1, %i3                                  
    value += page_alignment - excess;                                 
 2008984:	b8 06 40 1c 	add  %i1, %i4, %i4                             <== NOT EXECUTED
 2008988:	b6 27 00 08 	sub  %i4, %o0, %i3                             <== NOT EXECUTED
  rtems_chain_control *free_chain = &control->free_chain;             
  rtems_rbtree_control *page_tree = &control->page_tree;              
  uintptr_t page_alignment = control->page_alignment;                 
  uintptr_t aligned_size = align_up(page_alignment, size);            
                                                                      
  if (size > 0 && size <= aligned_size) {                             
 200898c:	80 a6 c0 19 	cmp  %i3, %i1                                  
 2008990:	0a 80 00 31 	bcs  2008a54 <rtems_rbheap_allocate+0xf4>      <== NEVER TAKEN
 2008994:	80 a6 60 00 	cmp  %i1, 0                                    
 2008998:	02 80 00 2f 	be  2008a54 <rtems_rbheap_allocate+0xf4>       
 200899c:	84 07 60 04 	add  %i5, 4, %g2                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 20089a0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
  size_t size                                                         
)                                                                     
{                                                                     
  rtems_chain_node *current = rtems_chain_first(free_chain);          
  const rtems_chain_node *tail = rtems_chain_tail(free_chain);        
  rtems_rbheap_page *big_enough = NULL;                               
 20089a4:	10 80 00 06 	b  20089bc <rtems_rbheap_allocate+0x5c>        
 20089a8:	b2 10 20 00 	clr  %i1                                       
                                                                      
  while (current != tail && big_enough == NULL) {                     
    rtems_rbheap_page *free_page = (rtems_rbheap_page *) current;     
                                                                      
    if (free_page->size >= size) {                                    
 20089ac:	80 a0 c0 1b 	cmp  %g3, %i3                                  
 20089b0:	b2 40 3f ff 	addx  %g0, -1, %i1                             
 20089b4:	b2 08 40 19 	and  %g1, %i1, %i1                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 20089b8:	c2 00 40 00 	ld  [ %g1 ], %g1                               
{                                                                     
  rtems_chain_node *current = rtems_chain_first(free_chain);          
  const rtems_chain_node *tail = rtems_chain_tail(free_chain);        
  rtems_rbheap_page *big_enough = NULL;                               
                                                                      
  while (current != tail && big_enough == NULL) {                     
 20089bc:	80 a6 60 00 	cmp  %i1, 0                                    
 20089c0:	12 80 00 04 	bne  20089d0 <rtems_rbheap_allocate+0x70>      
 20089c4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20089c8:	32 bf ff f9 	bne,a   20089ac <rtems_rbheap_allocate+0x4c>   
 20089cc:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        
  uintptr_t aligned_size = align_up(page_alignment, size);            
                                                                      
  if (size > 0 && size <= aligned_size) {                             
    rtems_rbheap_page *free_page = search_free_page(free_chain, aligned_size);
                                                                      
    if (free_page != NULL) {                                          
 20089d0:	80 a6 60 00 	cmp  %i1, 0                                    
 20089d4:	02 80 00 16 	be  2008a2c <rtems_rbheap_allocate+0xcc>       
 20089d8:	b0 10 20 00 	clr  %i0                                       
      uintptr_t free_size = free_page->size;                          
 20089dc:	f4 06 60 1c 	ld  [ %i1 + 0x1c ], %i2                        
                                                                      
      if (free_size > aligned_size) {                                 
 20089e0:	80 a6 80 1b 	cmp  %i2, %i3                                  
 20089e4:	28 80 00 14 	bleu,a   2008a34 <rtems_rbheap_allocate+0xd4>  
 20089e8:	c4 06 40 00 	ld  [ %i1 ], %g2                               
        rtems_rbheap_page *new_page = get_page(control);              
 20089ec:	7f ff ff 72 	call  20087b4 <get_page>                       
 20089f0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
        if (new_page != NULL) {                                       
 20089f4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20089f8:	02 80 00 0d 	be  2008a2c <rtems_rbheap_allocate+0xcc>       <== NEVER TAKEN
 20089fc:	b4 26 80 1b 	sub  %i2, %i3, %i2                             
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_page->size = new_free_size;                            
          new_page->begin = free_page->begin + new_free_size;         
 2008a00:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
        rtems_rbheap_page *new_page = get_page(control);              
                                                                      
        if (new_page != NULL) {                                       
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_page->size = new_free_size;                            
 2008a04:	f4 26 60 1c 	st  %i2, [ %i1 + 0x1c ]                        
          new_page->begin = free_page->begin + new_free_size;         
          new_page->size = aligned_size;                              
 2008a08:	f6 27 20 1c 	st  %i3, [ %i4 + 0x1c ]                        
                                                                      
        if (new_page != NULL) {                                       
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_page->size = new_free_size;                            
          new_page->begin = free_page->begin + new_free_size;         
 2008a0c:	b4 06 80 01 	add  %i2, %g1, %i2                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 2008a10:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
 2008a14:	f4 27 20 18 	st  %i2, [ %i4 + 0x18 ]                        
 2008a18:	c0 27 00 00 	clr  [ %i4 ]                                   
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_page *page                                             
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &page->tree_node);                 
 2008a1c:	90 07 60 18 	add  %i5, 0x18, %o0                            
 2008a20:	40 00 06 e0 	call  200a5a0 <_RBTree_Insert_unprotected>     
 2008a24:	92 07 20 08 	add  %i4, 8, %o1                               
          free_page->size = new_free_size;                            
          new_page->begin = free_page->begin + new_free_size;         
          new_page->size = aligned_size;                              
          rtems_chain_set_off_chain(&new_page->chain_node);           
          insert_into_tree(page_tree, new_page);                      
          ptr = (void *) new_page->begin;                             
 2008a28:	f0 07 20 18 	ld  [ %i4 + 0x18 ], %i0                        
 2008a2c:	81 c7 e0 08 	ret                                            
 2008a30:	81 e8 00 00 	restore                                        
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 2008a34:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
        }                                                             
      } else {                                                        
        rtems_chain_extract_unprotected(&free_page->chain_node);      
        rtems_chain_set_off_chain(&free_page->chain_node);            
        ptr = (void *) free_page->begin;                              
 2008a38:	f0 06 60 18 	ld  [ %i1 + 0x18 ], %i0                        
  next->previous = previous;                                          
 2008a3c:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
  previous->next = next;                                              
 2008a40:	c4 20 40 00 	st  %g2, [ %g1 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 2008a44:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 2008a48:	c0 26 40 00 	clr  [ %i1 ]                                   
 2008a4c:	81 c7 e0 08 	ret                                            
 2008a50:	81 e8 00 00 	restore                                        
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
  void *ptr = NULL;                                                   
 2008a54:	b0 10 20 00 	clr  %i0                                       
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
 2008a58:	81 c7 e0 08 	ret                                            
 2008a5c:	81 e8 00 00 	restore                                        
                                                                      

02008bf4 <rtems_rbheap_extend_page_pool_with_malloc>: void rtems_rbheap_extend_page_pool_with_malloc(rtems_rbheap_control *control) {
 2008bf4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rbheap_page *page = malloc(sizeof(*page));                    
 2008bf8:	7f ff ed 74 	call  20041c8 <malloc>                         <== NOT EXECUTED
 2008bfc:	90 10 20 20 	mov  0x20, %o0                                 <== NOT EXECUTED
                                                                      
  if (page != NULL) {                                                 
 2008c00:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2008c04:	02 80 00 07 	be  2008c20 <rtems_rbheap_extend_page_pool_with_malloc+0x2c><== NOT EXECUTED
 2008c08:	82 06 20 0c 	add  %i0, 0xc, %g1                             <== NOT EXECUTED
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2008c0c:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           <== NOT EXECUTED
  before_node           = after_node->next;                           
 2008c10:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
  after_node->next      = the_node;                                   
 2008c14:	d0 26 20 0c 	st  %o0, [ %i0 + 0xc ]                         <== NOT EXECUTED
  the_node->next        = before_node;                                
 2008c18:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  before_node->previous = the_node;                                   
 2008c1c:	d0 20 60 04 	st  %o0, [ %g1 + 4 ]                           <== NOT EXECUTED
 2008c20:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008c24:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02008a60 <rtems_rbheap_free>: _RBTree_Extract_unprotected(page_tree, &b->tree_node); } } rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr) {
 2008a60:	9d e3 bf 80 	save  %sp, -128, %sp                           
                                                                      
#define NULL_PAGE rtems_rbheap_page_of_node(NULL)                     
                                                                      
static rtems_rbheap_page *find(rtems_rbtree_control *page_tree, uintptr_t key)
{                                                                     
  rtems_rbheap_page page = { .begin = key };                          
 2008a64:	92 10 20 00 	clr  %o1                                       
 2008a68:	90 07 bf e0 	add  %fp, -32, %o0                             
 2008a6c:	94 10 20 20 	mov  0x20, %o2                                 
 2008a70:	40 00 22 c1 	call  2011574 <memset>                         
 2008a74:	ba 10 00 18 	mov  %i0, %i5                                  
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
 2008a78:	b8 10 20 00 	clr  %i4                                       
 2008a7c:	f2 27 bf f8 	st  %i1, [ %fp + -8 ]                          
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
 2008a80:	10 80 00 12 	b  2008ac8 <rtems_rbheap_free+0x68>            
 2008a84:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
    compare_result = the_rbtree->compare_function(the_node, iter_node);
 2008a88:	90 07 bf e8 	add  %fp, -24, %o0                             
 2008a8c:	9f c0 40 00 	call  %g1                                      
 2008a90:	92 10 00 1b 	mov  %i3, %o1                                  
    if ( _RBTree_Is_equal( compare_result ) ) {                       
 2008a94:	80 a2 20 00 	cmp  %o0, 0                                    
 2008a98:	12 80 00 07 	bne  2008ab4 <rtems_rbheap_free+0x54>          
 2008a9c:	83 3a 20 1f 	sra  %o0, 0x1f, %g1                            
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
 2008aa0:	c2 0f 60 2c 	ldub  [ %i5 + 0x2c ], %g1                      
 2008aa4:	80 a0 60 00 	cmp  %g1, 0                                    
 2008aa8:	12 80 00 0c 	bne  2008ad8 <rtems_rbheap_free+0x78>          <== ALWAYS TAKEN
 2008aac:	b8 10 00 1b 	mov  %i3, %i4                                  
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
 2008ab0:	83 3a 20 1f 	sra  %o0, 0x1f, %g1                            <== NOT EXECUTED
 2008ab4:	90 20 40 08 	sub  %g1, %o0, %o0                             
 2008ab8:	91 32 20 1f 	srl  %o0, 0x1f, %o0                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
 2008abc:	91 2a 20 02 	sll  %o0, 2, %o0                               
 2008ac0:	b6 06 c0 08 	add  %i3, %o0, %i3                             
 2008ac4:	f6 06 e0 04 	ld  [ %i3 + 4 ], %i3                           
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
 2008ac8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2008acc:	32 bf ff ef 	bne,a   2008a88 <rtems_rbheap_free+0x28>       
 2008ad0:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2008ad4:	b6 10 00 1c 	mov  %i4, %i3                                  
                                                                      
  return rtems_rbheap_page_of_node(                                   
 2008ad8:	b8 06 ff f8 	add  %i3, -8, %i4                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_control *free_chain = &control->free_chain;             
  rtems_rbtree_control *page_tree = &control->page_tree;              
  rtems_rbheap_page *page = find(page_tree, (uintptr_t) ptr);         
                                                                      
  if (page != NULL_PAGE) {                                            
 2008adc:	80 a7 3f f8 	cmp  %i4, -8                                   
 2008ae0:	02 80 00 41 	be  2008be4 <rtems_rbheap_free+0x184>          
 2008ae4:	b0 10 20 04 	mov  4, %i0                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 2008ae8:	c4 06 ff f8 	ld  [ %i3 + -8 ], %g2                          
 2008aec:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008af0:	12 80 00 05 	bne  2008b04 <rtems_rbheap_free+0xa4>          
 2008af4:	82 10 20 00 	clr  %g1                                       
    add_to_chain(free_chain, b);                                      
    _RBTree_Extract_unprotected(page_tree, &b->tree_node);            
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
 2008af8:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 2008afc:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008b00:	82 60 3f ff 	subx  %g0, -1, %g1                             
  rtems_chain_control *free_chain = &control->free_chain;             
  rtems_rbtree_control *page_tree = &control->page_tree;              
  rtems_rbheap_page *page = find(page_tree, (uintptr_t) ptr);         
                                                                      
  if (page != NULL_PAGE) {                                            
    if (!rtems_rbheap_is_page_free(page)) {                           
 2008b04:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b08:	02 80 00 37 	be  2008be4 <rtems_rbheap_free+0x184>          
 2008b0c:	b0 10 20 0e 	mov  0xe, %i0                                  
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_control *free_chain = &control->free_chain;             
  rtems_rbtree_control *page_tree = &control->page_tree;              
 2008b10:	b6 07 60 18 	add  %i5, 0x18, %i3                            
  const rtems_rbtree_control *page_tree,                              
  const rtems_rbheap_page *page,                                      
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return rtems_rbheap_page_of_node(                                   
 2008b14:	b0 07 20 08 	add  %i4, 8, %i0                               
 2008b18:	94 10 20 00 	clr  %o2                                       
 2008b1c:	92 10 00 18 	mov  %i0, %o1                                  
 2008b20:	40 00 07 27 	call  200a7bc <_RBTree_Next_unprotected>       
 2008b24:	90 10 00 1b 	mov  %i3, %o0                                  
 2008b28:	92 10 00 18 	mov  %i0, %o1                                  
 2008b2c:	b2 10 00 08 	mov  %o0, %i1                                  
 2008b30:	b4 02 3f f8 	add  %o0, -8, %i2                              
 2008b34:	94 10 20 01 	mov  1, %o2                                    
 2008b38:	40 00 07 21 	call  200a7bc <_RBTree_Next_unprotected>       
 2008b3c:	90 10 00 1b 	mov  %i3, %o0                                  
 2008b40:	96 02 3f f8 	add  %o0, -8, %o3                              
  rtems_rbtree_control *page_tree,                                    
  rtems_rbheap_page *a,                                               
  rtems_rbheap_page *b                                                
)                                                                     
{                                                                     
  if (b != NULL_PAGE && rtems_rbheap_is_page_free(b)) {               
 2008b44:	80 a2 ff f8 	cmp  %o3, -8                                   
 2008b48:	22 80 00 11 	be,a   2008b8c <rtems_rbheap_free+0x12c>       
 2008b4c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2008b50:	c4 02 3f f8 	ld  [ %o0 + -8 ], %g2                          
 2008b54:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008b58:	12 80 00 05 	bne  2008b6c <rtems_rbheap_free+0x10c>         
 2008b5c:	82 10 20 00 	clr  %g1                                       
    add_to_chain(free_chain, b);                                      
    _RBTree_Extract_unprotected(page_tree, &b->tree_node);            
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
 2008b60:	c2 02 e0 04 	ld  [ %o3 + 4 ], %g1                           
 2008b64:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008b68:	82 60 3f ff 	subx  %g0, -1, %g1                             
  rtems_rbtree_control *page_tree,                                    
  rtems_rbheap_page *a,                                               
  rtems_rbheap_page *b                                                
)                                                                     
{                                                                     
  if (b != NULL_PAGE && rtems_rbheap_is_page_free(b)) {               
 2008b6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2008b70:	32 80 00 07 	bne,a   2008b8c <rtems_rbheap_free+0x12c>      
 2008b74:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2008b78:	90 10 00 1d 	mov  %i5, %o0                                  
 2008b7c:	92 10 00 1b 	mov  %i3, %o1                                  
 2008b80:	7f ff ff 1c 	call  20087f0 <check_and_merge.part.0>         
 2008b84:	94 10 00 1c 	mov  %i4, %o2                                  
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 2008b88:	c2 07 40 00 	ld  [ %i5 ], %g1                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2008b8c:	fa 27 20 04 	st  %i5, [ %i4 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 2008b90:	f8 27 40 00 	st  %i4, [ %i5 ]                               
  the_node->next        = before_node;                                
 2008b94:	c2 27 00 00 	st  %g1, [ %i4 ]                               
  before_node->previous = the_node;                                   
 2008b98:	f8 20 60 04 	st  %i4, [ %g1 + 4 ]                           
 2008b9c:	80 a6 bf f8 	cmp  %i2, -8                                   
 2008ba0:	02 80 00 11 	be  2008be4 <rtems_rbheap_free+0x184>          
 2008ba4:	b0 10 20 00 	clr  %i0                                       
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 2008ba8:	c4 06 7f f8 	ld  [ %i1 + -8 ], %g2                          
 2008bac:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008bb0:	12 80 00 05 	bne  2008bc4 <rtems_rbheap_free+0x164>         
 2008bb4:	82 10 20 00 	clr  %g1                                       
    add_to_chain(free_chain, b);                                      
    _RBTree_Extract_unprotected(page_tree, &b->tree_node);            
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
 2008bb8:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 2008bbc:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008bc0:	82 60 3f ff 	subx  %g0, -1, %g1                             
  rtems_rbtree_control *page_tree,                                    
  rtems_rbheap_page *a,                                               
  rtems_rbheap_page *b                                                
)                                                                     
{                                                                     
  if (b != NULL_PAGE && rtems_rbheap_is_page_free(b)) {               
 2008bc4:	80 a0 60 00 	cmp  %g1, 0                                    
 2008bc8:	12 80 00 07 	bne  2008be4 <rtems_rbheap_free+0x184>         
 2008bcc:	b0 10 20 00 	clr  %i0                                       
 2008bd0:	90 10 00 1d 	mov  %i5, %o0                                  
 2008bd4:	92 10 00 1b 	mov  %i3, %o1                                  
 2008bd8:	94 10 00 1c 	mov  %i4, %o2                                  
 2008bdc:	7f ff ff 05 	call  20087f0 <check_and_merge.part.0>         
 2008be0:	96 10 00 1a 	mov  %i2, %o3                                  
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 2008be4:	81 c7 e0 08 	ret                                            
 2008be8:	81 e8 00 00 	restore                                        
                                                                      

020177d8 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 20177d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20177dc:	90 10 00 18 	mov  %i0, %o0                                  
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 20177e0:	80 a6 60 00 	cmp  %i1, 0                                    
 20177e4:	02 80 00 2e 	be  201789c <rtems_signal_send+0xc4>           
 20177e8:	b0 10 20 0a 	mov  0xa, %i0                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 20177ec:	40 00 12 9a 	call  201c254 <_Thread_Get>                    
 20177f0:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 20177f4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 20177f8:	b8 10 00 08 	mov  %o0, %i4                                  
  switch ( location ) {                                               
 20177fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2017800:	12 80 00 27 	bne  201789c <rtems_signal_send+0xc4>          
 2017804:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 2017808:	fa 02 21 58 	ld  [ %o0 + 0x158 ], %i5                       
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
 201780c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2017810:	80 a0 60 00 	cmp  %g1, 0                                    
 2017814:	02 80 00 24 	be  20178a4 <rtems_signal_send+0xcc>           
 2017818:	01 00 00 00 	nop                                            
        if ( asr->is_enabled ) {                                      
 201781c:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 2017820:	80 a0 60 00 	cmp  %g1, 0                                    
 2017824:	02 80 00 15 	be  2017878 <rtems_signal_send+0xa0>           
 2017828:	01 00 00 00 	nop                                            
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 201782c:	7f ff e3 49 	call  2010550 <sparc_disable_interrupts>       
 2017830:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2017834:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2017838:	b2 10 40 19 	or  %g1, %i1, %i1                              
 201783c:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
  _ISR_Enable( _level );                                              
 2017840:	7f ff e3 48 	call  2010560 <sparc_enable_interrupts>        
 2017844:	01 00 00 00 	nop                                            
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2017848:	03 00 80 f4 	sethi  %hi(0x203d000), %g1                     
 201784c:	82 10 61 90 	or  %g1, 0x190, %g1	! 203d190 <_Per_CPU_Information>
 2017850:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2017854:	80 a0 a0 00 	cmp  %g2, 0                                    
 2017858:	02 80 00 0f 	be  2017894 <rtems_signal_send+0xbc>           
 201785c:	01 00 00 00 	nop                                            
 2017860:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2017864:	80 a7 00 02 	cmp  %i4, %g2                                  
 2017868:	12 80 00 0b 	bne  2017894 <rtems_signal_send+0xbc>          <== NEVER TAKEN
 201786c:	84 10 20 01 	mov  1, %g2                                    
            _Thread_Dispatch_necessary = true;                        
 2017870:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 2017874:	30 80 00 08 	b,a   2017894 <rtems_signal_send+0xbc>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2017878:	7f ff e3 36 	call  2010550 <sparc_disable_interrupts>       
 201787c:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2017880:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2017884:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2017888:	f2 27 60 18 	st  %i1, [ %i5 + 0x18 ]                        
  _ISR_Enable( _level );                                              
 201788c:	7f ff e3 35 	call  2010560 <sparc_enable_interrupts>        
 2017890:	01 00 00 00 	nop                                            
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
 2017894:	40 00 12 63 	call  201c220 <_Thread_Enable_dispatch>        
 2017898:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
        return RTEMS_SUCCESSFUL;                                      
 201789c:	81 c7 e0 08 	ret                                            
 20178a0:	81 e8 00 00 	restore                                        
      }                                                               
      _Thread_Enable_dispatch();                                      
 20178a4:	40 00 12 5f 	call  201c220 <_Thread_Enable_dispatch>        
 20178a8:	b0 10 20 0b 	mov  0xb, %i0                                  
      return RTEMS_NOT_DEFINED;                                       
 20178ac:	81 c7 e0 08 	ret                                            
 20178b0:	81 e8 00 00 	restore                                        
                                                                      

0200f2d8 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 200f2d8:	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 )                                           
 200f2dc:	80 a6 a0 00 	cmp  %i2, 0                                    
 200f2e0:	02 80 00 5a 	be  200f448 <rtems_task_mode+0x170>            
 200f2e4:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 200f2e8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f2ec:	f8 00 61 5c 	ld  [ %g1 + 0x15c ], %i4	! 201e15c <_Per_CPU_Information+0xc>
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200f2f0:	c2 0f 20 70 	ldub  [ %i4 + 0x70 ], %g1                      
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 200f2f4:	fa 07 21 58 	ld  [ %i4 + 0x158 ], %i5                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200f2f8:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200f2fc:	c2 07 20 78 	ld  [ %i4 + 0x78 ], %g1                        
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 200f300:	b6 60 3f ff 	subx  %g0, -1, %i3                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 200f304:	80 a0 60 00 	cmp  %g1, 0                                    
 200f308:	02 80 00 03 	be  200f314 <rtems_task_mode+0x3c>             
 200f30c:	b7 2e e0 08 	sll  %i3, 8, %i3                               
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
 200f310:	b6 16 e2 00 	or  %i3, 0x200, %i3                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 200f314:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 200f318:	80 a0 00 01 	cmp  %g0, %g1                                  
  old_mode |= _ISR_Get_level();                                       
 200f31c:	7f ff f0 56 	call  200b474 <_CPU_ISR_Get_level>             
 200f320:	a0 60 3f ff 	subx  %g0, -1, %l0                             
  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;           
 200f324:	a1 2c 20 0a 	sll  %l0, 0xa, %l0                             
 200f328:	a0 14 00 08 	or  %l0, %o0, %l0                              
  old_mode |= _ISR_Get_level();                                       
 200f32c:	b6 14 00 1b 	or  %l0, %i3, %i3                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 200f330:	80 8e 61 00 	btst  0x100, %i1                               
 200f334:	02 80 00 06 	be  200f34c <rtems_task_mode+0x74>             
 200f338:	f6 26 80 00 	st  %i3, [ %i2 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt (                         
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
   return (mode_set & RTEMS_PREEMPT_MASK) == RTEMS_PREEMPT;           
 200f33c:	82 0e 21 00 	and  %i0, 0x100, %g1                           
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 200f340:	80 a0 00 01 	cmp  %g0, %g1                                  
 200f344:	82 60 3f ff 	subx  %g0, -1, %g1                             
 200f348:	c2 2f 20 70 	stb  %g1, [ %i4 + 0x70 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 200f34c:	80 8e 62 00 	btst  0x200, %i1                               
 200f350:	02 80 00 0b 	be  200f37c <rtems_task_mode+0xa4>             
 200f354:	80 8e 60 0f 	btst  0xf, %i1                                 
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 200f358:	80 8e 22 00 	btst  0x200, %i0                               
 200f35c:	22 80 00 07 	be,a   200f378 <rtems_task_mode+0xa0>          
 200f360:	c0 27 20 78 	clr  [ %i4 + 0x78 ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
 200f364:	82 10 20 01 	mov  1, %g1                                    
 200f368:	c2 27 20 78 	st  %g1, [ %i4 + 0x78 ]                        
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 200f36c:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200f370:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201db74 <_Thread_Ticks_per_timeslice>
 200f374:	c2 27 20 74 	st  %g1, [ %i4 + 0x74 ]                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 200f378:	80 8e 60 0f 	btst  0xf, %i1                                 
 200f37c:	02 80 00 06 	be  200f394 <rtems_task_mode+0xbc>             
 200f380:	80 8e 64 00 	btst  0x400, %i1                               
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
 200f384:	90 0e 20 0f 	and  %i0, 0xf, %o0                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 200f388:	7f ff cc 9d 	call  20025fc <sparc_enable_interrupts>        
 200f38c:	91 2a 20 08 	sll  %o0, 8, %o0                               
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 200f390:	80 8e 64 00 	btst  0x400, %i1                               
 200f394:	02 80 00 14 	be  200f3e4 <rtems_task_mode+0x10c>            
 200f398:	88 10 20 00 	clr  %g4                                       
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
 200f39c:	c4 0f 60 08 	ldub  [ %i5 + 8 ], %g2                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled (                    
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
   return (mode_set & RTEMS_ASR_MASK) == RTEMS_NO_ASR;                
 200f3a0:	b0 0e 24 00 	and  %i0, 0x400, %i0                           
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 200f3a4:	80 a0 00 18 	cmp  %g0, %i0                                  
 200f3a8:	82 60 3f ff 	subx  %g0, -1, %g1                             
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
 200f3ac:	80 a0 40 02 	cmp  %g1, %g2                                  
 200f3b0:	22 80 00 0e 	be,a   200f3e8 <rtems_task_mode+0x110>         
 200f3b4:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 200f3b8:	7f ff cc 8d 	call  20025ec <sparc_disable_interrupts>       
 200f3bc:	c2 2f 60 08 	stb  %g1, [ %i5 + 8 ]                          
    _signals                     = information->signals_pending;      
 200f3c0:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
    information->signals_pending = information->signals_posted;       
 200f3c4:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
    information->signals_posted  = _signals;                          
 200f3c8:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 200f3cc:	c4 27 60 18 	st  %g2, [ %i5 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 200f3d0:	7f ff cc 8b 	call  20025fc <sparc_enable_interrupts>        
 200f3d4:	01 00 00 00 	nop                                            
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
 200f3d8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
 200f3dc:	80 a0 00 01 	cmp  %g0, %g1                                  
 200f3e0:	88 40 20 00 	addx  %g0, 0, %g4                              
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
 200f3e4:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200f3e8:	c4 00 61 68 	ld  [ %g1 + 0x168 ], %g2	! 201dd68 <_System_state_Current>
 200f3ec:	80 a0 a0 03 	cmp  %g2, 3                                    
 200f3f0:	12 80 00 16 	bne  200f448 <rtems_task_mode+0x170>           
 200f3f4:	82 10 20 00 	clr  %g1                                       
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
 200f3f8:	07 00 80 78 	sethi  %hi(0x201e000), %g3                     
                                                                      
  if ( are_signals_pending ||                                         
 200f3fc:	80 89 20 ff 	btst  0xff, %g4                                
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
 200f400:	86 10 e1 50 	or  %g3, 0x150, %g3                            
                                                                      
  if ( are_signals_pending ||                                         
 200f404:	12 80 00 0a 	bne  200f42c <rtems_task_mode+0x154>           
 200f408:	c4 00 e0 0c 	ld  [ %g3 + 0xc ], %g2                         
 200f40c:	c6 00 e0 10 	ld  [ %g3 + 0x10 ], %g3                        
 200f410:	80 a0 80 03 	cmp  %g2, %g3                                  
 200f414:	02 80 00 0d 	be  200f448 <rtems_task_mode+0x170>            
 200f418:	01 00 00 00 	nop                                            
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
 200f41c:	c4 08 a0 70 	ldub  [ %g2 + 0x70 ], %g2                      
 200f420:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f424:	02 80 00 09 	be  200f448 <rtems_task_mode+0x170>            <== NEVER TAKEN
 200f428:	01 00 00 00 	nop                                            
    _Thread_Dispatch_necessary = true;                                
 200f42c:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
 200f430:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200f434:	82 10 61 50 	or  %g1, 0x150, %g1	! 201e150 <_Per_CPU_Information>
 200f438:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
 200f43c:	7f ff ea fe 	call  200a034 <_Thread_Dispatch>               
 200f440:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f444:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
}                                                                     
 200f448:	81 c7 e0 08 	ret                                            
 200f44c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200bac4 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
 200bac4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 200bac8:	80 a6 60 00 	cmp  %i1, 0                                    
 200bacc:	02 80 00 07 	be  200bae8 <rtems_task_set_priority+0x24>     
 200bad0:	90 10 00 18 	mov  %i0, %o0                                  
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
 200bad4:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 200bad8:	c2 08 61 e4 	ldub  [ %g1 + 0x1e4 ], %g1	! 2020de4 <rtems_maximum_priority>
 200badc:	80 a6 40 01 	cmp  %i1, %g1                                  
 200bae0:	18 80 00 1c 	bgu  200bb50 <rtems_task_set_priority+0x8c>    
 200bae4:	b0 10 20 13 	mov  0x13, %i0                                 
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 200bae8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200baec:	02 80 00 19 	be  200bb50 <rtems_task_set_priority+0x8c>     
 200baf0:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200baf4:	40 00 09 ad 	call  200e1a8 <_Thread_Get>                    
 200baf8:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200bafc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200bb00:	80 a0 60 00 	cmp  %g1, 0                                    
 200bb04:	12 80 00 13 	bne  200bb50 <rtems_task_set_priority+0x8c>    
 200bb08:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 200bb0c:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 200bb10:	80 a6 60 00 	cmp  %i1, 0                                    
 200bb14:	02 80 00 0d 	be  200bb48 <rtems_task_set_priority+0x84>     
 200bb18:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 200bb1c:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200bb20:	80 a0 60 00 	cmp  %g1, 0                                    
 200bb24:	02 80 00 06 	be  200bb3c <rtems_task_set_priority+0x78>     
 200bb28:	f2 22 20 18 	st  %i1, [ %o0 + 0x18 ]                        
 200bb2c:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200bb30:	80 a0 40 19 	cmp  %g1, %i1                                  
 200bb34:	08 80 00 05 	bleu  200bb48 <rtems_task_set_priority+0x84>   <== ALWAYS TAKEN
 200bb38:	01 00 00 00 	nop                                            
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
 200bb3c:	92 10 00 19 	mov  %i1, %o1                                  
 200bb40:	40 00 08 68 	call  200dce0 <_Thread_Change_priority>        
 200bb44:	94 10 20 00 	clr  %o2                                       
      }                                                               
      _Thread_Enable_dispatch();                                      
 200bb48:	40 00 09 8b 	call  200e174 <_Thread_Enable_dispatch>        
 200bb4c:	b0 10 20 00 	clr  %i0                                       
      return RTEMS_SUCCESSFUL;                                        
 200bb50:	81 c7 e0 08 	ret                                            
 200bb54:	81 e8 00 00 	restore                                        
                                                                      

02018200 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 2018200:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 2018204:	11 00 80 f5 	sethi  %hi(0x203d400), %o0                     
 2018208:	92 10 00 18 	mov  %i0, %o1                                  
 201820c:	90 12 21 d4 	or  %o0, 0x1d4, %o0                            
 2018210:	40 00 0c 26 	call  201b2a8 <_Objects_Get>                   
 2018214:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2018218:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201821c:	80 a0 60 00 	cmp  %g1, 0                                    
 2018220:	12 80 00 0c 	bne  2018250 <rtems_timer_cancel+0x50>         
 2018224:	01 00 00 00 	nop                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 2018228:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 201822c:	80 a0 60 04 	cmp  %g1, 4                                    
 2018230:	02 80 00 04 	be  2018240 <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 2018234:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 2018238:	40 00 14 25 	call  201d2cc <_Watchdog_Remove>               
 201823c:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 2018240:	40 00 0f f8 	call  201c220 <_Thread_Enable_dispatch>        
 2018244:	b0 10 20 00 	clr  %i0                                       
      return RTEMS_SUCCESSFUL;                                        
 2018248:	81 c7 e0 08 	ret                                            
 201824c:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2018250:	81 c7 e0 08 	ret                                            
 2018254:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      

02018714 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 2018714:	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;                 
 2018718:	03 00 80 f5 	sethi  %hi(0x203d400), %g1                     
 201871c:	e0 00 62 14 	ld  [ %g1 + 0x214 ], %l0	! 203d614 <_Timer_server>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 2018720:	ba 10 00 18 	mov  %i0, %i5                                  
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
 2018724:	80 a4 20 00 	cmp  %l0, 0                                    
 2018728:	02 80 00 3b 	be  2018814 <rtems_timer_server_fire_when+0x100>
 201872c:	b0 10 20 0e 	mov  0xe, %i0                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 2018730:	03 00 80 f3 	sethi  %hi(0x203cc00), %g1                     
 2018734:	c2 08 60 60 	ldub  [ %g1 + 0x60 ], %g1	! 203cc60 <_TOD_Is_set>
 2018738:	80 a0 60 00 	cmp  %g1, 0                                    
 201873c:	02 80 00 36 	be  2018814 <rtems_timer_server_fire_when+0x100><== NEVER TAKEN
 2018740:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 2018744:	80 a6 a0 00 	cmp  %i2, 0                                    
 2018748:	02 80 00 33 	be  2018814 <rtems_timer_server_fire_when+0x100>
 201874c:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2018750:	90 10 00 19 	mov  %i1, %o0                                  
 2018754:	7f ff f3 8f 	call  2015590 <_TOD_Validate>                  
 2018758:	b0 10 20 14 	mov  0x14, %i0                                 
 201875c:	80 8a 20 ff 	btst  0xff, %o0                                
 2018760:	02 80 00 2f 	be  201881c <rtems_timer_server_fire_when+0x108>
 2018764:	01 00 00 00 	nop                                            
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 2018768:	7f ff f3 4f 	call  20154a4 <_TOD_To_seconds>                
 201876c:	90 10 00 19 	mov  %i1, %o0                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 2018770:	23 00 80 f3 	sethi  %hi(0x203cc00), %l1                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 2018774:	b2 10 00 08 	mov  %o0, %i1                                  
 2018778:	d0 1c 60 e0 	ldd  [ %l1 + 0xe0 ], %o0                       
 201877c:	94 10 20 00 	clr  %o2                                       
 2018780:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2018784:	40 00 4f ed 	call  202c738 <__divdi3>                       
 2018788:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 201878c:	80 a6 40 09 	cmp  %i1, %o1                                  
 2018790:	08 80 00 21 	bleu  2018814 <rtems_timer_server_fire_when+0x100>
 2018794:	11 00 80 f5 	sethi  %hi(0x203d400), %o0                     
 2018798:	92 10 00 1d 	mov  %i5, %o1                                  
 201879c:	90 12 21 d4 	or  %o0, 0x1d4, %o0                            
 20187a0:	40 00 0a c2 	call  201b2a8 <_Objects_Get>                   
 20187a4:	94 07 bf fc 	add  %fp, -4, %o2                              
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 20187a8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20187ac:	b8 10 00 08 	mov  %o0, %i4                                  
 20187b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20187b4:	12 80 00 18 	bne  2018814 <rtems_timer_server_fire_when+0x100>
 20187b8:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 20187bc:	40 00 12 c4 	call  201d2cc <_Watchdog_Remove>               
 20187c0:	90 02 20 10 	add  %o0, 0x10, %o0                            
 20187c4:	d0 1c 60 e0 	ldd  [ %l1 + 0xe0 ], %o0                       
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 20187c8:	82 10 20 03 	mov  3, %g1                                    
 20187cc:	94 10 20 00 	clr  %o2                                       
 20187d0:	c2 27 20 38 	st  %g1, [ %i4 + 0x38 ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20187d4:	c0 27 20 18 	clr  [ %i4 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 20187d8:	f4 27 20 2c 	st  %i2, [ %i4 + 0x2c ]                        
  the_watchdog->id        = id;                                       
 20187dc:	fa 27 20 30 	st  %i5, [ %i4 + 0x30 ]                        
  the_watchdog->user_data = user_data;                                
 20187e0:	f6 27 20 34 	st  %i3, [ %i4 + 0x34 ]                        
 20187e4:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 20187e8:	40 00 4f d4 	call  202c738 <__divdi3>                       
 20187ec:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 20187f0:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
                                                                      
    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();
 20187f4:	b2 26 40 09 	sub  %i1, %o1, %i1                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 20187f8:	90 10 00 10 	mov  %l0, %o0                                  
 20187fc:	92 10 00 1c 	mov  %i4, %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();
 2018800:	f2 27 20 1c 	st  %i1, [ %i4 + 0x1c ]                        
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2018804:	9f c0 40 00 	call  %g1                                      
 2018808:	b0 10 20 00 	clr  %i0                                       
                                                                      
      _Thread_Enable_dispatch();                                      
 201880c:	40 00 0e 85 	call  201c220 <_Thread_Enable_dispatch>        
 2018810:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2018814:	81 c7 e0 08 	ret                                            
 2018818:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 201881c:	81 c7 e0 08 	ret                                            
 2018820:	81 e8 00 00 	restore                                        
                                                                      

02007ecc <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
 2007ecc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2007ed0:	80 a6 20 04 	cmp  %i0, 4                                    
 2007ed4:	18 80 00 06 	bgu  2007eec <sched_get_priority_max+0x20>     
 2007ed8:	82 10 20 01 	mov  1, %g1                                    
 2007edc:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2007ee0:	80 8e 20 17 	btst  0x17, %i0                                
 2007ee4:	12 80 00 08 	bne  2007f04 <sched_get_priority_max+0x38>     <== ALWAYS TAKEN
 2007ee8:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2007eec:	40 00 21 42 	call  20103f4 <__errno>                        
 2007ef0:	b0 10 3f ff 	mov  -1, %i0                                   
 2007ef4:	82 10 20 16 	mov  0x16, %g1                                 
 2007ef8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007efc:	81 c7 e0 08 	ret                                            
 2007f00:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
 2007f04:	f0 08 63 64 	ldub  [ %g1 + 0x364 ], %i0                     
}                                                                     
 2007f08:	81 c7 e0 08 	ret                                            
 2007f0c:	91 ee 3f ff 	restore  %i0, -1, %o0                          
                                                                      

02007f10 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
 2007f10:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2007f14:	80 a6 20 04 	cmp  %i0, 4                                    
 2007f18:	18 80 00 06 	bgu  2007f30 <sched_get_priority_min+0x20>     
 2007f1c:	82 10 20 01 	mov  1, %g1                                    
 2007f20:	83 28 40 18 	sll  %g1, %i0, %g1                             
 2007f24:	80 88 60 17 	btst  0x17, %g1                                
 2007f28:	12 80 00 06 	bne  2007f40 <sched_get_priority_min+0x30>     <== ALWAYS TAKEN
 2007f2c:	b0 10 20 01 	mov  1, %i0                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2007f30:	40 00 21 31 	call  20103f4 <__errno>                        
 2007f34:	b0 10 3f ff 	mov  -1, %i0                                   
 2007f38:	82 10 20 16 	mov  0x16, %g1                                 
 2007f3c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 2007f40:	81 c7 e0 08 	ret                                            
 2007f44:	81 e8 00 00 	restore                                        
                                                                      

02007f48 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
 2007f48:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 2007f4c:	80 a6 20 00 	cmp  %i0, 0                                    
 2007f50:	02 80 00 0b 	be  2007f7c <sched_rr_get_interval+0x34>       <== NEVER TAKEN
 2007f54:	80 a6 60 00 	cmp  %i1, 0                                    
 2007f58:	7f ff ef 7e 	call  2003d50 <getpid>                         
 2007f5c:	01 00 00 00 	nop                                            
 2007f60:	80 a6 00 08 	cmp  %i0, %o0                                  
 2007f64:	02 80 00 06 	be  2007f7c <sched_rr_get_interval+0x34>       
 2007f68:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 2007f6c:	40 00 21 22 	call  20103f4 <__errno>                        
 2007f70:	01 00 00 00 	nop                                            
 2007f74:	10 80 00 07 	b  2007f90 <sched_rr_get_interval+0x48>        
 2007f78:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               
                                                                      
  if ( !interval )                                                    
 2007f7c:	12 80 00 08 	bne  2007f9c <sched_rr_get_interval+0x54>      
 2007f80:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007f84:	40 00 21 1c 	call  20103f4 <__errno>                        
 2007f88:	01 00 00 00 	nop                                            
 2007f8c:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2007f90:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007f94:	81 c7 e0 08 	ret                                            
 2007f98:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
 2007f9c:	d0 00 60 64 	ld  [ %g1 + 0x64 ], %o0                        
 2007fa0:	92 10 00 19 	mov  %i1, %o1                                  
 2007fa4:	40 00 0e a7 	call  200ba40 <_Timespec_From_ticks>           
 2007fa8:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2007fac:	81 c7 e0 08 	ret                                            
 2007fb0:	81 e8 00 00 	restore                                        
                                                                      

02008660 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
 2008660:	9d e3 bf 88 	save  %sp, -120, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008664:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 2008668:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 2022730 <_Thread_Dispatch_disable_level>
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 200866c:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2008670:	84 00 a0 01 	inc  %g2                                       
 2008674:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008678:	c2 00 63 30 	ld  [ %g1 + 0x330 ], %g1                       
 200867c:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2008680:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2008684:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  Objects_Locations          location;                                
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2008688:	b6 8e 62 00 	andcc  %i1, 0x200, %i3                         
 200868c:	02 80 00 05 	be  20086a0 <sem_open+0x40>                    
 2008690:	ba 10 20 00 	clr  %i5                                       
    va_start(arg, oflag);                                             
    mode = va_arg( arg, mode_t );                                     
    value = va_arg( arg, unsigned int );                              
 2008694:	fa 07 a0 50 	ld  [ %fp + 0x50 ], %i5                        
 2008698:	82 07 a0 54 	add  %fp, 0x54, %g1                            
 200869c:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
  const char *name,                                                   
  Objects_Id *id,                                                     
  size_t     *len                                                     
)                                                                     
{                                                                     
  return _POSIX_Name_to_id( &_POSIX_Semaphore_Information, name, id, len );
 20086a0:	39 00 80 8a 	sethi  %hi(0x2022800), %i4                     
 20086a4:	92 10 00 18 	mov  %i0, %o1                                  
 20086a8:	90 17 22 30 	or  %i4, 0x230, %o0                            
 20086ac:	94 07 bf f0 	add  %fp, -16, %o2                             
 20086b0:	7f ff fe 82 	call  20080b8 <_POSIX_Name_to_id>              
 20086b4:	96 07 bf fc 	add  %fp, -4, %o3                              
   *  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 ) {                                                     
 20086b8:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20086bc:	22 80 00 0e 	be,a   20086f4 <sem_open+0x94>                 
 20086c0:	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) ) ) {               
 20086c4:	80 a6 a0 02 	cmp  %i2, 2                                    
 20086c8:	12 80 00 04 	bne  20086d8 <sem_open+0x78>                   
 20086cc:	80 a6 e0 00 	cmp  %i3, 0                                    
 20086d0:	12 80 00 20 	bne  2008750 <sem_open+0xf0>                   
 20086d4:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
      _Thread_Enable_dispatch();                                      
 20086d8:	40 00 0d df 	call  200be54 <_Thread_Enable_dispatch>        
 20086dc:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
 20086e0:	40 00 24 41 	call  20117e4 <__errno>                        
 20086e4:	01 00 00 00 	nop                                            
 20086e8:	f4 22 00 00 	st  %i2, [ %o0 ]                               
 20086ec:	81 c7 e0 08 	ret                                            
 20086f0:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 20086f4:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 20086f8:	12 80 00 0a 	bne  2008720 <sem_open+0xc0>                   
 20086fc:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
      _Thread_Enable_dispatch();                                      
 2008700:	40 00 0d d5 	call  200be54 <_Thread_Enable_dispatch>        
 2008704:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
 2008708:	40 00 24 37 	call  20117e4 <__errno>                        
 200870c:	01 00 00 00 	nop                                            
 2008710:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 2008714:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008718:	81 c7 e0 08 	ret                                            
 200871c:	81 e8 00 00 	restore                                        
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (  
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
 2008720:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008724:	40 00 09 df 	call  200aea0 <_Objects_Get>                   
 2008728:	90 17 22 30 	or  %i4, 0x230, %o0                            
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( (sem_t *) &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
 200872c:	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( (sem_t *) &the_semaphore_id, &location );
 2008730:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_semaphore->open_count += 1;                                   
 2008734:	82 00 60 01 	inc  %g1                                       
    _Thread_Enable_dispatch();                                        
 2008738:	40 00 0d c7 	call  200be54 <_Thread_Enable_dispatch>        
 200873c:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
    _Thread_Enable_dispatch();                                        
 2008740:	40 00 0d c5 	call  200be54 <_Thread_Enable_dispatch>        
 2008744:	01 00 00 00 	nop                                            
    goto return_id;                                                   
 2008748:	10 80 00 0d 	b  200877c <sem_open+0x11c>                    
 200874c:	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(                            
 2008750:	96 10 00 1d 	mov  %i5, %o3                                  
 2008754:	90 10 00 18 	mov  %i0, %o0                                  
 2008758:	94 10 20 00 	clr  %o2                                       
 200875c:	40 00 19 bd 	call  200ee50 <_POSIX_Semaphore_Create_support>
 2008760:	98 07 bf f4 	add  %fp, -12, %o4                             
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 2008764:	40 00 0d bc 	call  200be54 <_Thread_Enable_dispatch>        
 2008768:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
  if ( status == -1 )                                                 
 200876c:	80 a7 7f ff 	cmp  %i5, -1                                   
 2008770:	02 bf ff ea 	be  2008718 <sem_open+0xb8>                    <== NEVER TAKEN
 2008774:	b0 10 3f ff 	mov  -1, %i0                                   
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    return &the_semaphore->Semaphore_id;                              
  #else                                                               
    return (sem_t *)&the_semaphore->Object.id;                        
 2008778:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 200877c:	b0 06 20 08 	add  %i0, 8, %i0                               
  #endif                                                              
}                                                                     
 2008780:	81 c7 e0 08 	ret                                            
 2008784:	81 e8 00 00 	restore                                        
                                                                      

02007ed8 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
 2007ed8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
 2007edc:	90 96 a0 00 	orcc  %i2, 0, %o0                              
 2007ee0:	02 80 00 09 	be  2007f04 <sigaction+0x2c>                   
 2007ee4:	83 2e 20 02 	sll  %i0, 2, %g1                               
    *oact = _POSIX_signals_Vectors[ sig ];                            
 2007ee8:	85 2e 20 04 	sll  %i0, 4, %g2                               
 2007eec:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2007ef0:	13 00 80 85 	sethi  %hi(0x2021400), %o1                     
 2007ef4:	94 10 20 0c 	mov  0xc, %o2                                  
 2007ef8:	92 12 63 a0 	or  %o1, 0x3a0, %o1                            
 2007efc:	40 00 25 03 	call  2011308 <memcpy>                         
 2007f00:	92 02 40 01 	add  %o1, %g1, %o1                             
                                                                      
  if ( !sig )                                                         
 2007f04:	80 a6 20 00 	cmp  %i0, 0                                    
 2007f08:	02 80 00 09 	be  2007f2c <sigaction+0x54>                   
 2007f0c:	01 00 00 00 	nop                                            
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 2007f10:	82 06 3f ff 	add  %i0, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 2007f14:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2007f18:	18 80 00 05 	bgu  2007f2c <sigaction+0x54>                  
 2007f1c:	01 00 00 00 	nop                                            
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
 2007f20:	80 a6 20 09 	cmp  %i0, 9                                    
 2007f24:	12 80 00 08 	bne  2007f44 <sigaction+0x6c>                  
 2007f28:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007f2c:	40 00 22 97 	call  2010988 <__errno>                        
 2007f30:	01 00 00 00 	nop                                            
 2007f34:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2007f38:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007f3c:	10 80 00 20 	b  2007fbc <sigaction+0xe4>                    
 2007f40:	82 10 3f ff 	mov  -1, %g1                                   
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
 2007f44:	02 80 00 1e 	be  2007fbc <sigaction+0xe4>                   <== NEVER TAKEN
 2007f48:	82 10 20 00 	clr  %g1                                       
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
 2007f4c:	7f ff ea 90 	call  200298c <sparc_disable_interrupts>       
 2007f50:	01 00 00 00 	nop                                            
 2007f54:	ba 10 00 08 	mov  %o0, %i5                                  
      if ( act->sa_handler == SIG_DFL ) {                             
 2007f58:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2007f5c:	39 00 80 85 	sethi  %hi(0x2021400), %i4                     
 2007f60:	80 a0 60 00 	cmp  %g1, 0                                    
 2007f64:	12 80 00 0a 	bne  2007f8c <sigaction+0xb4>                  
 2007f68:	b8 17 23 a0 	or  %i4, 0x3a0, %i4                            
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
 2007f6c:	83 2e 20 02 	sll  %i0, 2, %g1                               
 2007f70:	13 00 80 7c 	sethi  %hi(0x201f000), %o1                     
 2007f74:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 2007f78:	92 12 61 d4 	or  %o1, 0x1d4, %o1                            
 2007f7c:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 2007f80:	90 07 00 18 	add  %i4, %i0, %o0                             
 2007f84:	10 80 00 09 	b  2007fa8 <sigaction+0xd0>                    
 2007f88:	92 02 40 18 	add  %o1, %i0, %o1                             
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
 2007f8c:	40 00 16 f9 	call  200db70 <_POSIX_signals_Clear_process_signals>
 2007f90:	90 10 00 18 	mov  %i0, %o0                                  
         _POSIX_signals_Vectors[ sig ] = *act;                        
 2007f94:	83 2e 20 02 	sll  %i0, 2, %g1                               
 2007f98:	92 10 00 19 	mov  %i1, %o1                                  
 2007f9c:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 2007fa0:	90 26 00 01 	sub  %i0, %g1, %o0                             
 2007fa4:	90 07 00 08 	add  %i4, %o0, %o0                             
 2007fa8:	40 00 24 d8 	call  2011308 <memcpy>                         
 2007fac:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
    _ISR_Enable( level );                                             
 2007fb0:	7f ff ea 7b 	call  200299c <sparc_enable_interrupts>        
 2007fb4:	90 10 00 1d 	mov  %i5, %o0                                  
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
 2007fb8:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2007fbc:	81 c7 e0 08 	ret                                            
 2007fc0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200841c <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
 200841c:	9d e3 bf 90 	save  %sp, -112, %sp                           
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
 2008420:	ba 96 20 00 	orcc  %i0, 0, %i5                              
 2008424:	02 80 00 0f 	be  2008460 <sigtimedwait+0x44>                
 2008428:	01 00 00 00 	nop                                            
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
 200842c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008430:	02 80 00 12 	be  2008478 <sigtimedwait+0x5c>                
 2008434:	a0 10 20 00 	clr  %l0                                       
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
 2008438:	40 00 0e e8 	call  200bfd8 <_Timespec_Is_valid>             
 200843c:	90 10 00 1a 	mov  %i2, %o0                                  
 2008440:	80 8a 20 ff 	btst  0xff, %o0                                
 2008444:	02 80 00 07 	be  2008460 <sigtimedwait+0x44>                
 2008448:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
 200844c:	40 00 0e f4 	call  200c01c <_Timespec_To_ticks>             
 2008450:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if ( !interval )                                                  
 2008454:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2008458:	12 80 00 09 	bne  200847c <sigtimedwait+0x60>               <== ALWAYS TAKEN
 200845c:	80 a6 60 00 	cmp  %i1, 0                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2008460:	40 00 23 16 	call  20110b8 <__errno>                        
 2008464:	b0 10 3f ff 	mov  -1, %i0                                   
 2008468:	82 10 20 16 	mov  0x16, %g1                                 
 200846c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008470:	81 c7 e0 08 	ret                                            
 2008474:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 2008478:	80 a6 60 00 	cmp  %i1, 0                                    
 200847c:	22 80 00 02 	be,a   2008484 <sigtimedwait+0x68>             
 2008480:	b2 07 bf f4 	add  %fp, -12, %i1                             
                                                                      
  the_thread = _Thread_Executing;                                     
 2008484:	31 00 80 87 	sethi  %hi(0x2021c00), %i0                     
 2008488:	b0 16 20 20 	or  %i0, 0x20, %i0	! 2021c20 <_Per_CPU_Information>
 200848c:	f4 06 20 0c 	ld  [ %i0 + 0xc ], %i2                         
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 2008490:	7f ff ea 1a 	call  2002cf8 <sparc_disable_interrupts>       
 2008494:	f6 06 a1 5c 	ld  [ %i2 + 0x15c ], %i3                       
 2008498:	b8 10 00 08 	mov  %o0, %i4                                  
  if ( *set & api->signals_pending ) {                                
 200849c:	c4 07 40 00 	ld  [ %i5 ], %g2                               
 20084a0:	c2 06 e0 d4 	ld  [ %i3 + 0xd4 ], %g1                        
 20084a4:	80 88 80 01 	btst  %g2, %g1                                 
 20084a8:	22 80 00 13 	be,a   20084f4 <sigtimedwait+0xd8>             
 20084ac:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
 20084b0:	7f ff ff c3 	call  20083bc <_POSIX_signals_Get_lowest>      
 20084b4:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals(                                     
 20084b8:	94 10 00 19 	mov  %i1, %o2                                  
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
 20084bc:	92 10 00 08 	mov  %o0, %o1                                  
 20084c0:	d0 26 40 00 	st  %o0, [ %i1 ]                               
    _POSIX_signals_Clear_signals(                                     
 20084c4:	96 10 20 00 	clr  %o3                                       
 20084c8:	90 10 00 1b 	mov  %i3, %o0                                  
 20084cc:	40 00 17 c7 	call  200e3e8 <_POSIX_signals_Clear_signals>   
 20084d0:	98 10 20 00 	clr  %o4                                       
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
 20084d4:	7f ff ea 0d 	call  2002d08 <sparc_enable_interrupts>        
 20084d8:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    the_info->si_code = SI_USER;                                      
 20084dc:	82 10 20 01 	mov  1, %g1                                    
    the_info->si_value.sival_int = 0;                                 
 20084e0:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
 20084e4:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
 20084e8:	f0 06 40 00 	ld  [ %i1 ], %i0                               
 20084ec:	81 c7 e0 08 	ret                                            
 20084f0:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
 20084f4:	c2 00 62 74 	ld  [ %g1 + 0x274 ], %g1                       
 20084f8:	80 88 80 01 	btst  %g2, %g1                                 
 20084fc:	22 80 00 13 	be,a   2008548 <sigtimedwait+0x12c>            
 2008500:	82 10 3f ff 	mov  -1, %g1                                   
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
 2008504:	7f ff ff ae 	call  20083bc <_POSIX_signals_Get_lowest>      
 2008508:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 200850c:	94 10 00 19 	mov  %i1, %o2                                  
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
 2008510:	b0 10 00 08 	mov  %o0, %i0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 2008514:	96 10 20 01 	mov  1, %o3                                    
 2008518:	90 10 00 1b 	mov  %i3, %o0                                  
 200851c:	92 10 00 18 	mov  %i0, %o1                                  
 2008520:	40 00 17 b2 	call  200e3e8 <_POSIX_signals_Clear_signals>   
 2008524:	98 10 20 00 	clr  %o4                                       
    _ISR_Enable( level );                                             
 2008528:	7f ff e9 f8 	call  2002d08 <sparc_enable_interrupts>        
 200852c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
 2008530:	82 10 20 01 	mov  1, %g1                                    
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
 2008534:	f0 26 40 00 	st  %i0, [ %i1 ]                               
    the_info->si_code = SI_USER;                                      
 2008538:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
 200853c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
    return signo;                                                     
 2008540:	81 c7 e0 08 	ret                                            
 2008544:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
 2008548:	c2 26 40 00 	st  %g1, [ %i1 ]                               
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200854c:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 2008550:	c4 00 62 e0 	ld  [ %g1 + 0x2e0 ], %g2	! 20216e0 <_Thread_Dispatch_disable_level>
 2008554:	84 00 a0 01 	inc  %g2                                       
 2008558:	c4 20 62 e0 	st  %g2, [ %g1 + 0x2e0 ]                       
    return _Thread_Dispatch_disable_level;                            
 200855c:	c2 00 62 e0 	ld  [ %g1 + 0x2e0 ], %g1                       
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
 2008560:	82 10 20 04 	mov  4, %g1                                    
 2008564:	c2 26 a0 34 	st  %g1, [ %i2 + 0x34 ]                        
    the_thread->Wait.option          = *set;                          
 2008568:	c2 07 40 00 	ld  [ %i5 ], %g1                               
    the_thread->Wait.return_argument = the_info;                      
 200856c:	f2 26 a0 28 	st  %i1, [ %i2 + 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;                          
 2008570:	c2 26 a0 30 	st  %g1, [ %i2 + 0x30 ]                        
                                                                      
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;
 2008574:	b8 10 20 01 	mov  1, %i4                                    
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
 2008578:	23 00 80 87 	sethi  %hi(0x2021c00), %l1                     
 200857c:	a2 14 62 0c 	or  %l1, 0x20c, %l1	! 2021e0c <_POSIX_signals_Wait_queue>
 2008580:	e2 26 a0 44 	st  %l1, [ %i2 + 0x44 ]                        
 2008584:	f8 24 60 30 	st  %i4, [ %l1 + 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 );                                             
 2008588:	7f ff e9 e0 	call  2002d08 <sparc_enable_interrupts>        
 200858c:	01 00 00 00 	nop                                            
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
 2008590:	90 10 00 11 	mov  %l1, %o0                                  
 2008594:	92 10 00 10 	mov  %l0, %o1                                  
 2008598:	15 00 80 2f 	sethi  %hi(0x200bc00), %o2                     
 200859c:	40 00 0d 38 	call  200ba7c <_Thread_queue_Enqueue_with_handler>
 20085a0:	94 12 a1 e8 	or  %o2, 0x1e8, %o2	! 200bde8 <_Thread_queue_Timeout>
  _Thread_Enable_dispatch();                                          
 20085a4:	40 00 0b f7 	call  200b580 <_Thread_Enable_dispatch>        
 20085a8:	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 );
 20085ac:	d2 06 40 00 	ld  [ %i1 ], %o1                               
 20085b0:	90 10 00 1b 	mov  %i3, %o0                                  
 20085b4:	94 10 00 19 	mov  %i1, %o2                                  
 20085b8:	96 10 20 00 	clr  %o3                                       
 20085bc:	40 00 17 8b 	call  200e3e8 <_POSIX_signals_Clear_signals>   
 20085c0:	98 10 20 00 	clr  %o4                                       
  /* Set errno only if return code is not EINTR or                    
   * if EINTR was caused by a signal being caught, which              
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
 20085c4:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20085c8:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 20085cc:	80 a0 60 04 	cmp  %g1, 4                                    
 20085d0:	12 80 00 09 	bne  20085f4 <sigtimedwait+0x1d8>              
 20085d4:	01 00 00 00 	nop                                            
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
 20085d8:	f0 06 40 00 	ld  [ %i1 ], %i0                               
 20085dc:	82 06 3f ff 	add  %i0, -1, %g1                              
 20085e0:	b9 2f 00 01 	sll  %i4, %g1, %i4                             
 20085e4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 20085e8:	80 8f 00 01 	btst  %i4, %g1                                 
 20085ec:	12 80 00 08 	bne  200860c <sigtimedwait+0x1f0>              
 20085f0:	01 00 00 00 	nop                                            
    errno = _Thread_Executing->Wait.return_code;                      
 20085f4:	40 00 22 b1 	call  20110b8 <__errno>                        
 20085f8:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 20085fc:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2008600:	c2 00 60 2c 	ld  [ %g1 + 0x2c ], %g1	! 2021c2c <_Per_CPU_Information+0xc>
 2008604:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2008608:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
 200860c:	81 c7 e0 08 	ret                                            
 2008610:	81 e8 00 00 	restore                                        
                                                                      

0200a330 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
 200a330:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
 200a334:	92 10 20 00 	clr  %o1                                       
 200a338:	90 10 00 18 	mov  %i0, %o0                                  
 200a33c:	7f ff ff 7b 	call  200a128 <sigtimedwait>                   
 200a340:	94 10 20 00 	clr  %o2                                       
                                                                      
  if ( status != -1 ) {                                               
 200a344:	80 a2 3f ff 	cmp  %o0, -1                                   
 200a348:	02 80 00 07 	be  200a364 <sigwait+0x34>                     
 200a34c:	80 a6 60 00 	cmp  %i1, 0                                    
    if ( sig )                                                        
 200a350:	02 80 00 03 	be  200a35c <sigwait+0x2c>                     <== NEVER TAKEN
 200a354:	b0 10 20 00 	clr  %i0                                       
      *sig = status;                                                  
 200a358:	d0 26 40 00 	st  %o0, [ %i1 ]                               
 200a35c:	81 c7 e0 08 	ret                                            
 200a360:	81 e8 00 00 	restore                                        
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
 200a364:	40 00 21 e2 	call  2012aec <__errno>                        
 200a368:	01 00 00 00 	nop                                            
 200a36c:	f0 02 00 00 	ld  [ %o0 ], %i0                               
}                                                                     
 200a370:	81 c7 e0 08 	ret                                            
 200a374:	81 e8 00 00 	restore                                        
                                                                      

02007190 <sysconf>: */ long sysconf( int name ) {
 2007190:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( name == _SC_CLK_TCK )                                          
 2007194:	80 a6 20 02 	cmp  %i0, 2                                    
 2007198:	12 80 00 09 	bne  20071bc <sysconf+0x2c>                    
 200719c:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
    return (TOD_MICROSECONDS_PER_SECOND /                             
 20071a0:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 20071a4:	d2 00 61 ac 	ld  [ %g1 + 0x1ac ], %o1	! 201d1ac <Configuration+0x10>
 20071a8:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 20071ac:	40 00 46 69 	call  2018b50 <.udiv>                          
 20071b0:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 20071b4:	81 c7 e0 08 	ret                                            
 20071b8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
 20071bc:	80 a6 20 04 	cmp  %i0, 4                                    
 20071c0:	02 80 00 13 	be  200720c <sysconf+0x7c>                     
 20071c4:	d0 00 62 f0 	ld  [ %g1 + 0x2f0 ], %o0                       
    return rtems_libio_number_iops;                                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
 20071c8:	80 a6 20 33 	cmp  %i0, 0x33                                 
 20071cc:	02 80 00 10 	be  200720c <sysconf+0x7c>                     
 20071d0:	90 10 24 00 	mov  0x400, %o0                                
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
 20071d4:	80 a6 20 08 	cmp  %i0, 8                                    
 20071d8:	02 80 00 0d 	be  200720c <sysconf+0x7c>                     
 20071dc:	11 00 00 04 	sethi  %hi(0x1000), %o0                        
    return PAGE_SIZE;                                                 
                                                                      
  if ( name == _SC_SYMLOOP_MAX )                                      
 20071e0:	80 a6 20 4f 	cmp  %i0, 0x4f                                 
 20071e4:	02 80 00 0a 	be  200720c <sysconf+0x7c>                     <== NEVER TAKEN
 20071e8:	90 10 20 20 	mov  0x20, %o0                                 
    return RTEMS_FILESYSTEM_SYMLOOP_MAX;                              
                                                                      
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
 20071ec:	80 a6 22 03 	cmp  %i0, 0x203                                
 20071f0:	02 80 00 07 	be  200720c <sysconf+0x7c>                     <== NEVER TAKEN
 20071f4:	90 10 20 00 	clr  %o0                                       
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 20071f8:	40 00 22 6e 	call  200fbb0 <__errno>                        
 20071fc:	01 00 00 00 	nop                                            
 2007200:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2007204:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007208:	90 10 3f ff 	mov  -1, %o0                                   
}                                                                     
 200720c:	b0 10 00 08 	mov  %o0, %i0                                  
 2007210:	81 c7 e0 08 	ret                                            
 2007214:	81 e8 00 00 	restore                                        
                                                                      

02008788 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
 2008788:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
 200878c:	80 a6 20 01 	cmp  %i0, 1                                    
 2008790:	12 80 00 15 	bne  20087e4 <timer_create+0x5c>               
 2008794:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
 2008798:	80 a6 a0 00 	cmp  %i2, 0                                    
 200879c:	02 80 00 12 	be  20087e4 <timer_create+0x5c>                
 20087a0:	01 00 00 00 	nop                                            
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
 20087a4:	80 a6 60 00 	cmp  %i1, 0                                    
 20087a8:	02 80 00 13 	be  20087f4 <timer_create+0x6c>                
 20087ac:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
 20087b0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20087b4:	82 00 7f ff 	add  %g1, -1, %g1                              
 20087b8:	80 a0 60 01 	cmp  %g1, 1                                    
 20087bc:	18 80 00 0a 	bgu  20087e4 <timer_create+0x5c>               <== NEVER TAKEN
 20087c0:	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 )                                         
 20087c4:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 20087c8:	80 a0 60 00 	cmp  %g1, 0                                    
 20087cc:	02 80 00 06 	be  20087e4 <timer_create+0x5c>                <== NEVER TAKEN
 20087d0:	01 00 00 00 	nop                                            
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 20087d4:	82 00 7f ff 	add  %g1, -1, %g1                              
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
 20087d8:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 20087dc:	28 80 00 06 	bleu,a   20087f4 <timer_create+0x6c>           <== ALWAYS TAKEN
 20087e0:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
       rtems_set_errno_and_return_minus_one( EINVAL );                
 20087e4:	40 00 24 00 	call  20117e4 <__errno>                        
 20087e8:	01 00 00 00 	nop                                            
 20087ec:	10 80 00 11 	b  2008830 <timer_create+0xa8>                 
 20087f0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20087f4:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2                       
 20087f8:	84 00 a0 01 	inc  %g2                                       
 20087fc:	c4 20 63 30 	st  %g2, [ %g1 + 0x330 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008800:	c2 00 63 30 	ld  [ %g1 + 0x330 ], %g1                       
 *  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 );
 2008804:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 2008808:	40 00 08 6b 	call  200a9b4 <_Objects_Allocate>              
 200880c:	90 12 22 70 	or  %o0, 0x270, %o0	! 2022a70 <_POSIX_Timer_Information>
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
 2008810:	80 a2 20 00 	cmp  %o0, 0                                    
 2008814:	12 80 00 0a 	bne  200883c <timer_create+0xb4>               
 2008818:	82 10 20 02 	mov  2, %g1                                    
    _Thread_Enable_dispatch();                                        
 200881c:	40 00 0d 8e 	call  200be54 <_Thread_Enable_dispatch>        
 2008820:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
 2008824:	40 00 23 f0 	call  20117e4 <__errno>                        
 2008828:	01 00 00 00 	nop                                            
 200882c:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 2008830:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008834:	81 c7 e0 08 	ret                                            
 2008838:	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;                   
 200883c:	c2 2a 20 3c 	stb  %g1, [ %o0 + 0x3c ]                       
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 2008840:	03 00 80 8b 	sethi  %hi(0x2022c00), %g1                     
 2008844:	c2 00 60 bc 	ld  [ %g1 + 0xbc ], %g1	! 2022cbc <_Per_CPU_Information+0xc>
                                                                      
  if ( evp != NULL ) {                                                
 2008848:	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;                   
 200884c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( evp != NULL ) {                                                
 2008850:	02 80 00 08 	be  2008870 <timer_create+0xe8>                
 2008854:	c2 22 20 38 	st  %g1, [ %o0 + 0x38 ]                        
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 2008858:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200885c:	c2 22 20 40 	st  %g1, [ %o0 + 0x40 ]                        
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2008860:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2008864:	c2 22 20 44 	st  %g1, [ %o0 + 0x44 ]                        
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 2008868:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200886c:	c2 22 20 48 	st  %g1, [ %o0 + 0x48 ]                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008870:	c4 12 20 0a 	lduh  [ %o0 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008874:	07 00 80 8a 	sethi  %hi(0x2022800), %g3                     
 2008878:	c6 00 e2 8c 	ld  [ %g3 + 0x28c ], %g3	! 2022a8c <_POSIX_Timer_Information+0x1c>
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
 200887c:	c0 22 20 68 	clr  [ %o0 + 0x68 ]                            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
 2008880:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
 2008884:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
 2008888:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
 200888c:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2008890:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 2008894:	c0 22 20 2c 	clr  [ %o0 + 0x2c ]                            
  the_watchdog->id        = id;                                       
 2008898:	c0 22 20 30 	clr  [ %o0 + 0x30 ]                            
  the_watchdog->user_data = user_data;                                
 200889c:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 20088a0:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20088a4:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20088a8:	d0 20 c0 02 	st  %o0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20088ac:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
 20088b0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  _Thread_Enable_dispatch();                                          
 20088b4:	40 00 0d 68 	call  200be54 <_Thread_Enable_dispatch>        
 20088b8:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 20088bc:	81 c7 e0 08 	ret                                            
 20088c0:	81 e8 00 00 	restore                                        
                                                                      

0200737c <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
 200737c:	9d e3 bf 78 	save  %sp, -136, %sp                           
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
 2007380:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007384:	02 80 00 2f 	be  2007440 <timer_settime+0xc4>               <== NEVER TAKEN
 2007388:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * First, it verifies if the structure "value" is correct           
   * if the number of nanoseconds is not correct return EINVAL        
   */                                                                 
  if ( !_Timespec_Is_valid( &(value->it_value) ) ) {                  
 200738c:	40 00 0f 6d 	call  200b140 <_Timespec_Is_valid>             
 2007390:	90 06 a0 08 	add  %i2, 8, %o0                               
 2007394:	80 8a 20 ff 	btst  0xff, %o0                                
 2007398:	02 80 00 2a 	be  2007440 <timer_settime+0xc4>               
 200739c:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
 20073a0:	40 00 0f 68 	call  200b140 <_Timespec_Is_valid>             
 20073a4:	90 10 00 1a 	mov  %i2, %o0                                  
 20073a8:	80 8a 20 ff 	btst  0xff, %o0                                
 20073ac:	02 80 00 25 	be  2007440 <timer_settime+0xc4>               <== NEVER TAKEN
 20073b0:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
 20073b4:	80 a6 60 00 	cmp  %i1, 0                                    
 20073b8:	02 80 00 05 	be  20073cc <timer_settime+0x50>               
 20073bc:	90 07 bf d8 	add  %fp, -40, %o0                             
 20073c0:	80 a6 60 04 	cmp  %i1, 4                                    
 20073c4:	12 80 00 1f 	bne  2007440 <timer_settime+0xc4>              
 20073c8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
 20073cc:	92 10 00 1a 	mov  %i2, %o1                                  
 20073d0:	40 00 25 bb 	call  2010abc <memcpy>                         
 20073d4:	94 10 20 10 	mov  0x10, %o2                                 
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
 20073d8:	80 a6 60 04 	cmp  %i1, 4                                    
 20073dc:	32 80 00 23 	bne,a   2007468 <timer_settime+0xec>           
 20073e0:	92 10 00 18 	mov  %i0, %o1                                  
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 20073e4:	40 00 06 62 	call  2008d6c <_TOD_Get_as_timestamp>          
 20073e8:	90 07 bf e8 	add  %fp, -24, %o0                             
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 20073ec:	f8 1f bf e8 	ldd  [ %fp + -24 ], %i4                        
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 20073f0:	94 10 20 00 	clr  %o2                                       
 20073f4:	90 10 00 1c 	mov  %i4, %o0                                  
 20073f8:	92 10 00 1d 	mov  %i5, %o1                                  
 20073fc:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007400:	40 00 49 5b 	call  201996c <__divdi3>                       
 2007404:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007408:	94 10 20 00 	clr  %o2                                       
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 200740c:	d2 27 bf f4 	st  %o1, [ %fp + -12 ]                         
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007410:	90 10 00 1c 	mov  %i4, %o0                                  
 2007414:	92 10 00 1d 	mov  %i5, %o1                                  
 2007418:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 200741c:	40 00 4a 3a 	call  2019d04 <__moddi3>                       
 2007420:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
 2007424:	90 07 bf e0 	add  %fp, -32, %o0                             
 2007428:	d2 27 bf f8 	st  %o1, [ %fp + -8 ]                          
 200742c:	40 00 0f 56 	call  200b184 <_Timespec_Less_than>            
 2007430:	92 07 bf f4 	add  %fp, -12, %o1                             
 2007434:	80 8a 20 ff 	btst  0xff, %o0                                
 2007438:	02 80 00 08 	be  2007458 <timer_settime+0xdc>               
 200743c:	92 07 bf e0 	add  %fp, -32, %o1                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2007440:	40 00 23 43 	call  201014c <__errno>                        
 2007444:	b0 10 3f ff 	mov  -1, %i0                                   
 2007448:	82 10 20 16 	mov  0x16, %g1                                 
 200744c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007450:	81 c7 e0 08 	ret                                            
 2007454:	81 e8 00 00 	restore                                        
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
 2007458:	90 07 bf f4 	add  %fp, -12, %o0                             
 200745c:	40 00 0f 5a 	call  200b1c4 <_Timespec_Subtract>             
 2007460:	94 10 00 09 	mov  %o1, %o2                                  
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
 2007464:	92 10 00 18 	mov  %i0, %o1                                  
 2007468:	11 00 80 7a 	sethi  %hi(0x201e800), %o0                     
 200746c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007470:	40 00 08 eb 	call  200981c <_Objects_Get>                   
 2007474:	90 12 21 90 	or  %o0, 0x190, %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 ) {                                               
 2007478:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200747c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007480:	12 80 00 48 	bne  20075a0 <timer_settime+0x224>             
 2007484:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    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 ) {
 2007488:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
 200748c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007490:	12 80 00 14 	bne  20074e0 <timer_settime+0x164>             
 2007494:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2007498:	80 a0 60 00 	cmp  %g1, 0                                    
 200749c:	12 80 00 11 	bne  20074e0 <timer_settime+0x164>             
 20074a0:	01 00 00 00 	nop                                            
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
 20074a4:	40 00 10 80 	call  200b6a4 <_Watchdog_Remove>               
 20074a8:	90 02 20 10 	add  %o0, 0x10, %o0                            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
 20074ac:	80 a6 e0 00 	cmp  %i3, 0                                    
 20074b0:	02 80 00 05 	be  20074c4 <timer_settime+0x148>              
 20074b4:	90 10 00 1b 	mov  %i3, %o0                                  
           *ovalue = ptimer->timer_data;                              
 20074b8:	92 06 20 54 	add  %i0, 0x54, %o1                            
 20074bc:	40 00 25 80 	call  2010abc <memcpy>                         
 20074c0:	94 10 20 10 	mov  0x10, %o2                                 
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 20074c4:	90 06 20 54 	add  %i0, 0x54, %o0                            
 20074c8:	92 07 bf d8 	add  %fp, -40, %o1                             
 20074cc:	40 00 25 7c 	call  2010abc <memcpy>                         
 20074d0:	94 10 20 10 	mov  0x10, %o2                                 
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 20074d4:	82 10 20 04 	mov  4, %g1                                    
 20074d8:	10 80 00 2e 	b  2007590 <timer_settime+0x214>               
 20074dc:	c2 2e 20 3c 	stb  %g1, [ %i0 + 0x3c ]                       
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
 20074e0:	40 00 0f 4a 	call  200b208 <_Timespec_To_ticks>             
 20074e4:	90 10 00 1a 	mov  %i2, %o0                                  
 20074e8:	d0 26 20 64 	st  %o0, [ %i0 + 0x64 ]                        
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 20074ec:	40 00 0f 47 	call  200b208 <_Timespec_To_ticks>             
 20074f0:	90 07 bf e0 	add  %fp, -32, %o0                             
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 20074f4:	d4 06 20 08 	ld  [ %i0 + 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 );    
 20074f8:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 20074fc:	17 00 80 1d 	sethi  %hi(0x2007400), %o3                     
 2007500:	90 06 20 10 	add  %i0, 0x10, %o0                            
 2007504:	96 12 e1 b8 	or  %o3, 0x1b8, %o3                            
 2007508:	40 00 18 71 	call  200d6cc <_POSIX_Timer_Insert_helper>     
 200750c:	98 10 00 18 	mov  %i0, %o4                                  
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
 2007510:	80 8a 20 ff 	btst  0xff, %o0                                
 2007514:	02 80 00 1f 	be  2007590 <timer_settime+0x214>              
 2007518:	01 00 00 00 	nop                                            
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
 200751c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007520:	02 80 00 05 	be  2007534 <timer_settime+0x1b8>              
 2007524:	90 10 00 1b 	mov  %i3, %o0                                  
         *ovalue = ptimer->timer_data;                                
 2007528:	92 06 20 54 	add  %i0, 0x54, %o1                            
 200752c:	40 00 25 64 	call  2010abc <memcpy>                         
 2007530:	94 10 20 10 	mov  0x10, %o2                                 
       ptimer->timer_data = normalize;                                
 2007534:	92 07 bf d8 	add  %fp, -40, %o1                             
 2007538:	94 10 20 10 	mov  0x10, %o2                                 
 200753c:	40 00 25 60 	call  2010abc <memcpy>                         
 2007540:	90 06 20 54 	add  %i0, 0x54, %o0                            
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 2007544:	82 10 20 03 	mov  3, %g1                                    
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007548:	90 07 bf e8 	add  %fp, -24, %o0                             
 200754c:	40 00 06 08 	call  2008d6c <_TOD_Get_as_timestamp>          
 2007550:	c2 2e 20 3c 	stb  %g1, [ %i0 + 0x3c ]                       
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007554:	f8 1f bf e8 	ldd  [ %fp + -24 ], %i4                        
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007558:	94 10 20 00 	clr  %o2                                       
 200755c:	90 10 00 1c 	mov  %i4, %o0                                  
 2007560:	92 10 00 1d 	mov  %i5, %o1                                  
 2007564:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007568:	40 00 49 01 	call  201996c <__divdi3>                       
 200756c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007570:	90 10 00 1c 	mov  %i4, %o0                                  
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007574:	d2 26 20 6c 	st  %o1, [ %i0 + 0x6c ]                        
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007578:	94 10 20 00 	clr  %o2                                       
 200757c:	92 10 00 1d 	mov  %i5, %o1                                  
 2007580:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007584:	40 00 49 e0 	call  2019d04 <__moddi3>                       
 2007588:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
 200758c:	d2 26 20 70 	st  %o1, [ %i0 + 0x70 ]                        
       _TOD_Get( &ptimer->time );                                     
       _Thread_Enable_dispatch();                                     
 2007590:	40 00 0c 56 	call  200a6e8 <_Thread_Enable_dispatch>        
 2007594:	b0 10 20 00 	clr  %i0                                       
       return 0;                                                      
 2007598:	81 c7 e0 08 	ret                                            
 200759c:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 20075a0:	40 00 22 eb 	call  201014c <__errno>                        
 20075a4:	b0 10 3f ff 	mov  -1, %i0                                   
 20075a8:	82 10 20 16 	mov  0x16, %g1                                 
 20075ac:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 20075b0:	81 c7 e0 08 	ret                                            
 20075b4:	81 e8 00 00 	restore                                        
                                                                      

02007578 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
 2007578:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
 200757c:	39 00 80 80 	sethi  %hi(0x2020000), %i4                     
 2007580:	b8 17 20 f8 	or  %i4, 0xf8, %i4	! 20200f8 <_POSIX_signals_Ualarm_timer>
 2007584:	c2 07 20 1c 	ld  [ %i4 + 0x1c ], %g1                        
 2007588:	80 a0 60 00 	cmp  %g1, 0                                    
 200758c:	12 80 00 0a 	bne  20075b4 <ualarm+0x3c>                     
 2007590:	ba 10 00 18 	mov  %i0, %i5                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2007594:	03 00 80 1d 	sethi  %hi(0x2007400), %g1                     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2007598:	c0 27 20 08 	clr  [ %i4 + 8 ]                               
  the_watchdog->routine   = routine;                                  
 200759c:	82 10 61 4c 	or  %g1, 0x14c, %g1                            
  the_watchdog->id        = id;                                       
 20075a0:	c0 27 20 20 	clr  [ %i4 + 0x20 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20075a4:	c2 27 20 1c 	st  %g1, [ %i4 + 0x1c ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 20075a8:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
 20075ac:	10 80 00 1b 	b  2007618 <ualarm+0xa0>                       
 20075b0:	b0 10 20 00 	clr  %i0                                       
  if ( !the_timer->routine ) {                                        
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
 20075b4:	40 00 0f f5 	call  200b588 <_Watchdog_Remove>               
 20075b8:	90 10 00 1c 	mov  %i4, %o0                                  
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
 20075bc:	90 02 3f fe 	add  %o0, -2, %o0                              
 20075c0:	80 a2 20 01 	cmp  %o0, 1                                    
 20075c4:	18 80 00 15 	bgu  2007618 <ualarm+0xa0>                     <== NEVER TAKEN
 20075c8:	b0 10 20 00 	clr  %i0                                       
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
 20075cc:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
 20075d0:	d0 07 20 14 	ld  [ %i4 + 0x14 ], %o0                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20075d4:	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);        
 20075d8:	90 02 00 01 	add  %o0, %g1, %o0                             
 20075dc:	c2 07 20 18 	ld  [ %i4 + 0x18 ], %g1                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 20075e0:	40 00 0e 87 	call  200affc <_Timespec_From_ticks>           
 20075e4:	90 22 00 01 	sub  %o0, %g1, %o0                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 20075e8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      remaining += tp.tv_nsec / 1000;                                 
 20075ec:	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;           
 20075f0:	b1 28 60 08 	sll  %g1, 8, %i0                               
 20075f4:	85 28 60 03 	sll  %g1, 3, %g2                               
 20075f8:	84 26 00 02 	sub  %i0, %g2, %g2                             
      remaining += tp.tv_nsec / 1000;                                 
 20075fc:	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;           
 2007600:	b1 28 a0 06 	sll  %g2, 6, %i0                               
 2007604:	b0 26 00 02 	sub  %i0, %g2, %i0                             
      remaining += tp.tv_nsec / 1000;                                 
 2007608:	40 00 4c 56 	call  201a760 <.div>                           
 200760c:	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;           
 2007610:	b1 2e 20 06 	sll  %i0, 6, %i0                               
      remaining += tp.tv_nsec / 1000;                                 
 2007614:	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 ) {                                                   
 2007618:	80 a7 60 00 	cmp  %i5, 0                                    
 200761c:	02 80 00 19 	be  2007680 <ualarm+0x108>                     
 2007620:	39 00 03 d0 	sethi  %hi(0xf4000), %i4                       
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2007624:	90 10 00 1d 	mov  %i5, %o0                                  
 2007628:	40 00 4c 4c 	call  201a758 <.udiv>                          
 200762c:	92 17 22 40 	or  %i4, 0x240, %o1                            
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2007630:	92 17 22 40 	or  %i4, 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;               
 2007634:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2007638:	40 00 4c f4 	call  201aa08 <.urem>                          
 200763c:	90 10 00 1d 	mov  %i5, %o0                                  
 2007640:	85 2a 20 07 	sll  %o0, 7, %g2                               
 2007644:	83 2a 20 02 	sll  %o0, 2, %g1                               
 2007648:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200764c:	90 00 40 08 	add  %g1, %o0, %o0                             
 2007650:	91 2a 20 03 	sll  %o0, 3, %o0                               
 2007654:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
    ticks = _Timespec_To_ticks( &tp );                                
 2007658:	40 00 0e 7e 	call  200b050 <_Timespec_To_ticks>             
 200765c:	90 07 bf f8 	add  %fp, -8, %o0                              
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
 2007660:	40 00 0e 7c 	call  200b050 <_Timespec_To_ticks>             
 2007664:	90 07 bf f8 	add  %fp, -8, %o0                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007668:	13 00 80 80 	sethi  %hi(0x2020000), %o1                     
 200766c:	92 12 60 f8 	or  %o1, 0xf8, %o1	! 20200f8 <_POSIX_signals_Ualarm_timer>
 2007670:	d0 22 60 0c 	st  %o0, [ %o1 + 0xc ]                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007674:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 2007678:	40 00 0f 6a 	call  200b420 <_Watchdog_Insert>               
 200767c:	90 12 20 a0 	or  %o0, 0xa0, %o0	! 201f8a0 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
 2007680:	81 c7 e0 08 	ret                                            
 2007684:	81 e8 00 00 	restore