RTEMS 4.10.2
Annotated Report
Tue Dec 13 18:46:46 2011

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

020092e4 <_CORE_RWLock_Obtain_for_reading>: Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) {
 20092e4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 20092e8:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
   *  If unlocked, then OK to read.                                   
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
 20092ec:	7f ff e8 be 	call  20035e4 <sparc_disable_interrupts>       
 20092f0:	e0 00 62 60 	ld  [ %g1 + 0x260 ], %l0	! 2021660 <_Thread_Executing>
 20092f4:	a2 10 00 08 	mov  %o0, %l1                                  
    switch ( the_rwlock->current_state ) {                            
 20092f8:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 20092fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2009300:	22 80 00 06 	be,a   2009318 <_CORE_RWLock_Obtain_for_reading+0x34>
 2009304:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009308:	80 a0 60 01 	cmp  %g1, 1                                    
 200930c:	12 80 00 16 	bne  2009364 <_CORE_RWLock_Obtain_for_reading+0x80>
 2009310:	80 8e a0 ff 	btst  0xff, %i2                                
 2009314:	30 80 00 06 	b,a   200932c <_CORE_RWLock_Obtain_for_reading+0x48>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
 2009318:	84 10 20 01 	mov  1, %g2                                    
	the_rwlock->number_of_readers += 1;                                  
 200931c:	82 00 60 01 	inc  %g1                                       
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    switch ( the_rwlock->current_state ) {                            
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
 2009320:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
	the_rwlock->number_of_readers += 1;                                  
 2009324:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	_ISR_Enable( level );                                                
 2009328:	30 80 00 0a 	b,a   2009350 <_CORE_RWLock_Obtain_for_reading+0x6c>
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
	return;                                                              
                                                                      
      case CORE_RWLOCK_LOCKED_FOR_READING: {                          
        Thread_Control *waiter;                                       
        waiter = _Thread_queue_First( &the_rwlock->Wait_queue );      
 200932c:	40 00 07 f8 	call  200b30c <_Thread_queue_First>            
 2009330:	90 10 00 18 	mov  %i0, %o0                                  
        if ( !waiter ) {                                              
 2009334:	80 a2 20 00 	cmp  %o0, 0                                    
 2009338:	12 80 00 0b 	bne  2009364 <_CORE_RWLock_Obtain_for_reading+0x80><== NEVER TAKEN
 200933c:	80 8e a0 ff 	btst  0xff, %i2                                
	  the_rwlock->number_of_readers += 1;                                
 2009340:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009344:	82 00 60 01 	inc  %g1                                       
 2009348:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
	  _ISR_Enable( level );                                              
 200934c:	90 10 00 11 	mov  %l1, %o0                                  
 2009350:	7f ff e8 a9 	call  20035f4 <sparc_enable_interrupts>        
 2009354:	01 00 00 00 	nop                                            
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
 2009358:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
          return;                                                     
 200935c:	81 c7 e0 08 	ret                                            
 2009360:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
 2009364:	32 80 00 08 	bne,a   2009384 <_CORE_RWLock_Obtain_for_reading+0xa0>
 2009368:	f2 24 20 20 	st  %i1, [ %l0 + 0x20 ]                        
      _ISR_Enable( level );                                           
 200936c:	7f ff e8 a2 	call  20035f4 <sparc_enable_interrupts>        
 2009370:	90 10 00 11 	mov  %l1, %o0                                  
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2009374:	82 10 20 02 	mov  2, %g1                                    
 2009378:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
 200937c:	81 c7 e0 08 	ret                                            
 2009380:	81 e8 00 00 	restore                                        
                                                                      
    _Thread_queue_Enter_critical_section( &the_rwlock->Wait_queue );  
    executing->Wait.queue       = &the_rwlock->Wait_queue;            
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 2009384:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
    /*                                                                
     *  We need to wait to enter this critical section                
     */                                                               
                                                                      
    _Thread_queue_Enter_critical_section( &the_rwlock->Wait_queue );  
    executing->Wait.queue       = &the_rwlock->Wait_queue;            
 2009388:	f0 24 20 44 	st  %i0, [ %l0 + 0x44 ]                        
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
 200938c:	c0 24 20 30 	clr  [ %l0 + 0x30 ]                            
 2009390:	82 10 20 01 	mov  1, %g1                                    
 2009394:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
 2009398:	90 10 00 11 	mov  %l1, %o0                                  
 200939c:	7f ff e8 96 	call  20035f4 <sparc_enable_interrupts>        
 20093a0:	35 00 80 25 	sethi  %hi(0x2009400), %i2                     
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
 20093a4:	b2 10 00 1b 	mov  %i3, %i1                                  
 20093a8:	40 00 06 ff 	call  200afa4 <_Thread_queue_Enqueue_with_handler>
 20093ac:	95 ee a1 34 	restore  %i2, 0x134, %o2                       
                                                                      

0200943c <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
 200943c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 2009440:	03 00 80 85 	sethi  %hi(0x2021400), %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 );                                              
 2009444:	7f ff e8 68 	call  20035e4 <sparc_disable_interrupts>       
 2009448:	e0 00 62 60 	ld  [ %g1 + 0x260 ], %l0	! 2021660 <_Thread_Executing>
 200944c:	84 10 00 08 	mov  %o0, %g2                                  
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
 2009450:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 2009454:	80 a0 60 00 	cmp  %g1, 0                                    
 2009458:	12 80 00 08 	bne  2009478 <_CORE_RWLock_Release+0x3c>       
 200945c:	80 a0 60 01 	cmp  %g1, 1                                    
      _ISR_Enable( level );                                           
 2009460:	7f ff e8 65 	call  20035f4 <sparc_enable_interrupts>        
 2009464:	b0 10 20 00 	clr  %i0                                       
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 2009468:	82 10 20 02 	mov  2, %g1                                    
 200946c:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
 2009470:	81 c7 e0 08 	ret                                            
 2009474:	81 e8 00 00 	restore                                        
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
 2009478:	32 80 00 0b 	bne,a   20094a4 <_CORE_RWLock_Release+0x68>    
 200947c:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
	the_rwlock->number_of_readers -= 1;                                  
 2009480:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009484:	82 00 7f ff 	add  %g1, -1, %g1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
 2009488:	80 a0 60 00 	cmp  %g1, 0                                    
 200948c:	02 80 00 05 	be  20094a0 <_CORE_RWLock_Release+0x64>        
 2009490:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
 2009494:	7f ff e8 58 	call  20035f4 <sparc_enable_interrupts>        
 2009498:	b0 10 20 00 	clr  %i0                                       
          return CORE_RWLOCK_SUCCESSFUL;                              
 200949c:	30 80 00 24 	b,a   200952c <_CORE_RWLock_Release+0xf0>      
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 20094a0:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
 20094a4:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
  _ISR_Enable( level );                                               
 20094a8:	7f ff e8 53 	call  20035f4 <sparc_enable_interrupts>        
 20094ac:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
 20094b0:	40 00 06 5a 	call  200ae18 <_Thread_queue_Dequeue>          
 20094b4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( next ) {                                                       
 20094b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20094bc:	22 80 00 1c 	be,a   200952c <_CORE_RWLock_Release+0xf0>     
 20094c0:	b0 10 20 00 	clr  %i0                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
 20094c4:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 20094c8:	80 a0 60 01 	cmp  %g1, 1                                    
 20094cc:	32 80 00 05 	bne,a   20094e0 <_CORE_RWLock_Release+0xa4>    
 20094d0:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
 20094d4:	82 10 20 02 	mov  2, %g1                                    
      return CORE_RWLOCK_SUCCESSFUL;                                  
 20094d8:	10 80 00 14 	b  2009528 <_CORE_RWLock_Release+0xec>         
 20094dc:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 20094e0:	84 10 20 01 	mov  1, %g2                                    
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 20094e4:	82 00 60 01 	inc  %g1                                       
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 20094e8:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 20094ec:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
 20094f0:	40 00 07 87 	call  200b30c <_Thread_queue_First>            
 20094f4:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !next ||                                                   
 20094f8:	92 92 20 00 	orcc  %o0, 0, %o1                              
 20094fc:	22 80 00 0c 	be,a   200952c <_CORE_RWLock_Release+0xf0>     
 2009500:	b0 10 20 00 	clr  %i0                                       
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
 2009504:	c2 02 60 30 	ld  [ %o1 + 0x30 ], %g1                        
 2009508:	80 a0 60 01 	cmp  %g1, 1                                    
 200950c:	02 80 00 07 	be  2009528 <_CORE_RWLock_Release+0xec>        <== NEVER TAKEN
 2009510:	90 10 00 18 	mov  %i0, %o0                                  
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 2009514:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2009518:	82 00 60 01 	inc  %g1                                       
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 200951c:	40 00 07 2d 	call  200b1d0 <_Thread_queue_Extract>          
 2009520:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    }                                                                 
 2009524:	30 bf ff f3 	b,a   20094f0 <_CORE_RWLock_Release+0xb4>      
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 2009528:	b0 10 20 00 	clr  %i0                                       
 200952c:	81 c7 e0 08 	ret                                            
 2009530:	81 e8 00 00 	restore                                        
                                                                      

02009534 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
 2009534:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2009538:	90 10 00 18 	mov  %i0, %o0                                  
 200953c:	40 00 05 42 	call  200aa44 <_Thread_Get>                    
 2009540:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2009544:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2009548:	80 a0 60 00 	cmp  %g1, 0                                    
 200954c:	12 80 00 08 	bne  200956c <_CORE_RWLock_Timeout+0x38>       <== NEVER TAKEN
 2009550:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2009554:	40 00 07 aa 	call  200b3fc <_Thread_queue_Process_timeout>  
 2009558:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 200955c:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 2009560:	c4 00 61 a0 	ld  [ %g1 + 0x1a0 ], %g2	! 20215a0 <_Thread_Dispatch_disable_level>
 2009564:	84 00 bf ff 	add  %g2, -1, %g2                              
 2009568:	c4 20 61 a0 	st  %g2, [ %g1 + 0x1a0 ]                       
 200956c:	81 c7 e0 08 	ret                                            
 2009570:	81 e8 00 00 	restore                                        
                                                                      

020168fc <_CORE_message_queue_Broadcast>: Objects_Id id __attribute__((unused)), CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)), #endif uint32_t *count ) {
 20168fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 2016900:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
 2016904:	a0 10 00 18 	mov  %i0, %l0                                  
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
 2016908:	80 a6 80 01 	cmp  %i2, %g1                                  
 201690c:	18 80 00 17 	bgu  2016968 <_CORE_message_queue_Broadcast+0x6c><== NEVER TAKEN
 2016910:	b0 10 20 01 	mov  1, %i0                                    
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
 2016914:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 2016918:	80 a0 60 00 	cmp  %g1, 0                                    
 201691c:	02 80 00 0a 	be  2016944 <_CORE_message_queue_Broadcast+0x48>
 2016920:	a2 10 20 00 	clr  %l1                                       
    *count = 0;                                                       
 2016924:	c0 27 40 00 	clr  [ %i5 ]                                   
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
 2016928:	81 c7 e0 08 	ret                                            
 201692c:	91 e8 20 00 	restore  %g0, 0, %o0                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 2016930:	d0 04 a0 2c 	ld  [ %l2 + 0x2c ], %o0                        
 2016934:	40 00 2c fc 	call  2021d24 <memcpy>                         
 2016938:	a2 04 60 01 	inc  %l1                                       
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
 201693c:	c2 04 a0 28 	ld  [ %l2 + 0x28 ], %g1                        
 2016940:	f4 20 40 00 	st  %i2, [ %g1 ]                               
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
 2016944:	40 00 0a 74 	call  2019314 <_Thread_queue_Dequeue>          
 2016948:	90 10 00 10 	mov  %l0, %o0                                  
 201694c:	92 10 00 19 	mov  %i1, %o1                                  
 2016950:	a4 10 00 08 	mov  %o0, %l2                                  
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
 2016954:	80 a2 20 00 	cmp  %o0, 0                                    
 2016958:	12 bf ff f6 	bne  2016930 <_CORE_message_queue_Broadcast+0x34>
 201695c:	94 10 00 1a 	mov  %i2, %o2                                  
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
 2016960:	e2 27 40 00 	st  %l1, [ %i5 ]                               
 2016964:	b0 10 20 00 	clr  %i0                                       
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
 2016968:	81 c7 e0 08 	ret                                            
 201696c:	81 e8 00 00 	restore                                        
                                                                      

02010170 <_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 ) {
 2010170:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
 2010174:	c0 26 20 48 	clr  [ %i0 + 0x48 ]                            
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
 2010178:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
  the_message_queue->number_of_pending_messages = 0;                  
  the_message_queue->maximum_message_size       = maximum_message_size;
 201017c:	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;                 
 2010180:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
    the_message_queue->notify_argument = the_argument;                
 2010184:	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)) {              
 2010188:	80 8e e0 03 	btst  3, %i3                                   
 201018c:	02 80 00 07 	be  20101a8 <_CORE_message_queue_Initialize+0x38>
 2010190:	a2 10 00 1b 	mov  %i3, %l1                                  
    allocated_message_size += sizeof(uint32_t);                       
 2010194:	a2 06 e0 04 	add  %i3, 4, %l1                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
 2010198:	a2 0c 7f fc 	and  %l1, -4, %l1                              
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
 201019c:	80 a4 40 1b 	cmp  %l1, %i3                                  
 20101a0:	0a 80 00 23 	bcs  201022c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
 20101a4:	01 00 00 00 	nop                                            
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
 20101a8:	a0 04 60 14 	add  %l1, 0x14, %l0                            
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
 20101ac:	92 10 00 1a 	mov  %i2, %o1                                  
 20101b0:	40 00 56 1f 	call  2025a2c <.umul>                          
 20101b4:	90 10 00 10 	mov  %l0, %o0                                  
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
 20101b8:	80 a2 00 11 	cmp  %o0, %l1                                  
 20101bc:	0a 80 00 1c 	bcs  201022c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
 20101c0:	01 00 00 00 	nop                                            
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
 20101c4:	40 00 0c 1c 	call  2013234 <_Workspace_Allocate>            
 20101c8:	01 00 00 00 	nop                                            
 20101cc:	d0 26 20 5c 	st  %o0, [ %i0 + 0x5c ]                        
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
 20101d0:	80 a2 20 00 	cmp  %o0, 0                                    
 20101d4:	02 80 00 16 	be  201022c <_CORE_message_queue_Initialize+0xbc>
 20101d8:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
 20101dc:	90 06 20 68 	add  %i0, 0x68, %o0                            
 20101e0:	94 10 00 1a 	mov  %i2, %o2                                  
 20101e4:	40 00 1a a0 	call  2016c64 <_Chain_Initialize>              
 20101e8:	96 10 00 10 	mov  %l0, %o3                                  
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
 20101ec:	c2 06 40 00 	ld  [ %i1 ], %g1                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 20101f0:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 20101f4:	82 18 60 01 	xor  %g1, 1, %g1                               
 20101f8:	80 a0 00 01 	cmp  %g0, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 20101fc:	82 06 20 54 	add  %i0, 0x54, %g1                            
 2010200:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2010204:	82 06 20 50 	add  %i0, 0x50, %g1                            
 2010208:	90 10 00 18 	mov  %i0, %o0                                  
 201020c:	c2 26 20 58 	st  %g1, [ %i0 + 0x58 ]                        
 2010210:	92 60 3f ff 	subx  %g0, -1, %o1                             
 2010214:	94 10 20 80 	mov  0x80, %o2                                 
 2010218:	96 10 20 06 	mov  6, %o3                                    
 201021c:	40 00 08 e2 	call  20125a4 <_Thread_queue_Initialize>       
 2010220:	b0 10 20 01 	mov  1, %i0                                    
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
 2010224:	81 c7 e0 08 	ret                                            
 2010228:	81 e8 00 00 	restore                                        
}                                                                     
 201022c:	81 c7 e0 08 	ret                                            
 2010230:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02010234 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
 2010234:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
 2010238:	23 00 80 b2 	sethi  %hi(0x202c800), %l1                     
 201023c:	e0 04 61 10 	ld  [ %l1 + 0x110 ], %l0	! 202c910 <_Thread_Executing>
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
 2010240:	a4 10 00 19 	mov  %i1, %l2                                  
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
 2010244:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
  _ISR_Disable( level );                                              
 2010248:	7f ff dc c0 	call  2007548 <sparc_disable_interrupts>       
 201024c:	a6 10 00 18 	mov  %i0, %l3                                  
 2010250:	82 10 00 08 	mov  %o0, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 2010254:	f2 06 20 50 	ld  [ %i0 + 0x50 ], %i1                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2010258:	84 06 20 54 	add  %i0, 0x54, %g2                            
 201025c:	80 a6 40 02 	cmp  %i1, %g2                                  
 2010260:	02 80 00 24 	be  20102f0 <_CORE_message_queue_Seize+0xbc>   
 2010264:	86 06 20 50 	add  %i0, 0x50, %g3                            
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
 2010268:	c4 06 40 00 	ld  [ %i1 ], %g2                               
  the_chain->first    = new_first;                                    
 201026c:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
 2010270:	80 a6 60 00 	cmp  %i1, 0                                    
 2010274:	02 80 00 1f 	be  20102f0 <_CORE_message_queue_Seize+0xbc>   <== NEVER TAKEN
 2010278:	c6 20 a0 04 	st  %g3, [ %g2 + 4 ]                           
    the_message_queue->number_of_pending_messages -= 1;               
 201027c:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 2010280:	82 00 7f ff 	add  %g1, -1, %g1                              
 2010284:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    _ISR_Enable( level );                                             
 2010288:	7f ff dc b4 	call  2007558 <sparc_enable_interrupts>        
 201028c:	a0 06 60 10 	add  %i1, 0x10, %l0                            
                                                                      
    *size_p = the_message->Contents.size;                             
 2010290:	d4 06 60 0c 	ld  [ %i1 + 0xc ], %o2                         
    _Thread_Executing->Wait.count =                                   
 2010294:	c2 04 61 10 	ld  [ %l1 + 0x110 ], %g1                       
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
 2010298:	d4 26 c0 00 	st  %o2, [ %i3 ]                               
    _Thread_Executing->Wait.count =                                   
 201029c:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 20102a0:	c4 20 60 24 	st  %g2, [ %g1 + 0x24 ]                        
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 20102a4:	92 10 00 10 	mov  %l0, %o1                                  
 20102a8:	40 00 29 b9 	call  201a98c <memcpy>                         
 20102ac:	90 10 00 1a 	mov  %i2, %o0                                  
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
 20102b0:	40 00 07 ba 	call  2012198 <_Thread_queue_Dequeue>          
 20102b4:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !the_thread ) {                                            
 20102b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20102bc:	32 80 00 04 	bne,a   20102cc <_CORE_message_queue_Seize+0x98>
 20102c0:	d4 02 20 30 	ld  [ %o0 + 0x30 ], %o2                        
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
 20102c4:	7f ff ff 7a 	call  20100ac <_Chain_Append>                  
 20102c8:	91 ee 20 68 	restore  %i0, 0x68, %o0                        
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
 20102cc:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
 20102d0:	d4 26 60 0c 	st  %o2, [ %i1 + 0xc ]                         
 20102d4:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
 20102d8:	d2 02 20 2c 	ld  [ %o0 + 0x2c ], %o1                        
 20102dc:	40 00 29 ac 	call  201a98c <memcpy>                         
 20102e0:	90 10 00 10 	mov  %l0, %o0                                  
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
 20102e4:	f4 06 60 08 	ld  [ %i1 + 8 ], %i2                           
 20102e8:	40 00 1a a7 	call  2016d84 <_CORE_message_queue_Insert_message>
 20102ec:	81 e8 00 00 	restore                                        
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
 20102f0:	80 8f 20 ff 	btst  0xff, %i4                                
 20102f4:	12 80 00 08 	bne  2010314 <_CORE_message_queue_Seize+0xe0>  
 20102f8:	84 10 20 01 	mov  1, %g2                                    
    _ISR_Enable( level );                                             
 20102fc:	7f ff dc 97 	call  2007558 <sparc_enable_interrupts>        
 2010300:	90 10 00 01 	mov  %g1, %o0                                  
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
 2010304:	82 10 20 04 	mov  4, %g1                                    
 2010308:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
 201030c:	81 c7 e0 08 	ret                                            
 2010310:	81 e8 00 00 	restore                                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
 2010314:	c4 24 e0 30 	st  %g2, [ %l3 + 0x30 ]                        
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
 2010318:	f6 24 20 28 	st  %i3, [ %l0 + 0x28 ]                        
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
 201031c:	e4 24 20 20 	st  %l2, [ %l0 + 0x20 ]                        
  executing->Wait.return_argument_second.mutable_object = buffer;     
 2010320:	f4 24 20 2c 	st  %i2, [ %l0 + 0x2c ]                        
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
 2010324:	e6 24 20 44 	st  %l3, [ %l0 + 0x44 ]                        
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
 2010328:	90 10 00 01 	mov  %g1, %o0                                  
 201032c:	7f ff dc 8b 	call  2007558 <sparc_enable_interrupts>        
 2010330:	35 00 80 49 	sethi  %hi(0x2012400), %i2                     
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
 2010334:	b0 10 00 13 	mov  %l3, %i0                                  
 2010338:	b2 10 00 1d 	mov  %i5, %i1                                  
 201033c:	40 00 07 fa 	call  2012324 <_Thread_queue_Enqueue_with_handler>
 2010340:	95 ee a2 70 	restore  %i2, 0x270, %o2                       
                                                                      

02006edc <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
 2006edc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 2006ee0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2006ee4:	c2 00 62 90 	ld  [ %g1 + 0x290 ], %g1	! 201e290 <_Thread_Dispatch_disable_level>
 2006ee8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006eec:	02 80 00 0d 	be  2006f20 <_CORE_mutex_Seize+0x44>           
 2006ef0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2006ef4:	80 8e a0 ff 	btst  0xff, %i2                                
 2006ef8:	02 80 00 0b 	be  2006f24 <_CORE_mutex_Seize+0x48>           <== NEVER TAKEN
 2006efc:	90 10 00 18 	mov  %i0, %o0                                  
 2006f00:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2006f04:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1	! 201e430 <_System_state_Current>
 2006f08:	80 a0 60 01 	cmp  %g1, 1                                    
 2006f0c:	08 80 00 05 	bleu  2006f20 <_CORE_mutex_Seize+0x44>         
 2006f10:	90 10 20 00 	clr  %o0                                       
 2006f14:	92 10 20 00 	clr  %o1                                       
 2006f18:	40 00 01 d3 	call  2007664 <_Internal_error_Occurred>       
 2006f1c:	94 10 20 13 	mov  0x13, %o2                                 
 2006f20:	90 10 00 18 	mov  %i0, %o0                                  
 2006f24:	40 00 19 4d 	call  200d458 <_CORE_mutex_Seize_interrupt_trylock>
 2006f28:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 2006f2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006f30:	02 80 00 09 	be  2006f54 <_CORE_mutex_Seize+0x78>           
 2006f34:	80 8e a0 ff 	btst  0xff, %i2                                
 2006f38:	12 80 00 09 	bne  2006f5c <_CORE_mutex_Seize+0x80>          
 2006f3c:	35 00 80 78 	sethi  %hi(0x201e000), %i2                     
 2006f40:	7f ff ec 25 	call  2001fd4 <sparc_enable_interrupts>        
 2006f44:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2006f48:	c2 06 a3 50 	ld  [ %i2 + 0x350 ], %g1                       
 2006f4c:	84 10 20 01 	mov  1, %g2                                    
 2006f50:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
 2006f54:	81 c7 e0 08 	ret                                            
 2006f58:	81 e8 00 00 	restore                                        
 2006f5c:	c4 06 a3 50 	ld  [ %i2 + 0x350 ], %g2                       
 2006f60:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2006f64:	c6 00 62 90 	ld  [ %g1 + 0x290 ], %g3	! 201e290 <_Thread_Dispatch_disable_level>
 2006f68:	f2 20 a0 20 	st  %i1, [ %g2 + 0x20 ]                        
 2006f6c:	f0 20 a0 44 	st  %i0, [ %g2 + 0x44 ]                        
 2006f70:	84 00 e0 01 	add  %g3, 1, %g2                               
 2006f74:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
                                                                      
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;
 2006f78:	82 10 20 01 	mov  1, %g1                                    
 2006f7c:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
 2006f80:	7f ff ec 15 	call  2001fd4 <sparc_enable_interrupts>        
 2006f84:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2006f88:	90 10 00 18 	mov  %i0, %o0                                  
 2006f8c:	7f ff ff bb 	call  2006e78 <_CORE_mutex_Seize_interrupt_blocking>
 2006f90:	92 10 00 1b 	mov  %i3, %o1                                  
 2006f94:	81 c7 e0 08 	ret                                            
 2006f98:	81 e8 00 00 	restore                                        
                                                                      

02007140 <_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 ) {
 2007140:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2007144:	a0 10 00 18 	mov  %i0, %l0                                  
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 2007148:	b0 10 20 00 	clr  %i0                                       
 200714c:	40 00 06 38 	call  2008a2c <_Thread_queue_Dequeue>          
 2007150:	90 10 00 10 	mov  %l0, %o0                                  
 2007154:	80 a2 20 00 	cmp  %o0, 0                                    
 2007158:	12 80 00 0e 	bne  2007190 <_CORE_semaphore_Surrender+0x50>  
 200715c:	01 00 00 00 	nop                                            
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 2007160:	7f ff eb 99 	call  2001fc4 <sparc_disable_interrupts>       
 2007164:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 2007168:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
 200716c:	c4 04 20 40 	ld  [ %l0 + 0x40 ], %g2                        
 2007170:	80 a0 40 02 	cmp  %g1, %g2                                  
 2007174:	1a 80 00 05 	bcc  2007188 <_CORE_semaphore_Surrender+0x48>  <== NEVER TAKEN
 2007178:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 200717c:	82 00 60 01 	inc  %g1                                       
 2007180:	b0 10 20 00 	clr  %i0                                       
 2007184:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 2007188:	7f ff eb 93 	call  2001fd4 <sparc_enable_interrupts>        
 200718c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2007190:	81 c7 e0 08 	ret                                            
 2007194:	81 e8 00 00 	restore                                        
                                                                      

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

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

02005d38 <_Event_Seize>: rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out ) {
 2005d38:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
 2005d3c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2005d40:	e0 00 63 50 	ld  [ %g1 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
 2005d44:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
                                                                      
  _ISR_Disable( level );                                              
 2005d48:	7f ff f0 9f 	call  2001fc4 <sparc_disable_interrupts>       
 2005d4c:	e4 04 21 68 	ld  [ %l0 + 0x168 ], %l2                       
  pending_events = api->pending_events;                               
 2005d50:	c2 04 80 00 	ld  [ %l2 ], %g1                               
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
 2005d54:	a2 8e 00 01 	andcc  %i0, %g1, %l1                           
 2005d58:	02 80 00 0e 	be  2005d90 <_Event_Seize+0x58>                
 2005d5c:	80 8e 60 01 	btst  1, %i1                                   
 2005d60:	80 a4 40 18 	cmp  %l1, %i0                                  
 2005d64:	02 80 00 04 	be  2005d74 <_Event_Seize+0x3c>                
 2005d68:	80 8e 60 02 	btst  2, %i1                                   
 2005d6c:	02 80 00 09 	be  2005d90 <_Event_Seize+0x58>                <== NEVER TAKEN
 2005d70:	80 8e 60 01 	btst  1, %i1                                   
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
 2005d74:	82 28 40 11 	andn  %g1, %l1, %g1                            
 2005d78:	c2 24 80 00 	st  %g1, [ %l2 ]                               
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
 2005d7c:	7f ff f0 96 	call  2001fd4 <sparc_enable_interrupts>        
 2005d80:	01 00 00 00 	nop                                            
 2005d84:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
 2005d88:	81 c7 e0 08 	ret                                            
 2005d8c:	81 e8 00 00 	restore                                        
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
 2005d90:	22 80 00 09 	be,a   2005db4 <_Event_Seize+0x7c>             
 2005d94:	f2 24 20 30 	st  %i1, [ %l0 + 0x30 ]                        
    _ISR_Enable( level );                                             
 2005d98:	7f ff f0 8f 	call  2001fd4 <sparc_enable_interrupts>        
 2005d9c:	01 00 00 00 	nop                                            
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
 2005da0:	82 10 20 0d 	mov  0xd, %g1	! d <PROM_START+0xd>             
 2005da4:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
    *event_out = seized_events;                                       
 2005da8:	e2 26 c0 00 	st  %l1, [ %i3 ]                               
 2005dac:	81 c7 e0 08 	ret                                            
 2005db0:	81 e8 00 00 	restore                                        
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
 2005db4:	f0 24 20 24 	st  %i0, [ %l0 + 0x24 ]                        
  executing->Wait.return_argument   = event_out;                      
 2005db8:	f6 24 20 28 	st  %i3, [ %l0 + 0x28 ]                        
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
 2005dbc:	84 10 20 01 	mov  1, %g2                                    
 2005dc0:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2005dc4:	c4 20 63 f8 	st  %g2, [ %g1 + 0x3f8 ]	! 201ebf8 <_Event_Sync_state>
                                                                      
  _ISR_Enable( level );                                               
 2005dc8:	7f ff f0 83 	call  2001fd4 <sparc_enable_interrupts>        
 2005dcc:	01 00 00 00 	nop                                            
                                                                      
  if ( ticks ) {                                                      
 2005dd0:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005dd4:	02 80 00 0f 	be  2005e10 <_Event_Seize+0xd8>                
 2005dd8:	90 10 00 10 	mov  %l0, %o0                                  
    _Watchdog_Initialize(                                             
 2005ddc:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2005de0:	11 00 80 78 	sethi  %hi(0x201e000), %o0                     
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2005de4:	c2 24 20 68 	st  %g1, [ %l0 + 0x68 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005de8:	03 00 80 17 	sethi  %hi(0x2005c00), %g1                     
 2005dec:	82 10 63 e0 	or  %g1, 0x3e0, %g1	! 2005fe0 <_Event_Timeout> 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2005df0:	f4 24 20 54 	st  %i2, [ %l0 + 0x54 ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2005df4:	c0 24 20 50 	clr  [ %l0 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2005df8:	c0 24 20 6c 	clr  [ %l0 + 0x6c ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2005dfc:	c2 24 20 64 	st  %g1, [ %l0 + 0x64 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2005e00:	90 12 23 70 	or  %o0, 0x370, %o0                            
 2005e04:	40 00 0e 74 	call  20097d4 <_Watchdog_Insert>               
 2005e08:	92 04 20 48 	add  %l0, 0x48, %o1                            
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
 2005e0c:	90 10 00 10 	mov  %l0, %o0                                  
 2005e10:	40 00 0c 67 	call  2008fac <_Thread_Set_state>              
 2005e14:	92 10 21 00 	mov  0x100, %o1                                
                                                                      
  _ISR_Disable( level );                                              
 2005e18:	7f ff f0 6b 	call  2001fc4 <sparc_disable_interrupts>       
 2005e1c:	01 00 00 00 	nop                                            
                                                                      
  sync_state = _Event_Sync_state;                                     
 2005e20:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2005e24:	f0 00 63 f8 	ld  [ %g1 + 0x3f8 ], %i0	! 201ebf8 <_Event_Sync_state>
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
 2005e28:	c0 20 63 f8 	clr  [ %g1 + 0x3f8 ]                           
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
 2005e2c:	80 a6 20 01 	cmp  %i0, 1                                    
 2005e30:	12 80 00 04 	bne  2005e40 <_Event_Seize+0x108>              
 2005e34:	b2 10 00 10 	mov  %l0, %i1                                  
    _ISR_Enable( level );                                             
 2005e38:	7f ff f0 67 	call  2001fd4 <sparc_enable_interrupts>        
 2005e3c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
 2005e40:	40 00 08 59 	call  2007fa4 <_Thread_blocking_operation_Cancel>
 2005e44:	95 e8 00 08 	restore  %g0, %o0, %o2                         
                                                                      

02005ea4 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 2005ea4:	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 ];               
 2005ea8:	e2 06 21 68 	ld  [ %i0 + 0x168 ], %l1                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
 2005eac:	e4 06 20 30 	ld  [ %i0 + 0x30 ], %l2                        
                                                                      
  _ISR_Disable( level );                                              
 2005eb0:	7f ff f0 45 	call  2001fc4 <sparc_disable_interrupts>       
 2005eb4:	a0 10 00 18 	mov  %i0, %l0                                  
 2005eb8:	b0 10 00 08 	mov  %o0, %i0                                  
  pending_events  = api->pending_events;                              
 2005ebc:	c4 04 40 00 	ld  [ %l1 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 2005ec0:	c6 04 20 24 	ld  [ %l0 + 0x24 ], %g3                        
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 2005ec4:	82 88 c0 02 	andcc  %g3, %g2, %g1                           
 2005ec8:	02 80 00 43 	be  2005fd4 <_Event_Surrender+0x130>           
 2005ecc:	09 00 80 78 	sethi  %hi(0x201e000), %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() &&                                       
 2005ed0:	c8 01 23 2c 	ld  [ %g4 + 0x32c ], %g4	! 201e32c <_ISR_Nest_level>
 2005ed4:	80 a1 20 00 	cmp  %g4, 0                                    
 2005ed8:	22 80 00 1e 	be,a   2005f50 <_Event_Surrender+0xac>         
 2005edc:	c8 04 20 10 	ld  [ %l0 + 0x10 ], %g4                        
 2005ee0:	09 00 80 78 	sethi  %hi(0x201e000), %g4                     
 2005ee4:	c8 01 23 50 	ld  [ %g4 + 0x350 ], %g4	! 201e350 <_Thread_Executing>
 2005ee8:	80 a4 00 04 	cmp  %l0, %g4                                  
 2005eec:	32 80 00 19 	bne,a   2005f50 <_Event_Surrender+0xac>        
 2005ef0:	c8 04 20 10 	ld  [ %l0 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 2005ef4:	09 00 80 7a 	sethi  %hi(0x201e800), %g4                     
 2005ef8:	da 01 23 f8 	ld  [ %g4 + 0x3f8 ], %o5	! 201ebf8 <_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() &&                                       
 2005efc:	80 a3 60 02 	cmp  %o5, 2                                    
 2005f00:	02 80 00 07 	be  2005f1c <_Event_Surrender+0x78>            <== NEVER TAKEN
 2005f04:	80 a0 40 03 	cmp  %g1, %g3                                  
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 2005f08:	c8 01 23 f8 	ld  [ %g4 + 0x3f8 ], %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() &&                                       
 2005f0c:	80 a1 20 01 	cmp  %g4, 1                                    
 2005f10:	32 80 00 10 	bne,a   2005f50 <_Event_Surrender+0xac>        
 2005f14:	c8 04 20 10 	ld  [ %l0 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
 2005f18:	80 a0 40 03 	cmp  %g1, %g3                                  
 2005f1c:	02 80 00 04 	be  2005f2c <_Event_Surrender+0x88>            
 2005f20:	80 8c a0 02 	btst  2, %l2                                   
 2005f24:	02 80 00 2c 	be  2005fd4 <_Event_Surrender+0x130>           <== NEVER TAKEN
 2005f28:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 2005f2c:	84 28 80 01 	andn  %g2, %g1, %g2                            
 2005f30:	c4 24 40 00 	st  %g2, [ %l1 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2005f34:	c4 04 20 28 	ld  [ %l0 + 0x28 ], %g2                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
 2005f38:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2005f3c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 2005f40:	84 10 20 03 	mov  3, %g2                                    
 2005f44:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2005f48:	c4 20 63 f8 	st  %g2, [ %g1 + 0x3f8 ]	! 201ebf8 <_Event_Sync_state>
 2005f4c:	30 80 00 22 	b,a   2005fd4 <_Event_Surrender+0x130>         
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 2005f50:	80 89 21 00 	btst  0x100, %g4                               
 2005f54:	02 80 00 20 	be  2005fd4 <_Event_Surrender+0x130>           
 2005f58:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 2005f5c:	02 80 00 04 	be  2005f6c <_Event_Surrender+0xc8>            
 2005f60:	80 8c a0 02 	btst  2, %l2                                   
 2005f64:	02 80 00 1c 	be  2005fd4 <_Event_Surrender+0x130>           <== NEVER TAKEN
 2005f68:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
 2005f6c:	84 28 80 01 	andn  %g2, %g1, %g2                            
 2005f70:	c4 24 40 00 	st  %g2, [ %l1 ]                               
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2005f74:	c4 04 20 28 	ld  [ %l0 + 0x28 ], %g2                        
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
 2005f78:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2005f7c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _ISR_Flash( level );                                            
 2005f80:	7f ff f0 15 	call  2001fd4 <sparc_enable_interrupts>        
 2005f84:	90 10 00 18 	mov  %i0, %o0                                  
 2005f88:	7f ff f0 0f 	call  2001fc4 <sparc_disable_interrupts>       
 2005f8c:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 2005f90:	c2 04 20 50 	ld  [ %l0 + 0x50 ], %g1                        
 2005f94:	80 a0 60 02 	cmp  %g1, 2                                    
 2005f98:	02 80 00 06 	be  2005fb0 <_Event_Surrender+0x10c>           
 2005f9c:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 2005fa0:	7f ff f0 0d 	call  2001fd4 <sparc_enable_interrupts>        
 2005fa4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2005fa8:	10 80 00 08 	b  2005fc8 <_Event_Surrender+0x124>            
 2005fac:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 2005fb0:	c2 24 20 50 	st  %g1, [ %l0 + 0x50 ]                        
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 2005fb4:	7f ff f0 08 	call  2001fd4 <sparc_enable_interrupts>        
 2005fb8:	90 10 00 18 	mov  %i0, %o0                                  
        (void) _Watchdog_Remove( &the_thread->Timer );                
 2005fbc:	40 00 0e 62 	call  2009944 <_Watchdog_Remove>               
 2005fc0:	90 04 20 48 	add  %l0, 0x48, %o0                            
 2005fc4:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
 2005fc8:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
 2005fcc:	40 00 08 84 	call  20081dc <_Thread_Clear_state>            
 2005fd0:	91 e8 00 10 	restore  %g0, %l0, %o0                         
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 2005fd4:	7f ff f0 00 	call  2001fd4 <sparc_enable_interrupts>        
 2005fd8:	81 e8 00 00 	restore                                        
                                                                      

02005fe0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2005fe0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2005fe4:	90 10 00 18 	mov  %i0, %o0                                  
 2005fe8:	40 00 09 9c 	call  2008658 <_Thread_Get>                    
 2005fec:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2005ff0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2005ff4:	80 a0 60 00 	cmp  %g1, 0                                    
 2005ff8:	12 80 00 1c 	bne  2006068 <_Event_Timeout+0x88>             <== NEVER TAKEN
 2005ffc:	a0 10 00 08 	mov  %o0, %l0                                  
       *                                                              
       *  If it is not satisfied, then it is "nothing happened" and   
       *  this is the "timeout" transition.  After a request is satisfied,
       *  a timeout is not allowed to occur.                          
       */                                                             
      _ISR_Disable( level );                                          
 2006000:	7f ff ef f1 	call  2001fc4 <sparc_disable_interrupts>       
 2006004:	01 00 00 00 	nop                                            
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 2006008:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200600c:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
 2006010:	80 a4 00 01 	cmp  %l0, %g1                                  
 2006014:	12 80 00 09 	bne  2006038 <_Event_Timeout+0x58>             
 2006018:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 200601c:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2006020:	c4 00 63 f8 	ld  [ %g1 + 0x3f8 ], %g2	! 201ebf8 <_Event_Sync_state>
 2006024:	80 a0 a0 01 	cmp  %g2, 1                                    
 2006028:	32 80 00 05 	bne,a   200603c <_Event_Timeout+0x5c>          
 200602c:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 2006030:	84 10 20 02 	mov  2, %g2                                    
 2006034:	c4 20 63 f8 	st  %g2, [ %g1 + 0x3f8 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2006038:	82 10 20 06 	mov  6, %g1                                    
 200603c:	c2 24 20 34 	st  %g1, [ %l0 + 0x34 ]                        
      _ISR_Enable( level );                                           
 2006040:	7f ff ef e5 	call  2001fd4 <sparc_enable_interrupts>        
 2006044:	01 00 00 00 	nop                                            
 2006048:	90 10 00 10 	mov  %l0, %o0                                  
 200604c:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 2006050:	40 00 08 63 	call  20081dc <_Thread_Clear_state>            
 2006054:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2006058:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200605c:	c4 00 62 90 	ld  [ %g1 + 0x290 ], %g2	! 201e290 <_Thread_Dispatch_disable_level>
 2006060:	84 00 bf ff 	add  %g2, -1, %g2                              
 2006064:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
 2006068:	81 c7 e0 08 	ret                                            
 200606c:	81 e8 00 00 	restore                                        
                                                                      

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

0200d5fc <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
 200d5fc:	9d e3 bf 90 	save  %sp, -112, %sp                           
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
 200d600:	ac 06 60 04 	add  %i1, 4, %l6                               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200d604:	e4 06 20 08 	ld  [ %i0 + 8 ], %l2                           
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
 200d608:	80 a5 80 19 	cmp  %l6, %i1                                  
 200d60c:	0a 80 00 6d 	bcs  200d7c0 <_Heap_Allocate_aligned_with_boundary+0x1c4>
 200d610:	e8 06 20 10 	ld  [ %i0 + 0x10 ], %l4                        
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
 200d614:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d618:	02 80 00 08 	be  200d638 <_Heap_Allocate_aligned_with_boundary+0x3c>
 200d61c:	82 10 20 04 	mov  4, %g1                                    
    if ( boundary < alloc_size ) {                                    
 200d620:	80 a6 c0 19 	cmp  %i3, %i1                                  
 200d624:	0a 80 00 67 	bcs  200d7c0 <_Heap_Allocate_aligned_with_boundary+0x1c4>
 200d628:	80 a6 a0 00 	cmp  %i2, 0                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200d62c:	22 80 00 03 	be,a   200d638 <_Heap_Allocate_aligned_with_boundary+0x3c>
 200d630:	b4 10 00 14 	mov  %l4, %i2                                  
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200d634:	82 10 20 04 	mov  4, %g1                                    
 200d638:	82 20 40 19 	sub  %g1, %i1, %g1                             
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200d63c:	a2 10 20 00 	clr  %l1                                       
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200d640:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
 200d644:	b8 10 3f f8 	mov  -8, %i4                                   
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
 200d648:	82 05 20 07 	add  %l4, 7, %g1                               
 200d64c:	10 80 00 4b 	b  200d778 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200d650:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
    /*                                                                
     * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
     * field.  Thus the value is about one unit larger than the real block
     * size.  The greater than operator takes this into account.      
     */                                                               
    if ( block->size_and_flag > block_size_floor ) {                  
 200d654:	80 a4 c0 16 	cmp  %l3, %l6                                  
 200d658:	08 80 00 47 	bleu  200d774 <_Heap_Allocate_aligned_with_boundary+0x178>
 200d65c:	a2 04 60 01 	inc  %l1                                       
      if ( alignment == 0 ) {                                         
 200d660:	80 a6 a0 00 	cmp  %i2, 0                                    
 200d664:	12 80 00 04 	bne  200d674 <_Heap_Allocate_aligned_with_boundary+0x78>
 200d668:	aa 04 a0 08 	add  %l2, 8, %l5                               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
 200d66c:	10 80 00 3f 	b  200d768 <_Heap_Allocate_aligned_with_boundary+0x16c>
 200d670:	a0 10 00 15 	mov  %l5, %l0                                  
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200d674:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200d678:	ee 06 20 14 	ld  [ %i0 + 0x14 ], %l7                        
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
 200d67c:	a6 0c ff fe 	and  %l3, -2, %l3                              
 200d680:	a6 04 80 13 	add  %l2, %l3, %l3                             
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200d684:	a0 00 80 13 	add  %g2, %l3, %l0                             
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
 200d688:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200d68c:	90 10 00 10 	mov  %l0, %o0                                  
 200d690:	82 20 80 17 	sub  %g2, %l7, %g1                             
 200d694:	92 10 00 1a 	mov  %i2, %o1                                  
 200d698:	40 00 32 ab 	call  201a144 <.urem>                          
 200d69c:	a6 00 40 13 	add  %g1, %l3, %l3                             
 200d6a0:	a0 24 00 08 	sub  %l0, %o0, %l0                             
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
 200d6a4:	80 a4 00 13 	cmp  %l0, %l3                                  
 200d6a8:	08 80 00 07 	bleu  200d6c4 <_Heap_Allocate_aligned_with_boundary+0xc8>
 200d6ac:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d6b0:	90 10 00 13 	mov  %l3, %o0                                  
 200d6b4:	40 00 32 a4 	call  201a144 <.urem>                          
 200d6b8:	92 10 00 1a 	mov  %i2, %o1                                  
 200d6bc:	a0 24 c0 08 	sub  %l3, %o0, %l0                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
 200d6c0:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d6c4:	02 80 00 1d 	be  200d738 <_Heap_Allocate_aligned_with_boundary+0x13c>
 200d6c8:	80 a4 00 15 	cmp  %l0, %l5                                  
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
 200d6cc:	a6 04 00 19 	add  %l0, %i1, %l3                             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
 200d6d0:	82 05 40 19 	add  %l5, %i1, %g1                             
 200d6d4:	92 10 00 1b 	mov  %i3, %o1                                  
 200d6d8:	90 10 00 13 	mov  %l3, %o0                                  
 200d6dc:	10 80 00 0b 	b  200d708 <_Heap_Allocate_aligned_with_boundary+0x10c>
 200d6e0:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
 200d6e4:	80 a0 40 02 	cmp  %g1, %g2                                  
 200d6e8:	2a 80 00 24 	bcs,a   200d778 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200d6ec:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
 200d6f0:	40 00 32 95 	call  201a144 <.urem>                          
 200d6f4:	01 00 00 00 	nop                                            
 200d6f8:	92 10 00 1b 	mov  %i3, %o1                                  
 200d6fc:	a0 27 40 08 	sub  %i5, %o0, %l0                             
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
 200d700:	a6 04 00 19 	add  %l0, %i1, %l3                             
 200d704:	90 10 00 13 	mov  %l3, %o0                                  
 200d708:	40 00 32 8f 	call  201a144 <.urem>                          
 200d70c:	01 00 00 00 	nop                                            
 200d710:	92 10 00 1a 	mov  %i2, %o1                                  
 200d714:	82 24 c0 08 	sub  %l3, %o0, %g1                             
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
 200d718:	ba 20 40 19 	sub  %g1, %i1, %i5                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
 200d71c:	80 a0 40 13 	cmp  %g1, %l3                                  
 200d720:	1a 80 00 05 	bcc  200d734 <_Heap_Allocate_aligned_with_boundary+0x138>
 200d724:	90 10 00 1d 	mov  %i5, %o0                                  
 200d728:	80 a4 00 01 	cmp  %l0, %g1                                  
 200d72c:	0a bf ff ee 	bcs  200d6e4 <_Heap_Allocate_aligned_with_boundary+0xe8>
 200d730:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
 200d734:	80 a4 00 15 	cmp  %l0, %l5                                  
 200d738:	0a 80 00 0f 	bcs  200d774 <_Heap_Allocate_aligned_with_boundary+0x178>
 200d73c:	a6 27 00 12 	sub  %i4, %l2, %l3                             
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
 200d740:	90 10 00 10 	mov  %l0, %o0                                  
 200d744:	a6 04 c0 10 	add  %l3, %l0, %l3                             
 200d748:	40 00 32 7f 	call  201a144 <.urem>                          
 200d74c:	92 10 00 14 	mov  %l4, %o1                                  
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
 200d750:	90 a4 c0 08 	subcc  %l3, %o0, %o0                           
 200d754:	02 80 00 06 	be  200d76c <_Heap_Allocate_aligned_with_boundary+0x170>
 200d758:	80 a4 20 00 	cmp  %l0, 0                                    
 200d75c:	80 a2 00 17 	cmp  %o0, %l7                                  
 200d760:	2a 80 00 06 	bcs,a   200d778 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200d764:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
 200d768:	80 a4 20 00 	cmp  %l0, 0                                    
 200d76c:	32 80 00 08 	bne,a   200d78c <_Heap_Allocate_aligned_with_boundary+0x190><== ALWAYS TAKEN
 200d770:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
 200d774:	e4 04 a0 08 	ld  [ %l2 + 8 ], %l2                           
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
 200d778:	80 a4 80 18 	cmp  %l2, %i0                                  
 200d77c:	32 bf ff b6 	bne,a   200d654 <_Heap_Allocate_aligned_with_boundary+0x58>
 200d780:	e6 04 a0 04 	ld  [ %l2 + 4 ], %l3                           
 200d784:	10 80 00 09 	b  200d7a8 <_Heap_Allocate_aligned_with_boundary+0x1ac>
 200d788:	a0 10 20 00 	clr  %l0                                       
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200d78c:	92 10 00 12 	mov  %l2, %o1                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200d790:	82 00 40 11 	add  %g1, %l1, %g1                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200d794:	96 10 00 19 	mov  %i1, %o3                                  
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
 200d798:	c2 26 20 4c 	st  %g1, [ %i0 + 0x4c ]                        
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200d79c:	90 10 00 18 	mov  %i0, %o0                                  
 200d7a0:	7f ff e7 60 	call  2007520 <_Heap_Block_allocate>           
 200d7a4:	94 10 00 10 	mov  %l0, %o2                                  
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 200d7a8:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 200d7ac:	80 a0 40 11 	cmp  %g1, %l1                                  
 200d7b0:	2a 80 00 02 	bcs,a   200d7b8 <_Heap_Allocate_aligned_with_boundary+0x1bc>
 200d7b4:	e2 26 20 44 	st  %l1, [ %i0 + 0x44 ]                        
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
 200d7b8:	81 c7 e0 08 	ret                                            
 200d7bc:	91 e8 00 10 	restore  %g0, %l0, %o0                         
}                                                                     
 200d7c0:	81 c7 e0 08 	ret                                            
 200d7c4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02011e64 <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
 2011e64:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
 2011e68:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
 2011e6c:	a0 10 00 18 	mov  %i0, %l0                                  
   *    5. non-contiguous higher address    (NOT SUPPORTED)           
   *                                                                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
 2011e70:	80 a6 40 01 	cmp  %i1, %g1                                  
 2011e74:	1a 80 00 07 	bcc  2011e90 <_Heap_Extend+0x2c>               
 2011e78:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
 2011e7c:	c4 06 20 18 	ld  [ %i0 + 0x18 ], %g2                        
 2011e80:	80 a6 40 02 	cmp  %i1, %g2                                  
 2011e84:	1a 80 00 28 	bcc  2011f24 <_Heap_Extend+0xc0>               
 2011e88:	b0 10 20 01 	mov  1, %i0                                    
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
 2011e8c:	80 a6 40 01 	cmp  %i1, %g1                                  
 2011e90:	12 80 00 25 	bne  2011f24 <_Heap_Extend+0xc0>               
 2011e94:	b0 10 20 02 	mov  2, %i0                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 2011e98:	d2 04 20 10 	ld  [ %l0 + 0x10 ], %o1                        
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
 2011e9c:	b4 06 40 1a 	add  %i1, %i2, %i2                             
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
 2011ea0:	b2 26 80 11 	sub  %i2, %l1, %i1                             
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
 2011ea4:	f4 24 20 1c 	st  %i2, [ %l0 + 0x1c ]                        
                                                                      
  extend_size = new_heap_area_end                                     
 2011ea8:	b2 06 7f f8 	add  %i1, -8, %i1                              
 2011eac:	7f ff c8 bd 	call  20041a0 <.urem>                          
 2011eb0:	90 10 00 19 	mov  %i1, %o0                                  
 2011eb4:	90 26 40 08 	sub  %i1, %o0, %o0                             
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
 2011eb8:	d0 26 c0 00 	st  %o0, [ %i3 ]                               
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
 2011ebc:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 2011ec0:	80 a2 00 01 	cmp  %o0, %g1                                  
 2011ec4:	0a 80 00 18 	bcs  2011f24 <_Heap_Extend+0xc0>               <== NEVER TAKEN
 2011ec8:	b0 10 20 00 	clr  %i0                                       
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
 2011ecc:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
 2011ed0:	c4 04 20 20 	ld  [ %l0 + 0x20 ], %g2                        
 2011ed4:	82 08 60 01 	and  %g1, 1, %g1                               
 2011ed8:	82 12 00 01 	or  %o0, %g1, %g1                              
 2011edc:	c2 24 60 04 	st  %g1, [ %l1 + 4 ]                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2011ee0:	82 02 00 11 	add  %o0, %l1, %g1                             
 2011ee4:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2011ee8:	84 10 a0 01 	or  %g2, 1, %g2                                
 2011eec:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2011ef0:	c6 04 20 40 	ld  [ %l0 + 0x40 ], %g3                        
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2011ef4:	f2 04 20 2c 	ld  [ %l0 + 0x2c ], %i1                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 2011ef8:	c4 04 20 50 	ld  [ %l0 + 0x50 ], %g2                        
                                                                      
    new_last_block->size_and_flag =                                   
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
 2011efc:	c2 24 20 24 	st  %g1, [ %l0 + 0x24 ]                        
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
 2011f00:	82 00 e0 01 	add  %g3, 1, %g1                               
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2011f04:	90 06 40 08 	add  %i1, %o0, %o0                             
    ++stats->used_blocks;                                             
 2011f08:	c2 24 20 40 	st  %g1, [ %l0 + 0x40 ]                        
    --stats->frees; /* Do not count subsequent call as actual free() */
 2011f0c:	82 00 bf ff 	add  %g2, -1, %g1                              
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
 2011f10:	d0 24 20 2c 	st  %o0, [ %l0 + 0x2c ]                        
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
 2011f14:	c2 24 20 50 	st  %g1, [ %l0 + 0x50 ]                        
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
 2011f18:	90 10 00 10 	mov  %l0, %o0                                  
 2011f1c:	7f ff e4 4b 	call  200b048 <_Heap_Free>                     
 2011f20:	92 04 60 08 	add  %l1, 8, %o1                               
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
 2011f24:	81 c7 e0 08 	ret                                            
 2011f28:	81 e8 00 00 	restore                                        
                                                                      

0200d7c8 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
 200d7c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
 200d7cc:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200d7d0:	40 00 32 5d 	call  201a144 <.urem>                          
 200d7d4:	90 10 00 19 	mov  %i1, %o0                                  
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 200d7d8:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
 200d7dc:	b2 06 7f f8 	add  %i1, -8, %i1                              
 200d7e0:	90 26 40 08 	sub  %i1, %o0, %o0                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 200d7e4:	80 a2 00 01 	cmp  %o0, %g1                                  
 200d7e8:	0a 80 00 05 	bcs  200d7fc <_Heap_Free+0x34>                 
 200d7ec:	84 10 20 00 	clr  %g2                                       
 200d7f0:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200d7f4:	80 a0 80 08 	cmp  %g2, %o0                                  
 200d7f8:	84 60 3f ff 	subx  %g0, -1, %g2                             
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
 200d7fc:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d800:	02 80 00 6a 	be  200d9a8 <_Heap_Free+0x1e0>                 
 200d804:	01 00 00 00 	nop                                            
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 200d808:	c8 02 20 04 	ld  [ %o0 + 4 ], %g4                           
 200d80c:	86 09 3f fe 	and  %g4, -2, %g3                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200d810:	84 02 00 03 	add  %o0, %g3, %g2                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 200d814:	80 a0 80 01 	cmp  %g2, %g1                                  
 200d818:	0a 80 00 05 	bcs  200d82c <_Heap_Free+0x64>                 <== NEVER TAKEN
 200d81c:	9a 10 20 00 	clr  %o5                                       
 200d820:	da 06 20 24 	ld  [ %i0 + 0x24 ], %o5                        
 200d824:	80 a3 40 02 	cmp  %o5, %g2                                  
 200d828:	9a 60 3f ff 	subx  %g0, -1, %o5                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
 200d82c:	80 a3 60 00 	cmp  %o5, 0                                    
 200d830:	02 80 00 5e 	be  200d9a8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200d834:	01 00 00 00 	nop                                            
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200d838:	da 00 a0 04 	ld  [ %g2 + 4 ], %o5                           
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200d83c:	80 8b 60 01 	btst  1, %o5                                   
 200d840:	02 80 00 5a 	be  200d9a8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200d844:	9a 0b 7f fe 	and  %o5, -2, %o5                              
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
 200d848:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
 200d84c:	80 a0 80 09 	cmp  %g2, %o1                                  
 200d850:	02 80 00 06 	be  200d868 <_Heap_Free+0xa0>                  
 200d854:	96 10 20 00 	clr  %o3                                       
 200d858:	98 00 80 0d 	add  %g2, %o5, %o4                             
 200d85c:	d6 03 20 04 	ld  [ %o4 + 4 ], %o3                           
 200d860:	96 0a e0 01 	and  %o3, 1, %o3                               
 200d864:	96 1a e0 01 	xor  %o3, 1, %o3                               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200d868:	80 89 20 01 	btst  1, %g4                                   
 200d86c:	12 80 00 26 	bne  200d904 <_Heap_Free+0x13c>                
 200d870:	80 a2 e0 00 	cmp  %o3, 0                                    
    uintptr_t const prev_size = block->prev_size;                     
 200d874:	d8 02 00 00 	ld  [ %o0 ], %o4                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200d878:	88 22 00 0c 	sub  %o0, %o4, %g4                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 200d87c:	80 a1 00 01 	cmp  %g4, %g1                                  
 200d880:	0a 80 00 04 	bcs  200d890 <_Heap_Free+0xc8>                 <== NEVER TAKEN
 200d884:	94 10 20 00 	clr  %o2                                       
 200d888:	80 a2 40 04 	cmp  %o1, %g4                                  
 200d88c:	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 ) ) {              
 200d890:	80 a2 a0 00 	cmp  %o2, 0                                    
 200d894:	02 80 00 45 	be  200d9a8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200d898:	01 00 00 00 	nop                                            
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
 200d89c:	c2 01 20 04 	ld  [ %g4 + 4 ], %g1                           
 200d8a0:	80 88 60 01 	btst  1, %g1                                   
 200d8a4:	02 80 00 41 	be  200d9a8 <_Heap_Free+0x1e0>                 <== NEVER TAKEN
 200d8a8:	80 a2 e0 00 	cmp  %o3, 0                                    
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200d8ac:	22 80 00 0f 	be,a   200d8e8 <_Heap_Free+0x120>              
 200d8b0:	98 00 c0 0c 	add  %g3, %o4, %o4                             
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200d8b4:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
 200d8b8:	d6 00 a0 0c 	ld  [ %g2 + 0xc ], %o3                         
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200d8bc:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200d8c0:	82 00 7f ff 	add  %g1, -1, %g1                              
 200d8c4:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 200d8c8:	9a 00 c0 0d 	add  %g3, %o5, %o5                             
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  next->prev = prev;                                                  
 200d8cc:	d6 20 a0 0c 	st  %o3, [ %g2 + 0xc ]                         
 200d8d0:	98 03 40 0c 	add  %o5, %o4, %o4                             
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
 200d8d4:	c4 22 e0 08 	st  %g2, [ %o3 + 8 ]                           
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
 200d8d8:	d8 21 00 0c 	st  %o4, [ %g4 + %o4 ]                         
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200d8dc:	98 13 20 01 	or  %o4, 1, %o4                                
 200d8e0:	10 80 00 27 	b  200d97c <_Heap_Free+0x1b4>                  
 200d8e4:	d8 21 20 04 	st  %o4, [ %g4 + 4 ]                           
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200d8e8:	82 13 20 01 	or  %o4, 1, %g1                                
 200d8ec:	c2 21 20 04 	st  %g1, [ %g4 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200d8f0:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
      next_block->prev_size = size;                                   
 200d8f4:	d8 22 00 03 	st  %o4, [ %o0 + %g3 ]                         
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200d8f8:	82 08 7f fe 	and  %g1, -2, %g1                              
 200d8fc:	10 80 00 20 	b  200d97c <_Heap_Free+0x1b4>                  
 200d900:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
 200d904:	02 80 00 0d 	be  200d938 <_Heap_Free+0x170>                 
 200d908:	82 10 e0 01 	or  %g3, 1, %g1                                
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
 200d90c:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 200d910:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
 200d914:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
 200d918:	c4 22 20 08 	st  %g2, [ %o0 + 8 ]                           
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
 200d91c:	d0 20 60 08 	st  %o0, [ %g1 + 8 ]                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
 200d920:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]                         
    uintptr_t const size = block_size + next_block_size;              
 200d924:	82 03 40 03 	add  %o5, %g3, %g1                             
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 200d928:	c2 22 00 01 	st  %g1, [ %o0 + %g1 ]                         
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
 200d92c:	82 10 60 01 	or  %g1, 1, %g1                                
 200d930:	10 80 00 13 	b  200d97c <_Heap_Free+0x1b4>                  
 200d934:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
 200d938:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200d93c:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
 200d940:	c8 06 20 08 	ld  [ %i0 + 8 ], %g4                           
 200d944:	82 08 7f fe 	and  %g1, -2, %g1                              
    next_block->prev_size = block_size;                               
 200d948:	c6 22 00 03 	st  %g3, [ %o0 + %g3 ]                         
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200d94c:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200d950:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
                                                                      
  new_block->next = next;                                             
 200d954:	c8 22 20 08 	st  %g4, [ %o0 + 8 ]                           
  new_block->prev = block_before;                                     
 200d958:	f0 22 20 0c 	st  %i0, [ %o0 + 0xc ]                         
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 200d95c:	c4 06 20 3c 	ld  [ %i0 + 0x3c ], %g2                        
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200d960:	82 00 60 01 	inc  %g1                                       
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200d964:	d0 21 20 0c 	st  %o0, [ %g4 + 0xc ]                         
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
 200d968:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
 200d96c:	80 a0 80 01 	cmp  %g2, %g1                                  
 200d970:	1a 80 00 03 	bcc  200d97c <_Heap_Free+0x1b4>                
 200d974:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
 200d978:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200d97c:	c4 06 20 40 	ld  [ %i0 + 0x40 ], %g2                        
  ++stats->frees;                                                     
 200d980:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
  stats->free_size += block_size;                                     
 200d984:	c8 06 20 30 	ld  [ %i0 + 0x30 ], %g4                        
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200d988:	84 00 bf ff 	add  %g2, -1, %g2                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200d98c:	86 01 00 03 	add  %g4, %g3, %g3                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200d990:	c4 26 20 40 	st  %g2, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200d994:	c6 26 20 30 	st  %g3, [ %i0 + 0x30 ]                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200d998:	82 00 60 01 	inc  %g1                                       
 200d99c:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
 200d9a0:	81 c7 e0 08 	ret                                            
 200d9a4:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 200d9a8:	81 c7 e0 08 	ret                                            
 200d9ac:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0201babc <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 201babc:	9d e3 bf a0 	save  %sp, -96, %sp                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
 201bac0:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 201bac4:	7f ff f9 a0 	call  201a144 <.urem>                          
 201bac8:	90 10 00 19 	mov  %i1, %o0                                  
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
 201bacc:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
 201bad0:	84 06 7f f8 	add  %i1, -8, %g2                              
 201bad4:	90 20 80 08 	sub  %g2, %o0, %o0                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 201bad8:	80 a2 00 01 	cmp  %o0, %g1                                  
 201badc:	0a 80 00 05 	bcs  201baf0 <_Heap_Size_of_alloc_area+0x34>   
 201bae0:	84 10 20 00 	clr  %g2                                       
 201bae4:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 201bae8:	80 a0 80 08 	cmp  %g2, %o0                                  
 201baec:	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 ) ) {                     
 201baf0:	80 a0 a0 00 	cmp  %g2, 0                                    
 201baf4:	02 80 00 16 	be  201bb4c <_Heap_Size_of_alloc_area+0x90>    
 201baf8:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 201bafc:	c4 02 20 04 	ld  [ %o0 + 4 ], %g2                           
 201bb00:	84 08 bf fe 	and  %g2, -2, %g2                              
 201bb04:	84 02 00 02 	add  %o0, %g2, %g2                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 201bb08:	80 a0 80 01 	cmp  %g2, %g1                                  
 201bb0c:	0a 80 00 05 	bcs  201bb20 <_Heap_Size_of_alloc_area+0x64>   <== NEVER TAKEN
 201bb10:	86 10 20 00 	clr  %g3                                       
 201bb14:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 201bb18:	80 a0 40 02 	cmp  %g1, %g2                                  
 201bb1c:	86 60 3f ff 	subx  %g0, -1, %g3                             
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
 201bb20:	80 a0 e0 00 	cmp  %g3, 0                                    
 201bb24:	02 80 00 0a 	be  201bb4c <_Heap_Size_of_alloc_area+0x90>    <== NEVER TAKEN
 201bb28:	01 00 00 00 	nop                                            
 201bb2c:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
 201bb30:	80 88 60 01 	btst  1, %g1                                   
 201bb34:	02 80 00 06 	be  201bb4c <_Heap_Size_of_alloc_area+0x90>    <== NEVER TAKEN
 201bb38:	84 20 80 19 	sub  %g2, %i1, %g2                             
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
 201bb3c:	84 00 a0 04 	add  %g2, 4, %g2                               
 201bb40:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  return true;                                                        
 201bb44:	81 c7 e0 08 	ret                                            
 201bb48:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 201bb4c:	81 c7 e0 08 	ret                                            
 201bb50:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02008488 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 2008488:	9d e3 bf 88 	save  %sp, -120, %sp                           
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 200848c:	23 00 80 22 	sethi  %hi(0x2008800), %l1                     
 2008490:	80 8e a0 ff 	btst  0xff, %i2                                
 2008494:	a2 14 61 60 	or  %l1, 0x160, %l1                            
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2008498:	e4 06 20 10 	ld  [ %i0 + 0x10 ], %l2                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200849c:	e6 06 20 14 	ld  [ %i0 + 0x14 ], %l3                        
  Heap_Block *const last_block = heap->last_block;                    
 20084a0:	e8 06 20 24 	ld  [ %i0 + 0x24 ], %l4                        
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
 20084a4:	12 80 00 04 	bne  20084b4 <_Heap_Walk+0x2c>                 
 20084a8:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 20084ac:	23 00 80 21 	sethi  %hi(0x2008400), %l1                     
 20084b0:	a2 14 60 80 	or  %l1, 0x80, %l1	! 2008480 <_Heap_Walk_print_nothing>
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 20084b4:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 20084b8:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1	! 2020c80 <_System_state_Current>
 20084bc:	80 a0 60 03 	cmp  %g1, 3                                    
 20084c0:	12 80 01 1e 	bne  2008938 <_Heap_Walk+0x4b0>                
 20084c4:	90 10 00 19 	mov  %i1, %o0                                  
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
 20084c8:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 20084cc:	c6 06 20 1c 	ld  [ %i0 + 0x1c ], %g3                        
 20084d0:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
 20084d4:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 20084d8:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        
 20084dc:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 20084e0:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 20084e4:	e0 23 a0 60 	st  %l0, [ %sp + 0x60 ]                        
 20084e8:	e8 23 a0 64 	st  %l4, [ %sp + 0x64 ]                        
 20084ec:	92 10 20 00 	clr  %o1                                       
 20084f0:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 20084f4:	96 10 00 12 	mov  %l2, %o3                                  
 20084f8:	94 12 a1 a0 	or  %o2, 0x1a0, %o2                            
 20084fc:	9f c4 40 00 	call  %l1                                      
 2008500:	98 10 00 13 	mov  %l3, %o4                                  
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 2008504:	80 a4 a0 00 	cmp  %l2, 0                                    
 2008508:	12 80 00 07 	bne  2008524 <_Heap_Walk+0x9c>                 
 200850c:	80 8c a0 07 	btst  7, %l2                                   
    (*printer)( source, true, "page size is zero\n" );                
 2008510:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 2008514:	90 10 00 19 	mov  %i1, %o0                                  
 2008518:	92 10 20 01 	mov  1, %o1                                    
 200851c:	10 80 00 27 	b  20085b8 <_Heap_Walk+0x130>                  
 2008520:	94 12 a2 38 	or  %o2, 0x238, %o2                            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 2008524:	22 80 00 08 	be,a   2008544 <_Heap_Walk+0xbc>               
 2008528:	90 10 00 13 	mov  %l3, %o0                                  
    (*printer)(                                                       
 200852c:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 2008530:	90 10 00 19 	mov  %i1, %o0                                  
 2008534:	96 10 00 12 	mov  %l2, %o3                                  
 2008538:	92 10 20 01 	mov  1, %o1                                    
 200853c:	10 80 01 05 	b  2008950 <_Heap_Walk+0x4c8>                  
 2008540:	94 12 a2 50 	or  %o2, 0x250, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 2008544:	7f ff e5 65 	call  2001ad8 <.urem>                          
 2008548:	92 10 00 12 	mov  %l2, %o1                                  
 200854c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008550:	22 80 00 08 	be,a   2008570 <_Heap_Walk+0xe8>               
 2008554:	90 04 20 08 	add  %l0, 8, %o0                               
    (*printer)(                                                       
 2008558:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200855c:	90 10 00 19 	mov  %i1, %o0                                  
 2008560:	96 10 00 13 	mov  %l3, %o3                                  
 2008564:	92 10 20 01 	mov  1, %o1                                    
 2008568:	10 80 00 fa 	b  2008950 <_Heap_Walk+0x4c8>                  
 200856c:	94 12 a2 70 	or  %o2, 0x270, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 2008570:	7f ff e5 5a 	call  2001ad8 <.urem>                          
 2008574:	92 10 00 12 	mov  %l2, %o1                                  
 2008578:	80 a2 20 00 	cmp  %o0, 0                                    
 200857c:	22 80 00 08 	be,a   200859c <_Heap_Walk+0x114>              
 2008580:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 2008584:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 2008588:	90 10 00 19 	mov  %i1, %o0                                  
 200858c:	96 10 00 10 	mov  %l0, %o3                                  
 2008590:	92 10 20 01 	mov  1, %o1                                    
 2008594:	10 80 00 ef 	b  2008950 <_Heap_Walk+0x4c8>                  
 2008598:	94 12 a2 98 	or  %o2, 0x298, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 200859c:	80 88 60 01 	btst  1, %g1                                   
 20085a0:	32 80 00 09 	bne,a   20085c4 <_Heap_Walk+0x13c>             
 20085a4:	ea 04 00 00 	ld  [ %l0 ], %l5                               
    (*printer)(                                                       
 20085a8:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 20085ac:	90 10 00 19 	mov  %i1, %o0                                  
 20085b0:	92 10 20 01 	mov  1, %o1                                    
 20085b4:	94 12 a2 d0 	or  %o2, 0x2d0, %o2                            
 20085b8:	9f c4 40 00 	call  %l1                                      
 20085bc:	b0 10 20 00 	clr  %i0                                       
 20085c0:	30 80 00 e6 	b,a   2008958 <_Heap_Walk+0x4d0>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
 20085c4:	80 a5 40 12 	cmp  %l5, %l2                                  
 20085c8:	22 80 00 09 	be,a   20085ec <_Heap_Walk+0x164>              
 20085cc:	c2 05 20 04 	ld  [ %l4 + 4 ], %g1                           
    (*printer)(                                                       
 20085d0:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 20085d4:	90 10 00 19 	mov  %i1, %o0                                  
 20085d8:	96 10 00 15 	mov  %l5, %o3                                  
 20085dc:	98 10 00 12 	mov  %l2, %o4                                  
 20085e0:	92 10 20 01 	mov  1, %o1                                    
 20085e4:	10 80 00 88 	b  2008804 <_Heap_Walk+0x37c>                  
 20085e8:	94 12 a3 00 	or  %o2, 0x300, %o2                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 20085ec:	82 08 7f fe 	and  %g1, -2, %g1                              
 20085f0:	82 05 00 01 	add  %l4, %g1, %g1                             
 20085f4:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 20085f8:	80 88 60 01 	btst  1, %g1                                   
 20085fc:	32 80 00 07 	bne,a   2008618 <_Heap_Walk+0x190>             
 2008600:	d6 06 20 08 	ld  [ %i0 + 8 ], %o3                           
    (*printer)(                                                       
 2008604:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 2008608:	90 10 00 19 	mov  %i1, %o0                                  
 200860c:	92 10 20 01 	mov  1, %o1                                    
 2008610:	10 bf ff ea 	b  20085b8 <_Heap_Walk+0x130>                  
 2008614:	94 12 a3 30 	or  %o2, 0x330, %o2                            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 2008618:	ec 06 20 10 	ld  [ %i0 + 0x10 ], %l6                        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200861c:	a4 10 00 18 	mov  %i0, %l2                                  
 2008620:	10 80 00 32 	b  20086e8 <_Heap_Walk+0x260>                  
 2008624:	ae 10 00 0b 	mov  %o3, %l7                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 2008628:	80 a0 80 17 	cmp  %g2, %l7                                  
 200862c:	18 80 00 05 	bgu  2008640 <_Heap_Walk+0x1b8>                
 2008630:	82 10 20 00 	clr  %g1                                       
 2008634:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2008638:	80 a0 40 17 	cmp  %g1, %l7                                  
 200863c:	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 ) ) {              
 2008640:	80 a0 60 00 	cmp  %g1, 0                                    
 2008644:	32 80 00 08 	bne,a   2008664 <_Heap_Walk+0x1dc>             
 2008648:	90 05 e0 08 	add  %l7, 8, %o0                               
      (*printer)(                                                     
 200864c:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 2008650:	96 10 00 17 	mov  %l7, %o3                                  
 2008654:	90 10 00 19 	mov  %i1, %o0                                  
 2008658:	92 10 20 01 	mov  1, %o1                                    
 200865c:	10 80 00 bd 	b  2008950 <_Heap_Walk+0x4c8>                  
 2008660:	94 12 a3 48 	or  %o2, 0x348, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 2008664:	7f ff e5 1d 	call  2001ad8 <.urem>                          
 2008668:	92 10 00 16 	mov  %l6, %o1                                  
 200866c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008670:	22 80 00 08 	be,a   2008690 <_Heap_Walk+0x208>              
 2008674:	c2 05 e0 04 	ld  [ %l7 + 4 ], %g1                           
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 2008678:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200867c:	96 10 00 17 	mov  %l7, %o3                                  
 2008680:	90 10 00 19 	mov  %i1, %o0                                  
 2008684:	92 10 20 01 	mov  1, %o1                                    
 2008688:	10 80 00 b2 	b  2008950 <_Heap_Walk+0x4c8>                  
 200868c:	94 12 a3 68 	or  %o2, 0x368, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 2008690:	82 08 7f fe 	and  %g1, -2, %g1                              
 2008694:	82 05 c0 01 	add  %l7, %g1, %g1                             
 2008698:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200869c:	80 88 60 01 	btst  1, %g1                                   
 20086a0:	22 80 00 08 	be,a   20086c0 <_Heap_Walk+0x238>              
 20086a4:	d8 05 e0 0c 	ld  [ %l7 + 0xc ], %o4                         
      (*printer)(                                                     
 20086a8:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 20086ac:	96 10 00 17 	mov  %l7, %o3                                  
 20086b0:	90 10 00 19 	mov  %i1, %o0                                  
 20086b4:	92 10 20 01 	mov  1, %o1                                    
 20086b8:	10 80 00 a6 	b  2008950 <_Heap_Walk+0x4c8>                  
 20086bc:	94 12 a3 98 	or  %o2, 0x398, %o2                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 20086c0:	80 a3 00 12 	cmp  %o4, %l2                                  
 20086c4:	02 80 00 08 	be  20086e4 <_Heap_Walk+0x25c>                 
 20086c8:	a4 10 00 17 	mov  %l7, %l2                                  
      (*printer)(                                                     
 20086cc:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 20086d0:	96 10 00 17 	mov  %l7, %o3                                  
 20086d4:	90 10 00 19 	mov  %i1, %o0                                  
 20086d8:	92 10 20 01 	mov  1, %o1                                    
 20086dc:	10 80 00 4a 	b  2008804 <_Heap_Walk+0x37c>                  
 20086e0:	94 12 a3 b8 	or  %o2, 0x3b8, %o2                            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
 20086e4:	ee 05 e0 08 	ld  [ %l7 + 8 ], %l7                           
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
 20086e8:	80 a5 c0 18 	cmp  %l7, %i0                                  
 20086ec:	32 bf ff cf 	bne,a   2008628 <_Heap_Walk+0x1a0>             
 20086f0:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 20086f4:	10 80 00 89 	b  2008918 <_Heap_Walk+0x490>                  
 20086f8:	37 00 80 77 	sethi  %hi(0x201dc00), %i3                     
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
 20086fc:	80 8d a0 01 	btst  1, %l6                                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2008700:	ac 0d bf fe 	and  %l6, -2, %l6                              
 2008704:	02 80 00 0a 	be  200872c <_Heap_Walk+0x2a4>                 
 2008708:	a4 04 00 16 	add  %l0, %l6, %l2                             
      (*printer)(                                                     
 200870c:	90 10 00 19 	mov  %i1, %o0                                  
 2008710:	92 10 20 00 	clr  %o1                                       
 2008714:	94 10 00 1a 	mov  %i2, %o2                                  
 2008718:	96 10 00 10 	mov  %l0, %o3                                  
 200871c:	9f c4 40 00 	call  %l1                                      
 2008720:	98 10 00 16 	mov  %l6, %o4                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
 2008724:	10 80 00 0a 	b  200874c <_Heap_Walk+0x2c4>                  
 2008728:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 200872c:	da 04 00 00 	ld  [ %l0 ], %o5                               
 2008730:	90 10 00 19 	mov  %i1, %o0                                  
 2008734:	92 10 20 00 	clr  %o1                                       
 2008738:	94 10 00 1b 	mov  %i3, %o2                                  
 200873c:	96 10 00 10 	mov  %l0, %o3                                  
 2008740:	9f c4 40 00 	call  %l1                                      
 2008744:	98 10 00 16 	mov  %l6, %o4                                  
 2008748:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
 200874c:	80 a0 80 12 	cmp  %g2, %l2                                  
 2008750:	18 80 00 05 	bgu  2008764 <_Heap_Walk+0x2dc>                <== NEVER TAKEN
 2008754:	82 10 20 00 	clr  %g1                                       
 2008758:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200875c:	80 a0 40 12 	cmp  %g1, %l2                                  
 2008760:	82 60 3f ff 	subx  %g0, -1, %g1                             
        block_size,                                                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
 2008764:	80 a0 60 00 	cmp  %g1, 0                                    
 2008768:	32 80 00 09 	bne,a   200878c <_Heap_Walk+0x304>             
 200876c:	90 10 00 16 	mov  %l6, %o0                                  
      (*printer)(                                                     
 2008770:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 2008774:	90 10 00 19 	mov  %i1, %o0                                  
 2008778:	96 10 00 10 	mov  %l0, %o3                                  
 200877c:	98 10 00 12 	mov  %l2, %o4                                  
 2008780:	92 10 20 01 	mov  1, %o1                                    
 2008784:	10 80 00 20 	b  2008804 <_Heap_Walk+0x37c>                  
 2008788:	94 12 a0 30 	or  %o2, 0x30, %o2                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
 200878c:	7f ff e4 d3 	call  2001ad8 <.urem>                          
 2008790:	92 10 00 15 	mov  %l5, %o1                                  
 2008794:	80 a2 20 00 	cmp  %o0, 0                                    
 2008798:	02 80 00 09 	be  20087bc <_Heap_Walk+0x334>                 
 200879c:	80 a5 80 13 	cmp  %l6, %l3                                  
      (*printer)(                                                     
 20087a0:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 20087a4:	90 10 00 19 	mov  %i1, %o0                                  
 20087a8:	96 10 00 10 	mov  %l0, %o3                                  
 20087ac:	98 10 00 16 	mov  %l6, %o4                                  
 20087b0:	92 10 20 01 	mov  1, %o1                                    
 20087b4:	10 80 00 14 	b  2008804 <_Heap_Walk+0x37c>                  
 20087b8:	94 12 a0 60 	or  %o2, 0x60, %o2                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
 20087bc:	1a 80 00 0a 	bcc  20087e4 <_Heap_Walk+0x35c>                
 20087c0:	80 a4 80 10 	cmp  %l2, %l0                                  
      (*printer)(                                                     
 20087c4:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 20087c8:	90 10 00 19 	mov  %i1, %o0                                  
 20087cc:	96 10 00 10 	mov  %l0, %o3                                  
 20087d0:	98 10 00 16 	mov  %l6, %o4                                  
 20087d4:	9a 10 00 13 	mov  %l3, %o5                                  
 20087d8:	92 10 20 01 	mov  1, %o1                                    
 20087dc:	10 80 00 3b 	b  20088c8 <_Heap_Walk+0x440>                  
 20087e0:	94 12 a0 90 	or  %o2, 0x90, %o2                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
 20087e4:	38 80 00 0b 	bgu,a   2008810 <_Heap_Walk+0x388>             
 20087e8:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
      (*printer)(                                                     
 20087ec:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 20087f0:	90 10 00 19 	mov  %i1, %o0                                  
 20087f4:	96 10 00 10 	mov  %l0, %o3                                  
 20087f8:	98 10 00 12 	mov  %l2, %o4                                  
 20087fc:	92 10 20 01 	mov  1, %o1                                    
 2008800:	94 12 a0 c0 	or  %o2, 0xc0, %o2                             
 2008804:	9f c4 40 00 	call  %l1                                      
 2008808:	b0 10 20 00 	clr  %i0                                       
 200880c:	30 80 00 53 	b,a   2008958 <_Heap_Walk+0x4d0>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 2008810:	80 88 60 01 	btst  1, %g1                                   
 2008814:	32 80 00 46 	bne,a   200892c <_Heap_Walk+0x4a4>             
 2008818:	a0 10 00 12 	mov  %l2, %l0                                  
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200881c:	fa 04 20 04 	ld  [ %l0 + 4 ], %i5                           
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 2008820:	d8 04 20 0c 	ld  [ %l0 + 0xc ], %o4                         
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 2008824:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2008828:	ac 0f 7f fe 	and  %i5, -2, %l6                              
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200882c:	1b 00 80 77 	sethi  %hi(0x201dc00), %o5                     
 2008830:	80 a3 00 01 	cmp  %o4, %g1                                  
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
 2008834:	c6 06 20 0c 	ld  [ %i0 + 0xc ], %g3                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2008838:	ae 04 00 16 	add  %l0, %l6, %l7                             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200883c:	02 80 00 07 	be  2008858 <_Heap_Walk+0x3d0>                 
 2008840:	9a 13 60 f8 	or  %o5, 0xf8, %o5                             
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
 2008844:	1b 00 80 77 	sethi  %hi(0x201dc00), %o5                     
 2008848:	80 a3 00 18 	cmp  %o4, %i0                                  
 200884c:	02 80 00 03 	be  2008858 <_Heap_Walk+0x3d0>                 
 2008850:	9a 13 61 10 	or  %o5, 0x110, %o5                            
 2008854:	9a 10 00 1c 	mov  %i4, %o5                                  
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 2008858:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
 200885c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2008860:	80 a0 80 03 	cmp  %g2, %g3                                  
 2008864:	02 80 00 07 	be  2008880 <_Heap_Walk+0x3f8>                 
 2008868:	82 10 61 20 	or  %g1, 0x120, %g1                            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 200886c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2008870:	80 a0 80 18 	cmp  %g2, %i0                                  
 2008874:	02 80 00 03 	be  2008880 <_Heap_Walk+0x3f8>                 
 2008878:	82 10 61 30 	or  %g1, 0x130, %g1                            
 200887c:	82 10 00 1c 	mov  %i4, %g1                                  
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 2008880:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        
 2008884:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2008888:	90 10 00 19 	mov  %i1, %o0                                  
 200888c:	92 10 20 00 	clr  %o1                                       
 2008890:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 2008894:	96 10 00 10 	mov  %l0, %o3                                  
 2008898:	9f c4 40 00 	call  %l1                                      
 200889c:	94 12 a1 40 	or  %o2, 0x140, %o2                            
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 20088a0:	da 05 c0 00 	ld  [ %l7 ], %o5                               
 20088a4:	80 a5 80 0d 	cmp  %l6, %o5                                  
 20088a8:	02 80 00 0b 	be  20088d4 <_Heap_Walk+0x44c>                 
 20088ac:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
    (*printer)(                                                       
 20088b0:	ee 23 a0 5c 	st  %l7, [ %sp + 0x5c ]                        
 20088b4:	90 10 00 19 	mov  %i1, %o0                                  
 20088b8:	96 10 00 10 	mov  %l0, %o3                                  
 20088bc:	98 10 00 16 	mov  %l6, %o4                                  
 20088c0:	92 10 20 01 	mov  1, %o1                                    
 20088c4:	94 12 a1 70 	or  %o2, 0x170, %o2                            
 20088c8:	9f c4 40 00 	call  %l1                                      
 20088cc:	b0 10 20 00 	clr  %i0                                       
 20088d0:	30 80 00 22 	b,a   2008958 <_Heap_Walk+0x4d0>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 20088d4:	80 8f 60 01 	btst  1, %i5                                   
 20088d8:	32 80 00 0b 	bne,a   2008904 <_Heap_Walk+0x47c>             
 20088dc:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    (*printer)(                                                       
 20088e0:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
 20088e4:	90 10 00 19 	mov  %i1, %o0                                  
 20088e8:	96 10 00 10 	mov  %l0, %o3                                  
 20088ec:	92 10 20 01 	mov  1, %o1                                    
 20088f0:	10 80 00 18 	b  2008950 <_Heap_Walk+0x4c8>                  
 20088f4:	94 12 a1 b0 	or  %o2, 0x1b0, %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 ) {                                      
 20088f8:	22 80 00 0d 	be,a   200892c <_Heap_Walk+0x4a4>              
 20088fc:	a0 10 00 12 	mov  %l2, %l0                                  
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 2008900:	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 ) {                            
 2008904:	80 a0 40 18 	cmp  %g1, %i0                                  
 2008908:	12 bf ff fc 	bne  20088f8 <_Heap_Walk+0x470>                
 200890c:	80 a0 40 10 	cmp  %g1, %l0                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2008910:	10 80 00 0c 	b  2008940 <_Heap_Walk+0x4b8>                  
 2008914:	15 00 80 77 	sethi  %hi(0x201dc00), %o2                     
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
      (*printer)(                                                     
 2008918:	35 00 80 76 	sethi  %hi(0x201d800), %i2                     
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 200891c:	39 00 80 77 	sethi  %hi(0x201dc00), %i4                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 2008920:	b6 16 e0 08 	or  %i3, 8, %i3                                
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
                                                                      
    if ( prev_used ) {                                                
      (*printer)(                                                     
 2008924:	b4 16 a3 f0 	or  %i2, 0x3f0, %i2                            
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
 2008928:	b8 17 21 08 	or  %i4, 0x108, %i4                            
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
 200892c:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008930:	32 bf ff 73 	bne,a   20086fc <_Heap_Walk+0x274>             
 2008934:	ec 04 20 04 	ld  [ %l0 + 4 ], %l6                           
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2008938:	81 c7 e0 08 	ret                                            
 200893c:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 2008940:	90 10 00 19 	mov  %i1, %o0                                  
 2008944:	96 10 00 10 	mov  %l0, %o3                                  
 2008948:	92 10 20 01 	mov  1, %o1                                    
 200894c:	94 12 a1 e0 	or  %o2, 0x1e0, %o2                            
 2008950:	9f c4 40 00 	call  %l1                                      
 2008954:	b0 10 20 00 	clr  %i0                                       
 2008958:	81 c7 e0 08 	ret                                            
 200895c:	81 e8 00 00 	restore                                        
                                                                      

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

0200771c <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 200771c:	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 )                                       
 2007720:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
 2007724:	a0 10 00 18 	mov  %i0, %l0                                  
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
 2007728:	80 a0 60 00 	cmp  %g1, 0                                    
 200772c:	02 80 00 20 	be  20077ac <_Objects_Allocate+0x90>           <== NEVER TAKEN
 2007730:	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 );
 2007734:	a2 04 20 20 	add  %l0, 0x20, %l1                            
 2007738:	7f ff fd 8f 	call  2006d74 <_Chain_Get>                     
 200773c:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 2007740:	c2 0c 20 12 	ldub  [ %l0 + 0x12 ], %g1                      
 2007744:	80 a0 60 00 	cmp  %g1, 0                                    
 2007748:	02 80 00 19 	be  20077ac <_Objects_Allocate+0x90>           
 200774c:	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 ) {                                              
 2007750:	80 a2 20 00 	cmp  %o0, 0                                    
 2007754:	32 80 00 0a 	bne,a   200777c <_Objects_Allocate+0x60>       
 2007758:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
      _Objects_Extend_information( information );                     
 200775c:	40 00 00 1e 	call  20077d4 <_Objects_Extend_information>    
 2007760:	90 10 00 10 	mov  %l0, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 2007764:	7f ff fd 84 	call  2006d74 <_Chain_Get>                     
 2007768:	90 10 00 11 	mov  %l1, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 200776c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007770:	02 80 00 0f 	be  20077ac <_Objects_Allocate+0x90>           
 2007774:	01 00 00 00 	nop                                            
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 2007778:	c2 14 20 0a 	lduh  [ %l0 + 0xa ], %g1                       
 200777c:	d0 16 20 0a 	lduh  [ %i0 + 0xa ], %o0                       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007780:	d2 14 20 14 	lduh  [ %l0 + 0x14 ], %o1                      
 2007784:	40 00 49 c4 	call  2019e94 <.udiv>                          
 2007788:	90 22 00 01 	sub  %o0, %g1, %o0                             
 200778c:	c2 04 20 30 	ld  [ %l0 + 0x30 ], %g1                        
 2007790:	91 2a 20 02 	sll  %o0, 2, %o0                               
      information->inactive--;                                        
 2007794:	c6 14 20 2c 	lduh  [ %l0 + 0x2c ], %g3                      
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 2007798:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
      information->inactive--;                                        
 200779c:	86 00 ff ff 	add  %g3, -1, %g3                              
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 20077a0:	84 00 bf ff 	add  %g2, -1, %g2                              
      information->inactive--;                                        
 20077a4:	c6 34 20 2c 	sth  %g3, [ %l0 + 0x2c ]                       
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 20077a8:	c4 20 40 08 	st  %g2, [ %g1 + %o0 ]                         
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
 20077ac:	81 c7 e0 08 	ret                                            
 20077b0:	81 e8 00 00 	restore                                        
                                                                      

020077d4 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
 20077d4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 20077d8:	e4 06 20 34 	ld  [ %i0 + 0x34 ], %l2                        
 20077dc:	80 a4 a0 00 	cmp  %l2, 0                                    
 20077e0:	12 80 00 06 	bne  20077f8 <_Objects_Extend_information+0x24>
 20077e4:	e6 16 20 0a 	lduh  [ %i0 + 0xa ], %l3                       
 20077e8:	a0 10 00 13 	mov  %l3, %l0                                  
 20077ec:	a2 10 20 00 	clr  %l1                                       
 20077f0:	10 80 00 15 	b  2007844 <_Objects_Extend_information+0x70>  
 20077f4:	a8 10 20 00 	clr  %l4                                       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 20077f8:	e2 16 20 14 	lduh  [ %i0 + 0x14 ], %l1                      
 20077fc:	d0 16 20 10 	lduh  [ %i0 + 0x10 ], %o0                      
 2007800:	40 00 49 a5 	call  2019e94 <.udiv>                          
 2007804:	92 10 00 11 	mov  %l1, %o1                                  
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL )              
 2007808:	82 10 00 11 	mov  %l1, %g1                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 200780c:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2007810:	a0 10 00 13 	mov  %l3, %l0                                  
 2007814:	a9 32 20 10 	srl  %o0, 0x10, %l4                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2007818:	10 80 00 08 	b  2007838 <_Objects_Extend_information+0x64>  
 200781c:	a2 10 20 00 	clr  %l1                                       
      if ( information->object_blocks[ block ] == NULL )              
 2007820:	c4 04 80 02 	ld  [ %l2 + %g2 ], %g2                         
 2007824:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007828:	22 80 00 08 	be,a   2007848 <_Objects_Extend_information+0x74>
 200782c:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
 2007830:	a0 04 00 01 	add  %l0, %g1, %l0                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2007834:	a2 04 60 01 	inc  %l1                                       
 2007838:	80 a4 40 14 	cmp  %l1, %l4                                  
 200783c:	0a bf ff f9 	bcs  2007820 <_Objects_Extend_information+0x4c>
 2007840:	85 2c 60 02 	sll  %l1, 2, %g2                               
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2007844:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
 2007848:	ec 16 20 10 	lduh  [ %i0 + 0x10 ], %l6                      
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
 200784c:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
      else                                                            
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 2007850:	ac 02 00 16 	add  %o0, %l6, %l6                             
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
 2007854:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 2007858:	80 a5 80 01 	cmp  %l6, %g1                                  
 200785c:	18 80 00 88 	bgu  2007a7c <_Objects_Extend_information+0x2a8><== NEVER TAKEN
 2007860:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
 2007864:	40 00 49 52 	call  2019dac <.umul>                          
 2007868:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        
  if ( information->auto_extend ) {                                   
 200786c:	c2 0e 20 12 	ldub  [ %i0 + 0x12 ], %g1                      
 2007870:	80 a0 60 00 	cmp  %g1, 0                                    
 2007874:	02 80 00 09 	be  2007898 <_Objects_Extend_information+0xc4> 
 2007878:	01 00 00 00 	nop                                            
    new_object_block = _Workspace_Allocate( block_size );             
 200787c:	40 00 08 93 	call  2009ac8 <_Workspace_Allocate>            
 2007880:	01 00 00 00 	nop                                            
    if ( !new_object_block )                                          
 2007884:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2007888:	32 80 00 08 	bne,a   20078a8 <_Objects_Extend_information+0xd4>
 200788c:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007890:	81 c7 e0 08 	ret                                            
 2007894:	81 e8 00 00 	restore                                        
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
 2007898:	40 00 08 7e 	call  2009a90 <_Workspace_Allocate_or_fatal_error>
 200789c:	01 00 00 00 	nop                                            
 20078a0:	a4 10 00 08 	mov  %o0, %l2                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  If the index_base is the maximum we need to grow the tables.    
   */                                                                 
  if (index_base >= information->maximum ) {                          
 20078a4:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 20078a8:	80 a4 00 01 	cmp  %l0, %g1                                  
 20078ac:	2a 80 00 53 	bcs,a   20079f8 <_Objects_Extend_information+0x224>
 20078b0:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
 20078b4:	82 05 80 13 	add  %l6, %l3, %g1                             
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
 20078b8:	ae 05 20 01 	add  %l4, 1, %l7                               
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
 20078bc:	91 2d e0 01 	sll  %l7, 1, %o0                               
 20078c0:	90 02 00 17 	add  %o0, %l7, %o0                             
 20078c4:	90 00 40 08 	add  %g1, %o0, %o0                             
 20078c8:	40 00 08 80 	call  2009ac8 <_Workspace_Allocate>            
 20078cc:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
    if ( !object_blocks ) {                                           
 20078d0:	aa 92 20 00 	orcc  %o0, 0, %l5                              
 20078d4:	32 80 00 06 	bne,a   20078ec <_Objects_Extend_information+0x118>
 20078d8:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
      _Workspace_Free( new_object_block );                            
 20078dc:	40 00 08 84 	call  2009aec <_Workspace_Free>                
 20078e0:	90 10 00 12 	mov  %l2, %o0                                  
      return;                                                         
 20078e4:	81 c7 e0 08 	ret                                            
 20078e8:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
 20078ec:	af 2d e0 02 	sll  %l7, 2, %l7                               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
 20078f0:	80 a0 40 13 	cmp  %g1, %l3                                  
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
 20078f4:	ba 05 40 17 	add  %l5, %l7, %i5                             
 20078f8:	82 10 20 00 	clr  %g1                                       
 20078fc:	08 80 00 14 	bleu  200794c <_Objects_Extend_information+0x178>
 2007900:	ae 07 40 17 	add  %i5, %l7, %l7                             
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
 2007904:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 2007908:	b9 2d 20 02 	sll  %l4, 2, %i4                               
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
 200790c:	40 00 26 4b 	call  2011238 <memcpy>                         
 2007910:	94 10 00 1c 	mov  %i4, %o2                                  
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
 2007914:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
 2007918:	94 10 00 1c 	mov  %i4, %o2                                  
 200791c:	40 00 26 47 	call  2011238 <memcpy>                         
 2007920:	90 10 00 1d 	mov  %i5, %o0                                  
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 2007924:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007928:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 200792c:	a6 04 c0 01 	add  %l3, %g1, %l3                             
 2007930:	90 10 00 17 	mov  %l7, %o0                                  
 2007934:	40 00 26 41 	call  2011238 <memcpy>                         
 2007938:	95 2c e0 02 	sll  %l3, 2, %o2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 200793c:	10 80 00 08 	b  200795c <_Objects_Extend_information+0x188> 
 2007940:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2007944:	82 00 60 01 	inc  %g1                                       
        local_table[ index ] = NULL;                                  
 2007948:	c0 20 80 17 	clr  [ %g2 + %l7 ]                             
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 200794c:	80 a0 40 13 	cmp  %g1, %l3                                  
 2007950:	2a bf ff fd 	bcs,a   2007944 <_Objects_Extend_information+0x170>
 2007954:	85 28 60 02 	sll  %g1, 2, %g2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2007958:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 200795c:	a9 2d 20 02 	sll  %l4, 2, %l4                               
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2007960:	85 2c 20 02 	sll  %l0, 2, %g2                               
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
 2007964:	c0 27 40 14 	clr  [ %i5 + %l4 ]                             
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 2007968:	c0 25 40 14 	clr  [ %l5 + %l4 ]                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 200796c:	86 04 00 03 	add  %l0, %g3, %g3                             
 2007970:	84 05 c0 02 	add  %l7, %g2, %g2                             
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2007974:	10 80 00 04 	b  2007984 <_Objects_Extend_information+0x1b0> 
 2007978:	82 10 00 10 	mov  %l0, %g1                                  
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
 200797c:	82 00 60 01 	inc  %g1                                       
 2007980:	84 00 a0 04 	add  %g2, 4, %g2                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2007984:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007988:	2a bf ff fd 	bcs,a   200797c <_Objects_Extend_information+0x1a8>
 200798c:	c0 20 80 00 	clr  [ %g2 ]                                   
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
 2007990:	7f ff e9 8d 	call  2001fc4 <sparc_disable_interrupts>       
 2007994:	01 00 00 00 	nop                                            
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 2007998:	c8 06 00 00 	ld  [ %i0 ], %g4                               
 200799c:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
 20079a0:	ec 36 20 10 	sth  %l6, [ %i0 + 0x10 ]                       
    information->maximum_id = _Objects_Build_id(                      
 20079a4:	ad 2d a0 10 	sll  %l6, 0x10, %l6                            
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
 20079a8:	e6 06 20 34 	ld  [ %i0 + 0x34 ], %l3                        
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 20079ac:	83 35 a0 10 	srl  %l6, 0x10, %g1                            
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
 20079b0:	fa 26 20 30 	st  %i5, [ %i0 + 0x30 ]                        
    information->local_table = local_table;                           
 20079b4:	ee 26 20 1c 	st  %l7, [ %i0 + 0x1c ]                        
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 20079b8:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 20079bc:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
 20079c0:	ea 26 20 34 	st  %l5, [ %i0 + 0x34 ]                        
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 20079c4:	07 00 00 40 	sethi  %hi(0x10000), %g3                       
 20079c8:	ac 11 00 03 	or  %g4, %g3, %l6                              
 20079cc:	ac 15 80 02 	or  %l6, %g2, %l6                              
 20079d0:	ac 15 80 01 	or  %l6, %g1, %l6                              
 20079d4:	ec 26 20 0c 	st  %l6, [ %i0 + 0xc ]                         
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
 20079d8:	7f ff e9 7f 	call  2001fd4 <sparc_enable_interrupts>        
 20079dc:	01 00 00 00 	nop                                            
                                                                      
    if ( old_tables )                                                 
 20079e0:	80 a4 e0 00 	cmp  %l3, 0                                    
 20079e4:	22 80 00 05 	be,a   20079f8 <_Objects_Extend_information+0x224>
 20079e8:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
      _Workspace_Free( old_tables );                                  
 20079ec:	40 00 08 40 	call  2009aec <_Workspace_Free>                
 20079f0:	90 10 00 13 	mov  %l3, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 20079f4:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 20079f8:	d4 16 20 14 	lduh  [ %i0 + 0x14 ], %o2                      
 20079fc:	d6 06 20 18 	ld  [ %i0 + 0x18 ], %o3                        
 2007a00:	92 10 00 12 	mov  %l2, %o1                                  
 2007a04:	90 07 bf f4 	add  %fp, -12, %o0                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2007a08:	a3 2c 60 02 	sll  %l1, 2, %l1                               
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2007a0c:	a8 06 20 20 	add  %i0, 0x20, %l4                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 2007a10:	e4 20 40 11 	st  %l2, [ %g1 + %l1 ]                         
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 2007a14:	27 00 00 40 	sethi  %hi(0x10000), %l3                       
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 2007a18:	40 00 16 48 	call  200d338 <_Chain_Initialize>              
 2007a1c:	a4 10 00 08 	mov  %o0, %l2                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2007a20:	30 80 00 0c 	b,a   2007a50 <_Objects_Extend_information+0x27c>
                                                                      
    the_object->id = _Objects_Build_id(                               
 2007a24:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
 2007a28:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 2007a2c:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
 2007a30:	82 10 40 13 	or  %g1, %l3, %g1                              
 2007a34:	82 10 40 02 	or  %g1, %g2, %g1                              
 2007a38:	82 10 40 10 	or  %g1, %l0, %g1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2007a3c:	92 10 00 08 	mov  %o0, %o1                                  
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
 2007a40:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
 2007a44:	a0 04 20 01 	inc  %l0                                       
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2007a48:	7f ff fc b5 	call  2006d1c <_Chain_Append>                  
 2007a4c:	90 10 00 14 	mov  %l4, %o0                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2007a50:	7f ff fc c9 	call  2006d74 <_Chain_Get>                     
 2007a54:	90 10 00 12 	mov  %l2, %o0                                  
 2007a58:	80 a2 20 00 	cmp  %o0, 0                                    
 2007a5c:	32 bf ff f2 	bne,a   2007a24 <_Objects_Extend_information+0x250>
 2007a60:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
 2007a64:	c2 16 20 2c 	lduh  [ %i0 + 0x2c ], %g1                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 2007a68:	c8 16 20 14 	lduh  [ %i0 + 0x14 ], %g4                      
 2007a6c:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
  information->inactive =                                             
 2007a70:	82 01 00 01 	add  %g4, %g1, %g1                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 2007a74:	c8 20 80 11 	st  %g4, [ %g2 + %l1 ]                         
  information->inactive =                                             
 2007a78:	c2 36 20 2c 	sth  %g1, [ %i0 + 0x2c ]                       
 2007a7c:	81 c7 e0 08 	ret                                            
 2007a80:	81 e8 00 00 	restore                                        
                                                                      

02007b2c <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
 2007b2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 2007b30:	80 a6 60 00 	cmp  %i1, 0                                    
 2007b34:	22 80 00 1a 	be,a   2007b9c <_Objects_Get_information+0x70> 
 2007b38:	b0 10 20 00 	clr  %i0                                       
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
 2007b3c:	40 00 17 9d 	call  200d9b0 <_Objects_API_maximum_class>     
 2007b40:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 2007b44:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b48:	22 80 00 15 	be,a   2007b9c <_Objects_Get_information+0x70> 
 2007b4c:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 2007b50:	80 a6 40 08 	cmp  %i1, %o0                                  
 2007b54:	38 80 00 12 	bgu,a   2007b9c <_Objects_Get_information+0x70>
 2007b58:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 2007b5c:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2007b60:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2007b64:	82 10 61 f0 	or  %g1, 0x1f0, %g1	! 201e1f0 <_Objects_Information_table>
 2007b68:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2007b6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b70:	02 80 00 0b 	be  2007b9c <_Objects_Get_information+0x70>    <== NEVER TAKEN
 2007b74:	b0 10 20 00 	clr  %i0                                       
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 2007b78:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 2007b7c:	f0 00 40 19 	ld  [ %g1 + %i1 ], %i0                         
  if ( !info )                                                        
 2007b80:	80 a6 20 00 	cmp  %i0, 0                                    
 2007b84:	02 80 00 06 	be  2007b9c <_Objects_Get_information+0x70>    <== NEVER TAKEN
 2007b88:	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 )                                         
 2007b8c:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2007b90:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b94:	22 80 00 02 	be,a   2007b9c <_Objects_Get_information+0x70> 
 2007b98:	b0 10 20 00 	clr  %i0                                       
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2007b9c:	81 c7 e0 08 	ret                                            
 2007ba0:	81 e8 00 00 	restore                                        
                                                                      

020183b4 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
 20183b4:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
                                                                      
  if ( information->maximum >= index ) {                              
 20183b8:	c2 12 20 10 	lduh  [ %o0 + 0x10 ], %g1                      
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
 20183bc:	84 22 40 02 	sub  %o1, %g2, %g2                             
 20183c0:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( information->maximum >= index ) {                              
 20183c4:	80 a0 40 02 	cmp  %g1, %g2                                  
 20183c8:	0a 80 00 09 	bcs  20183ec <_Objects_Get_no_protection+0x38> 
 20183cc:	85 28 a0 02 	sll  %g2, 2, %g2                               
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
 20183d0:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 20183d4:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
 20183d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20183dc:	02 80 00 05 	be  20183f0 <_Objects_Get_no_protection+0x3c>  <== NEVER TAKEN
 20183e0:	82 10 20 01 	mov  1, %g1                                    
      *location = OBJECTS_LOCAL;                                      
      return the_object;                                              
 20183e4:	81 c3 e0 08 	retl                                           
 20183e8:	c0 22 80 00 	clr  [ %o2 ]                                   
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
 20183ec:	82 10 20 01 	mov  1, %g1                                    
 20183f0:	90 10 20 00 	clr  %o0                                       
  return NULL;                                                        
}                                                                     
 20183f4:	81 c3 e0 08 	retl                                           
 20183f8:	c2 22 80 00 	st  %g1, [ %o2 ]                               
                                                                      

0200c500 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 200c500:	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;
 200c504:	92 96 20 00 	orcc  %i0, 0, %o1                              
 200c508:	12 80 00 06 	bne  200c520 <_Objects_Id_to_name+0x20>        
 200c50c:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200c510:	03 00 80 bc 	sethi  %hi(0x202f000), %g1                     
 200c514:	c2 00 61 00 	ld  [ %g1 + 0x100 ], %g1	! 202f100 <_Thread_Executing>
 200c518:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
 200c51c:	83 32 60 18 	srl  %o1, 0x18, %g1                            
 200c520:	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 )                      
 200c524:	84 00 7f ff 	add  %g1, -1, %g2                              
 200c528:	80 a0 a0 03 	cmp  %g2, 3                                    
 200c52c:	18 80 00 18 	bgu  200c58c <_Objects_Id_to_name+0x8c>        
 200c530:	83 28 60 02 	sll  %g1, 2, %g1                               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200c534:	10 80 00 18 	b  200c594 <_Objects_Id_to_name+0x94>          
 200c538:	05 00 80 bb 	sethi  %hi(0x202ec00), %g2                     
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 200c53c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200c540:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 200c544:	80 a2 20 00 	cmp  %o0, 0                                    
 200c548:	02 80 00 11 	be  200c58c <_Objects_Id_to_name+0x8c>         <== NEVER TAKEN
 200c54c:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
 200c550:	c2 0a 20 38 	ldub  [ %o0 + 0x38 ], %g1                      
 200c554:	80 a0 60 00 	cmp  %g1, 0                                    
 200c558:	12 80 00 0d 	bne  200c58c <_Objects_Id_to_name+0x8c>        <== NEVER TAKEN
 200c55c:	01 00 00 00 	nop                                            
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 200c560:	7f ff ff cb 	call  200c48c <_Objects_Get>                   
 200c564:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 200c568:	80 a2 20 00 	cmp  %o0, 0                                    
 200c56c:	02 80 00 08 	be  200c58c <_Objects_Id_to_name+0x8c>         
 200c570:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 200c574:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
 200c578:	b0 10 20 00 	clr  %i0                                       
 200c57c:	40 00 02 72 	call  200cf44 <_Thread_Enable_dispatch>        
 200c580:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 200c584:	81 c7 e0 08 	ret                                            
 200c588:	81 e8 00 00 	restore                                        
}                                                                     
 200c58c:	81 c7 e0 08 	ret                                            
 200c590:	91 e8 20 03 	restore  %g0, 3, %o0                           
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 200c594:	84 10 a3 a0 	or  %g2, 0x3a0, %g2                            
 200c598:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200c59c:	80 a0 60 00 	cmp  %g1, 0                                    
 200c5a0:	12 bf ff e7 	bne  200c53c <_Objects_Id_to_name+0x3c>        
 200c5a4:	85 32 60 1b 	srl  %o1, 0x1b, %g2                            
 200c5a8:	30 bf ff f9 	b,a   200c58c <_Objects_Id_to_name+0x8c>       
                                                                      

020084b0 <_Objects_Set_name>: bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name ) {
 20084b0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
 20084b4:	d2 16 20 3a 	lduh  [ %i0 + 0x3a ], %o1                      
 20084b8:	40 00 2a 89 	call  2012edc <strnlen>                        
 20084bc:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
 20084c0:	c2 0e 20 38 	ldub  [ %i0 + 0x38 ], %g1                      
 20084c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20084c8:	02 80 00 17 	be  2008524 <_Objects_Set_name+0x74>           
 20084cc:	a0 10 00 08 	mov  %o0, %l0                                  
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
 20084d0:	90 02 20 01 	inc  %o0                                       
 20084d4:	40 00 07 42 	call  200a1dc <_Workspace_Allocate>            
 20084d8:	b0 10 20 00 	clr  %i0                                       
    if ( !d )                                                         
 20084dc:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 20084e0:	02 80 00 24 	be  2008570 <_Objects_Set_name+0xc0>           <== NEVER TAKEN
 20084e4:	01 00 00 00 	nop                                            
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
 20084e8:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 20084ec:	80 a2 20 00 	cmp  %o0, 0                                    
 20084f0:	02 80 00 06 	be  2008508 <_Objects_Set_name+0x58>           
 20084f4:	92 10 00 1a 	mov  %i2, %o1                                  
      _Workspace_Free( (void *)the_object->name.name_p );             
 20084f8:	40 00 07 42 	call  200a200 <_Workspace_Free>                
 20084fc:	01 00 00 00 	nop                                            
      the_object->name.name_p = NULL;                                 
 2008500:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
 2008504:	92 10 00 1a 	mov  %i2, %o1                                  
 2008508:	90 10 00 11 	mov  %l1, %o0                                  
 200850c:	40 00 2a 39 	call  2012df0 <strncpy>                        
 2008510:	94 10 00 10 	mov  %l0, %o2                                  
    d[length] = '\0';                                                 
 2008514:	c0 2c 40 10 	clrb  [ %l1 + %l0 ]                            
    the_object->name.name_p = d;                                      
 2008518:	e2 26 60 0c 	st  %l1, [ %i1 + 0xc ]                         
 200851c:	81 c7 e0 08 	ret                                            
 2008520:	91 e8 20 01 	restore  %g0, 1, %o0                           
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2008524:	80 a2 20 01 	cmp  %o0, 1                                    
 2008528:	08 80 00 14 	bleu  2008578 <_Objects_Set_name+0xc8>         
 200852c:	c8 0e 80 00 	ldub  [ %i2 ], %g4                             
 2008530:	c6 4e a0 01 	ldsb  [ %i2 + 1 ], %g3                         
 2008534:	80 a2 20 02 	cmp  %o0, 2                                    
 2008538:	08 80 00 11 	bleu  200857c <_Objects_Set_name+0xcc>         
 200853c:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2008540:	c4 4e a0 02 	ldsb  [ %i2 + 2 ], %g2                         
 2008544:	80 a2 20 03 	cmp  %o0, 3                                    
 2008548:	85 28 a0 08 	sll  %g2, 8, %g2                               
 200854c:	08 80 00 03 	bleu  2008558 <_Objects_Set_name+0xa8>         
 2008550:	82 10 20 20 	mov  0x20, %g1                                 
 2008554:	c2 4e a0 03 	ldsb  [ %i2 + 3 ], %g1                         
 2008558:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 200855c:	b0 10 20 01 	mov  1, %i0                                    
 2008560:	86 10 c0 04 	or  %g3, %g4, %g3                              
 2008564:	84 10 c0 02 	or  %g3, %g2, %g2                              
 2008568:	82 10 80 01 	or  %g2, %g1, %g1                              
 200856c:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
 2008570:	81 c7 e0 08 	ret                                            
 2008574:	81 e8 00 00 	restore                                        
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
 2008578:	07 00 08 00 	sethi  %hi(0x200000), %g3                      
 200857c:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2008580:	10 bf ff f6 	b  2008558 <_Objects_Set_name+0xa8>            
 2008584:	82 10 20 20 	mov  0x20, %g1                                 
                                                                      

020072ac <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
 20072ac:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
 20072b0:	a0 07 bf fc 	add  %fp, -4, %l0                              
 20072b4:	90 10 00 19 	mov  %i1, %o0                                  
 20072b8:	40 00 00 7e 	call  20074b0 <_POSIX_Mutex_Get>               
 20072bc:	92 10 00 10 	mov  %l0, %o1                                  
 20072c0:	80 a2 20 00 	cmp  %o0, 0                                    
 20072c4:	22 80 00 18 	be,a   2007324 <_POSIX_Condition_variables_Wait_support+0x78>
 20072c8:	b0 10 20 16 	mov  0x16, %i0                                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 20072cc:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
 20072d0:	c4 00 60 50 	ld  [ %g1 + 0x50 ], %g2	! 2021050 <_Thread_Dispatch_disable_level>
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
 20072d4:	92 10 00 10 	mov  %l0, %o1                                  
 20072d8:	84 00 bf ff 	add  %g2, -1, %g2                              
 20072dc:	90 10 00 18 	mov  %i0, %o0                                  
 20072e0:	c4 20 60 50 	st  %g2, [ %g1 + 0x50 ]                        
 20072e4:	7f ff ff 74 	call  20070b4 <_POSIX_Condition_variables_Get> 
 20072e8:	01 00 00 00 	nop                                            
  switch ( location ) {                                               
 20072ec:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20072f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20072f4:	12 80 00 34 	bne  20073c4 <_POSIX_Condition_variables_Wait_support+0x118>
 20072f8:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
 20072fc:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 2007300:	80 a0 60 00 	cmp  %g1, 0                                    
 2007304:	02 80 00 0a 	be  200732c <_POSIX_Condition_variables_Wait_support+0x80>
 2007308:	01 00 00 00 	nop                                            
 200730c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2007310:	80 a0 40 02 	cmp  %g1, %g2                                  
 2007314:	02 80 00 06 	be  200732c <_POSIX_Condition_variables_Wait_support+0x80>
 2007318:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
 200731c:	40 00 0d 0d 	call  200a750 <_Thread_Enable_dispatch>        
 2007320:	b0 10 20 16 	mov  0x16, %i0	! 16 <PROM_START+0x16>          
        return EINVAL;                                                
 2007324:	81 c7 e0 08 	ret                                            
 2007328:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
 200732c:	40 00 00 f2 	call  20076f4 <pthread_mutex_unlock>           
 2007330:	90 10 00 19 	mov  %i1, %o0                                  
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
 2007334:	80 8e e0 ff 	btst  0xff, %i3                                
 2007338:	12 80 00 1c 	bne  20073a8 <_POSIX_Condition_variables_Wait_support+0xfc>
 200733c:	23 00 80 84 	sethi  %hi(0x2021000), %l1                     
        the_cond->Mutex = *mutex;                                     
 2007340:	c4 06 40 00 	ld  [ %i1 ], %g2                               
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 2007344:	c2 04 61 10 	ld  [ %l1 + 0x110 ], %g1                       
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
 2007348:	c4 24 20 14 	st  %g2, [ %l0 + 0x14 ]                        
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
 200734c:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
 2007350:	c6 06 00 00 	ld  [ %i0 ], %g3                               
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
 2007354:	84 04 20 18 	add  %l0, 0x18, %g2                            
        _Thread_Executing->Wait.id          = *cond;                  
 2007358:	c6 20 60 20 	st  %g3, [ %g1 + 0x20 ]                        
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
 200735c:	c4 20 60 44 	st  %g2, [ %g1 + 0x44 ]                        
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
 2007360:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
 2007364:	82 10 20 01 	mov  1, %g1                                    
 2007368:	90 10 00 02 	mov  %g2, %o0                                  
 200736c:	15 00 80 2c 	sethi  %hi(0x200b000), %o2                     
 2007370:	94 12 a0 a8 	or  %o2, 0xa8, %o2	! 200b0a8 <_Thread_queue_Timeout>
 2007374:	40 00 0e 5c 	call  200ace4 <_Thread_queue_Enqueue_with_handler>
 2007378:	c2 24 20 48 	st  %g1, [ %l0 + 0x48 ]                        
                                                                      
        _Thread_Enable_dispatch();                                    
 200737c:	40 00 0c f5 	call  200a750 <_Thread_Enable_dispatch>        
 2007380:	01 00 00 00 	nop                                            
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
 2007384:	c2 04 61 10 	ld  [ %l1 + 0x110 ], %g1                       
 2007388:	f0 00 60 34 	ld  [ %g1 + 0x34 ], %i0                        
        if ( status && status != ETIMEDOUT )                          
 200738c:	80 a6 20 74 	cmp  %i0, 0x74                                 
 2007390:	02 80 00 08 	be  20073b0 <_POSIX_Condition_variables_Wait_support+0x104>
 2007394:	80 a6 20 00 	cmp  %i0, 0                                    
 2007398:	02 80 00 06 	be  20073b0 <_POSIX_Condition_variables_Wait_support+0x104><== ALWAYS TAKEN
 200739c:	01 00 00 00 	nop                                            
 20073a0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20073a4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
 20073a8:	40 00 0c ea 	call  200a750 <_Thread_Enable_dispatch>        
 20073ac:	b0 10 20 74 	mov  0x74, %i0                                 
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
 20073b0:	40 00 00 b0 	call  2007670 <pthread_mutex_lock>             
 20073b4:	90 10 00 19 	mov  %i1, %o0                                  
      if ( mutex_status )                                             
 20073b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20073bc:	02 80 00 03 	be  20073c8 <_POSIX_Condition_variables_Wait_support+0x11c>
 20073c0:	01 00 00 00 	nop                                            
 20073c4:	b0 10 20 16 	mov  0x16, %i0	! 16 <PROM_START+0x16>          
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 20073c8:	81 c7 e0 08 	ret                                            
 20073cc:	81 e8 00 00 	restore                                        
                                                                      

0200fa0c <_POSIX_Keys_Run_destructors>: */ void _POSIX_Keys_Run_destructors( Thread_Control *thread ) {
 200fa0c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
 200fa10:	e6 06 20 08 	ld  [ %i0 + 8 ], %l3                           
   *                                                                  
   *  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;            
 200fa14:	25 00 80 79 	sethi  %hi(0x201e400), %l2                     
    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 ];     
 200fa18:	a3 2c e0 10 	sll  %l3, 0x10, %l1                            
   *                                                                  
   *  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;            
 200fa1c:	a4 14 a2 f8 	or  %l2, 0x2f8, %l2                            
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
 200fa20:	a7 34 e0 18 	srl  %l3, 0x18, %l3                            
    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 ];     
 200fa24:	a3 34 60 0e 	srl  %l1, 0xe, %l1                             
 200fa28:	a6 0c e0 07 	and  %l3, 7, %l3                               
 200fa2c:	a6 04 e0 04 	add  %l3, 4, %l3                               
 200fa30:	a7 2c e0 02 	sll  %l3, 2, %l3                               
   *                                                                  
   *  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;            
 200fa34:	a0 10 20 01 	mov  1, %l0                                    
 200fa38:	84 10 20 01 	mov  1, %g2                                    
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200fa3c:	10 80 00 15 	b  200fa90 <_POSIX_Keys_Run_destructors+0x84>  
 200fa40:	e8 14 a0 10 	lduh  [ %l2 + 0x10 ], %l4                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
 200fa44:	c6 04 a0 1c 	ld  [ %l2 + 0x1c ], %g3                        
 200fa48:	83 28 60 02 	sll  %g1, 2, %g1                               
 200fa4c:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200fa50:	a0 04 20 01 	inc  %l0                                       
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
 200fa54:	80 a0 60 00 	cmp  %g1, 0                                    
 200fa58:	02 80 00 0e 	be  200fa90 <_POSIX_Keys_Run_destructors+0x84> 
 200fa5c:	86 00 40 13 	add  %g1, %l3, %g3                             
 200fa60:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200fa64:	80 a0 60 00 	cmp  %g1, 0                                    
 200fa68:	22 80 00 0b 	be,a   200fa94 <_POSIX_Keys_Run_destructors+0x88>
 200fa6c:	83 2c 20 10 	sll  %l0, 0x10, %g1                            
        void *value = key->Values [ thread_api ][ thread_index ];     
 200fa70:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 200fa74:	d0 00 c0 11 	ld  [ %g3 + %l1 ], %o0                         
                                                                      
        if ( value != NULL ) {                                        
 200fa78:	80 a2 20 00 	cmp  %o0, 0                                    
 200fa7c:	22 80 00 06 	be,a   200fa94 <_POSIX_Keys_Run_destructors+0x88><== ALWAYS TAKEN
 200fa80:	83 2c 20 10 	sll  %l0, 0x10, %g1                            
          key->Values [ thread_api ][ thread_index ] = NULL;          
          (*key->destructor)( value );                                
 200fa84:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200fa88:	c0 20 c0 11 	clr  [ %g3 + %l1 ]                             <== NOT EXECUTED
 200fa8c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200fa90:	83 2c 20 10 	sll  %l0, 0x10, %g1                            
 200fa94:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 200fa98:	80 a0 40 14 	cmp  %g1, %l4                                  
 200fa9c:	08 bf ff ea 	bleu  200fa44 <_POSIX_Keys_Run_destructors+0x38>
 200faa0:	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 ) {                                                   
 200faa4:	02 bf ff e5 	be  200fa38 <_POSIX_Keys_Run_destructors+0x2c> <== NEVER TAKEN
 200faa8:	a0 10 20 01 	mov  1, %l0                                    
          done = false;                                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
 200faac:	81 c7 e0 08 	ret                                            
 200fab0:	81 e8 00 00 	restore                                        
                                                                      

0200b054 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
 200b054:	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(             
 200b058:	11 00 80 a1 	sethi  %hi(0x2028400), %o0                     
 200b05c:	94 07 bf fc 	add  %fp, -4, %o2                              
 200b060:	90 12 21 3c 	or  %o0, 0x13c, %o0                            
 200b064:	40 00 0c 9d 	call  200e2d8 <_Objects_Get>                   
 200b068:	92 10 00 18 	mov  %i0, %o1                                  
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200b06c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  size_t              msg_len,                                        
  unsigned int       *msg_prio,                                       
  bool                wait,                                           
  Watchdog_Interval   timeout                                         
)                                                                     
{                                                                     
 200b070:	94 10 00 19 	mov  %i1, %o2                                  
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200b074:	80 a0 60 00 	cmp  %g1, 0                                    
 200b078:	12 80 00 41 	bne  200b17c <_POSIX_Message_queue_Receive_support+0x128>
 200b07c:	9a 10 00 1d 	mov  %i5, %o5                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
 200b080:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200b084:	84 08 60 03 	and  %g1, 3, %g2                               
 200b088:	80 a0 a0 01 	cmp  %g2, 1                                    
 200b08c:	32 80 00 08 	bne,a   200b0ac <_POSIX_Message_queue_Receive_support+0x58>
 200b090:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
        _Thread_Enable_dispatch();                                    
 200b094:	40 00 0e f8 	call  200ec74 <_Thread_Enable_dispatch>        
 200b098:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EBADF );                
 200b09c:	40 00 31 00 	call  201749c <__errno>                        
 200b0a0:	01 00 00 00 	nop                                            
 200b0a4:	10 80 00 0b 	b  200b0d0 <_POSIX_Message_queue_Receive_support+0x7c>
 200b0a8:	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 ) {   
 200b0ac:	c4 02 20 68 	ld  [ %o0 + 0x68 ], %g2                        
 200b0b0:	80 a6 80 02 	cmp  %i2, %g2                                  
 200b0b4:	1a 80 00 09 	bcc  200b0d8 <_POSIX_Message_queue_Receive_support+0x84>
 200b0b8:	80 8f 20 ff 	btst  0xff, %i4                                
        _Thread_Enable_dispatch();                                    
 200b0bc:	40 00 0e ee 	call  200ec74 <_Thread_Enable_dispatch>        
 200b0c0:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
 200b0c4:	40 00 30 f6 	call  201749c <__errno>                        
 200b0c8:	01 00 00 00 	nop                                            
 200b0cc:	82 10 20 7a 	mov  0x7a, %g1	! 7a <PROM_START+0x7a>          
 200b0d0:	10 80 00 29 	b  200b174 <_POSIX_Message_queue_Receive_support+0x120>
 200b0d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200b0d8:	02 80 00 05 	be  200b0ec <_POSIX_Message_queue_Receive_support+0x98><== NEVER TAKEN
 200b0dc:	98 10 20 00 	clr  %o4                                       
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
 200b0e0:	99 30 60 0e 	srl  %g1, 0xe, %o4                             
 200b0e4:	98 1b 20 01 	xor  %o4, 1, %o4                               
 200b0e8:	98 0b 20 01 	and  %o4, 1, %o4                               
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200b0ec:	82 10 3f ff 	mov  -1, %g1                                   
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200b0f0:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 200b0f4:	92 10 00 18 	mov  %i0, %o1                                  
 200b0f8:	98 0b 20 01 	and  %o4, 1, %o4                               
 200b0fc:	96 07 bf f8 	add  %fp, -8, %o3                              
 200b100:	40 00 08 4d 	call  200d234 <_CORE_message_queue_Seize>      
 200b104:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200b108:	40 00 0e db 	call  200ec74 <_Thread_Enable_dispatch>        
 200b10c:	01 00 00 00 	nop                                            
      if (msg_prio) {                                                 
 200b110:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b114:	02 80 00 08 	be  200b134 <_POSIX_Message_queue_Receive_support+0xe0><== NEVER TAKEN
 200b118:	03 00 80 a0 	sethi  %hi(0x2028000), %g1                     
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
 200b11c:	c2 00 60 e0 	ld  [ %g1 + 0xe0 ], %g1	! 20280e0 <_Thread_Executing>
 200b120:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
 200b124:	83 38 a0 1f 	sra  %g2, 0x1f, %g1                            
 200b128:	84 18 40 02 	xor  %g1, %g2, %g2                             
 200b12c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 200b130:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
             _Thread_Executing->Wait.count                            
          );                                                          
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200b134:	37 00 80 a0 	sethi  %hi(0x2028000), %i3                     
 200b138:	c2 06 e0 e0 	ld  [ %i3 + 0xe0 ], %g1	! 20280e0 <_Thread_Executing>
 200b13c:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200b140:	80 a0 60 00 	cmp  %g1, 0                                    
 200b144:	12 80 00 05 	bne  200b158 <_POSIX_Message_queue_Receive_support+0x104>
 200b148:	01 00 00 00 	nop                                            
        return length_out;                                            
 200b14c:	f0 07 bf f8 	ld  [ %fp + -8 ], %i0                          
 200b150:	81 c7 e0 08 	ret                                            
 200b154:	81 e8 00 00 	restore                                        
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200b158:	40 00 30 d1 	call  201749c <__errno>                        
 200b15c:	01 00 00 00 	nop                                            
 200b160:	c2 06 e0 e0 	ld  [ %i3 + 0xe0 ], %g1                        
 200b164:	b4 10 00 08 	mov  %o0, %i2                                  
 200b168:	40 00 00 9b 	call  200b3d4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200b16c:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 200b170:	d0 26 80 00 	st  %o0, [ %i2 ]                               
 200b174:	81 c7 e0 08 	ret                                            
 200b178:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200b17c:	40 00 30 c8 	call  201749c <__errno>                        
 200b180:	b0 10 3f ff 	mov  -1, %i0                                   
 200b184:	82 10 20 09 	mov  9, %g1                                    
 200b188:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200b18c:	81 c7 e0 08 	ret                                            
 200b190:	81 e8 00 00 	restore                                        
                                                                      

0200ca24 <_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 ];
 200ca24:	c2 02 21 6c 	ld  [ %o0 + 0x16c ], %g1                       
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200ca28:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 200ca2c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200ca30:	12 80 00 12 	bne  200ca78 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54><== NEVER TAKEN
 200ca34:	01 00 00 00 	nop                                            
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
 200ca38:	c4 00 60 d8 	ld  [ %g1 + 0xd8 ], %g2                        
 200ca3c:	80 a0 a0 01 	cmp  %g2, 1                                    
 200ca40:	12 80 00 0e 	bne  200ca78 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54>
 200ca44:	01 00 00 00 	nop                                            
       thread_support->cancelation_requested ) {                      
 200ca48:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
 200ca4c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ca50:	02 80 00 0a 	be  200ca78 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x54>
 200ca54:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 200ca58:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200ca5c:	c4 00 60 90 	ld  [ %g1 + 0x90 ], %g2	! 201f890 <_Thread_Dispatch_disable_level>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
 200ca60:	92 10 3f ff 	mov  -1, %o1                                   
 200ca64:	84 00 bf ff 	add  %g2, -1, %g2                              
 200ca68:	c4 20 60 90 	st  %g2, [ %g1 + 0x90 ]                        
 200ca6c:	82 13 c0 00 	mov  %o7, %g1                                  
 200ca70:	40 00 01 b9 	call  200d154 <_POSIX_Thread_Exit>             
 200ca74:	9e 10 40 00 	mov  %g1, %o7                                  
  } else                                                              
    _Thread_Enable_dispatch();                                        
 200ca78:	82 13 c0 00 	mov  %o7, %g1                                  
 200ca7c:	7f ff ef c1 	call  2008980 <_Thread_Enable_dispatch>        
 200ca80:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200de44 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
 200de44:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
 200de48:	7f ff ff f4 	call  200de18 <_POSIX_Priority_Is_valid>       
 200de4c:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200de50:	80 8a 20 ff 	btst  0xff, %o0                                
 200de54:	02 80 00 37 	be  200df30 <_POSIX_Thread_Translate_sched_param+0xec><== NEVER TAKEN
 200de58:	80 a6 20 00 	cmp  %i0, 0                                    
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
 200de5c:	c0 26 80 00 	clr  [ %i2 ]                                   
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
 200de60:	12 80 00 06 	bne  200de78 <_POSIX_Thread_Translate_sched_param+0x34>
 200de64:	c0 26 c0 00 	clr  [ %i3 ]                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
 200de68:	82 10 20 01 	mov  1, %g1                                    
 200de6c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    return 0;                                                         
 200de70:	81 c7 e0 08 	ret                                            
 200de74:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
 200de78:	80 a6 20 01 	cmp  %i0, 1                                    
 200de7c:	12 80 00 04 	bne  200de8c <_POSIX_Thread_Translate_sched_param+0x48>
 200de80:	80 a6 20 02 	cmp  %i0, 2                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
 200de84:	10 80 00 29 	b  200df28 <_POSIX_Thread_Translate_sched_param+0xe4>
 200de88:	c0 26 80 00 	clr  [ %i2 ]                                   
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
 200de8c:	12 80 00 04 	bne  200de9c <_POSIX_Thread_Translate_sched_param+0x58>
 200de90:	80 a6 20 04 	cmp  %i0, 4                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
 200de94:	10 80 00 25 	b  200df28 <_POSIX_Thread_Translate_sched_param+0xe4>
 200de98:	f0 26 80 00 	st  %i0, [ %i2 ]                               
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
 200de9c:	12 80 00 25 	bne  200df30 <_POSIX_Thread_Translate_sched_param+0xec>
 200dea0:	01 00 00 00 	nop                                            
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
 200dea4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200dea8:	80 a0 60 00 	cmp  %g1, 0                                    
 200deac:	32 80 00 07 	bne,a   200dec8 <_POSIX_Thread_Translate_sched_param+0x84>
 200deb0:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
 200deb4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200deb8:	80 a0 60 00 	cmp  %g1, 0                                    
 200debc:	02 80 00 1d 	be  200df30 <_POSIX_Thread_Translate_sched_param+0xec>
 200dec0:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
 200dec4:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200dec8:	80 a0 60 00 	cmp  %g1, 0                                    
 200decc:	12 80 00 06 	bne  200dee4 <_POSIX_Thread_Translate_sched_param+0xa0>
 200ded0:	01 00 00 00 	nop                                            
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
 200ded4:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200ded8:	80 a0 60 00 	cmp  %g1, 0                                    
 200dedc:	02 80 00 15 	be  200df30 <_POSIX_Thread_Translate_sched_param+0xec>
 200dee0:	01 00 00 00 	nop                                            
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200dee4:	7f ff f1 fa 	call  200a6cc <_Timespec_To_ticks>             
 200dee8:	90 06 60 08 	add  %i1, 8, %o0                               
 200deec:	b0 10 00 08 	mov  %o0, %i0                                  
 200def0:	7f ff f1 f7 	call  200a6cc <_Timespec_To_ticks>             
 200def4:	90 06 60 10 	add  %i1, 0x10, %o0                            
 200def8:	80 a6 00 08 	cmp  %i0, %o0                                  
 200defc:	0a 80 00 0d 	bcs  200df30 <_POSIX_Thread_Translate_sched_param+0xec>
 200df00:	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 ) )  
 200df04:	7f ff ff c5 	call  200de18 <_POSIX_Priority_Is_valid>       
 200df08:	d0 06 60 04 	ld  [ %i1 + 4 ], %o0                           
 200df0c:	80 8a 20 ff 	btst  0xff, %o0                                
 200df10:	02 80 00 08 	be  200df30 <_POSIX_Thread_Translate_sched_param+0xec>
 200df14:	82 10 20 03 	mov  3, %g1                                    
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
 200df18:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
 200df1c:	03 00 80 1a 	sethi  %hi(0x2006800), %g1                     
 200df20:	82 10 62 dc 	or  %g1, 0x2dc, %g1	! 2006adc <_POSIX_Threads_Sporadic_budget_callout>
 200df24:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
 200df28:	81 c7 e0 08 	ret                                            
 200df2c:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200df30:	81 c7 e0 08 	ret                                            
 200df34:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

0200cb3c <_POSIX_Threads_Delete_extension>: */ void _POSIX_Threads_Delete_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) {
 200cb3c:	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 ];                  
 200cb40:	f0 06 61 6c 	ld  [ %i1 + 0x16c ], %i0                       
                                                                      
  /*                                                                  
   *  Run the POSIX cancellation handlers                             
   */                                                                 
  _POSIX_Threads_cancel_run( deleted );                               
 200cb44:	40 00 0b 98 	call  200f9a4 <_POSIX_Threads_cancel_run>      
 200cb48:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   *  Run all the key destructors                                     
   */                                                                 
  _POSIX_Keys_Run_destructors( deleted );                             
 200cb4c:	90 10 00 19 	mov  %i1, %o0                                  
 200cb50:	40 00 0b af 	call  200fa0c <_POSIX_Keys_Run_destructors>    
 200cb54:	a2 06 20 40 	add  %i0, 0x40, %l1                            
  /*                                                                  
   *  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 )) )   
 200cb58:	10 80 00 03 	b  200cb64 <_POSIX_Threads_Delete_extension+0x28>
 200cb5c:	e0 06 60 28 	ld  [ %i1 + 0x28 ], %l0                        
      *(void **)the_thread->Wait.return_argument = value_ptr;         
 200cb60:	e0 20 40 00 	st  %l0, [ %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 )) )   
 200cb64:	7f ff ef b2 	call  2008a2c <_Thread_queue_Dequeue>          
 200cb68:	90 10 00 11 	mov  %l1, %o0                                  
 200cb6c:	80 a2 20 00 	cmp  %o0, 0                                    
 200cb70:	32 bf ff fc 	bne,a   200cb60 <_POSIX_Threads_Delete_extension+0x24><== NEVER TAKEN
 200cb74:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        <== NOT EXECUTED
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
 200cb78:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 200cb7c:	80 a0 60 04 	cmp  %g1, 4                                    
 200cb80:	32 80 00 05 	bne,a   200cb94 <_POSIX_Threads_Delete_extension+0x58>
 200cb84:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
 200cb88:	7f ff f3 6f 	call  2009944 <_Watchdog_Remove>               
 200cb8c:	90 06 20 a4 	add  %i0, 0xa4, %o0                            
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200cb90:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
                                                                      
  (void) _Workspace_Free( api );                                      
 200cb94:	7f ff f3 d6 	call  2009aec <_Workspace_Free>                
 200cb98:	81 e8 00 00 	restore                                        
                                                                      

02006840 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
 2006840:	9d e3 bf 60 	save  %sp, -160, %sp                           
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
 2006844:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2006848:	82 10 60 2c 	or  %g1, 0x2c, %g1	! 201ec2c <Configuration_POSIX_API>
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
 200684c:	e6 00 60 30 	ld  [ %g1 + 0x30 ], %l3                        
                                                                      
  if ( !user_threads || maximum == 0 )                                
 2006850:	80 a4 e0 00 	cmp  %l3, 0                                    
 2006854:	02 80 00 1d 	be  20068c8 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2006858:	e2 00 60 34 	ld  [ %g1 + 0x34 ], %l1                        
 200685c:	80 a4 60 00 	cmp  %l1, 0                                    
 2006860:	02 80 00 1a 	be  20068c8 <_POSIX_Threads_Initialize_user_threads_body+0x88><== NEVER TAKEN
 2006864:	a4 10 20 00 	clr  %l2                                       
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 2006868:	a0 07 bf c0 	add  %fp, -64, %l0                             
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
                                                                      
    status = pthread_create(                                          
 200686c:	a8 07 bf fc 	add  %fp, -4, %l4                              
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 2006870:	40 00 1d b2 	call  200df38 <pthread_attr_init>              
 2006874:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
 2006878:	92 10 20 02 	mov  2, %o1                                    
 200687c:	40 00 1d ba 	call  200df64 <pthread_attr_setinheritsched>   
 2006880:	90 10 00 10 	mov  %l0, %o0                                  
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
 2006884:	d2 04 60 04 	ld  [ %l1 + 4 ], %o1                           
 2006888:	40 00 1d c7 	call  200dfa4 <pthread_attr_setstacksize>      
 200688c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    status = pthread_create(                                          
 2006890:	d4 04 40 00 	ld  [ %l1 ], %o2                               
 2006894:	90 10 00 14 	mov  %l4, %o0                                  
 2006898:	92 10 00 10 	mov  %l0, %o1                                  
 200689c:	7f ff ff 14 	call  20064ec <pthread_create>                 
 20068a0:	96 10 20 00 	clr  %o3                                       
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
 20068a4:	94 92 20 00 	orcc  %o0, 0, %o2                              
 20068a8:	22 80 00 05 	be,a   20068bc <_POSIX_Threads_Initialize_user_threads_body+0x7c>
 20068ac:	a4 04 a0 01 	inc  %l2                                       
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
 20068b0:	90 10 20 02 	mov  2, %o0                                    
 20068b4:	40 00 07 de 	call  200882c <_Internal_error_Occurred>       
 20068b8:	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++ ) {                       
 20068bc:	80 a4 80 13 	cmp  %l2, %l3                                  
 20068c0:	0a bf ff ec 	bcs  2006870 <_POSIX_Threads_Initialize_user_threads_body+0x30><== NEVER TAKEN
 20068c4:	a2 04 60 08 	add  %l1, 8, %l1                               
 20068c8:	81 c7 e0 08 	ret                                            
 20068cc:	81 e8 00 00 	restore                                        
                                                                      

0200ccf8 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
 200ccf8:	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 ];               
 200ccfc:	e0 06 61 6c 	ld  [ %i1 + 0x16c ], %l0                       
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
 200cd00:	40 00 04 5a 	call  200de68 <_Timespec_To_ticks>             
 200cd04:	90 04 20 94 	add  %l0, 0x94, %o0                            
 200cd08:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
 200cd0c:	c4 04 20 84 	ld  [ %l0 + 0x84 ], %g2                        
 200cd10:	d2 08 63 54 	ldub  [ %g1 + 0x354 ], %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 ) {                            
 200cd14:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200cd18:	92 22 40 02 	sub  %o1, %g2, %o1                             
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
 200cd1c:	d0 26 60 78 	st  %o0, [ %i1 + 0x78 ]                        
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200cd20:	80 a0 60 00 	cmp  %g1, 0                                    
 200cd24:	12 80 00 08 	bne  200cd44 <_POSIX_Threads_Sporadic_budget_TSR+0x4c><== NEVER TAKEN
 200cd28:	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 ) {              
 200cd2c:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200cd30:	80 a0 40 09 	cmp  %g1, %o1                                  
 200cd34:	08 80 00 04 	bleu  200cd44 <_POSIX_Threads_Sporadic_budget_TSR+0x4c>
 200cd38:	90 10 00 19 	mov  %i1, %o0                                  
      _Thread_Change_priority( the_thread, new_priority, true );      
 200cd3c:	7f ff ec af 	call  2007ff8 <_Thread_Change_priority>        
 200cd40:	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 );
 200cd44:	40 00 04 49 	call  200de68 <_Timespec_To_ticks>             
 200cd48:	90 04 20 8c 	add  %l0, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200cd4c:	31 00 80 78 	sethi  %hi(0x201e000), %i0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200cd50:	d0 24 20 b0 	st  %o0, [ %l0 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200cd54:	b2 04 20 a4 	add  %l0, 0xa4, %i1                            
 200cd58:	7f ff f2 9f 	call  20097d4 <_Watchdog_Insert>               
 200cd5c:	91 ee 23 70 	restore  %i0, 0x370, %o0                       
                                                                      

0200cca8 <_POSIX_Threads_Sporadic_budget_callout>: ) { POSIX_API_Control *api; uint32_t new_priority; api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200cca8:	c4 02 21 6c 	ld  [ %o0 + 0x16c ], %g2                       
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 200ccac:	c6 00 a0 88 	ld  [ %g2 + 0x88 ], %g3                        
 200ccb0:	05 00 80 75 	sethi  %hi(0x201d400), %g2                     
 200ccb4:	d2 08 a3 54 	ldub  [ %g2 + 0x354 ], %o1	! 201d754 <rtems_maximum_priority>
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200ccb8:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200ccbc:	92 22 40 03 	sub  %o1, %g3, %o1                             
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
 200ccc0:	86 10 3f ff 	mov  -1, %g3                                   
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
 200ccc4:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200ccc8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cccc:	12 80 00 09 	bne  200ccf0 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200ccd0:	c6 22 20 78 	st  %g3, [ %o0 + 0x78 ]                        
    /*                                                                
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
 200ccd4:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200ccd8:	80 a0 40 09 	cmp  %g1, %o1                                  
 200ccdc:	1a 80 00 05 	bcc  200ccf0 <_POSIX_Threads_Sporadic_budget_callout+0x48><== NEVER TAKEN
 200cce0:	94 10 20 01 	mov  1, %o2                                    
      _Thread_Change_priority( the_thread, new_priority, true );      
 200cce4:	82 13 c0 00 	mov  %o7, %g1                                  
 200cce8:	7f ff ec c4 	call  2007ff8 <_Thread_Change_priority>        
 200ccec:	9e 10 40 00 	mov  %g1, %o7                                  
 200ccf0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

020064cc <_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) {
 20064cc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 20064d0:	c4 06 60 68 	ld  [ %i1 + 0x68 ], %g2                        
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 20064d4:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 20064d8:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 20064dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20064e0:	12 80 00 06 	bne  20064f8 <_POSIX_Timer_TSR+0x2c>           
 20064e4:	c4 26 60 68 	st  %g2, [ %i1 + 0x68 ]                        
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
 20064e8:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 20064ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20064f0:	02 80 00 0f 	be  200652c <_POSIX_Timer_TSR+0x60>            <== NEVER TAKEN
 20064f4:	82 10 20 04 	mov  4, %g1                                    
    activated = _POSIX_Timer_Insert_helper(                           
 20064f8:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 20064fc:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2006500:	90 06 60 10 	add  %i1, 0x10, %o0                            
 2006504:	17 00 80 19 	sethi  %hi(0x2006400), %o3                     
 2006508:	98 10 00 19 	mov  %i1, %o4                                  
 200650c:	40 00 1d 49 	call  200da30 <_POSIX_Timer_Insert_helper>     
 2006510:	96 12 e0 cc 	or  %o3, 0xcc, %o3                             
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
 2006514:	80 8a 20 ff 	btst  0xff, %o0                                
 2006518:	02 80 00 0a 	be  2006540 <_POSIX_Timer_TSR+0x74>            <== NEVER TAKEN
 200651c:	01 00 00 00 	nop                                            
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
 2006520:	40 00 05 c5 	call  2007c34 <_TOD_Get>                       
 2006524:	90 06 60 6c 	add  %i1, 0x6c, %o0                            
 2006528:	82 10 20 03 	mov  3, %g1                                    
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
 200652c:	d0 06 60 38 	ld  [ %i1 + 0x38 ], %o0                        
 2006530:	d2 06 60 44 	ld  [ %i1 + 0x44 ], %o1                        
 2006534:	40 00 1c 2a 	call  200d5dc <pthread_kill>                   
 2006538:	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;                                                
 200653c:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
 2006540:	81 c7 e0 08 	ret                                            
 2006544:	81 e8 00 00 	restore                                        
                                                                      

0200fd94 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
 200fd94:	9d e3 bf 90 	save  %sp, -112, %sp                           
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
 200fd98:	98 10 20 01 	mov  1, %o4                                    
 200fd9c:	96 0e a0 ff 	and  %i2, 0xff, %o3                            
 200fda0:	a0 07 bf f4 	add  %fp, -12, %l0                             
 200fda4:	90 10 00 18 	mov  %i0, %o0                                  
 200fda8:	92 10 00 19 	mov  %i1, %o1                                  
 200fdac:	40 00 00 22 	call  200fe34 <_POSIX_signals_Clear_signals>   
 200fdb0:	94 10 00 10 	mov  %l0, %o2                                  
 200fdb4:	80 8a 20 ff 	btst  0xff, %o0                                
 200fdb8:	02 80 00 1d 	be  200fe2c <_POSIX_signals_Check_signal+0x98> 
 200fdbc:	83 2e 60 02 	sll  %i1, 2, %g1                               
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
 200fdc0:	07 00 80 7a 	sethi  %hi(0x201e800), %g3                     
 200fdc4:	85 2e 60 04 	sll  %i1, 4, %g2                               
 200fdc8:	86 10 e0 18 	or  %g3, 0x18, %g3                             
 200fdcc:	84 20 80 01 	sub  %g2, %g1, %g2                             
 200fdd0:	88 00 c0 02 	add  %g3, %g2, %g4                             
 200fdd4:	c2 01 20 08 	ld  [ %g4 + 8 ], %g1                           
 200fdd8:	80 a0 60 01 	cmp  %g1, 1                                    
 200fddc:	02 80 00 14 	be  200fe2c <_POSIX_signals_Check_signal+0x98> <== NEVER TAKEN
 200fde0:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200fde4:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
 200fde8:	e2 06 20 cc 	ld  [ %i0 + 0xcc ], %l1                        
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 200fdec:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200fdf0:	86 11 00 11 	or  %g4, %l1, %g3                              
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 200fdf4:	80 a0 a0 02 	cmp  %g2, 2                                    
 200fdf8:	12 80 00 08 	bne  200fe18 <_POSIX_signals_Check_signal+0x84>
 200fdfc:	c6 26 20 cc 	st  %g3, [ %i0 + 0xcc ]                        
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
 200fe00:	90 10 00 19 	mov  %i1, %o0                                  
 200fe04:	92 10 00 10 	mov  %l0, %o1                                  
 200fe08:	9f c0 40 00 	call  %g1                                      
 200fe0c:	94 10 20 00 	clr  %o2                                       
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
 200fe10:	10 80 00 05 	b  200fe24 <_POSIX_signals_Check_signal+0x90>  
 200fe14:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
 200fe18:	9f c0 40 00 	call  %g1                                      
 200fe1c:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 200fe20:	e2 26 20 cc 	st  %l1, [ %i0 + 0xcc ]                        
                                                                      
  return true;                                                        
 200fe24:	81 c7 e0 08 	ret                                            
 200fe28:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 200fe2c:	81 c7 e0 08 	ret                                            
 200fe30:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0201083c <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
 201083c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
 2010840:	7f ff c5 e1 	call  2001fc4 <sparc_disable_interrupts>       
 2010844:	01 00 00 00 	nop                                            
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
 2010848:	85 2e 20 04 	sll  %i0, 4, %g2                               
 201084c:	83 2e 20 02 	sll  %i0, 2, %g1                               
 2010850:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2010854:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 2010858:	84 10 a0 18 	or  %g2, 0x18, %g2	! 201e818 <_POSIX_signals_Vectors>
 201085c:	c4 00 80 01 	ld  [ %g2 + %g1 ], %g2                         
 2010860:	80 a0 a0 02 	cmp  %g2, 2                                    
 2010864:	12 80 00 0a 	bne  201088c <_POSIX_signals_Clear_process_signals+0x50>
 2010868:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
 201086c:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 2010870:	84 10 a2 10 	or  %g2, 0x210, %g2	! 201ea10 <_POSIX_signals_Siginfo>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2010874:	c6 00 40 02 	ld  [ %g1 + %g2 ], %g3                         
 2010878:	82 00 40 02 	add  %g1, %g2, %g1                             
 201087c:	82 00 60 04 	add  %g1, 4, %g1                               
 2010880:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2010884:	12 80 00 0e 	bne  20108bc <_POSIX_signals_Clear_process_signals+0x80><== NEVER TAKEN
 2010888:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
 201088c:	c6 00 a2 0c 	ld  [ %g2 + 0x20c ], %g3	! 201ea0c <_POSIX_signals_Pending>
 2010890:	b0 06 3f ff 	add  %i0, -1, %i0                              
 2010894:	82 10 20 01 	mov  1, %g1                                    
 2010898:	83 28 40 18 	sll  %g1, %i0, %g1                             
 201089c:	82 28 c0 01 	andn  %g3, %g1, %g1                            
      if ( !_POSIX_signals_Pending )                                  
 20108a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20108a4:	12 80 00 06 	bne  20108bc <_POSIX_signals_Clear_process_signals+0x80><== NEVER TAKEN
 20108a8:	c2 20 a2 0c 	st  %g1, [ %g2 + 0x20c ]                       
	_Thread_Do_post_task_switch_extension--;                             
 20108ac:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20108b0:	c4 00 63 34 	ld  [ %g1 + 0x334 ], %g2	! 201e334 <_Thread_Do_post_task_switch_extension>
 20108b4:	84 00 bf ff 	add  %g2, -1, %g2                              
 20108b8:	c4 20 63 34 	st  %g2, [ %g1 + 0x334 ]                       
    }                                                                 
  _ISR_Enable( level );                                               
 20108bc:	7f ff c5 c6 	call  2001fd4 <sparc_enable_interrupts>        
 20108c0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02006fe4 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
 2006fe4:	82 10 20 1b 	mov  0x1b, %g1	! 1b <PROM_START+0x1b>          
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
 2006fe8:	84 10 20 01 	mov  1, %g2                                    
 2006fec:	86 00 7f ff 	add  %g1, -1, %g3                              
 2006ff0:	87 28 80 03 	sll  %g2, %g3, %g3                             
 2006ff4:	80 88 c0 08 	btst  %g3, %o0                                 
 2006ff8:	12 80 00 11 	bne  200703c <_POSIX_signals_Get_highest+0x58> <== NEVER TAKEN
 2006ffc:	01 00 00 00 	nop                                            
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
 2007000:	82 00 60 01 	inc  %g1                                       
 2007004:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2007008:	12 bf ff fa 	bne  2006ff0 <_POSIX_signals_Get_highest+0xc>  
 200700c:	86 00 7f ff 	add  %g1, -1, %g3                              
 2007010:	82 10 20 01 	mov  1, %g1                                    
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
 2007014:	84 10 20 01 	mov  1, %g2                                    
 2007018:	86 00 7f ff 	add  %g1, -1, %g3                              
 200701c:	87 28 80 03 	sll  %g2, %g3, %g3                             
 2007020:	80 88 c0 08 	btst  %g3, %o0                                 
 2007024:	12 80 00 06 	bne  200703c <_POSIX_signals_Get_highest+0x58> 
 2007028:	01 00 00 00 	nop                                            
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
 200702c:	82 00 60 01 	inc  %g1                                       
 2007030:	80 a0 60 1b 	cmp  %g1, 0x1b                                 
 2007034:	12 bf ff fa 	bne  200701c <_POSIX_signals_Get_highest+0x38> <== ALWAYS TAKEN
 2007038:	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;                                                       
}                                                                     
 200703c:	81 c3 e0 08 	retl                                           
 2007040:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200c980 <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
 200c980:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  We need to ensure that if the signal handler executes a call    
   *  which overwrites the unblocking status, we restore it.          
   */                                                                 
  hold_errno = _Thread_Executing->Wait.return_code;                   
 200c984:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
  int                 hold_errno;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200c988:	e0 06 21 6c 	ld  [ %i0 + 0x16c ], %l0                       
                                                                      
  /*                                                                  
   *  We need to ensure that if the signal handler executes a call    
   *  which overwrites the unblocking status, we restore it.          
   */                                                                 
  hold_errno = _Thread_Executing->Wait.return_code;                   
 200c98c:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1                       
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
 200c990:	80 a4 20 00 	cmp  %l0, 0                                    
 200c994:	02 80 00 12 	be  200c9dc <_POSIX_signals_Post_switch_extension+0x5c><== NEVER TAKEN
 200c998:	e4 00 60 34 	ld  [ %g1 + 0x34 ], %l2                        
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200c99c:	27 00 80 7a 	sethi  %hi(0x201e800), %l3                     
 200c9a0:	a6 14 e2 0c 	or  %l3, 0x20c, %l3	! 201ea0c <_POSIX_signals_Pending>
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
 200c9a4:	7f ff d5 88 	call  2001fc4 <sparc_disable_interrupts>       
 200c9a8:	01 00 00 00 	nop                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200c9ac:	c6 04 c0 00 	ld  [ %l3 ], %g3                               
 200c9b0:	c2 04 20 d0 	ld  [ %l0 + 0xd0 ], %g1                        
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200c9b4:	c4 04 20 cc 	ld  [ %l0 + 0xcc ], %g2                        
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200c9b8:	82 10 c0 01 	or  %g3, %g1, %g1                              
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200c9bc:	80 a8 40 02 	andncc  %g1, %g2, %g0                          
 200c9c0:	12 80 00 09 	bne  200c9e4 <_POSIX_signals_Post_switch_extension+0x64>
 200c9c4:	01 00 00 00 	nop                                            
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
 200c9c8:	7f ff d5 83 	call  2001fd4 <sparc_enable_interrupts>        
 200c9cc:	01 00 00 00 	nop                                            
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Executing->Wait.return_code = hold_errno;                   
 200c9d0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200c9d4:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
 200c9d8:	e4 20 60 34 	st  %l2, [ %g1 + 0x34 ]                        
 200c9dc:	81 c7 e0 08 	ret                                            
 200c9e0:	81 e8 00 00 	restore                                        
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
 200c9e4:	7f ff d5 7c 	call  2001fd4 <sparc_enable_interrupts>        
 200c9e8:	a2 10 20 1b 	mov  0x1b, %l1                                 
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
 200c9ec:	92 10 00 11 	mov  %l1, %o1                                  
 200c9f0:	94 10 20 00 	clr  %o2                                       
 200c9f4:	40 00 0c e8 	call  200fd94 <_POSIX_signals_Check_signal>    
 200c9f8:	90 10 00 10 	mov  %l0, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200c9fc:	92 10 00 11 	mov  %l1, %o1                                  
 200ca00:	90 10 00 10 	mov  %l0, %o0                                  
 200ca04:	40 00 0c e4 	call  200fd94 <_POSIX_signals_Check_signal>    
 200ca08:	94 10 20 01 	mov  1, %o2                                    
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
 200ca0c:	a2 04 60 01 	inc  %l1                                       
 200ca10:	80 a4 60 20 	cmp  %l1, 0x20                                 
 200ca14:	12 bf ff f7 	bne  200c9f0 <_POSIX_signals_Post_switch_extension+0x70>
 200ca18:	92 10 00 11 	mov  %l1, %o1                                  
 200ca1c:	a2 10 20 01 	mov  1, %l1                                    
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
 200ca20:	92 10 00 11 	mov  %l1, %o1                                  
 200ca24:	94 10 20 00 	clr  %o2                                       
 200ca28:	40 00 0c db 	call  200fd94 <_POSIX_signals_Check_signal>    
 200ca2c:	90 10 00 10 	mov  %l0, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200ca30:	92 10 00 11 	mov  %l1, %o1                                  
 200ca34:	90 10 00 10 	mov  %l0, %o0                                  
 200ca38:	40 00 0c d7 	call  200fd94 <_POSIX_signals_Check_signal>    
 200ca3c:	94 10 20 01 	mov  1, %o2                                    
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
 200ca40:	a2 04 60 01 	inc  %l1                                       
 200ca44:	80 a4 60 1b 	cmp  %l1, 0x1b                                 
 200ca48:	12 bf ff f7 	bne  200ca24 <_POSIX_signals_Post_switch_extension+0xa4>
 200ca4c:	92 10 00 11 	mov  %l1, %o1                                  
 200ca50:	30 bf ff d5 	b,a   200c9a4 <_POSIX_signals_Post_switch_extension+0x24>
                                                                      

0200ff98 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
 200ff98:	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 ) ) {
 200ff9c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 200ffa0:	09 04 00 20 	sethi  %hi(0x10008000), %g4                    
 200ffa4:	86 06 7f ff 	add  %i1, -1, %g3                              
 200ffa8:	9a 08 40 04 	and  %g1, %g4, %o5                             
 200ffac:	84 10 20 01 	mov  1, %g2                                    
 200ffb0:	80 a3 40 04 	cmp  %o5, %g4                                  
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
 200ffb4:	92 10 00 1a 	mov  %i2, %o1                                  
 200ffb8:	87 28 80 03 	sll  %g2, %g3, %g3                             
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 200ffbc:	12 80 00 1a 	bne  2010024 <_POSIX_signals_Unblock_thread+0x8c>
 200ffc0:	c8 06 21 6c 	ld  [ %i0 + 0x16c ], %g4                       
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
 200ffc4:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 200ffc8:	80 88 c0 01 	btst  %g3, %g1                                 
 200ffcc:	12 80 00 06 	bne  200ffe4 <_POSIX_signals_Unblock_thread+0x4c>
 200ffd0:	82 10 20 04 	mov  4, %g1                                    
 200ffd4:	c2 01 20 cc 	ld  [ %g4 + 0xcc ], %g1                        
 200ffd8:	80 a8 c0 01 	andncc  %g3, %g1, %g0                          
 200ffdc:	02 80 00 3d 	be  20100d0 <_POSIX_signals_Unblock_thread+0x138>
 200ffe0:	82 10 20 04 	mov  4, %g1                                    
      the_thread->Wait.return_code = EINTR;                           
 200ffe4:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
 200ffe8:	80 a2 60 00 	cmp  %o1, 0                                    
 200ffec:	12 80 00 07 	bne  2010008 <_POSIX_signals_Unblock_thread+0x70>
 200fff0:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 200fff4:	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;                                   
 200fff8:	f2 22 00 00 	st  %i1, [ %o0 ]                               
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
 200fffc:	c0 22 20 08 	clr  [ %o0 + 8 ]                               
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 2010000:	10 80 00 04 	b  2010010 <_POSIX_signals_Unblock_thread+0x78>
 2010004:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
 2010008:	40 00 04 8c 	call  2011238 <memcpy>                         
 201000c:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
 2010010:	90 10 00 18 	mov  %i0, %o0                                  
 2010014:	7f ff e3 74 	call  2008de4 <_Thread_queue_Extract_with_proxy>
 2010018:	b0 10 20 01 	mov  1, %i0                                    
      return true;                                                    
 201001c:	81 c7 e0 08 	ret                                            
 2010020:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
 2010024:	c8 01 20 cc 	ld  [ %g4 + 0xcc ], %g4                        
 2010028:	80 a8 c0 04 	andncc  %g3, %g4, %g0                          
 201002c:	02 80 00 29 	be  20100d0 <_POSIX_signals_Unblock_thread+0x138>
 2010030:	07 04 00 00 	sethi  %hi(0x10000000), %g3                    
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
 2010034:	80 88 40 03 	btst  %g1, %g3                                 
 2010038:	02 80 00 17 	be  2010094 <_POSIX_signals_Unblock_thread+0xfc>
 201003c:	c4 2e 20 74 	stb  %g2, [ %i0 + 0x74 ]                       
      the_thread->Wait.return_code = EINTR;                           
 2010040:	84 10 20 04 	mov  4, %g2                                    
 2010044:	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) )
 2010048:	05 00 00 ef 	sethi  %hi(0x3bc00), %g2                       
 201004c:	84 10 a2 e0 	or  %g2, 0x2e0, %g2	! 3bee0 <PROM_START+0x3bee0>
 2010050:	80 88 40 02 	btst  %g1, %g2                                 
 2010054:	02 80 00 06 	be  201006c <_POSIX_signals_Unblock_thread+0xd4>
 2010058:	80 88 60 08 	btst  8, %g1                                   
        _Thread_queue_Extract_with_proxy( the_thread );               
 201005c:	7f ff e3 62 	call  2008de4 <_Thread_queue_Extract_with_proxy>
 2010060:	90 10 00 18 	mov  %i0, %o0                                  
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_ISR_Signals_to_thread_executing = true;                             
 2010064:	81 c7 e0 08 	ret                                            
 2010068:	91 e8 20 00 	restore  %g0, 0, %o0                           
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
      if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
        _Thread_queue_Extract_with_proxy( the_thread );               
      else if ( _States_Is_delaying(the_thread->current_state) ){     
 201006c:	22 bf ff ec 	be,a   201001c <_POSIX_signals_Unblock_thread+0x84><== NEVER TAKEN
 2010070:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
	(void) _Watchdog_Remove( &the_thread->Timer );                       
 2010074:	7f ff e6 34 	call  2009944 <_Watchdog_Remove>               
 2010078:	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 );                  
 201007c:	90 10 00 18 	mov  %i0, %o0                                  
 2010080:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 2010084:	7f ff e0 56 	call  20081dc <_Thread_Clear_state>            
 2010088:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	_ISR_Signals_to_thread_executing = true;                             
 201008c:	81 c7 e0 08 	ret                                            
 2010090:	91 e8 20 00 	restore  %g0, 0, %o0                           
      else if ( _States_Is_delaying(the_thread->current_state) ){     
	(void) _Watchdog_Remove( &the_thread->Timer );                       
        _Thread_Unblock( the_thread );                                
      }                                                               
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
 2010094:	80 a0 60 00 	cmp  %g1, 0                                    
 2010098:	12 80 00 0e 	bne  20100d0 <_POSIX_signals_Unblock_thread+0x138><== NEVER TAKEN
 201009c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 20100a0:	c2 00 63 2c 	ld  [ %g1 + 0x32c ], %g1	! 201e32c <_ISR_Nest_level>
 20100a4:	80 a0 60 00 	cmp  %g1, 0                                    
 20100a8:	02 80 00 0a 	be  20100d0 <_POSIX_signals_Unblock_thread+0x138>
 20100ac:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20100b0:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
 20100b4:	80 a6 00 01 	cmp  %i0, %g1                                  
 20100b8:	12 bf ff d9 	bne  201001c <_POSIX_signals_Unblock_thread+0x84><== NEVER TAKEN
 20100bc:	b0 10 20 00 	clr  %i0                                       
	_ISR_Signals_to_thread_executing = true;                             
 20100c0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20100c4:	c4 28 63 e8 	stb  %g2, [ %g1 + 0x3e8 ]	! 201e3e8 <_ISR_Signals_to_thread_executing>
 20100c8:	81 c7 e0 08 	ret                                            
 20100cc:	81 e8 00 00 	restore                                        
 20100d0:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
 20100d4:	81 c7 e0 08 	ret                                            
 20100d8:	81 e8 00 00 	restore                                        
                                                                      

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

0200d0f8 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
 200d0f8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 200d0fc:	e0 06 21 68 	ld  [ %i0 + 0x168 ], %l0                       
  if ( !api )                                                         
 200d100:	80 a4 20 00 	cmp  %l0, 0                                    
 200d104:	02 80 00 1d 	be  200d178 <_RTEMS_tasks_Post_switch_extension+0x80><== NEVER TAKEN
 200d108:	01 00 00 00 	nop                                            
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
 200d10c:	7f ff d3 ae 	call  2001fc4 <sparc_disable_interrupts>       
 200d110:	01 00 00 00 	nop                                            
    signal_set = asr->signals_posted;                                 
 200d114:	e6 04 20 14 	ld  [ %l0 + 0x14 ], %l3                        
    asr->signals_posted = 0;                                          
 200d118:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  _ISR_Enable( level );                                               
 200d11c:	7f ff d3 ae 	call  2001fd4 <sparc_enable_interrupts>        
 200d120:	01 00 00 00 	nop                                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
 200d124:	80 a4 e0 00 	cmp  %l3, 0                                    
 200d128:	02 80 00 14 	be  200d178 <_RTEMS_tasks_Post_switch_extension+0x80>
 200d12c:	a2 07 bf fc 	add  %fp, -4, %l1                              
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200d130:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200d134:	d0 04 20 10 	ld  [ %l0 + 0x10 ], %o0                        
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
 200d138:	82 00 60 01 	inc  %g1                                       
 200d13c:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
 200d140:	94 10 00 11 	mov  %l1, %o2                                  
 200d144:	25 00 00 3f 	sethi  %hi(0xfc00), %l2                        
 200d148:	40 00 0c 68 	call  20102e8 <rtems_task_mode>                
 200d14c:	92 14 a3 ff 	or  %l2, 0x3ff, %o1	! ffff <PROM_START+0xffff> 
                                                                      
  (*asr->handler)( signal_set );                                      
 200d150:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 200d154:	9f c0 40 00 	call  %g1                                      
 200d158:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
  asr->nest_level -= 1;                                               
 200d15c:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200d160:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
 200d164:	82 00 7f ff 	add  %g1, -1, %g1                              
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200d168:	92 14 a3 ff 	or  %l2, 0x3ff, %o1                            
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
 200d16c:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
 200d170:	40 00 0c 5e 	call  20102e8 <rtems_task_mode>                
 200d174:	94 10 00 11 	mov  %l1, %o2                                  
 200d178:	81 c7 e0 08 	ret                                            
 200d17c:	81 e8 00 00 	restore                                        
                                                                      

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

020412c4 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 20412c4:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20412c8:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     
 20412cc:	92 10 00 18 	mov  %i0, %o1                                  
 20412d0:	90 12 20 a8 	or  %o0, 0xa8, %o0                             
 20412d4:	7f ff 35 60 	call  200e854 <_Objects_Get>                   
 20412d8:	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 ) {                                               
 20412dc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20412e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20412e4:	12 80 00 26 	bne  204137c <_Rate_monotonic_Timeout+0xb8>    <== NEVER TAKEN
 20412e8:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 20412ec:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 20412f0:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 20412f4:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 20412f8:	80 88 80 01 	btst  %g2, %g1                                 
 20412fc:	22 80 00 0c 	be,a   204132c <_Rate_monotonic_Timeout+0x68>  
 2041300:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
            the_thread->Wait.id == the_period->Object.id ) {          
 2041304:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 2041308:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 204130c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2041310:	32 80 00 07 	bne,a   204132c <_Rate_monotonic_Timeout+0x68> 
 2041314:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2041318:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 204131c:	7f ff 36 bb 	call  200ee08 <_Thread_Clear_state>            
 2041320:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 1003fff8 <RAM_END+0xdc3fff8>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 2041324:	10 80 00 08 	b  2041344 <_Rate_monotonic_Timeout+0x80>      
 2041328:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 204132c:	80 a0 60 01 	cmp  %g1, 1                                    
 2041330:	12 80 00 0e 	bne  2041368 <_Rate_monotonic_Timeout+0xa4>    
 2041334:	82 10 20 04 	mov  4, %g1                                    
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 2041338:	82 10 20 03 	mov  3, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 204133c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 2041340:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 2041344:	7f ff fe ef 	call  2040f00 <_Rate_monotonic_Initiate_statistics>
 2041348:	01 00 00 00 	nop                                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 204134c:	c2 04 20 3c 	ld  [ %l0 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2041350:	92 04 20 10 	add  %l0, 0x10, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2041354:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2041358:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     
 204135c:	7f ff 3c 3f 	call  2010458 <_Watchdog_Insert>               
 2041360:	90 12 22 60 	or  %o0, 0x260, %o0	! 206ee60 <_Watchdog_Ticks_chain>
 2041364:	30 80 00 02 	b,a   204136c <_Rate_monotonic_Timeout+0xa8>   
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 2041368:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 204136c:	03 00 81 bb 	sethi  %hi(0x206ec00), %g1                     
 2041370:	c4 00 61 80 	ld  [ %g1 + 0x180 ], %g2	! 206ed80 <_Thread_Dispatch_disable_level>
 2041374:	84 00 bf ff 	add  %g2, -1, %g2                              
 2041378:	c4 20 61 80 	st  %g2, [ %g1 + 0x180 ]                       
 204137c:	81 c7 e0 08 	ret                                            
 2041380:	81 e8 00 00 	restore                                        
                                                                      

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

020073b8 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 20073b8:	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();                 
 20073bc:	03 00 80 8f 	sethi  %hi(0x2023c00), %g1                     
  if ((!the_tod)                                  ||                  
 20073c0:	80 a6 20 00 	cmp  %i0, 0                                    
 20073c4:	02 80 00 2d 	be  2007478 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 20073c8:	d2 00 62 d4 	ld  [ %g1 + 0x2d4 ], %o1                       
      (the_tod->ticks  >= ticks_per_second)       ||                  
 20073cc:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 20073d0:	40 00 5f cb 	call  201f2fc <.udiv>                          
 20073d4:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 20073d8:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 20073dc:	80 a0 40 08 	cmp  %g1, %o0                                  
 20073e0:	1a 80 00 26 	bcc  2007478 <_TOD_Validate+0xc0>              
 20073e4:	01 00 00 00 	nop                                            
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 20073e8:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 20073ec:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 20073f0:	18 80 00 22 	bgu  2007478 <_TOD_Validate+0xc0>              
 20073f4:	01 00 00 00 	nop                                            
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 20073f8:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 20073fc:	80 a0 60 3b 	cmp  %g1, 0x3b                                 
 2007400:	18 80 00 1e 	bgu  2007478 <_TOD_Validate+0xc0>              
 2007404:	01 00 00 00 	nop                                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
 2007408:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200740c:	80 a0 60 17 	cmp  %g1, 0x17                                 
 2007410:	18 80 00 1a 	bgu  2007478 <_TOD_Validate+0xc0>              
 2007414:	01 00 00 00 	nop                                            
      (the_tod->month  == 0)                      ||                  
 2007418:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 200741c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007420:	02 80 00 16 	be  2007478 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2007424:	80 a0 60 0c 	cmp  %g1, 0xc                                  
 2007428:	18 80 00 14 	bgu  2007478 <_TOD_Validate+0xc0>              
 200742c:	01 00 00 00 	nop                                            
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 2007430:	c6 06 00 00 	ld  [ %i0 ], %g3                               
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 2007434:	80 a0 e7 c3 	cmp  %g3, 0x7c3                                
 2007438:	08 80 00 10 	bleu  2007478 <_TOD_Validate+0xc0>             
 200743c:	01 00 00 00 	nop                                            
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
 2007440:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 2007444:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007448:	02 80 00 0c 	be  2007478 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 200744c:	80 88 e0 03 	btst  3, %g3                                   
 2007450:	07 00 80 88 	sethi  %hi(0x2022000), %g3                     
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
 2007454:	12 80 00 03 	bne  2007460 <_TOD_Validate+0xa8>              
 2007458:	86 10 e3 d4 	or  %g3, 0x3d4, %g3	! 20223d4 <_TOD_Days_per_month>
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 200745c:	82 00 60 0d 	add  %g1, 0xd, %g1                             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 2007460:	83 28 60 02 	sll  %g1, 2, %g1                               
 2007464:	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(                                                   
 2007468:	80 a0 40 02 	cmp  %g1, %g2                                  
 200746c:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 2007470:	81 c7 e0 08 	ret                                            
 2007474:	81 e8 00 00 	restore                                        
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 2007478:	81 c7 e0 08 	ret                                            
 200747c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02007ff8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 2007ff8:	9d e3 bf a0 	save  %sp, -96, %sp                            
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 2007ffc:	e2 06 20 10 	ld  [ %i0 + 0x10 ], %l1                        
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
 2008000:	40 00 04 4e 	call  2009138 <_Thread_Set_transient>          
 2008004:	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 )                  
 2008008:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
 200800c:	a0 10 00 18 	mov  %i0, %l0                                  
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
 2008010:	80 a0 40 19 	cmp  %g1, %i1                                  
 2008014:	02 80 00 04 	be  2008024 <_Thread_Change_priority+0x2c>     
 2008018:	92 10 00 19 	mov  %i1, %o1                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 200801c:	40 00 03 ca 	call  2008f44 <_Thread_Set_priority>           
 2008020:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  _ISR_Disable( level );                                              
 2008024:	7f ff e7 e8 	call  2001fc4 <sparc_disable_interrupts>       
 2008028:	01 00 00 00 	nop                                            
 200802c:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
 2008030:	e4 04 20 10 	ld  [ %l0 + 0x10 ], %l2                        
  if ( state != STATES_TRANSIENT ) {                                  
 2008034:	80 a4 a0 04 	cmp  %l2, 4                                    
 2008038:	02 80 00 10 	be  2008078 <_Thread_Change_priority+0x80>     
 200803c:	a2 0c 60 04 	and  %l1, 4, %l1                               
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 2008040:	80 a4 60 00 	cmp  %l1, 0                                    
 2008044:	12 80 00 03 	bne  2008050 <_Thread_Change_priority+0x58>    <== NEVER TAKEN
 2008048:	82 0c bf fb 	and  %l2, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 200804c:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
    _ISR_Enable( level );                                             
 2008050:	7f ff e7 e1 	call  2001fd4 <sparc_enable_interrupts>        
 2008054:	90 10 00 18 	mov  %i0, %o0                                  
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 2008058:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 200805c:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2008060:	80 8c 80 01 	btst  %l2, %g1                                 
 2008064:	02 80 00 5c 	be  20081d4 <_Thread_Change_priority+0x1dc>    
 2008068:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 200806c:	f0 04 20 44 	ld  [ %l0 + 0x44 ], %i0                        
 2008070:	40 00 03 88 	call  2008e90 <_Thread_queue_Requeue>          
 2008074:	93 e8 00 10 	restore  %g0, %l0, %o1                         
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
 2008078:	80 a4 60 00 	cmp  %l1, 0                                    
 200807c:	12 80 00 1c 	bne  20080ec <_Thread_Change_priority+0xf4>    <== NEVER TAKEN
 2008080:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 2008084:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
 2008088:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 200808c:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 2008090:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 2008094:	86 11 00 03 	or  %g4, %g3, %g3                              
 2008098:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 200809c:	c4 10 63 44 	lduh  [ %g1 + 0x344 ], %g2                     
 20080a0:	c6 14 20 94 	lduh  [ %l0 + 0x94 ], %g3                      
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 20080a4:	c0 24 20 10 	clr  [ %l0 + 0x10 ]                            
 20080a8:	84 10 c0 02 	or  %g3, %g2, %g2                              
 20080ac:	c4 30 63 44 	sth  %g2, [ %g1 + 0x344 ]                      
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
 20080b0:	80 8e a0 ff 	btst  0xff, %i2                                
 20080b4:	02 80 00 08 	be  20080d4 <_Thread_Change_priority+0xdc>     
 20080b8:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 20080bc:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 20080c0:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 20080c4:	e0 20 40 00 	st  %l0, [ %g1 ]                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
 20080c8:	e0 20 a0 04 	st  %l0, [ %g2 + 4 ]                           
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 20080cc:	10 80 00 08 	b  20080ec <_Thread_Change_priority+0xf4>      
 20080d0:	c4 24 00 00 	st  %g2, [ %l0 ]                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 20080d4:	84 00 60 04 	add  %g1, 4, %g2                               
 20080d8:	c4 24 00 00 	st  %g2, [ %l0 ]                               
  old_last_node       = the_chain->last;                              
 20080dc:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
  the_chain->last     = the_node;                                     
 20080e0:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 20080e4:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 20080e8:	e0 20 80 00 	st  %l0, [ %g2 ]                               
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 20080ec:	7f ff e7 ba 	call  2001fd4 <sparc_enable_interrupts>        
 20080f0:	90 10 00 18 	mov  %i0, %o0                                  
 20080f4:	7f ff e7 b4 	call  2001fc4 <sparc_disable_interrupts>       
 20080f8:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
 20080fc:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2008100:	c4 10 63 44 	lduh  [ %g1 + 0x344 ], %g2	! 201e344 <_Priority_Major_bit_map>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
 2008104:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2008108:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 200810c:	da 00 61 e4 	ld  [ %g1 + 0x1e4 ], %o5                       
 2008110:	87 30 a0 10 	srl  %g2, 0x10, %g3                            
 2008114:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2008118:	80 a0 e0 ff 	cmp  %g3, 0xff                                 
 200811c:	18 80 00 05 	bgu  2008130 <_Thread_Change_priority+0x138>   
 2008120:	82 10 60 d8 	or  %g1, 0xd8, %g1                             
 2008124:	c4 08 40 03 	ldub  [ %g1 + %g3 ], %g2                       
 2008128:	10 80 00 04 	b  2008138 <_Thread_Change_priority+0x140>     
 200812c:	84 00 a0 08 	add  %g2, 8, %g2                               
 2008130:	85 30 a0 18 	srl  %g2, 0x18, %g2                            
 2008134:	c4 08 40 02 	ldub  [ %g1 + %g2 ], %g2                       
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
 2008138:	83 28 a0 10 	sll  %g2, 0x10, %g1                            
 200813c:	07 00 80 78 	sethi  %hi(0x201e000), %g3                     
 2008140:	83 30 60 0f 	srl  %g1, 0xf, %g1                             
 2008144:	86 10 e3 c0 	or  %g3, 0x3c0, %g3                            
 2008148:	c6 10 c0 01 	lduh  [ %g3 + %g1 ], %g3                       
 200814c:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2008150:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 2008154:	89 30 e0 10 	srl  %g3, 0x10, %g4                            
 2008158:	80 a1 20 ff 	cmp  %g4, 0xff                                 
 200815c:	18 80 00 05 	bgu  2008170 <_Thread_Change_priority+0x178>   
 2008160:	82 10 60 d8 	or  %g1, 0xd8, %g1                             
 2008164:	c2 08 40 04 	ldub  [ %g1 + %g4 ], %g1                       
 2008168:	10 80 00 04 	b  2008178 <_Thread_Change_priority+0x180>     
 200816c:	82 00 60 08 	add  %g1, 8, %g1                               
 2008170:	87 30 e0 18 	srl  %g3, 0x18, %g3                            
 2008174:	c2 08 40 03 	ldub  [ %g1 + %g3 ], %g1                       
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 2008178:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 200817c:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2008180:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 2008184:	85 30 a0 0c 	srl  %g2, 0xc, %g2                             
 2008188:	84 00 40 02 	add  %g1, %g2, %g2                             
 200818c:	83 28 a0 04 	sll  %g2, 4, %g1                               
 2008190:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008194:	84 20 40 02 	sub  %g1, %g2, %g2                             
 2008198:	c4 03 40 02 	ld  [ %o5 + %g2 ], %g2                         
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
 200819c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20081a0:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
 20081a4:	07 00 80 78 	sethi  %hi(0x201e000), %g3                     
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
 20081a8:	80 a0 40 02 	cmp  %g1, %g2                                  
 20081ac:	02 80 00 08 	be  20081cc <_Thread_Change_priority+0x1d4>    
 20081b0:	c4 20 e3 20 	st  %g2, [ %g3 + 0x320 ]                       
       _Thread_Executing->is_preemptible )                            
 20081b4:	c2 08 60 75 	ldub  [ %g1 + 0x75 ], %g1                      
 20081b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20081bc:	02 80 00 04 	be  20081cc <_Thread_Change_priority+0x1d4>    
 20081c0:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 20081c4:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20081c8:	c4 28 63 60 	stb  %g2, [ %g1 + 0x360 ]	! 201e360 <_Context_Switch_necessary>
  _ISR_Enable( level );                                               
 20081cc:	7f ff e7 82 	call  2001fd4 <sparc_enable_interrupts>        
 20081d0:	81 e8 00 00 	restore                                        
 20081d4:	81 c7 e0 08 	ret                                            
 20081d8:	81 e8 00 00 	restore                                        
                                                                      

020081dc <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
 20081dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 20081e0:	7f ff e7 79 	call  2001fc4 <sparc_disable_interrupts>       
 20081e4:	a0 10 00 18 	mov  %i0, %l0                                  
 20081e8:	b0 10 00 08 	mov  %o0, %i0                                  
    current_state = the_thread->current_state;                        
 20081ec:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
                                                                      
    if ( current_state & state ) {                                    
 20081f0:	80 8e 40 01 	btst  %i1, %g1                                 
 20081f4:	02 80 00 2d 	be  20082a8 <_Thread_Clear_state+0xcc>         
 20081f8:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
 20081fc:	b2 28 40 19 	andn  %g1, %i1, %i1                            
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
 2008200:	80 a6 60 00 	cmp  %i1, 0                                    
 2008204:	12 80 00 29 	bne  20082a8 <_Thread_Clear_state+0xcc>        
 2008208:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 200820c:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 2008210:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 2008214:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 2008218:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 200821c:	86 11 00 03 	or  %g4, %g3, %g3                              
 2008220:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 2008224:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 2008228:	da 14 20 94 	lduh  [ %l0 + 0x94 ], %o5                      
 200822c:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 2008230:	07 00 80 78 	sethi  %hi(0x201e000), %g3                     
  old_last_node       = the_chain->last;                              
 2008234:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2008238:	c8 10 e3 44 	lduh  [ %g3 + 0x344 ], %g4                     
  the_chain->last     = the_node;                                     
 200823c:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 2008240:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 2008244:	82 13 40 04 	or  %o5, %g4, %g1                              
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 2008248:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 200824c:	c2 30 e3 44 	sth  %g1, [ %g3 + 0x344 ]                      
                                                                      
        _ISR_Flash( level );                                          
 2008250:	7f ff e7 61 	call  2001fd4 <sparc_enable_interrupts>        
 2008254:	01 00 00 00 	nop                                            
 2008258:	7f ff e7 5b 	call  2001fc4 <sparc_disable_interrupts>       
 200825c:	01 00 00 00 	nop                                            
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 2008260:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 2008264:	c6 00 a3 20 	ld  [ %g2 + 0x320 ], %g3	! 201e320 <_Thread_Heir>
 2008268:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 200826c:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 2008270:	80 a0 40 03 	cmp  %g1, %g3                                  
 2008274:	1a 80 00 0d 	bcc  20082a8 <_Thread_Clear_state+0xcc>        
 2008278:	07 00 80 78 	sethi  %hi(0x201e000), %g3                     
          _Thread_Heir = the_thread;                                  
          if ( _Thread_Executing->is_preemptible ||                   
 200827c:	c6 00 e3 50 	ld  [ %g3 + 0x350 ], %g3	! 201e350 <_Thread_Executing>
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
          _Thread_Heir = the_thread;                                  
 2008280:	e0 20 a3 20 	st  %l0, [ %g2 + 0x320 ]                       
          if ( _Thread_Executing->is_preemptible ||                   
 2008284:	c4 08 e0 75 	ldub  [ %g3 + 0x75 ], %g2                      
 2008288:	80 a0 a0 00 	cmp  %g2, 0                                    
 200828c:	12 80 00 05 	bne  20082a0 <_Thread_Clear_state+0xc4>        
 2008290:	84 10 20 01 	mov  1, %g2                                    
 2008294:	80 a0 60 00 	cmp  %g1, 0                                    
 2008298:	12 80 00 04 	bne  20082a8 <_Thread_Clear_state+0xcc>        <== ALWAYS TAKEN
 200829c:	01 00 00 00 	nop                                            
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
 20082a0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20082a4:	c4 28 63 60 	stb  %g2, [ %g1 + 0x360 ]	! 201e360 <_Context_Switch_necessary>
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
 20082a8:	7f ff e7 4b 	call  2001fd4 <sparc_enable_interrupts>        
 20082ac:	81 e8 00 00 	restore                                        
                                                                      

02008460 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2008460:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008464:	90 10 00 18 	mov  %i0, %o0                                  
 2008468:	40 00 00 7c 	call  2008658 <_Thread_Get>                    
 200846c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008470:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008474:	80 a0 60 00 	cmp  %g1, 0                                    
 2008478:	12 80 00 08 	bne  2008498 <_Thread_Delay_ended+0x38>        <== NEVER TAKEN
 200847c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 2008480:	7f ff ff 57 	call  20081dc <_Thread_Clear_state>            
 2008484:	92 12 60 18 	or  %o1, 0x18, %o1	! 10000018 <RAM_END+0xdc00018>
 2008488:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200848c:	c4 00 62 90 	ld  [ %g1 + 0x290 ], %g2	! 201e290 <_Thread_Dispatch_disable_level>
 2008490:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008494:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
 2008498:	81 c7 e0 08 	ret                                            
 200849c:	81 e8 00 00 	restore                                        
                                                                      

020084a0 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 20084a0:	9d e3 bf 90 	save  %sp, -112, %sp                           
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
 20084a4:	2f 00 80 78 	sethi  %hi(0x201e000), %l7                     
  _ISR_Disable( level );                                              
 20084a8:	7f ff e6 c7 	call  2001fc4 <sparc_disable_interrupts>       
 20084ac:	e0 05 e3 50 	ld  [ %l7 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  while ( _Context_Switch_necessary == true ) {                       
 20084b0:	2d 00 80 78 	sethi  %hi(0x201e000), %l6                     
 20084b4:	33 00 80 78 	sethi  %hi(0x201e000), %i1                     
    heir = _Thread_Heir;                                              
 20084b8:	35 00 80 78 	sethi  %hi(0x201e000), %i2                     
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 20084bc:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 20084c0:	25 00 80 78 	sethi  %hi(0x201e000), %l2                     
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 20084c4:	39 00 80 78 	sethi  %hi(0x201e000), %i4                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
 20084c8:	2b 00 80 78 	sethi  %hi(0x201e000), %l5                     
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
    _Thread_Executing = heir;                                         
 20084cc:	ae 15 e3 50 	or  %l7, 0x350, %l7                            
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 20084d0:	ac 15 a3 60 	or  %l6, 0x360, %l6                            
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 20084d4:	b2 16 62 90 	or  %i1, 0x290, %i1                            
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
 20084d8:	b4 16 a3 20 	or  %i2, 0x320, %i2                            
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 20084dc:	b6 16 e1 e8 	or  %i3, 0x1e8, %i3                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
 20084e0:	a4 14 a3 58 	or  %l2, 0x358, %l2                            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 20084e4:	b8 17 23 1c 	or  %i4, 0x31c, %i4                            
 20084e8:	aa 15 63 18 	or  %l5, 0x318, %l5                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 20084ec:	ba 10 20 01 	mov  1, %i5                                    
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 20084f0:	a8 07 bf f8 	add  %fp, -8, %l4                              
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 20084f4:	10 80 00 37 	b  20085d0 <_Thread_Dispatch+0x130>            
 20084f8:	a6 07 bf f0 	add  %fp, -16, %l3                             
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
 20084fc:	fa 26 40 00 	st  %i5, [ %i1 ]                               
    _Thread_Executing = heir;                                         
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
 2008500:	c2 04 60 7c 	ld  [ %l1 + 0x7c ], %g1                        
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
 2008504:	c0 2d 80 00 	clrb  [ %l6 ]                                  
    _Thread_Executing = heir;                                         
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
 2008508:	80 a0 60 01 	cmp  %g1, 1                                    
 200850c:	12 80 00 04 	bne  200851c <_Thread_Dispatch+0x7c>           
 2008510:	e2 25 c0 00 	st  %l1, [ %l7 ]                               
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 2008514:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2008518:	c2 24 60 78 	st  %g1, [ %l1 + 0x78 ]                        
    _ISR_Enable( level );                                             
 200851c:	7f ff e6 ae 	call  2001fd4 <sparc_enable_interrupts>        
 2008520:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 2008524:	40 00 14 17 	call  200d580 <_TOD_Get_uptime>                
 2008528:	90 10 00 14 	mov  %l4, %o0                                  
        _Timestamp_Subtract(                                          
 200852c:	90 10 00 12 	mov  %l2, %o0                                  
 2008530:	92 10 00 14 	mov  %l4, %o1                                  
 2008534:	40 00 03 e3 	call  20094c0 <_Timespec_Subtract>             
 2008538:	94 10 00 13 	mov  %l3, %o2                                  
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
 200853c:	90 04 20 84 	add  %l0, 0x84, %o0                            
 2008540:	40 00 03 c6 	call  2009458 <_Timespec_Add_to>               
 2008544:	92 10 00 13 	mov  %l3, %o1                                  
        _Thread_Time_of_last_context_switch = uptime;                 
 2008548:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 200854c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
 2008550:	c4 24 80 00 	st  %g2, [ %l2 ]                               
 2008554:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 2008558:	80 a0 60 00 	cmp  %g1, 0                                    
 200855c:	02 80 00 06 	be  2008574 <_Thread_Dispatch+0xd4>            <== NEVER TAKEN
 2008560:	c4 24 a0 04 	st  %g2, [ %l2 + 4 ]                           
      executing->libc_reent = *_Thread_libc_reent;                    
 2008564:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2008568:	c4 24 21 64 	st  %g2, [ %l0 + 0x164 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 200856c:	c4 04 61 64 	ld  [ %l1 + 0x164 ], %g2                       
 2008570:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 2008574:	90 10 00 10 	mov  %l0, %o0                                  
 2008578:	40 00 04 87 	call  2009794 <_User_extensions_Thread_switch> 
 200857c:	92 10 00 11 	mov  %l1, %o1                                  
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 2008580:	92 04 60 d8 	add  %l1, 0xd8, %o1                            
 2008584:	40 00 05 b4 	call  2009c54 <_CPU_Context_switch>            
 2008588:	90 04 20 d8 	add  %l0, 0xd8, %o0                            
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
 200858c:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 2008590:	80 a0 60 00 	cmp  %g1, 0                                    
 2008594:	02 80 00 0d 	be  20085c8 <_Thread_Dispatch+0x128>           
 2008598:	01 00 00 00 	nop                                            
 200859c:	d0 05 40 00 	ld  [ %l5 ], %o0                               
 20085a0:	80 a4 00 08 	cmp  %l0, %o0                                  
 20085a4:	02 80 00 09 	be  20085c8 <_Thread_Dispatch+0x128>           
 20085a8:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 20085ac:	02 80 00 04 	be  20085bc <_Thread_Dispatch+0x11c>           
 20085b0:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 20085b4:	40 00 05 6e 	call  2009b6c <_CPU_Context_save_fp>           
 20085b8:	90 02 21 60 	add  %o0, 0x160, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 20085bc:	40 00 05 89 	call  2009be0 <_CPU_Context_restore_fp>        
 20085c0:	90 04 21 60 	add  %l0, 0x160, %o0                           
      _Thread_Allocated_fp = executing;                               
 20085c4:	e0 25 40 00 	st  %l0, [ %l5 ]                               
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
 20085c8:	7f ff e6 7f 	call  2001fc4 <sparc_disable_interrupts>       
 20085cc:	e0 05 c0 00 	ld  [ %l7 ], %l0                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
 20085d0:	c2 0d 80 00 	ldub  [ %l6 ], %g1                             
 20085d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20085d8:	32 bf ff c9 	bne,a   20084fc <_Thread_Dispatch+0x5c>        
 20085dc:	e2 06 80 00 	ld  [ %i2 ], %l1                               
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
 20085e0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20085e4:	c0 20 62 90 	clr  [ %g1 + 0x290 ]	! 201e290 <_Thread_Dispatch_disable_level>
                                                                      
  _ISR_Enable( level );                                               
 20085e8:	7f ff e6 7b 	call  2001fd4 <sparc_enable_interrupts>        
 20085ec:	01 00 00 00 	nop                                            
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
 20085f0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20085f4:	c2 00 63 34 	ld  [ %g1 + 0x334 ], %g1	! 201e334 <_Thread_Do_post_task_switch_extension>
 20085f8:	80 a0 60 00 	cmp  %g1, 0                                    
 20085fc:	12 80 00 06 	bne  2008614 <_Thread_Dispatch+0x174>          
 2008600:	01 00 00 00 	nop                                            
       executing->do_post_task_switch_extension ) {                   
 2008604:	c2 0c 20 74 	ldub  [ %l0 + 0x74 ], %g1                      
 2008608:	80 a0 60 00 	cmp  %g1, 0                                    
 200860c:	02 80 00 04 	be  200861c <_Thread_Dispatch+0x17c>           
 2008610:	01 00 00 00 	nop                                            
    executing->do_post_task_switch_extension = false;                 
    _API_extensions_Run_postswitch();                                 
 2008614:	7f ff f9 70 	call  2006bd4 <_API_extensions_Run_postswitch> 
 2008618:	c0 2c 20 74 	clrb  [ %l0 + 0x74 ]                           
 200861c:	81 c7 e0 08 	ret                                            
 2008620:	81 e8 00 00 	restore                                        
                                                                      

02010620 <_Thread_Evaluate_mode>: bool _Thread_Evaluate_mode( void ) { Thread_Control *executing; executing = _Thread_Executing;
 2010620:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010624:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
 2010628:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 201062c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2010630:	12 80 00 0b 	bne  201065c <_Thread_Evaluate_mode+0x3c>      <== NEVER TAKEN
 2010634:	84 10 20 01 	mov  1, %g2                                    
 2010638:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 201063c:	c4 00 a3 20 	ld  [ %g2 + 0x320 ], %g2	! 201e320 <_Thread_Heir>
 2010640:	80 a0 40 02 	cmp  %g1, %g2                                  
 2010644:	02 80 00 0b 	be  2010670 <_Thread_Evaluate_mode+0x50>       
 2010648:	01 00 00 00 	nop                                            
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
 201064c:	c2 08 60 75 	ldub  [ %g1 + 0x75 ], %g1                      
 2010650:	80 a0 60 00 	cmp  %g1, 0                                    
 2010654:	02 80 00 07 	be  2010670 <_Thread_Evaluate_mode+0x50>       <== NEVER TAKEN
 2010658:	84 10 20 01 	mov  1, %g2                                    
    _Context_Switch_necessary = true;                                 
 201065c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010660:	90 10 20 01 	mov  1, %o0                                    
 2010664:	c4 28 63 60 	stb  %g2, [ %g1 + 0x360 ]                      
    return true;                                                      
 2010668:	81 c3 e0 08 	retl                                           
 201066c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
 2010670:	81 c3 e0 08 	retl                                           
 2010674:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
                                                                      

02010678 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
 2010678:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 201067c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010680:	e0 00 63 50 	ld  [ %g1 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  /*                                                                  
   * Some CPUs need to tinker with the call frame or registers when the
   * thread actually begins to execute for the first time.  This is a 
   * hook point where the port gets a shot at doing whatever it requires.
   */                                                                 
  _Context_Initialization_at_thread_begin();                          
 2010684:	3f 00 80 41 	sethi  %hi(0x2010400), %i7                     
 2010688:	be 17 e2 78 	or  %i7, 0x278, %i7	! 2010678 <_Thread_Handler>
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
 201068c:	d0 04 20 b8 	ld  [ %l0 + 0xb8 ], %o0                        
  _ISR_Set_level(level);                                              
 2010690:	7f ff c6 51 	call  2001fd4 <sparc_enable_interrupts>        
 2010694:	91 2a 20 08 	sll  %o0, 8, %o0                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 2010698:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
    doneConstructors = 1;                                             
 201069c:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
 20106a0:	e2 08 63 42 	ldub  [ %g1 + 0x342 ], %l1                     
    doneConstructors = 1;                                             
 20106a4:	c4 28 63 42 	stb  %g2, [ %g1 + 0x342 ]                      
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 20106a8:	c2 04 21 60 	ld  [ %l0 + 0x160 ], %g1                       
 20106ac:	80 a0 60 00 	cmp  %g1, 0                                    
 20106b0:	02 80 00 0c 	be  20106e0 <_Thread_Handler+0x68>             
 20106b4:	03 00 80 78 	sethi  %hi(0x201e000), %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 );                      
 20106b8:	d0 00 63 18 	ld  [ %g1 + 0x318 ], %o0	! 201e318 <_Thread_Allocated_fp>
 20106bc:	80 a4 00 08 	cmp  %l0, %o0                                  
 20106c0:	02 80 00 08 	be  20106e0 <_Thread_Handler+0x68>             
 20106c4:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 20106c8:	22 80 00 06 	be,a   20106e0 <_Thread_Handler+0x68>          
 20106cc:	e0 20 63 18 	st  %l0, [ %g1 + 0x318 ]                       
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 20106d0:	7f ff e5 27 	call  2009b6c <_CPU_Context_save_fp>           
 20106d4:	90 02 21 60 	add  %o0, 0x160, %o0                           
        _Thread_Allocated_fp = executing;                             
 20106d8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20106dc:	e0 20 63 18 	st  %l0, [ %g1 + 0x318 ]	! 201e318 <_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 );                         
 20106e0:	7f ff e3 ba 	call  20095c8 <_User_extensions_Thread_begin>  
 20106e4:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 20106e8:	7f ff df cf 	call  2008624 <_Thread_Enable_dispatch>        
 20106ec:	a3 2c 60 18 	sll  %l1, 0x18, %l1                            
    /*                                                                
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (!doneCons) /* && (volatile void *)_init) */ {                 
 20106f0:	80 a4 60 00 	cmp  %l1, 0                                    
 20106f4:	32 80 00 05 	bne,a   2010708 <_Thread_Handler+0x90>         
 20106f8:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
      INIT_NAME ();                                                   
 20106fc:	40 00 33 d7 	call  201d658 <_init>                          
 2010700:	01 00 00 00 	nop                                            
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 2010704:	c2 04 20 a0 	ld  [ %l0 + 0xa0 ], %g1                        
 2010708:	80 a0 60 00 	cmp  %g1, 0                                    
 201070c:	12 80 00 05 	bne  2010720 <_Thread_Handler+0xa8>            
 2010710:	80 a0 60 01 	cmp  %g1, 1                                    
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 2010714:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
 2010718:	10 80 00 06 	b  2010730 <_Thread_Handler+0xb8>              
 201071c:	d0 04 20 a8 	ld  [ %l0 + 0xa8 ], %o0                        
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
 2010720:	12 80 00 07 	bne  201073c <_Thread_Handler+0xc4>            <== NEVER TAKEN
 2010724:	01 00 00 00 	nop                                            
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
 2010728:	c2 04 20 9c 	ld  [ %l0 + 0x9c ], %g1                        
 201072c:	d0 04 20 a4 	ld  [ %l0 + 0xa4 ], %o0                        
 2010730:	9f c0 40 00 	call  %g1                                      
 2010734:	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 =                               
 2010738:	d0 24 20 28 	st  %o0, [ %l0 + 0x28 ]                        
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
 201073c:	7f ff e3 b4 	call  200960c <_User_extensions_Thread_exitted>
 2010740:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 2010744:	90 10 20 00 	clr  %o0                                       
 2010748:	92 10 20 01 	mov  1, %o1                                    
 201074c:	7f ff db c6 	call  2007664 <_Internal_error_Occurred>       
 2010750:	94 10 20 06 	mov  6, %o2                                    
                                                                      

02008704 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 2008704:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2008708:	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;                             
 200870c:	c0 26 61 68 	clr  [ %i1 + 0x168 ]                           
 2008710:	c0 26 61 6c 	clr  [ %i1 + 0x16c ]                           
 2008714:	c0 26 61 70 	clr  [ %i1 + 0x170 ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 2008718:	c0 26 61 64 	clr  [ %i1 + 0x164 ]                           
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 200871c:	e0 00 40 00 	ld  [ %g1 ], %l0                               
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 2008720:	80 a6 a0 00 	cmp  %i2, 0                                    
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 2008724:	e2 07 a0 60 	ld  [ %fp + 0x60 ], %l1                        
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 2008728:	12 80 00 0f 	bne  2008764 <_Thread_Initialize+0x60>         
 200872c:	e4 0f a0 5f 	ldub  [ %fp + 0x5f ], %l2                      
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 2008730:	90 10 00 19 	mov  %i1, %o0                                  
 2008734:	40 00 02 a6 	call  20091cc <_Thread_Stack_Allocate>         
 2008738:	92 10 00 1b 	mov  %i3, %o1                                  
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 200873c:	80 a2 00 1b 	cmp  %o0, %i3                                  
 2008740:	0a 80 00 04 	bcs  2008750 <_Thread_Initialize+0x4c>         
 2008744:	80 a2 20 00 	cmp  %o0, 0                                    
 2008748:	12 80 00 04 	bne  2008758 <_Thread_Initialize+0x54>         <== ALWAYS TAKEN
 200874c:	82 10 20 01 	mov  1, %g1                                    
 2008750:	81 c7 e0 08 	ret                                            
 2008754:	91 e8 20 00 	restore  %g0, 0, %o0                           
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
 2008758:	f4 06 60 d0 	ld  [ %i1 + 0xd0 ], %i2                        
      the_thread->Start.core_allocated_stack = true;                  
 200875c:	10 80 00 04 	b  200876c <_Thread_Initialize+0x68>           
 2008760:	c2 2e 60 c0 	stb  %g1, [ %i1 + 0xc0 ]                       
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
 2008764:	c0 2e 60 c0 	clrb  [ %i1 + 0xc0 ]                           
 2008768:	90 10 00 1b 	mov  %i3, %o0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 200876c:	f4 26 60 c8 	st  %i2, [ %i1 + 0xc8 ]                        
  the_stack->size = size;                                             
 2008770:	d0 26 60 c4 	st  %o0, [ %i1 + 0xc4 ]                        
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
 2008774:	80 8f 20 ff 	btst  0xff, %i4                                
 2008778:	02 80 00 08 	be  2008798 <_Thread_Initialize+0x94>          
 200877c:	b4 10 20 00 	clr  %i2                                       
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
 2008780:	90 10 20 88 	mov  0x88, %o0                                 
 2008784:	40 00 04 d1 	call  2009ac8 <_Workspace_Allocate>            
 2008788:	b6 10 20 00 	clr  %i3                                       
      if ( !fp_area )                                                 
 200878c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2008790:	22 80 00 42 	be,a   2008898 <_Thread_Initialize+0x194>      
 2008794:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 2008798:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200879c:	d0 00 63 30 	ld  [ %g1 + 0x330 ], %o0	! 201e330 <_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;                           
 20087a0:	f4 26 61 60 	st  %i2, [ %i1 + 0x160 ]                       
    the_thread->Start.fp_context = fp_area;                           
 20087a4:	f4 26 60 cc 	st  %i2, [ %i1 + 0xcc ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20087a8:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 20087ac:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 20087b0:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  the_watchdog->user_data = user_data;                                
 20087b4:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 20087b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20087bc:	02 80 00 08 	be  20087dc <_Thread_Initialize+0xd8>          
 20087c0:	b6 10 20 00 	clr  %i3                                       
    extensions_area = _Workspace_Allocate(                            
 20087c4:	90 02 20 01 	inc  %o0                                       
 20087c8:	40 00 04 c0 	call  2009ac8 <_Workspace_Allocate>            
 20087cc:	91 2a 20 02 	sll  %o0, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 20087d0:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 20087d4:	22 80 00 31 	be,a   2008898 <_Thread_Initialize+0x194>      
 20087d8:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
 20087dc:	80 a6 e0 00 	cmp  %i3, 0                                    
 20087e0:	02 80 00 0c 	be  2008810 <_Thread_Initialize+0x10c>         
 20087e4:	f6 26 61 74 	st  %i3, [ %i1 + 0x174 ]                       
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
 20087e8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20087ec:	c4 00 63 30 	ld  [ %g1 + 0x330 ], %g2	! 201e330 <_Thread_Maximum_extensions>
 20087f0:	10 80 00 05 	b  2008804 <_Thread_Initialize+0x100>          
 20087f4:	82 10 20 00 	clr  %g1                                       
      the_thread->extensions[i] = NULL;                               
 20087f8:	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++ )              
 20087fc:	82 00 60 01 	inc  %g1                                       
      the_thread->extensions[i] = NULL;                               
 2008800:	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++ )              
 2008804:	80 a0 40 02 	cmp  %g1, %g2                                  
 2008808:	28 bf ff fc 	bleu,a   20087f8 <_Thread_Initialize+0xf4>     
 200880c:	c8 06 61 74 	ld  [ %i1 + 0x174 ], %g4                       
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2008810:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 2008814:	e4 2e 60 ac 	stb  %l2, [ %i1 + 0xac ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 2008818:	c2 26 60 b4 	st  %g1, [ %i1 + 0xb4 ]                        
                                                                      
  switch ( budget_algorithm ) {                                       
 200881c:	80 a4 60 02 	cmp  %l1, 2                                    
 2008820:	12 80 00 05 	bne  2008834 <_Thread_Initialize+0x130>        
 2008824:	e2 26 60 b0 	st  %l1, [ %i1 + 0xb0 ]                        
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
 2008828:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200882c:	c2 00 61 e8 	ld  [ %g1 + 0x1e8 ], %g1	! 201e1e8 <_Thread_Ticks_per_timeslice>
 2008830:	c2 26 60 78 	st  %g1, [ %i1 + 0x78 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 2008834:	c2 07 a0 68 	ld  [ %fp + 0x68 ], %g1                        
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008838:	92 10 00 1d 	mov  %i5, %o1                                  
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 200883c:	c2 26 60 b8 	st  %g1, [ %i1 + 0xb8 ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2008840:	82 10 20 01 	mov  1, %g1                                    
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008844:	90 10 00 19 	mov  %i1, %o0                                  
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 2008848:	c2 26 60 10 	st  %g1, [ %i1 + 0x10 ]                        
  the_thread->Wait.queue              = NULL;                         
 200884c:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
  the_thread->resource_count          = 0;                            
 2008850:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
 2008854:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
 2008858:	40 00 01 bb 	call  2008f44 <_Thread_Set_priority>           
 200885c:	fa 26 60 bc 	st  %i5, [ %i1 + 0xbc ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008860:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
 2008864:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
 2008868:	83 28 60 02 	sll  %g1, 2, %g1                               
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 200886c:	e0 26 60 0c 	st  %l0, [ %i1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008870:	f2 20 80 01 	st  %i1, [ %g2 + %g1 ]                         
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
 2008874:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
 2008878:	c0 26 60 88 	clr  [ %i1 + 0x88 ]                            
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
 200887c:	90 10 00 19 	mov  %i1, %o0                                  
 2008880:	40 00 03 87 	call  200969c <_User_extensions_Thread_create> 
 2008884:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 2008888:	80 8a 20 ff 	btst  0xff, %o0                                
 200888c:	12 80 00 27 	bne  2008928 <_Thread_Initialize+0x224>        
 2008890:	01 00 00 00 	nop                                            
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
 2008894:	d0 06 61 64 	ld  [ %i1 + 0x164 ], %o0                       
 2008898:	80 a2 20 00 	cmp  %o0, 0                                    
 200889c:	22 80 00 05 	be,a   20088b0 <_Thread_Initialize+0x1ac>      
 20088a0:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
    _Workspace_Free( the_thread->libc_reent );                        
 20088a4:	40 00 04 92 	call  2009aec <_Workspace_Free>                
 20088a8:	01 00 00 00 	nop                                            
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
 20088ac:	d0 06 61 68 	ld  [ %i1 + 0x168 ], %o0                       
 20088b0:	80 a2 20 00 	cmp  %o0, 0                                    
 20088b4:	22 80 00 05 	be,a   20088c8 <_Thread_Initialize+0x1c4>      
 20088b8:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 20088bc:	40 00 04 8c 	call  2009aec <_Workspace_Free>                
 20088c0:	01 00 00 00 	nop                                            
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
 20088c4:	d0 06 61 6c 	ld  [ %i1 + 0x16c ], %o0                       
 20088c8:	80 a2 20 00 	cmp  %o0, 0                                    
 20088cc:	22 80 00 05 	be,a   20088e0 <_Thread_Initialize+0x1dc>      
 20088d0:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
      _Workspace_Free( the_thread->API_Extensions[i] );               
 20088d4:	40 00 04 86 	call  2009aec <_Workspace_Free>                
 20088d8:	01 00 00 00 	nop                                            
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
 20088dc:	d0 06 61 70 	ld  [ %i1 + 0x170 ], %o0                       
 20088e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20088e4:	02 80 00 05 	be  20088f8 <_Thread_Initialize+0x1f4>         <== ALWAYS TAKEN
 20088e8:	80 a6 e0 00 	cmp  %i3, 0                                    
      _Workspace_Free( the_thread->API_Extensions[i] );               
 20088ec:	40 00 04 80 	call  2009aec <_Workspace_Free>                <== NOT EXECUTED
 20088f0:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
 20088f4:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 20088f8:	02 80 00 05 	be  200890c <_Thread_Initialize+0x208>         
 20088fc:	80 a6 a0 00 	cmp  %i2, 0                                    
    (void) _Workspace_Free( extensions_area );                        
 2008900:	40 00 04 7b 	call  2009aec <_Workspace_Free>                
 2008904:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
 2008908:	80 a6 a0 00 	cmp  %i2, 0                                    
 200890c:	02 80 00 05 	be  2008920 <_Thread_Initialize+0x21c>         
 2008910:	90 10 00 19 	mov  %i1, %o0                                  
      (void) _Workspace_Free( fp_area );                              
 2008914:	40 00 04 76 	call  2009aec <_Workspace_Free>                
 2008918:	90 10 00 1a 	mov  %i2, %o0                                  
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 200891c:	90 10 00 19 	mov  %i1, %o0                                  
 2008920:	40 00 02 42 	call  2009228 <_Thread_Stack_Free>             
 2008924:	b0 10 20 00 	clr  %i0                                       
  return false;                                                       
                                                                      
                                                                      
}                                                                     
 2008928:	81 c7 e0 08 	ret                                            
 200892c:	81 e8 00 00 	restore                                        
                                                                      

0200c6ac <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
 200c6ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
 200c6b0:	7f ff d6 95 	call  2002104 <sparc_disable_interrupts>       
 200c6b4:	a0 10 00 18 	mov  %i0, %l0                                  
 200c6b8:	b0 10 00 08 	mov  %o0, %i0                                  
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
 200c6bc:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
  if ( current_state & STATES_SUSPENDED ) {                           
 200c6c0:	80 88 60 02 	btst  2, %g1                                   
 200c6c4:	02 80 00 2c 	be  200c774 <_Thread_Resume+0xc8>              <== NEVER TAKEN
 200c6c8:	82 08 7f fd 	and  %g1, -3, %g1                              
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
 200c6cc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c6d0:	12 80 00 29 	bne  200c774 <_Thread_Resume+0xc8>             
 200c6d4:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
 200c6d8:	c4 04 20 90 	ld  [ %l0 + 0x90 ], %g2                        
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
 200c6dc:	c2 04 20 8c 	ld  [ %l0 + 0x8c ], %g1                        
 200c6e0:	c8 10 80 00 	lduh  [ %g2 ], %g4                             
 200c6e4:	c6 14 20 96 	lduh  [ %l0 + 0x96 ], %g3                      
 200c6e8:	86 11 00 03 	or  %g4, %g3, %g3                              
 200c6ec:	c6 30 80 00 	sth  %g3, [ %g2 ]                              
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 200c6f0:	84 00 60 04 	add  %g1, 4, %g2                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
 200c6f4:	da 14 20 94 	lduh  [ %l0 + 0x94 ], %o5                      
 200c6f8:	c4 24 00 00 	st  %g2, [ %l0 ]                               
 200c6fc:	07 00 80 87 	sethi  %hi(0x2021c00), %g3                     
  old_last_node       = the_chain->last;                              
 200c700:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 200c704:	c8 10 e1 f4 	lduh  [ %g3 + 0x1f4 ], %g4                     
  the_chain->last     = the_node;                                     
 200c708:	e0 20 60 08 	st  %l0, [ %g1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 200c70c:	c4 24 20 04 	st  %g2, [ %l0 + 4 ]                           
 200c710:	82 13 40 04 	or  %o5, %g4, %g1                              
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 200c714:	e0 20 80 00 	st  %l0, [ %g2 ]                               
 200c718:	c2 30 e1 f4 	sth  %g1, [ %g3 + 0x1f4 ]                      
                                                                      
      _ISR_Flash( level );                                            
 200c71c:	7f ff d6 7e 	call  2002114 <sparc_enable_interrupts>        
 200c720:	01 00 00 00 	nop                                            
 200c724:	7f ff d6 78 	call  2002104 <sparc_disable_interrupts>       
 200c728:	01 00 00 00 	nop                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
 200c72c:	05 00 80 87 	sethi  %hi(0x2021c00), %g2                     
 200c730:	c6 00 a1 d0 	ld  [ %g2 + 0x1d0 ], %g3	! 2021dd0 <_Thread_Heir>
 200c734:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 200c738:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
 200c73c:	80 a0 40 03 	cmp  %g1, %g3                                  
 200c740:	1a 80 00 0d 	bcc  200c774 <_Thread_Resume+0xc8>             
 200c744:	07 00 80 87 	sethi  %hi(0x2021c00), %g3                     
        _Thread_Heir = the_thread;                                    
        if ( _Thread_Executing->is_preemptible ||                     
 200c748:	c6 00 e2 00 	ld  [ %g3 + 0x200 ], %g3	! 2021e00 <_Thread_Executing>
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
        _Thread_Heir = the_thread;                                    
 200c74c:	e0 20 a1 d0 	st  %l0, [ %g2 + 0x1d0 ]                       
        if ( _Thread_Executing->is_preemptible ||                     
 200c750:	c4 08 e0 75 	ldub  [ %g3 + 0x75 ], %g2                      
 200c754:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c758:	12 80 00 05 	bne  200c76c <_Thread_Resume+0xc0>             
 200c75c:	84 10 20 01 	mov  1, %g2                                    
 200c760:	80 a0 60 00 	cmp  %g1, 0                                    
 200c764:	12 80 00 04 	bne  200c774 <_Thread_Resume+0xc8>             <== ALWAYS TAKEN
 200c768:	01 00 00 00 	nop                                            
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
 200c76c:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 200c770:	c4 28 62 10 	stb  %g2, [ %g1 + 0x210 ]	! 2021e10 <_Context_Switch_necessary>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200c774:	7f ff d6 68 	call  2002114 <sparc_enable_interrupts>        
 200c778:	81 e8 00 00 	restore                                        
                                                                      

02009228 <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
 2009228:	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 )                    
 200922c:	c2 0e 20 c0 	ldub  [ %i0 + 0xc0 ], %g1                      
 2009230:	80 a0 60 00 	cmp  %g1, 0                                    
 2009234:	02 80 00 08 	be  2009254 <_Thread_Stack_Free+0x2c>          <== NEVER TAKEN
 2009238:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
 200923c:	c2 00 63 7c 	ld  [ %g1 + 0x37c ], %g1	! 201d77c <Configuration+0x24>
 2009240:	80 a0 60 00 	cmp  %g1, 0                                    
 2009244:	02 80 00 06 	be  200925c <_Thread_Stack_Free+0x34>          
 2009248:	d0 06 20 c8 	ld  [ %i0 + 0xc8 ], %o0                        
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
 200924c:	9f c0 40 00 	call  %g1                                      
 2009250:	01 00 00 00 	nop                                            
 2009254:	81 c7 e0 08 	ret                                            
 2009258:	81 e8 00 00 	restore                                        
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
 200925c:	40 00 02 24 	call  2009aec <_Workspace_Free>                
 2009260:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200930c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
 200930c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
 2009310:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009314:	e0 00 63 50 	ld  [ %g1 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
 2009318:	c2 0c 20 75 	ldub  [ %l0 + 0x75 ], %g1                      
 200931c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009320:	02 80 00 23 	be  20093ac <_Thread_Tickle_timeslice+0xa0>    
 2009324:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
 2009328:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
 200932c:	80 a0 60 00 	cmp  %g1, 0                                    
 2009330:	12 80 00 1f 	bne  20093ac <_Thread_Tickle_timeslice+0xa0>   
 2009334:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
 2009338:	c2 04 20 7c 	ld  [ %l0 + 0x7c ], %g1                        
 200933c:	80 a0 60 01 	cmp  %g1, 1                                    
 2009340:	0a 80 00 12 	bcs  2009388 <_Thread_Tickle_timeslice+0x7c>   
 2009344:	80 a0 60 02 	cmp  %g1, 2                                    
 2009348:	28 80 00 07 	bleu,a   2009364 <_Thread_Tickle_timeslice+0x58>
 200934c:	c2 04 20 78 	ld  [ %l0 + 0x78 ], %g1                        
 2009350:	80 a0 60 03 	cmp  %g1, 3                                    
 2009354:	12 80 00 16 	bne  20093ac <_Thread_Tickle_timeslice+0xa0>   <== NEVER TAKEN
 2009358:	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 )                             
 200935c:	10 80 00 0d 	b  2009390 <_Thread_Tickle_timeslice+0x84>     
 2009360:	c2 04 20 78 	ld  [ %l0 + 0x78 ], %g1                        
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
 2009364:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009368:	80 a0 60 00 	cmp  %g1, 0                                    
 200936c:	14 80 00 07 	bg  2009388 <_Thread_Tickle_timeslice+0x7c>    
 2009370:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
        _Thread_Reset_timeslice();                                    
 2009374:	40 00 12 98 	call  200ddd4 <_Thread_Reset_timeslice>        
 2009378:	01 00 00 00 	nop                                            
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
 200937c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009380:	c2 00 61 e8 	ld  [ %g1 + 0x1e8 ], %g1	! 201e1e8 <_Thread_Ticks_per_timeslice>
 2009384:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
 2009388:	81 c7 e0 08 	ret                                            
 200938c:	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 )                             
 2009390:	82 00 7f ff 	add  %g1, -1, %g1                              
 2009394:	80 a0 60 00 	cmp  %g1, 0                                    
 2009398:	12 bf ff fc 	bne  2009388 <_Thread_Tickle_timeslice+0x7c>   
 200939c:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
	  (*executing->budget_callout)( executing );                         
 20093a0:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 20093a4:	9f c0 40 00 	call  %g1                                      
 20093a8:	90 10 00 10 	mov  %l0, %o0                                  
 20093ac:	81 c7 e0 08 	ret                                            
 20093b0:	81 e8 00 00 	restore                                        
                                                                      

020093b4 <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
 20093b4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
 20093b8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20093bc:	e0 00 63 50 	ld  [ %g1 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  ready     = executing->ready;                                       
  _ISR_Disable( level );                                              
 20093c0:	7f ff e3 01 	call  2001fc4 <sparc_disable_interrupts>       
 20093c4:	e2 04 20 8c 	ld  [ %l0 + 0x8c ], %l1                        
 20093c8:	b0 10 00 08 	mov  %o0, %i0                                  
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
 20093cc:	c4 04 40 00 	ld  [ %l1 ], %g2                               
 20093d0:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
 20093d4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20093d8:	02 80 00 17 	be  2009434 <_Thread_Yield_processor+0x80>     
 20093dc:	25 00 80 78 	sethi  %hi(0x201e000), %l2                     
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 20093e0:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 20093e4:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 20093e8:	86 04 60 04 	add  %l1, 4, %g3                               
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
 20093ec:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
 20093f0:	c6 24 00 00 	st  %g3, [ %l0 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 20093f4:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
 20093f8:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
  the_chain->last     = the_node;                                     
 20093fc:	e0 24 60 08 	st  %l0, [ %l1 + 8 ]                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
 2009400:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
 2009404:	e0 20 40 00 	st  %l0, [ %g1 ]                               
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
 2009408:	7f ff e2 f3 	call  2001fd4 <sparc_enable_interrupts>        
 200940c:	01 00 00 00 	nop                                            
 2009410:	7f ff e2 ed 	call  2001fc4 <sparc_disable_interrupts>       
 2009414:	01 00 00 00 	nop                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
 2009418:	c2 04 a3 20 	ld  [ %l2 + 0x320 ], %g1                       
 200941c:	80 a4 00 01 	cmp  %l0, %g1                                  
 2009420:	12 80 00 09 	bne  2009444 <_Thread_Yield_processor+0x90>    <== NEVER TAKEN
 2009424:	84 10 20 01 	mov  1, %g2                                    
        _Thread_Heir = (Thread_Control *) ready->first;               
 2009428:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 200942c:	10 80 00 06 	b  2009444 <_Thread_Yield_processor+0x90>      
 2009430:	c2 24 a3 20 	st  %g1, [ %l2 + 0x320 ]                       
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
 2009434:	c2 04 a3 20 	ld  [ %l2 + 0x320 ], %g1                       
 2009438:	80 a4 00 01 	cmp  %l0, %g1                                  
 200943c:	02 80 00 04 	be  200944c <_Thread_Yield_processor+0x98>     <== ALWAYS TAKEN
 2009440:	84 10 20 01 	mov  1, %g2                                    
      _Context_Switch_necessary = true;                               
 2009444:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009448:	c4 28 63 60 	stb  %g2, [ %g1 + 0x360 ]	! 201e360 <_Context_Switch_necessary>
                                                                      
  _ISR_Enable( level );                                               
 200944c:	7f ff e2 e2 	call  2001fd4 <sparc_enable_interrupts>        
 2009450:	81 e8 00 00 	restore                                        
                                                                      

02008c4c <_Thread_queue_Enqueue_priority>: Thread_blocking_operation_States _Thread_queue_Enqueue_priority ( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_Level *level_p ) {
 2008c4c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
 2008c50:	e0 06 60 14 	ld  [ %i1 + 0x14 ], %l0                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2008c54:	82 06 60 3c 	add  %i1, 0x3c, %g1                            
  the_chain->permanent_null = NULL;                                   
 2008c58:	c0 26 60 3c 	clr  [ %i1 + 0x3c ]                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2008c5c:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2008c60:	82 06 60 38 	add  %i1, 0x38, %g1                            
 2008c64:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 2008c68:	2d 00 80 75 	sethi  %hi(0x201d400), %l6                     
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 2008c6c:	83 34 20 06 	srl  %l0, 6, %g1                               
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 2008c70:	80 8c 20 20 	btst  0x20, %l0                                
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 2008c74:	a7 28 60 04 	sll  %g1, 4, %l3                               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 2008c78:	ac 15 a3 54 	or  %l6, 0x354, %l6                            
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 2008c7c:	83 28 60 02 	sll  %g1, 2, %g1                               
  block_state  = the_thread_queue->state;                             
 2008c80:	ea 06 20 38 	ld  [ %i0 + 0x38 ], %l5                        
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
 2008c84:	a6 24 c0 01 	sub  %l3, %g1, %l3                             
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
 2008c88:	12 80 00 23 	bne  2008d14 <_Thread_queue_Enqueue_priority+0xc8>
 2008c8c:	a6 06 00 13 	add  %i0, %l3, %l3                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 2008c90:	ac 04 e0 04 	add  %l3, 4, %l6                               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
 2008c94:	7f ff e4 cc 	call  2001fc4 <sparc_disable_interrupts>       
 2008c98:	01 00 00 00 	nop                                            
 2008c9c:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->first;                   
 2008ca0:	a8 10 3f ff 	mov  -1, %l4                                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 2008ca4:	10 80 00 10 	b  2008ce4 <_Thread_queue_Enqueue_priority+0x98>
 2008ca8:	e2 04 c0 00 	ld  [ %l3 ], %l1                               
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
 2008cac:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008cb0:	28 80 00 11 	bleu,a   2008cf4 <_Thread_queue_Enqueue_priority+0xa8>
 2008cb4:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 2008cb8:	7f ff e4 c7 	call  2001fd4 <sparc_enable_interrupts>        
 2008cbc:	90 10 00 12 	mov  %l2, %o0                                  
 2008cc0:	7f ff e4 c1 	call  2001fc4 <sparc_disable_interrupts>       
 2008cc4:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 2008cc8:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2008ccc:	80 8d 40 01 	btst  %l5, %g1                                 
 2008cd0:	32 80 00 05 	bne,a   2008ce4 <_Thread_queue_Enqueue_priority+0x98><== ALWAYS TAKEN
 2008cd4:	e2 04 40 00 	ld  [ %l1 ], %l1                               
      _ISR_Enable( level );                                           
 2008cd8:	7f ff e4 bf 	call  2001fd4 <sparc_enable_interrupts>        <== NOT EXECUTED
 2008cdc:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      goto restart_forward_search;                                    
 2008ce0:	30 bf ff ed 	b,a   2008c94 <_Thread_queue_Enqueue_priority+0x48><== NOT EXECUTED
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
 2008ce4:	80 a4 40 16 	cmp  %l1, %l6                                  
 2008ce8:	32 bf ff f1 	bne,a   2008cac <_Thread_queue_Enqueue_priority+0x60>
 2008cec:	e8 04 60 14 	ld  [ %l1 + 0x14 ], %l4                        
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 2008cf0:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 2008cf4:	80 a0 60 01 	cmp  %g1, 1                                    
 2008cf8:	12 80 00 37 	bne  2008dd4 <_Thread_queue_Enqueue_priority+0x188>
 2008cfc:	90 10 00 12 	mov  %l2, %o0                                  
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 2008d00:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008d04:	12 80 00 2a 	bne  2008dac <_Thread_queue_Enqueue_priority+0x160>
 2008d08:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
 2008d0c:	10 80 00 28 	b  2008dac <_Thread_queue_Enqueue_priority+0x160>
 2008d10:	a2 04 60 3c 	add  %l1, 0x3c, %l1                            
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
 2008d14:	7f ff e4 ac 	call  2001fc4 <sparc_disable_interrupts>       
 2008d18:	e8 0d 80 00 	ldub  [ %l6 ], %l4                             
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
 2008d1c:	a8 05 20 01 	inc  %l4                                       
                                                                      
  _ISR_Disable( level );                                              
 2008d20:	a4 10 00 08 	mov  %o0, %l2                                  
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 2008d24:	10 80 00 10 	b  2008d64 <_Thread_queue_Enqueue_priority+0x118>
 2008d28:	e2 04 e0 08 	ld  [ %l3 + 8 ], %l1                           
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
 2008d2c:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008d30:	3a 80 00 11 	bcc,a   2008d74 <_Thread_queue_Enqueue_priority+0x128>
 2008d34:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
 2008d38:	7f ff e4 a7 	call  2001fd4 <sparc_enable_interrupts>        
 2008d3c:	90 10 00 12 	mov  %l2, %o0                                  
 2008d40:	7f ff e4 a1 	call  2001fc4 <sparc_disable_interrupts>       
 2008d44:	01 00 00 00 	nop                                            
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
 2008d48:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 2008d4c:	80 8d 40 01 	btst  %l5, %g1                                 
 2008d50:	32 80 00 05 	bne,a   2008d64 <_Thread_queue_Enqueue_priority+0x118>
 2008d54:	e2 04 60 04 	ld  [ %l1 + 4 ], %l1                           
      _ISR_Enable( level );                                           
 2008d58:	7f ff e4 9f 	call  2001fd4 <sparc_enable_interrupts>        
 2008d5c:	90 10 00 12 	mov  %l2, %o0                                  
      goto restart_reverse_search;                                    
 2008d60:	30 bf ff ed 	b,a   2008d14 <_Thread_queue_Enqueue_priority+0xc8>
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
 2008d64:	80 a4 40 13 	cmp  %l1, %l3                                  
 2008d68:	32 bf ff f1 	bne,a   2008d2c <_Thread_queue_Enqueue_priority+0xe0>
 2008d6c:	e8 04 60 14 	ld  [ %l1 + 0x14 ], %l4                        
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
 2008d70:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 2008d74:	80 a0 60 01 	cmp  %g1, 1                                    
 2008d78:	12 80 00 17 	bne  2008dd4 <_Thread_queue_Enqueue_priority+0x188>
 2008d7c:	90 10 00 12 	mov  %l2, %o0                                  
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( priority == search_priority )                                  
 2008d80:	80 a4 00 14 	cmp  %l0, %l4                                  
 2008d84:	02 80 00 09 	be  2008da8 <_Thread_queue_Enqueue_priority+0x15c>
 2008d88:	c0 26 20 30 	clr  [ %i0 + 0x30 ]                            
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
 2008d8c:	c2 04 40 00 	ld  [ %l1 ], %g1                               
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
 2008d90:	e2 26 60 04 	st  %l1, [ %i1 + 4 ]                           
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
 2008d94:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 2008d98:	f0 26 60 44 	st  %i0, [ %i1 + 0x44 ]                        
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
 2008d9c:	f2 24 40 00 	st  %i1, [ %l1 ]                               
  next_node->previous    = the_node;                                  
 2008da0:	10 80 00 09 	b  2008dc4 <_Thread_queue_Enqueue_priority+0x178>
 2008da4:	f2 20 60 04 	st  %i1, [ %g1 + 4 ]                           
 2008da8:	a2 04 60 3c 	add  %l1, 0x3c, %l1                            
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
 2008dac:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
 2008db0:	e2 26 40 00 	st  %l1, [ %i1 ]                               
  the_node->previous     = previous_node;                             
 2008db4:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
 2008db8:	f0 26 60 44 	st  %i0, [ %i1 + 0x44 ]                        
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
 2008dbc:	f2 20 40 00 	st  %i1, [ %g1 ]                               
  search_node->previous  = the_node;                                  
 2008dc0:	f2 24 60 04 	st  %i1, [ %l1 + 4 ]                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
 2008dc4:	7f ff e4 84 	call  2001fd4 <sparc_enable_interrupts>        
 2008dc8:	b0 10 20 01 	mov  1, %i0                                    
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
 2008dcc:	81 c7 e0 08 	ret                                            
 2008dd0:	81 e8 00 00 	restore                                        
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
 2008dd4:	f0 06 20 30 	ld  [ %i0 + 0x30 ], %i0                        
   *  For example, the blocking thread could have been given          
   *  the mutex by an ISR or timed out.                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
 2008dd8:	d0 26 80 00 	st  %o0, [ %i2 ]                               
  return the_thread_queue->sync_state;                                
}                                                                     
 2008ddc:	81 c7 e0 08 	ret                                            
 2008de0:	81 e8 00 00 	restore                                        
                                                                      

02008e90 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 2008e90:	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 )                                            
 2008e94:	80 a6 20 00 	cmp  %i0, 0                                    
 2008e98:	02 80 00 19 	be  2008efc <_Thread_queue_Requeue+0x6c>       <== NEVER TAKEN
 2008e9c:	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 ) {
 2008ea0:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
 2008ea4:	80 a4 60 01 	cmp  %l1, 1                                    
 2008ea8:	12 80 00 15 	bne  2008efc <_Thread_queue_Requeue+0x6c>      <== NEVER TAKEN
 2008eac:	01 00 00 00 	nop                                            
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 2008eb0:	7f ff e4 45 	call  2001fc4 <sparc_disable_interrupts>       
 2008eb4:	01 00 00 00 	nop                                            
 2008eb8:	a0 10 00 08 	mov  %o0, %l0                                  
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 2008ebc:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
 2008ec0:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 2008ec4:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
 2008ec8:	80 88 80 01 	btst  %g2, %g1                                 
 2008ecc:	02 80 00 0a 	be  2008ef4 <_Thread_queue_Requeue+0x64>       <== NEVER TAKEN
 2008ed0:	94 10 20 01 	mov  1, %o2                                    
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
 2008ed4:	90 10 00 18 	mov  %i0, %o0                                  
 2008ed8:	92 10 00 19 	mov  %i1, %o1                                  
 2008edc:	40 00 13 1d 	call  200db50 <_Thread_queue_Extract_priority_helper>
 2008ee0:	e2 26 20 30 	st  %l1, [ %i0 + 0x30 ]                        
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 2008ee4:	90 10 00 18 	mov  %i0, %o0                                  
 2008ee8:	92 10 00 19 	mov  %i1, %o1                                  
 2008eec:	7f ff ff 58 	call  2008c4c <_Thread_queue_Enqueue_priority> 
 2008ef0:	94 07 bf fc 	add  %fp, -4, %o2                              
    }                                                                 
    _ISR_Enable( level );                                             
 2008ef4:	7f ff e4 38 	call  2001fd4 <sparc_enable_interrupts>        
 2008ef8:	90 10 00 10 	mov  %l0, %o0                                  
 2008efc:	81 c7 e0 08 	ret                                            
 2008f00:	81 e8 00 00 	restore                                        
                                                                      

02008f04 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 2008f04:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2008f08:	90 10 00 18 	mov  %i0, %o0                                  
 2008f0c:	7f ff fd d3 	call  2008658 <_Thread_Get>                    
 2008f10:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2008f14:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2008f18:	80 a0 60 00 	cmp  %g1, 0                                    
 2008f1c:	12 80 00 08 	bne  2008f3c <_Thread_queue_Timeout+0x38>      <== NEVER TAKEN
 2008f20:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 2008f24:	40 00 13 42 	call  200dc2c <_Thread_queue_Process_timeout>  
 2008f28:	01 00 00 00 	nop                                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
 2008f2c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2008f30:	c4 00 62 90 	ld  [ %g1 + 0x290 ], %g2	! 201e290 <_Thread_Dispatch_disable_level>
 2008f34:	84 00 bf ff 	add  %g2, -1, %g2                              
 2008f38:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
 2008f3c:	81 c7 e0 08 	ret                                            
 2008f40:	81 e8 00 00 	restore                                        
                                                                      

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

02015de4 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 2015de4:	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;            
 2015de8:	35 00 80 fc 	sethi  %hi(0x203f000), %i2                     
 2015dec:	b2 07 bf f4 	add  %fp, -12, %i1                             
 2015df0:	ac 07 bf f8 	add  %fp, -8, %l6                              
 2015df4:	a2 07 bf e8 	add  %fp, -24, %l1                             
 2015df8:	a6 07 bf ec 	add  %fp, -20, %l3                             
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2015dfc:	37 00 80 fb 	sethi  %hi(0x203ec00), %i3                     
 2015e00:	2b 00 80 fb 	sethi  %hi(0x203ec00), %l5                     
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
 2015e04:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2015e08:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  the_chain->last           = _Chain_Head(the_chain);                 
 2015e0c:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2015e10:	ec 27 bf f4 	st  %l6, [ %fp + -12 ]                         
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
 2015e14:	e2 27 bf f0 	st  %l1, [ %fp + -16 ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
 2015e18:	e6 27 bf e8 	st  %l3, [ %fp + -24 ]                         
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2015e1c:	b4 16 a0 a4 	or  %i2, 0xa4, %i2                             
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2015e20:	b6 16 e3 e4 	or  %i3, 0x3e4, %i3                            
 2015e24:	aa 15 63 50 	or  %l5, 0x350, %l5                            
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2015e28:	a8 06 20 30 	add  %i0, 0x30, %l4                            
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
 2015e2c:	a4 06 20 68 	add  %i0, 0x68, %l2                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2015e30:	b8 06 20 08 	add  %i0, 8, %i4                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2015e34:	ba 06 20 40 	add  %i0, 0x40, %i5                            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
 2015e38:	ae 10 20 01 	mov  1, %l7                                    
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
 2015e3c:	f2 26 20 78 	st  %i1, [ %i0 + 0x78 ]                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 2015e40:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 2015e44:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2015e48:	94 10 00 11 	mov  %l1, %o2                                  
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2015e4c:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2015e50:	92 20 40 09 	sub  %g1, %o1, %o1                             
 2015e54:	40 00 11 b3 	call  201a520 <_Watchdog_Adjust_to_chain>      
 2015e58:	90 10 00 14 	mov  %l4, %o0                                  
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 2015e5c:	d4 06 20 74 	ld  [ %i0 + 0x74 ], %o2                        
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
 2015e60:	e0 06 c0 00 	ld  [ %i3 ], %l0                               
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
 2015e64:	80 a4 00 0a 	cmp  %l0, %o2                                  
 2015e68:	08 80 00 06 	bleu  2015e80 <_Timer_server_Body+0x9c>        
 2015e6c:	92 24 00 0a 	sub  %l0, %o2, %o1                             
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
 2015e70:	90 10 00 12 	mov  %l2, %o0                                  
 2015e74:	40 00 11 ab 	call  201a520 <_Watchdog_Adjust_to_chain>      
 2015e78:	94 10 00 11 	mov  %l1, %o2                                  
 2015e7c:	30 80 00 06 	b,a   2015e94 <_Timer_server_Body+0xb0>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 2015e80:	1a 80 00 05 	bcc  2015e94 <_Timer_server_Body+0xb0>         
 2015e84:	94 22 80 10 	sub  %o2, %l0, %o2                             
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
 2015e88:	90 10 00 12 	mov  %l2, %o0                                  
 2015e8c:	40 00 11 7e 	call  201a484 <_Watchdog_Adjust>               
 2015e90:	92 10 20 01 	mov  1, %o1                                    
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2015e94:	e0 26 20 74 	st  %l0, [ %i0 + 0x74 ]                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 2015e98:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 2015e9c:	40 00 02 7a 	call  2016884 <_Chain_Get>                     
 2015ea0:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 2015ea4:	80 a2 20 00 	cmp  %o0, 0                                    
 2015ea8:	02 80 00 0f 	be  2015ee4 <_Timer_server_Body+0x100>         
 2015eac:	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 ) {                 
 2015eb0:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2015eb4:	80 a0 60 01 	cmp  %g1, 1                                    
 2015eb8:	12 80 00 05 	bne  2015ecc <_Timer_server_Body+0xe8>         
 2015ebc:	80 a0 60 03 	cmp  %g1, 3                                    
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 2015ec0:	92 02 20 10 	add  %o0, 0x10, %o1                            
 2015ec4:	10 80 00 05 	b  2015ed8 <_Timer_server_Body+0xf4>           
 2015ec8:	90 10 00 14 	mov  %l4, %o0                                  
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 2015ecc:	12 bf ff f3 	bne  2015e98 <_Timer_server_Body+0xb4>         <== NEVER TAKEN
 2015ed0:	92 02 20 10 	add  %o0, 0x10, %o1                            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 2015ed4:	90 10 00 12 	mov  %l2, %o0                                  
 2015ed8:	40 00 11 c7 	call  201a5f4 <_Watchdog_Insert>               
 2015edc:	01 00 00 00 	nop                                            
 2015ee0:	30 bf ff ee 	b,a   2015e98 <_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 );                                            
 2015ee4:	7f ff e2 57 	call  200e840 <sparc_disable_interrupts>       
 2015ee8:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 2015eec:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2015ef0:	80 a0 40 16 	cmp  %g1, %l6                                  
 2015ef4:	12 80 00 0a 	bne  2015f1c <_Timer_server_Body+0x138>        <== NEVER TAKEN
 2015ef8:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
 2015efc:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 2015f00:	7f ff e2 54 	call  200e850 <sparc_enable_interrupts>        
 2015f04:	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 ) ) {                          
 2015f08:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 2015f0c:	80 a0 40 13 	cmp  %g1, %l3                                  
 2015f10:	12 80 00 06 	bne  2015f28 <_Timer_server_Body+0x144>        
 2015f14:	01 00 00 00 	nop                                            
 2015f18:	30 80 00 1a 	b,a   2015f80 <_Timer_server_Body+0x19c>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 2015f1c:	7f ff e2 4d 	call  200e850 <sparc_enable_interrupts>        <== NOT EXECUTED
 2015f20:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2015f24:	30 bf ff c7 	b,a   2015e40 <_Timer_server_Body+0x5c>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 2015f28:	7f ff e2 46 	call  200e840 <sparc_disable_interrupts>       
 2015f2c:	01 00 00 00 	nop                                            
 2015f30:	84 10 00 08 	mov  %o0, %g2                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 2015f34:	e0 07 bf e8 	ld  [ %fp + -24 ], %l0                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 2015f38:	80 a4 00 13 	cmp  %l0, %l3                                  
 2015f3c:	02 80 00 0e 	be  2015f74 <_Timer_server_Body+0x190>         
 2015f40:	80 a4 20 00 	cmp  %l0, 0                                    
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
 2015f44:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  the_chain->first    = new_first;                                    
 2015f48:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
 2015f4c:	02 80 00 0a 	be  2015f74 <_Timer_server_Body+0x190>         <== NEVER TAKEN
 2015f50:	e2 20 60 04 	st  %l1, [ %g1 + 4 ]                           
          watchdog->state = WATCHDOG_INACTIVE;                        
 2015f54:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
          _ISR_Enable( level );                                       
 2015f58:	7f ff e2 3e 	call  200e850 <sparc_enable_interrupts>        
 2015f5c:	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 );    
 2015f60:	d2 04 20 24 	ld  [ %l0 + 0x24 ], %o1                        
 2015f64:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 2015f68:	9f c0 40 00 	call  %g1                                      
 2015f6c:	d0 04 20 20 	ld  [ %l0 + 0x20 ], %o0                        
      }                                                               
 2015f70:	30 bf ff ee 	b,a   2015f28 <_Timer_server_Body+0x144>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 2015f74:	7f ff e2 37 	call  200e850 <sparc_enable_interrupts>        
 2015f78:	90 10 00 02 	mov  %g2, %o0                                  
 2015f7c:	30 bf ff b0 	b,a   2015e3c <_Timer_server_Body+0x58>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 2015f80:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
 2015f84:	c2 05 40 00 	ld  [ %l5 ], %g1                               
 2015f88:	82 00 60 01 	inc  %g1                                       
 2015f8c:	c2 25 40 00 	st  %g1, [ %l5 ]                               
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 2015f90:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2015f94:	40 00 0e 99 	call  20199f8 <_Thread_Set_state>              
 2015f98:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 2015f9c:	7f ff ff 68 	call  2015d3c <_Timer_server_Reset_interval_system_watchdog>
 2015fa0:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 2015fa4:	7f ff ff 7b 	call  2015d90 <_Timer_server_Reset_tod_system_watchdog>
 2015fa8:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 2015fac:	40 00 0b c2 	call  2018eb4 <_Thread_Enable_dispatch>        
 2015fb0:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2015fb4:	90 10 00 1c 	mov  %i4, %o0                                  
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
 2015fb8:	ee 2e 20 7c 	stb  %l7, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2015fbc:	40 00 11 ea 	call  201a764 <_Watchdog_Remove>               
 2015fc0:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2015fc4:	40 00 11 e8 	call  201a764 <_Watchdog_Remove>               
 2015fc8:	90 10 00 1d 	mov  %i5, %o0                                  
 2015fcc:	30 bf ff 9c 	b,a   2015e3c <_Timer_server_Body+0x58>        
                                                                      

0200b978 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200b978:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200b97c:	7f ff dd 78 	call  2002f5c <sparc_disable_interrupts>       
 200b980:	a0 10 00 18 	mov  %i0, %l0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200b984:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200b988:	a2 06 20 04 	add  %i0, 4, %l1                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
 200b98c:	80 a0 40 11 	cmp  %g1, %l1                                  
 200b990:	02 80 00 1e 	be  200ba08 <_Watchdog_Adjust+0x90>            
 200b994:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200b998:	02 80 00 19 	be  200b9fc <_Watchdog_Adjust+0x84>            
 200b99c:	a4 10 20 01 	mov  1, %l2                                    
 200b9a0:	80 a6 60 01 	cmp  %i1, 1                                    
 200b9a4:	12 80 00 19 	bne  200ba08 <_Watchdog_Adjust+0x90>           <== NEVER TAKEN
 200b9a8:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200b9ac:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200b9b0:	10 80 00 07 	b  200b9cc <_Watchdog_Adjust+0x54>             
 200b9b4:	b4 00 80 1a 	add  %g2, %i2, %i2                             
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200b9b8:	f2 00 60 10 	ld  [ %g1 + 0x10 ], %i1                        
 200b9bc:	80 a6 80 19 	cmp  %i2, %i1                                  
 200b9c0:	3a 80 00 05 	bcc,a   200b9d4 <_Watchdog_Adjust+0x5c>        
 200b9c4:	e4 20 60 10 	st  %l2, [ %g1 + 0x10 ]                        
            _Watchdog_First( header )->delta_interval -= units;       
 200b9c8:	b4 26 40 1a 	sub  %i1, %i2, %i2                             
            break;                                                    
 200b9cc:	10 80 00 0f 	b  200ba08 <_Watchdog_Adjust+0x90>             
 200b9d0:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
 200b9d4:	7f ff dd 66 	call  2002f6c <sparc_enable_interrupts>        
 200b9d8:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200b9dc:	40 00 00 94 	call  200bc2c <_Watchdog_Tickle>               
 200b9e0:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200b9e4:	7f ff dd 5e 	call  2002f5c <sparc_disable_interrupts>       
 200b9e8:	01 00 00 00 	nop                                            
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200b9ec:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 200b9f0:	80 a0 40 11 	cmp  %g1, %l1                                  
 200b9f4:	02 80 00 05 	be  200ba08 <_Watchdog_Adjust+0x90>            
 200b9f8:	b4 26 80 19 	sub  %i2, %i1, %i2                             
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200b9fc:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ba00:	32 bf ff ee 	bne,a   200b9b8 <_Watchdog_Adjust+0x40>        <== ALWAYS TAKEN
 200ba04:	c2 04 00 00 	ld  [ %l0 ], %g1                               
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200ba08:	7f ff dd 59 	call  2002f6c <sparc_enable_interrupts>        
 200ba0c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02009944 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 2009944:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 2009948:	7f ff e1 9f 	call  2001fc4 <sparc_disable_interrupts>       
 200994c:	a0 10 00 18 	mov  %i0, %l0                                  
  previous_state = the_watchdog->state;                               
 2009950:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           
  switch ( previous_state ) {                                         
 2009954:	80 a6 20 01 	cmp  %i0, 1                                    
 2009958:	22 80 00 1e 	be,a   20099d0 <_Watchdog_Remove+0x8c>         
 200995c:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
 2009960:	0a 80 00 1d 	bcs  20099d4 <_Watchdog_Remove+0x90>           
 2009964:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2009968:	80 a6 20 03 	cmp  %i0, 3                                    
 200996c:	18 80 00 1a 	bgu  20099d4 <_Watchdog_Remove+0x90>           <== NEVER TAKEN
 2009970:	01 00 00 00 	nop                                            
 2009974:	c2 04 00 00 	ld  [ %l0 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 2009978:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 200997c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009980:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009984:	22 80 00 07 	be,a   20099a0 <_Watchdog_Remove+0x5c>         
 2009988:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 200998c:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3	! 201e010 <Console_Port_Data+0x60>
 2009990:	c4 04 20 10 	ld  [ %l0 + 0x10 ], %g2                        
 2009994:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2009998:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 200999c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20099a0:	c2 00 63 e0 	ld  [ %g1 + 0x3e0 ], %g1	! 201e3e0 <_Watchdog_Sync_count>
 20099a4:	80 a0 60 00 	cmp  %g1, 0                                    
 20099a8:	22 80 00 07 	be,a   20099c4 <_Watchdog_Remove+0x80>         
 20099ac:	c2 04 00 00 	ld  [ %l0 ], %g1                               
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 20099b0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20099b4:	c4 00 63 2c 	ld  [ %g1 + 0x32c ], %g2	! 201e32c <_ISR_Nest_level>
 20099b8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20099bc:	c4 20 63 4c 	st  %g2, [ %g1 + 0x34c ]	! 201e34c <_Watchdog_Sync_level>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 20099c0:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  previous       = the_node->previous;                                
 20099c4:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
  next->previous = previous;                                          
  previous->next = next;                                              
 20099c8:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 20099cc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 20099d0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20099d4:	c2 00 63 e4 	ld  [ %g1 + 0x3e4 ], %g1	! 201e3e4 <_Watchdog_Ticks_since_boot>
 20099d8:	c2 24 20 18 	st  %g1, [ %l0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 20099dc:	7f ff e1 7e 	call  2001fd4 <sparc_enable_interrupts>        
 20099e0:	01 00 00 00 	nop                                            
  return( previous_state );                                           
}                                                                     
 20099e4:	81 c7 e0 08 	ret                                            
 20099e8:	81 e8 00 00 	restore                                        
                                                                      

0200b0e8 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200b0e8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200b0ec:	7f ff de 5a 	call  2002a54 <sparc_disable_interrupts>       
 200b0f0:	a0 10 00 18 	mov  %i0, %l0                                  
 200b0f4:	b0 10 00 08 	mov  %o0, %i0                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200b0f8:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
 200b0fc:	94 10 00 19 	mov  %i1, %o2                                  
 200b100:	90 12 21 f0 	or  %o0, 0x1f0, %o0                            
 200b104:	7f ff e5 a6 	call  200479c <printk>                         
 200b108:	92 10 00 10 	mov  %l0, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
 200b10c:	e2 06 40 00 	ld  [ %i1 ], %l1                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200b110:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200b114:	80 a4 40 19 	cmp  %l1, %i1                                  
 200b118:	02 80 00 0e 	be  200b150 <_Watchdog_Report_chain+0x68>      
 200b11c:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200b120:	92 10 00 11 	mov  %l1, %o1                                  
 200b124:	40 00 00 10 	call  200b164 <_Watchdog_Report>               
 200b128:	90 10 20 00 	clr  %o0                                       
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
 200b12c:	e2 04 40 00 	ld  [ %l1 ], %l1                               
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
 200b130:	80 a4 40 19 	cmp  %l1, %i1                                  
 200b134:	12 bf ff fc 	bne  200b124 <_Watchdog_Report_chain+0x3c>     <== NEVER TAKEN
 200b138:	92 10 00 11 	mov  %l1, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200b13c:	92 10 00 10 	mov  %l0, %o1                                  
 200b140:	11 00 80 87 	sethi  %hi(0x2021c00), %o0                     
 200b144:	7f ff e5 96 	call  200479c <printk>                         
 200b148:	90 12 22 08 	or  %o0, 0x208, %o0	! 2021e08 <C.33.3522+0x2c> 
 200b14c:	30 80 00 03 	b,a   200b158 <_Watchdog_Report_chain+0x70>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200b150:	7f ff e5 93 	call  200479c <printk>                         
 200b154:	90 12 22 18 	or  %o0, 0x218, %o0                            
    }                                                                 
  _ISR_Enable( level );                                               
 200b158:	7f ff de 43 	call  2002a64 <sparc_enable_interrupts>        
 200b15c:	81 e8 00 00 	restore                                        
                                                                      

0200626c <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
 200626c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
 2006270:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 2006274:	02 80 00 07 	be  2006290 <adjtime+0x24>                     
 2006278:	03 00 03 d0 	sethi  %hi(0xf4000), %g1                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
 200627c:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
 2006280:	82 10 62 3f 	or  %g1, 0x23f, %g1                            
 2006284:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006288:	08 80 00 08 	bleu  20062a8 <adjtime+0x3c>                   
 200628c:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2006290:	40 00 2c f2 	call  2011658 <__errno>                        
 2006294:	b0 10 3f ff 	mov  -1, %i0                                   
 2006298:	82 10 20 16 	mov  0x16, %g1                                 
 200629c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20062a0:	81 c7 e0 08 	ret                                            
 20062a4:	81 e8 00 00 	restore                                        
                                                                      
  if ( olddelta ) {                                                   
 20062a8:	22 80 00 05 	be,a   20062bc <adjtime+0x50>                  
 20062ac:	c2 04 00 00 	ld  [ %l0 ], %g1                               
    olddelta->tv_sec  = 0;                                            
 20062b0:	c0 26 40 00 	clr  [ %i1 ]                                   
    olddelta->tv_usec = 0;                                            
 20062b4:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 20062b8:	c2 04 00 00 	ld  [ %l0 ], %g1                               
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 20062bc:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
  adjustment += delta->tv_usec;                                       
 20062c0:	c8 04 20 04 	ld  [ %l0 + 4 ], %g4                           
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 20062c4:	c6 00 a3 74 	ld  [ %g2 + 0x374 ], %g3                       
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 20062c8:	9b 28 60 08 	sll  %g1, 8, %o5                               
 20062cc:	85 28 60 03 	sll  %g1, 3, %g2                               
 20062d0:	84 23 40 02 	sub  %o5, %g2, %g2                             
 20062d4:	9b 28 a0 06 	sll  %g2, 6, %o5                               
 20062d8:	84 23 40 02 	sub  %o5, %g2, %g2                             
 20062dc:	82 00 80 01 	add  %g2, %g1, %g1                             
 20062e0:	83 28 60 06 	sll  %g1, 6, %g1                               
  adjustment += delta->tv_usec;                                       
 20062e4:	82 00 40 04 	add  %g1, %g4, %g1                             
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 20062e8:	80 a0 40 03 	cmp  %g1, %g3                                  
 20062ec:	0a 80 00 35 	bcs  20063c0 <adjtime+0x154>                   
 20062f0:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 20062f4:	c4 00 63 d0 	ld  [ %g1 + 0x3d0 ], %g2	! 201fbd0 <_Thread_Dispatch_disable_level>
 20062f8:	84 00 a0 01 	inc  %g2                                       
 20062fc:	c4 20 63 d0 	st  %g2, [ %g1 + 0x3d0 ]                       
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
 2006300:	40 00 06 3d 	call  2007bf4 <_TOD_Get>                       
 2006304:	90 07 bf f8 	add  %fp, -8, %o0                              
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2006308:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 200630c:	c2 04 00 00 	ld  [ %l0 ], %g1                               
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2006310:	c8 07 bf f8 	ld  [ %fp + -8 ], %g4                          
 2006314:	87 28 a0 07 	sll  %g2, 7, %g3                               
 2006318:	88 01 00 01 	add  %g4, %g1, %g4                             
 200631c:	83 28 a0 02 	sll  %g2, 2, %g1                               
 2006320:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 2006324:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
 2006328:	82 00 40 02 	add  %g1, %g2, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 200632c:	1b 0e e6 b2 	sethi  %hi(0x3b9ac800), %o5                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2006330:	83 28 60 03 	sll  %g1, 3, %g1                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2006334:	05 31 19 4d 	sethi  %hi(0xc4653400), %g2                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2006338:	82 00 40 03 	add  %g1, %g3, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 200633c:	9a 13 61 ff 	or  %o5, 0x1ff, %o5                            
 2006340:	10 80 00 03 	b  200634c <adjtime+0xe0>                      
 2006344:	84 10 a2 00 	or  %g2, 0x200, %g2                            
 2006348:	82 00 40 02 	add  %g1, %g2, %g1                             
 200634c:	86 10 00 04 	mov  %g4, %g3                                  
 2006350:	80 a0 40 0d 	cmp  %g1, %o5                                  
 2006354:	18 bf ff fd 	bgu  2006348 <adjtime+0xdc>                    
 2006358:	88 01 20 01 	inc  %g4                                       
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 200635c:	1b 31 19 4d 	sethi  %hi(0xc4653400), %o5                    
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2006360:	09 0e e6 b2 	sethi  %hi(0x3b9ac800), %g4                    
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2006364:	9a 13 62 00 	or  %o5, 0x200, %o5                            
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2006368:	10 80 00 03 	b  2006374 <adjtime+0x108>                     
 200636c:	88 11 22 00 	or  %g4, 0x200, %g4                            
 2006370:	82 00 40 04 	add  %g1, %g4, %g1                             
 2006374:	84 10 00 03 	mov  %g3, %g2                                  
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2006378:	80 a0 40 0d 	cmp  %g1, %o5                                  
 200637c:	08 bf ff fd 	bleu  2006370 <adjtime+0x104>                  
 2006380:	86 00 ff ff 	add  %g3, -1, %g3                              
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
 2006384:	90 07 bf f8 	add  %fp, -8, %o0                              
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2006388:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
 200638c:	40 00 06 46 	call  2007ca4 <_TOD_Set>                       
 2006390:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
                                                                      
  _Thread_Enable_dispatch();                                          
 2006394:	40 00 0b 2d 	call  2009048 <_Thread_Enable_dispatch>        
 2006398:	01 00 00 00 	nop                                            
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
 200639c:	80 a6 60 00 	cmp  %i1, 0                                    
 20063a0:	02 80 00 08 	be  20063c0 <adjtime+0x154>                    <== NEVER TAKEN
 20063a4:	01 00 00 00 	nop                                            
    *olddelta = *delta;                                               
 20063a8:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 20063ac:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 20063b0:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 20063b4:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
 20063b8:	81 c7 e0 08 	ret                                            
 20063bc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  return 0;                                                           
}                                                                     
 20063c0:	81 c7 e0 08 	ret                                            
 20063c4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02006238 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
 2006238:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 200623c:	90 96 60 00 	orcc  %i1, 0, %o0                              
 2006240:	12 80 00 06 	bne  2006258 <clock_gettime+0x20>              
 2006244:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2006248:	40 00 2e 39 	call  2011b2c <__errno>                        
 200624c:	01 00 00 00 	nop                                            
 2006250:	10 80 00 14 	b  20062a0 <clock_gettime+0x68>                
 2006254:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2006258:	12 80 00 05 	bne  200626c <clock_gettime+0x34>              
 200625c:	80 a6 20 04 	cmp  %i0, 4                                    
    _TOD_Get(tp);                                                     
 2006260:	40 00 07 df 	call  20081dc <_TOD_Get>                       
 2006264:	b0 10 20 00 	clr  %i0                                       
 2006268:	30 80 00 15 	b,a   20062bc <clock_gettime+0x84>             
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
 200626c:	02 80 00 04 	be  200627c <clock_gettime+0x44>               <== NEVER TAKEN
 2006270:	80 a6 20 02 	cmp  %i0, 2                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
 2006274:	12 80 00 06 	bne  200628c <clock_gettime+0x54>              
 2006278:	80 a6 20 03 	cmp  %i0, 3                                    
    _TOD_Get_uptime_as_timespec( tp );                                
 200627c:	40 00 07 f7 	call  2008258 <_TOD_Get_uptime_as_timespec>    
 2006280:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 2006284:	81 c7 e0 08 	ret                                            
 2006288:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
 200628c:	12 80 00 08 	bne  20062ac <clock_gettime+0x74>              
 2006290:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 2006294:	40 00 2e 26 	call  2011b2c <__errno>                        
 2006298:	01 00 00 00 	nop                                            
 200629c:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 20062a0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20062a4:	81 c7 e0 08 	ret                                            
 20062a8:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 20062ac:	40 00 2e 20 	call  2011b2c <__errno>                        
 20062b0:	b0 10 3f ff 	mov  -1, %i0                                   
 20062b4:	82 10 20 16 	mov  0x16, %g1                                 
 20062b8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 20062bc:	81 c7 e0 08 	ret                                            
 20062c0:	81 e8 00 00 	restore                                        
                                                                      

0202af98 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
 202af98:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !tp )                                                          
 202af9c:	90 96 60 00 	orcc  %i1, 0, %o0                              
 202afa0:	02 80 00 0a 	be  202afc8 <clock_settime+0x30>               <== NEVER TAKEN
 202afa4:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 202afa8:	12 80 00 15 	bne  202affc <clock_settime+0x64>              
 202afac:	80 a6 20 02 	cmp  %i0, 2                                    
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
 202afb0:	c4 02 00 00 	ld  [ %o0 ], %g2                               
 202afb4:	03 08 76 b9 	sethi  %hi(0x21dae400), %g1                    
 202afb8:	82 10 60 ff 	or  %g1, 0xff, %g1	! 21dae4ff <RAM_END+0x1f9ae4ff>
 202afbc:	80 a0 80 01 	cmp  %g2, %g1                                  
 202afc0:	38 80 00 06 	bgu,a   202afd8 <clock_settime+0x40>           
 202afc4:	03 00 81 bb 	sethi  %hi(0x206ec00), %g1                     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 202afc8:	40 00 64 b3 	call  2044294 <__errno>                        
 202afcc:	01 00 00 00 	nop                                            
 202afd0:	10 80 00 12 	b  202b018 <clock_settime+0x80>                
 202afd4:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 202afd8:	c4 00 61 80 	ld  [ %g1 + 0x180 ], %g2                       
 202afdc:	84 00 a0 01 	inc  %g2                                       
 202afe0:	c4 20 61 80 	st  %g2, [ %g1 + 0x180 ]                       
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
 202afe4:	40 00 06 19 	call  202c848 <_TOD_Set>                       
 202afe8:	b0 10 20 00 	clr  %i0                                       
    _Thread_Enable_dispatch();                                        
 202afec:	7f ff 90 99 	call  200f250 <_Thread_Enable_dispatch>        
 202aff0:	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;                                                           
 202aff4:	81 c7 e0 08 	ret                                            
 202aff8:	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 )                    
 202affc:	02 80 00 04 	be  202b00c <clock_settime+0x74>               
 202b000:	80 a6 20 03 	cmp  %i0, 3                                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
 202b004:	12 80 00 08 	bne  202b024 <clock_settime+0x8c>              
 202b008:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 202b00c:	40 00 64 a2 	call  2044294 <__errno>                        
 202b010:	01 00 00 00 	nop                                            
 202b014:	82 10 20 58 	mov  0x58, %g1	! 58 <PROM_START+0x58>          
 202b018:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202b01c:	81 c7 e0 08 	ret                                            
 202b020:	91 e8 3f ff 	restore  %g0, -1, %o0                          
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 202b024:	40 00 64 9c 	call  2044294 <__errno>                        
 202b028:	b0 10 3f ff 	mov  -1, %i0                                   
 202b02c:	82 10 20 16 	mov  0x16, %g1                                 
 202b030:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 202b034:	81 c7 e0 08 	ret                                            
 202b038:	81 e8 00 00 	restore                                        
                                                                      

0200fab4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
 200fab4:	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() )                                              
 200fab8:	7f ff f1 30 	call  200bf78 <getpid>                         
 200fabc:	01 00 00 00 	nop                                            
 200fac0:	80 a6 00 08 	cmp  %i0, %o0                                  
 200fac4:	02 80 00 06 	be  200fadc <killinfo+0x28>                    <== ALWAYS TAKEN
 200fac8:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 200facc:	40 00 03 9f 	call  2010948 <__errno>                        <== NOT EXECUTED
 200fad0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200fad4:	10 80 00 07 	b  200faf0 <killinfo+0x3c>                     <== NOT EXECUTED
 200fad8:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
 200fadc:	12 80 00 08 	bne  200fafc <killinfo+0x48>                   <== ALWAYS TAKEN
 200fae0:	82 06 7f ff 	add  %i1, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200fae4:	40 00 03 99 	call  2010948 <__errno>                        <== NOT EXECUTED
 200fae8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200faec:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
 200faf0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200faf4:	10 80 00 a5 	b  200fd88 <killinfo+0x2d4>                    
 200faf8:	90 10 3f ff 	mov  -1, %o0                                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 200fafc:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 200fb00:	18 bf ff f9 	bgu  200fae4 <killinfo+0x30>                   <== NEVER TAKEN
 200fb04:	85 2e 60 02 	sll  %i1, 2, %g2                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
 200fb08:	87 2e 60 04 	sll  %i1, 4, %g3                               
 200fb0c:	86 20 c0 02 	sub  %g3, %g2, %g3                             
 200fb10:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 200fb14:	84 10 a0 18 	or  %g2, 0x18, %g2	! 201e818 <_POSIX_signals_Vectors>
 200fb18:	84 00 80 03 	add  %g2, %g3, %g2                             
 200fb1c:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200fb20:	80 a0 a0 01 	cmp  %g2, 1                                    
 200fb24:	02 80 00 99 	be  200fd88 <killinfo+0x2d4>                   
 200fb28:	90 10 20 00 	clr  %o0                                       
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
 200fb2c:	80 a6 60 04 	cmp  %i1, 4                                    
 200fb30:	02 80 00 06 	be  200fb48 <killinfo+0x94>                    
 200fb34:	80 a6 60 08 	cmp  %i1, 8                                    
 200fb38:	02 80 00 04 	be  200fb48 <killinfo+0x94>                    
 200fb3c:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 200fb40:	12 80 00 08 	bne  200fb60 <killinfo+0xac>                   
 200fb44:	a0 10 20 01 	mov  1, %l0                                    
      return pthread_kill( pthread_self(), sig );                     
 200fb48:	40 00 01 df 	call  20102c4 <pthread_self>                   
 200fb4c:	01 00 00 00 	nop                                            
 200fb50:	40 00 01 a2 	call  20101d8 <pthread_kill>                   
 200fb54:	92 10 00 19 	mov  %i1, %o1                                  
 200fb58:	81 c7 e0 08 	ret                                            
 200fb5c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
 200fb60:	f2 27 bf f4 	st  %i1, [ %fp + -12 ]                         
  siginfo->si_code = SI_USER;                                         
 200fb64:	e0 27 bf f8 	st  %l0, [ %fp + -8 ]                          
  if ( !value ) {                                                     
 200fb68:	80 a6 a0 00 	cmp  %i2, 0                                    
 200fb6c:	12 80 00 04 	bne  200fb7c <killinfo+0xc8>                   
 200fb70:	a1 2c 00 01 	sll  %l0, %g1, %l0                             
    siginfo->si_value.sival_int = 0;                                  
 200fb74:	10 80 00 04 	b  200fb84 <killinfo+0xd0>                     
 200fb78:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  } else {                                                            
    siginfo->si_value = *value;                                       
 200fb7c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200fb80:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 200fb84:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200fb88:	c4 00 62 90 	ld  [ %g1 + 0x290 ], %g2	! 201e290 <_Thread_Dispatch_disable_level>
 200fb8c:	84 00 a0 01 	inc  %g2                                       
 200fb90:	c4 20 62 90 	st  %g2, [ %g1 + 0x290 ]                       
                                                                      
  /*                                                                  
   *  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;                                     
 200fb94:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200fb98:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200fb9c:	c4 00 61 6c 	ld  [ %g1 + 0x16c ], %g2                       
 200fba0:	c4 00 a0 cc 	ld  [ %g2 + 0xcc ], %g2                        
 200fba4:	80 ac 00 02 	andncc  %l0, %g2, %g0                          
 200fba8:	12 80 00 4e 	bne  200fce0 <killinfo+0x22c>                  
 200fbac:	07 00 80 7a 	sethi  %hi(0x201e800), %g3                     
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
 200fbb0:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200fbb4:	c4 00 61 a4 	ld  [ %g1 + 0x1a4 ], %g2	! 201e9a4 <_POSIX_signals_Wait_queue>
 200fbb8:	10 80 00 0b 	b  200fbe4 <killinfo+0x130>                    
 200fbbc:	86 10 e1 a8 	or  %g3, 0x1a8, %g3                            
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
 200fbc0:	c8 00 a1 6c 	ld  [ %g2 + 0x16c ], %g4                       
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 200fbc4:	80 8c 00 01 	btst  %l0, %g1                                 
 200fbc8:	12 80 00 46 	bne  200fce0 <killinfo+0x22c>                  
 200fbcc:	82 10 00 02 	mov  %g2, %g1                                  
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
 200fbd0:	c8 01 20 cc 	ld  [ %g4 + 0xcc ], %g4                        
 200fbd4:	80 ac 00 04 	andncc  %l0, %g4, %g0                          
 200fbd8:	32 80 00 43 	bne,a   200fce4 <killinfo+0x230>               
 200fbdc:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
 200fbe0:	c4 00 80 00 	ld  [ %g2 ], %g2                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
 200fbe4:	80 a0 80 03 	cmp  %g2, %g3                                  
 200fbe8:	32 bf ff f6 	bne,a   200fbc0 <killinfo+0x10c>               
 200fbec:	c2 00 a0 30 	ld  [ %g2 + 0x30 ], %g1                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 200fbf0:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
 200fbf4:	c8 08 63 54 	ldub  [ %g1 + 0x354 ], %g4	! 201d754 <rtems_maximum_priority>
 200fbf8:	05 00 80 78 	sethi  %hi(0x201e000), %g2                     
 200fbfc:	88 01 20 01 	inc  %g4                                       
 200fc00:	84 10 a1 f8 	or  %g2, 0x1f8, %g2                            
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 200fc04:	82 10 20 00 	clr  %g1                                       
 200fc08:	90 00 a0 0c 	add  %g2, 0xc, %o0                             
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 200fc0c:	17 04 00 00 	sethi  %hi(0x10000000), %o3                    
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and ITRON is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
 200fc10:	c6 00 80 00 	ld  [ %g2 ], %g3                               
 200fc14:	80 a0 e0 00 	cmp  %g3, 0                                    
 200fc18:	22 80 00 2c 	be,a   200fcc8 <killinfo+0x214>                
 200fc1c:	84 00 a0 04 	add  %g2, 4, %g2                               
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
 200fc20:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
 200fc24:	9a 10 20 01 	mov  1, %o5                                    
 200fc28:	f4 00 e0 1c 	ld  [ %g3 + 0x1c ], %i2                        
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 200fc2c:	10 80 00 23 	b  200fcb8 <killinfo+0x204>                    
 200fc30:	de 10 e0 10 	lduh  [ %g3 + 0x10 ], %o7                      
      the_thread = (Thread_Control *) object_table[ index ];          
 200fc34:	c6 06 80 03 	ld  [ %i2 + %g3 ], %g3                         
                                                                      
      if ( !the_thread )                                              
 200fc38:	80 a0 e0 00 	cmp  %g3, 0                                    
 200fc3c:	02 80 00 1d 	be  200fcb0 <killinfo+0x1fc>                   
 200fc40:	98 10 00 04 	mov  %g4, %o4                                  
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
 200fc44:	d8 00 e0 14 	ld  [ %g3 + 0x14 ], %o4                        
 200fc48:	80 a3 00 04 	cmp  %o4, %g4                                  
 200fc4c:	38 80 00 19 	bgu,a   200fcb0 <killinfo+0x1fc>               
 200fc50:	98 10 00 04 	mov  %g4, %o4                                  
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 200fc54:	d4 00 e1 6c 	ld  [ %g3 + 0x16c ], %o2                       
 200fc58:	d4 02 a0 cc 	ld  [ %o2 + 0xcc ], %o2                        
 200fc5c:	80 ac 00 0a 	andncc  %l0, %o2, %g0                          
 200fc60:	22 80 00 14 	be,a   200fcb0 <killinfo+0x1fc>                
 200fc64:	98 10 00 04 	mov  %g4, %o4                                  
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
 200fc68:	80 a3 00 04 	cmp  %o4, %g4                                  
 200fc6c:	2a 80 00 11 	bcs,a   200fcb0 <killinfo+0x1fc>               
 200fc70:	82 10 00 03 	mov  %g3, %g1                                  
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
 200fc74:	d2 00 60 10 	ld  [ %g1 + 0x10 ], %o1                        
 200fc78:	80 a2 60 00 	cmp  %o1, 0                                    
 200fc7c:	22 80 00 0d 	be,a   200fcb0 <killinfo+0x1fc>                <== NEVER TAKEN
 200fc80:	98 10 00 04 	mov  %g4, %o4                                  <== NOT EXECUTED
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 200fc84:	d4 00 e0 10 	ld  [ %g3 + 0x10 ], %o2                        
 200fc88:	80 a2 a0 00 	cmp  %o2, 0                                    
 200fc8c:	22 80 00 09 	be,a   200fcb0 <killinfo+0x1fc>                
 200fc90:	82 10 00 03 	mov  %g3, %g1                                  
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 200fc94:	80 8a 40 0b 	btst  %o1, %o3                                 
 200fc98:	32 80 00 06 	bne,a   200fcb0 <killinfo+0x1fc>               
 200fc9c:	98 10 00 04 	mov  %g4, %o4                                  
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
 200fca0:	80 8a 80 0b 	btst  %o2, %o3                                 
 200fca4:	32 80 00 03 	bne,a   200fcb0 <killinfo+0x1fc>               
 200fca8:	82 10 00 03 	mov  %g3, %g1                                  
 200fcac:	98 10 00 04 	mov  %g4, %o4                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 200fcb0:	9a 03 60 01 	inc  %o5                                       
 200fcb4:	88 10 00 0c 	mov  %o4, %g4                                  
 200fcb8:	80 a3 40 0f 	cmp  %o5, %o7                                  
 200fcbc:	28 bf ff de 	bleu,a   200fc34 <killinfo+0x180>              
 200fcc0:	87 2b 60 02 	sll  %o5, 2, %g3                               
 200fcc4:	84 00 a0 04 	add  %g2, 4, %g2                               
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
 200fcc8:	80 a0 80 08 	cmp  %g2, %o0                                  
 200fccc:	32 bf ff d2 	bne,a   200fc14 <killinfo+0x160>               
 200fcd0:	c6 00 80 00 	ld  [ %g2 ], %g3                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
 200fcd4:	80 a0 60 00 	cmp  %g1, 0                                    
 200fcd8:	02 80 00 0b 	be  200fd04 <killinfo+0x250>                   
 200fcdc:	01 00 00 00 	nop                                            
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
 200fce0:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
 200fce4:	90 10 00 01 	mov  %g1, %o0                                  
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
 200fce8:	c4 28 60 74 	stb  %g2, [ %g1 + 0x74 ]                       
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
 200fcec:	92 10 00 19 	mov  %i1, %o1                                  
 200fcf0:	40 00 00 aa 	call  200ff98 <_POSIX_signals_Unblock_thread>  
 200fcf4:	94 07 bf f4 	add  %fp, -12, %o2                             
 200fcf8:	80 8a 20 ff 	btst  0xff, %o0                                
 200fcfc:	12 80 00 20 	bne  200fd7c <killinfo+0x2c8>                  
 200fd00:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
 200fd04:	40 00 00 94 	call  200ff54 <_POSIX_signals_Set_process_signals>
 200fd08:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
 200fd0c:	83 2e 60 04 	sll  %i1, 4, %g1                               
 200fd10:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 200fd14:	b2 20 40 19 	sub  %g1, %i1, %i1                             
 200fd18:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200fd1c:	82 10 60 18 	or  %g1, 0x18, %g1	! 201e818 <_POSIX_signals_Vectors>
 200fd20:	c2 00 40 19 	ld  [ %g1 + %i1 ], %g1                         
 200fd24:	80 a0 60 02 	cmp  %g1, 2                                    
 200fd28:	12 80 00 15 	bne  200fd7c <killinfo+0x2c8>                  
 200fd2c:	11 00 80 7a 	sethi  %hi(0x201e800), %o0                     
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
 200fd30:	7f ff dc 11 	call  2006d74 <_Chain_Get>                     
 200fd34:	90 12 21 98 	or  %o0, 0x198, %o0	! 201e998 <_POSIX_signals_Inactive_siginfo>
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
 200fd38:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 200fd3c:	12 80 00 08 	bne  200fd5c <killinfo+0x2a8>                  
 200fd40:	92 07 bf f4 	add  %fp, -12, %o1                             
      _Thread_Enable_dispatch();                                      
 200fd44:	7f ff e2 38 	call  2008624 <_Thread_Enable_dispatch>        
 200fd48:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
 200fd4c:	40 00 02 ff 	call  2010948 <__errno>                        
 200fd50:	01 00 00 00 	nop                                            
 200fd54:	10 bf ff 67 	b  200faf0 <killinfo+0x3c>                     
 200fd58:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 200fd5c:	90 04 20 08 	add  %l0, 8, %o0                               
 200fd60:	40 00 05 36 	call  2011238 <memcpy>                         
 200fd64:	94 10 20 0c 	mov  0xc, %o2                                  
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 200fd68:	11 00 80 7a 	sethi  %hi(0x201e800), %o0                     
 200fd6c:	92 10 00 10 	mov  %l0, %o1                                  
 200fd70:	90 12 22 10 	or  %o0, 0x210, %o0                            
 200fd74:	7f ff db ea 	call  2006d1c <_Chain_Append>                  
 200fd78:	90 02 00 19 	add  %o0, %i1, %o0                             
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
 200fd7c:	7f ff e2 2a 	call  2008624 <_Thread_Enable_dispatch>        
 200fd80:	01 00 00 00 	nop                                            
 200fd84:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
  return 0;                                                           
}                                                                     
 200fd88:	b0 10 00 08 	mov  %o0, %i0                                  
 200fd8c:	81 c7 e0 08 	ret                                            
 200fd90:	81 e8 00 00 	restore                                        
                                                                      

02028aa4 <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
 2028aa4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
 2028aa8:	40 00 00 65 	call  2028c3c <_Timespec_Is_valid>             
 2028aac:	90 10 00 18 	mov  %i0, %o0                                  
 2028ab0:	80 8a 20 ff 	btst  0xff, %o0                                
 2028ab4:	02 80 00 0a 	be  2028adc <nanosleep+0x38>                   
 2028ab8:	01 00 00 00 	nop                                            
   *  Return EINVAL if the delay interval is negative.                
   *                                                                  
   *  NOTE:  This behavior is beyond the POSIX specification.         
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
 2028abc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2028ac0:	80 a0 60 00 	cmp  %g1, 0                                    
 2028ac4:	06 80 00 06 	bl  2028adc <nanosleep+0x38>                   <== NEVER TAKEN
 2028ac8:	01 00 00 00 	nop                                            
 2028acc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2028ad0:	80 a0 60 00 	cmp  %g1, 0                                    
 2028ad4:	16 80 00 06 	bge  2028aec <nanosleep+0x48>                  <== ALWAYS TAKEN
 2028ad8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2028adc:	7f ff c2 47 	call  20193f8 <__errno>                        
 2028ae0:	01 00 00 00 	nop                                            
 2028ae4:	10 80 00 3c 	b  2028bd4 <nanosleep+0x130>                   
 2028ae8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
 2028aec:	7f ff b3 ff 	call  2015ae8 <_Timespec_To_ticks>             
 2028af0:	90 10 00 18 	mov  %i0, %o0                                  
   *  A nanosleep for zero time is implemented as a yield.            
   *  This behavior is also beyond the POSIX specification but is     
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
 2028af4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2028af8:	12 80 00 10 	bne  2028b38 <nanosleep+0x94>                  
 2028afc:	03 00 80 bc 	sethi  %hi(0x202f000), %g1                     
 2028b00:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2	! 202f040 <_Thread_Dispatch_disable_level>
 2028b04:	84 00 a0 01 	inc  %g2                                       
 2028b08:	c4 20 60 40 	st  %g2, [ %g1 + 0x40 ]                        
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
 2028b0c:	7f ff 94 88 	call  200dd2c <_Thread_Yield_processor>        
 2028b10:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 2028b14:	7f ff 91 0c 	call  200cf44 <_Thread_Enable_dispatch>        
 2028b18:	01 00 00 00 	nop                                            
    if ( rmtp ) {                                                     
 2028b1c:	80 a6 60 00 	cmp  %i1, 0                                    
 2028b20:	02 80 00 30 	be  2028be0 <nanosleep+0x13c>                  
 2028b24:	01 00 00 00 	nop                                            
       rmtp->tv_sec = 0;                                              
       rmtp->tv_nsec = 0;                                             
 2028b28:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
       rmtp->tv_sec = 0;                                              
 2028b2c:	c0 26 40 00 	clr  [ %i1 ]                                   
 2028b30:	81 c7 e0 08 	ret                                            
 2028b34:	81 e8 00 00 	restore                                        
 2028b38:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2                        
 2028b3c:	84 00 a0 01 	inc  %g2                                       
 2028b40:	c4 20 60 40 	st  %g2, [ %g1 + 0x40 ]                        
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
 2028b44:	21 00 80 bc 	sethi  %hi(0x202f000), %l0                     
 2028b48:	d0 04 21 00 	ld  [ %l0 + 0x100 ], %o0	! 202f100 <_Thread_Executing>
 2028b4c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
 2028b50:	7f ff 93 75 	call  200d924 <_Thread_Set_state>              
 2028b54:	92 12 60 08 	or  %o1, 8, %o1	! 10000008 <RAM_END+0xdc00008> 
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
 2028b58:	c2 04 21 00 	ld  [ %l0 + 0x100 ], %g1                       
 2028b5c:	11 00 80 bc 	sethi  %hi(0x202f000), %o0                     
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
 2028b60:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2028b64:	90 12 21 20 	or  %o0, 0x120, %o0                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2028b68:	c4 20 60 68 	st  %g2, [ %g1 + 0x68 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2028b6c:	92 00 60 48 	add  %g1, 0x48, %o1                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2028b70:	05 00 80 33 	sethi  %hi(0x200cc00), %g2                     
 2028b74:	84 10 a1 80 	or  %g2, 0x180, %g2	! 200cd80 <_Thread_Delay_ended>
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2028b78:	c0 20 60 50 	clr  [ %g1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2028b7c:	c0 20 60 6c 	clr  [ %g1 + 0x6c ]                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2028b80:	f0 20 60 54 	st  %i0, [ %g1 + 0x54 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2028b84:	7f ff 95 8c 	call  200e1b4 <_Watchdog_Insert>               
 2028b88:	c4 20 60 64 	st  %g2, [ %g1 + 0x64 ]                        
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );       
  _Thread_Enable_dispatch();                                          
 2028b8c:	7f ff 90 ee 	call  200cf44 <_Thread_Enable_dispatch>        
 2028b90:	01 00 00 00 	nop                                            
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
 2028b94:	80 a6 60 00 	cmp  %i1, 0                                    
 2028b98:	02 80 00 12 	be  2028be0 <nanosleep+0x13c>                  
 2028b9c:	c2 04 21 00 	ld  [ %l0 + 0x100 ], %g1                       
    ticks -=                                                          
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 2028ba0:	92 10 00 19 	mov  %i1, %o1                                  
  _Thread_Enable_dispatch();                                          
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    ticks -=                                                          
 2028ba4:	c4 00 60 60 	ld  [ %g1 + 0x60 ], %g2                        
 2028ba8:	c2 00 60 5c 	ld  [ %g1 + 0x5c ], %g1                        
 2028bac:	82 20 40 02 	sub  %g1, %g2, %g1                             
 2028bb0:	b0 00 40 18 	add  %g1, %i0, %i0                             
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
 2028bb4:	40 00 00 0d 	call  2028be8 <_Timespec_From_ticks>           
 2028bb8:	90 10 00 18 	mov  %i0, %o0                                  
     */                                                               
    #if defined(RTEMS_POSIX_API)                                      
        /*                                                            
         *  If there is time remaining, then we were interrupted by a signal.
         */                                                           
        if ( ticks )                                                  
 2028bbc:	80 a6 20 00 	cmp  %i0, 0                                    
 2028bc0:	02 80 00 08 	be  2028be0 <nanosleep+0x13c>                  
 2028bc4:	01 00 00 00 	nop                                            
          rtems_set_errno_and_return_minus_one( EINTR );              
 2028bc8:	7f ff c2 0c 	call  20193f8 <__errno>                        
 2028bcc:	01 00 00 00 	nop                                            
 2028bd0:	82 10 20 04 	mov  4, %g1	! 4 <PROM_START+0x4>               
 2028bd4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2028bd8:	81 c7 e0 08 	ret                                            
 2028bdc:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2028be0:	81 c7 e0 08 	ret                                            
 2028be4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200ad84 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) { if ( !attr || !attr->is_initialized )
 200ad84:	80 a2 20 00 	cmp  %o0, 0                                    
 200ad88:	02 80 00 10 	be  200adc8 <pthread_attr_setschedpolicy+0x44> 
 200ad8c:	01 00 00 00 	nop                                            
 200ad90:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200ad94:	80 a0 60 00 	cmp  %g1, 0                                    
 200ad98:	02 80 00 0c 	be  200adc8 <pthread_attr_setschedpolicy+0x44> 
 200ad9c:	80 a2 60 04 	cmp  %o1, 4                                    
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
 200ada0:	18 80 00 06 	bgu  200adb8 <pthread_attr_setschedpolicy+0x34>
 200ada4:	82 10 20 01 	mov  1, %g1                                    
 200ada8:	83 28 40 09 	sll  %g1, %o1, %g1                             
 200adac:	80 88 60 17 	btst  0x17, %g1                                
 200adb0:	32 80 00 04 	bne,a   200adc0 <pthread_attr_setschedpolicy+0x3c><== ALWAYS TAKEN
 200adb4:	d2 22 20 14 	st  %o1, [ %o0 + 0x14 ]                        
 200adb8:	81 c3 e0 08 	retl                                           
 200adbc:	90 10 20 86 	mov  0x86, %o0                                 
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
 200adc0:	81 c3 e0 08 	retl                                           
 200adc4:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200adc8:	81 c3 e0 08 	retl                                           
 200adcc:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02006850 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
 2006850:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
 2006854:	80 a6 20 00 	cmp  %i0, 0                                    
 2006858:	02 80 00 2e 	be  2006910 <pthread_barrier_init+0xc0>        
 200685c:	80 a6 a0 00 	cmp  %i2, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
 2006860:	02 80 00 2c 	be  2006910 <pthread_barrier_init+0xc0>        
 2006864:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2006868:	32 80 00 06 	bne,a   2006880 <pthread_barrier_init+0x30>    
 200686c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
 2006870:	b2 07 bf f0 	add  %fp, -16, %i1                             
 2006874:	7f ff ff c0 	call  2006774 <pthread_barrierattr_init>       
 2006878:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 200687c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2006880:	80 a0 60 00 	cmp  %g1, 0                                    
 2006884:	02 80 00 23 	be  2006910 <pthread_barrier_init+0xc0>        
 2006888:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 200688c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2006890:	80 a0 60 00 	cmp  %g1, 0                                    
 2006894:	12 80 00 1f 	bne  2006910 <pthread_barrier_init+0xc0>       <== NEVER TAKEN
 2006898:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 200689c:	c4 00 60 f0 	ld  [ %g1 + 0xf0 ], %g2	! 201fcf0 <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  the_attributes.maximum_count = count;                               
 20068a0:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 20068a4:	84 00 a0 01 	inc  %g2                                       
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
 20068a8:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 20068ac:	c4 20 60 f0 	st  %g2, [ %g1 + 0xf0 ]                        
 *  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 *)                                    
 20068b0:	23 00 80 80 	sethi  %hi(0x2020000), %l1                     
 20068b4:	40 00 08 60 	call  2008a34 <_Objects_Allocate>              
 20068b8:	90 14 61 00 	or  %l1, 0x100, %o0	! 2020100 <_POSIX_Barrier_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
 20068bc:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20068c0:	12 80 00 06 	bne  20068d8 <pthread_barrier_init+0x88>       
 20068c4:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 20068c8:	40 00 0b ef 	call  2009884 <_Thread_Enable_dispatch>        
 20068cc:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 20068d0:	81 c7 e0 08 	ret                                            
 20068d4:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 20068d8:	40 00 05 cd 	call  200800c <_CORE_barrier_Initialize>       
 20068dc:	92 07 bf f8 	add  %fp, -8, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20068e0:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 20068e4:	a2 14 61 00 	or  %l1, 0x100, %l1                            
 20068e8:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 20068ec:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20068f0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20068f4:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20068f8:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
 20068fc:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  _Thread_Enable_dispatch();                                          
 2006900:	40 00 0b e1 	call  2009884 <_Thread_Enable_dispatch>        
 2006904:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 2006908:	81 c7 e0 08 	ret                                            
 200690c:	81 e8 00 00 	restore                                        
}                                                                     
 2006910:	81 c7 e0 08 	ret                                            
 2006914:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02006004 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
 2006004:	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 )                                                     
 2006008:	80 a6 20 00 	cmp  %i0, 0                                    
 200600c:	02 80 00 12 	be  2006054 <pthread_cleanup_push+0x50>        
 2006010:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2006014:	c4 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g2	! 20201e0 <_Thread_Dispatch_disable_level>
 2006018:	84 00 a0 01 	inc  %g2                                       
 200601c:	c4 20 61 e0 	st  %g2, [ %g1 + 0x1e0 ]                       
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
 2006020:	40 00 11 90 	call  200a660 <_Workspace_Allocate>            
 2006024:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if ( handler ) {                                                    
 2006028:	92 92 20 00 	orcc  %o0, 0, %o1                              
 200602c:	02 80 00 08 	be  200604c <pthread_cleanup_push+0x48>        <== NEVER TAKEN
 2006030:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 2006034:	c2 00 62 a0 	ld  [ %g1 + 0x2a0 ], %g1	! 20202a0 <_Thread_Executing>
                                                                      
    handler->routine = routine;                                       
 2006038:	f0 22 60 08 	st  %i0, [ %o1 + 8 ]                           
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
                                                                      
  if ( handler ) {                                                    
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 200603c:	d0 00 61 6c 	ld  [ %g1 + 0x16c ], %o0                       
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
 2006040:	f2 22 60 0c 	st  %i1, [ %o1 + 0xc ]                         
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 2006044:	40 00 06 1a 	call  20078ac <_Chain_Append>                  
 2006048:	90 02 20 e0 	add  %o0, 0xe0, %o0                            
  }                                                                   
  _Thread_Enable_dispatch();                                          
 200604c:	40 00 0c 2c 	call  20090fc <_Thread_Enable_dispatch>        
 2006050:	81 e8 00 00 	restore                                        
 2006054:	81 c7 e0 08 	ret                                            
 2006058:	81 e8 00 00 	restore                                        
                                                                      

0200710c <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
 200710c:	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;                                        
 2007110:	25 00 80 7c 	sethi  %hi(0x201f000), %l2                     
 2007114:	80 a6 60 00 	cmp  %i1, 0                                    
 2007118:	02 80 00 03 	be  2007124 <pthread_cond_init+0x18>           
 200711c:	a4 14 a2 48 	or  %l2, 0x248, %l2                            
 2007120:	a4 10 00 19 	mov  %i1, %l2                                  
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
 2007124:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
 2007128:	80 a0 60 01 	cmp  %g1, 1                                    
 200712c:	02 80 00 26 	be  20071c4 <pthread_cond_init+0xb8>           <== NEVER TAKEN
 2007130:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
 2007134:	c2 04 80 00 	ld  [ %l2 ], %g1                               
 2007138:	80 a0 60 00 	cmp  %g1, 0                                    
 200713c:	02 80 00 22 	be  20071c4 <pthread_cond_init+0xb8>           
 2007140:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2007144:	c4 00 60 50 	ld  [ %g1 + 0x50 ], %g2	! 2021050 <_Thread_Dispatch_disable_level>
 2007148:	84 00 a0 01 	inc  %g2                                       
 200714c:	c4 20 60 50 	st  %g2, [ %g1 + 0x50 ]                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
 2007150:	23 00 80 85 	sethi  %hi(0x2021400), %l1                     
 2007154:	40 00 09 eb 	call  2009900 <_Objects_Allocate>              
 2007158:	90 14 60 f8 	or  %l1, 0xf8, %o0	! 20214f8 <_POSIX_Condition_variables_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
 200715c:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2007160:	32 80 00 06 	bne,a   2007178 <pthread_cond_init+0x6c>       
 2007164:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
    _Thread_Enable_dispatch();                                        
 2007168:	40 00 0d 7a 	call  200a750 <_Thread_Enable_dispatch>        
 200716c:	b0 10 20 0c 	mov  0xc, %i0                                  
    return ENOMEM;                                                    
 2007170:	81 c7 e0 08 	ret                                            
 2007174:	81 e8 00 00 	restore                                        
  the_cond->process_shared  = the_attr->process_shared;               
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
 2007178:	90 04 20 18 	add  %l0, 0x18, %o0                            
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 200717c:	c2 24 20 10 	st  %g1, [ %l0 + 0x10 ]                        
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
 2007180:	92 10 20 00 	clr  %o1                                       
 2007184:	94 10 28 00 	mov  0x800, %o2                                
 2007188:	96 10 20 74 	mov  0x74, %o3                                 
 200718c:	40 00 0f 94 	call  200afdc <_Thread_queue_Initialize>       
 2007190:	c0 24 20 14 	clr  [ %l0 + 0x14 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2007194:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 2007198:	a2 14 60 f8 	or  %l1, 0xf8, %l1                             
 200719c:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 20071a0:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20071a4:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20071a8:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20071ac:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
 20071b0:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 20071b4:	40 00 0d 67 	call  200a750 <_Thread_Enable_dispatch>        
 20071b8:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return 0;                                                           
 20071bc:	81 c7 e0 08 	ret                                            
 20071c0:	81 e8 00 00 	restore                                        
}                                                                     
 20071c4:	81 c7 e0 08 	ret                                            
 20071c8:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02006f84 <pthread_condattr_destroy>: int pthread_condattr_destroy( pthread_condattr_t *attr ) { if ( !attr || attr->is_initialized == false )
 2006f84:	80 a2 20 00 	cmp  %o0, 0                                    
 2006f88:	02 80 00 09 	be  2006fac <pthread_condattr_destroy+0x28>    
 2006f8c:	01 00 00 00 	nop                                            
 2006f90:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2006f94:	80 a0 60 00 	cmp  %g1, 0                                    
 2006f98:	02 80 00 05 	be  2006fac <pthread_condattr_destroy+0x28>    <== NEVER TAKEN
 2006f9c:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
 2006fa0:	c0 22 00 00 	clr  [ %o0 ]                                   
  return 0;                                                           
 2006fa4:	81 c3 e0 08 	retl                                           
 2006fa8:	90 10 20 00 	clr  %o0                                       
}                                                                     
 2006fac:	81 c3 e0 08 	retl                                           
 2006fb0:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

020064ec <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
 20064ec:	9d e3 bf 58 	save  %sp, -168, %sp                           
 20064f0:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
 20064f4:	80 a6 a0 00 	cmp  %i2, 0                                    
 20064f8:	02 80 00 8b 	be  2006724 <pthread_create+0x238>             
 20064fc:	b0 10 20 0e 	mov  0xe, %i0                                  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 2006500:	23 00 80 76 	sethi  %hi(0x201d800), %l1                     
 2006504:	80 a6 60 00 	cmp  %i1, 0                                    
 2006508:	02 80 00 03 	be  2006514 <pthread_create+0x28>              
 200650c:	a2 14 61 a0 	or  %l1, 0x1a0, %l1                            
 2006510:	a2 10 00 19 	mov  %i1, %l1                                  
                                                                      
  if ( !the_attr->is_initialized )                                    
 2006514:	c2 04 40 00 	ld  [ %l1 ], %g1                               
 2006518:	80 a0 60 00 	cmp  %g1, 0                                    
 200651c:	22 80 00 82 	be,a   2006724 <pthread_create+0x238>          
 2006520:	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) )
 2006524:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2006528:	80 a0 60 00 	cmp  %g1, 0                                    
 200652c:	02 80 00 07 	be  2006548 <pthread_create+0x5c>              
 2006530:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2006534:	c4 04 60 08 	ld  [ %l1 + 8 ], %g2                           
 2006538:	c2 00 60 64 	ld  [ %g1 + 0x64 ], %g1                        
 200653c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006540:	2a 80 00 79 	bcs,a   2006724 <pthread_create+0x238>         
 2006544:	b0 10 20 16 	mov  0x16, %i0                                 
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
 2006548:	c2 04 60 10 	ld  [ %l1 + 0x10 ], %g1                        
 200654c:	80 a0 60 01 	cmp  %g1, 1                                    
 2006550:	02 80 00 06 	be  2006568 <pthread_create+0x7c>              
 2006554:	80 a0 60 02 	cmp  %g1, 2                                    
 2006558:	12 80 00 73 	bne  2006724 <pthread_create+0x238>            
 200655c:	b0 10 20 16 	mov  0x16, %i0                                 
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
 2006560:	10 80 00 0a 	b  2006588 <pthread_create+0x9c>               
 2006564:	e6 04 60 14 	ld  [ %l1 + 0x14 ], %l3                        
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
 2006568:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200656c:	c2 00 60 40 	ld  [ %g1 + 0x40 ], %g1	! 201f840 <_Thread_Executing>
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2006570:	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 ];    
 2006574:	c2 00 61 6c 	ld  [ %g1 + 0x16c ], %g1                       
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2006578:	94 10 20 1c 	mov  0x1c, %o2                                 
 200657c:	92 00 60 84 	add  %g1, 0x84, %o1                            
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
 2006580:	10 80 00 05 	b  2006594 <pthread_create+0xa8>               
 2006584:	e6 00 60 80 	ld  [ %g1 + 0x80 ], %l3                        
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
 2006588:	90 07 bf dc 	add  %fp, -36, %o0                             
 200658c:	92 04 60 18 	add  %l1, 0x18, %o1                            
 2006590:	94 10 20 1c 	mov  0x1c, %o2                                 
 2006594:	40 00 2f 0f 	call  20121d0 <memcpy>                         
 2006598:	b0 10 20 86 	mov  0x86, %i0                                 
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
 200659c:	c2 04 60 0c 	ld  [ %l1 + 0xc ], %g1                         
 20065a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20065a4:	12 80 00 62 	bne  200672c <pthread_create+0x240>            
 20065a8:	01 00 00 00 	nop                                            
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
 20065ac:	40 00 1e 1b 	call  200de18 <_POSIX_Priority_Is_valid>       
 20065b0:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 20065b4:	80 8a 20 ff 	btst  0xff, %o0                                
 20065b8:	02 80 00 5b 	be  2006724 <pthread_create+0x238>             <== NEVER TAKEN
 20065bc:	b0 10 20 16 	mov  0x16, %i0                                 
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 20065c0:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
 20065c4:	e8 07 bf dc 	ld  [ %fp + -36 ], %l4                         
 20065c8:	ea 08 60 68 	ldub  [ %g1 + 0x68 ], %l5                      
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
 20065cc:	90 10 00 13 	mov  %l3, %o0                                  
 20065d0:	92 07 bf dc 	add  %fp, -36, %o1                             
 20065d4:	94 07 bf fc 	add  %fp, -4, %o2                              
 20065d8:	40 00 1e 1b 	call  200de44 <_POSIX_Thread_Translate_sched_param>
 20065dc:	96 07 bf f8 	add  %fp, -8, %o3                              
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 20065e0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20065e4:	12 80 00 50 	bne  2006724 <pthread_create+0x238>            
 20065e8:	2d 00 80 7e 	sethi  %hi(0x201f800), %l6                     
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
 20065ec:	40 00 06 1c 	call  2007e5c <_API_Mutex_Lock>                
 20065f0:	d0 05 a0 38 	ld  [ %l6 + 0x38 ], %o0	! 201f838 <_RTEMS_Allocator_Mutex>
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
 20065f4:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 20065f8:	40 00 08 bb 	call  20088e4 <_Objects_Allocate>              
 20065fc:	90 12 22 10 	or  %o0, 0x210, %o0	! 201fa10 <_POSIX_Threads_Information>
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
 2006600:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2006604:	32 80 00 04 	bne,a   2006614 <pthread_create+0x128>         
 2006608:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
    _RTEMS_Unlock_allocator();                                        
 200660c:	10 80 00 21 	b  2006690 <pthread_create+0x1a4>              
 2006610:	d0 05 a0 38 	ld  [ %l6 + 0x38 ], %o0                        
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 2006614:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
 2006618:	d6 00 a0 64 	ld  [ %g2 + 0x64 ], %o3	! 201ec64 <rtems_minimum_stack_size>
 200661c:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 2006620:	97 2a e0 01 	sll  %o3, 1, %o3                               
 2006624:	80 a2 c0 01 	cmp  %o3, %g1                                  
 2006628:	1a 80 00 03 	bcc  2006634 <pthread_create+0x148>            
 200662c:	d4 04 60 04 	ld  [ %l1 + 4 ], %o2                           
 2006630:	96 10 00 01 	mov  %g1, %o3                                  
 2006634:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2006638:	9a 0d 60 ff 	and  %l5, 0xff, %o5                            
 200663c:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2006640:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2006644:	9a 23 40 14 	sub  %o5, %l4, %o5                             
 2006648:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 200664c:	82 07 bf d4 	add  %fp, -44, %g1                             
 2006650:	c0 23 a0 68 	clr  [ %sp + 0x68 ]                            
 2006654:	a8 10 20 01 	mov  1, %l4                                    
 2006658:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 200665c:	e8 23 a0 5c 	st  %l4, [ %sp + 0x5c ]                        
 2006660:	2b 00 80 7e 	sethi  %hi(0x201f800), %l5                     
 2006664:	92 10 00 12 	mov  %l2, %o1                                  
 2006668:	90 15 62 10 	or  %l5, 0x210, %o0                            
 200666c:	40 00 0c 80 	call  200986c <_Thread_Initialize>             
 2006670:	98 10 20 01 	mov  1, %o4                                    
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
 2006674:	80 8a 20 ff 	btst  0xff, %o0                                
 2006678:	12 80 00 08 	bne  2006698 <pthread_create+0x1ac>            
 200667c:	90 15 62 10 	or  %l5, 0x210, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
 2006680:	40 00 09 73 	call  2008c4c <_Objects_Free>                  
 2006684:	92 10 00 12 	mov  %l2, %o1                                  
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
 2006688:	03 00 80 7e 	sethi  %hi(0x201f800), %g1                     
 200668c:	d0 00 60 38 	ld  [ %g1 + 0x38 ], %o0	! 201f838 <_RTEMS_Allocator_Mutex>
 2006690:	10 80 00 23 	b  200671c <pthread_create+0x230>              
 2006694:	b0 10 20 0b 	mov  0xb, %i0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2006698:	ea 04 a1 6c 	ld  [ %l2 + 0x16c ], %l5                       
                                                                      
  api->Attributes  = *the_attr;                                       
 200669c:	92 10 00 11 	mov  %l1, %o1                                  
 20066a0:	94 10 20 3c 	mov  0x3c, %o2                                 
 20066a4:	40 00 2e cb 	call  20121d0 <memcpy>                         
 20066a8:	90 10 00 15 	mov  %l5, %o0                                  
  api->detachstate = the_attr->detachstate;                           
 20066ac:	c2 04 60 38 	ld  [ %l1 + 0x38 ], %g1                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 20066b0:	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;                           
 20066b4:	c2 25 60 3c 	st  %g1, [ %l5 + 0x3c ]                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 20066b8:	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;                                     
 20066bc:	e6 25 60 80 	st  %l3, [ %l5 + 0x80 ]                        
  api->schedparam  = schedparam;                                      
 20066c0:	40 00 2e c4 	call  20121d0 <memcpy>                         
 20066c4:	90 05 60 84 	add  %l5, 0x84, %o0                            
  the_thread->do_post_task_switch_extension = true;                   
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 20066c8:	94 10 00 1a 	mov  %i2, %o2                                  
   *  This insures we evaluate the process-wide signals pending when we
   *  first run.                                                      
   *                                                                  
   *  NOTE:  Since the thread starts with all unblocked, this is necessary.
   */                                                                 
  the_thread->do_post_task_switch_extension = true;                   
 20066cc:	e8 2c a0 74 	stb  %l4, [ %l2 + 0x74 ]                       
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 20066d0:	96 10 00 1b 	mov  %i3, %o3                                  
 20066d4:	90 10 00 12 	mov  %l2, %o0                                  
 20066d8:	92 10 20 01 	mov  1, %o1                                    
 20066dc:	40 00 0f 53 	call  200a428 <_Thread_Start>                  
 20066e0:	98 10 20 00 	clr  %o4                                       
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
 20066e4:	80 a4 e0 04 	cmp  %l3, 4                                    
 20066e8:	32 80 00 0a 	bne,a   2006710 <pthread_create+0x224>         
 20066ec:	c2 04 a0 08 	ld  [ %l2 + 8 ], %g1                           
    _Watchdog_Insert_ticks(                                           
 20066f0:	40 00 0f f7 	call  200a6cc <_Timespec_To_ticks>             
 20066f4:	90 05 60 8c 	add  %l5, 0x8c, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20066f8:	92 05 60 a4 	add  %l5, 0xa4, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20066fc:	d0 25 60 b0 	st  %o0, [ %l5 + 0xb0 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2006700:	11 00 80 7e 	sethi  %hi(0x201f800), %o0                     
 2006704:	40 00 10 d3 	call  200aa50 <_Watchdog_Insert>               
 2006708:	90 12 20 60 	or  %o0, 0x60, %o0	! 201f860 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 200670c:	c2 04 a0 08 	ld  [ %l2 + 8 ], %g1                           
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2006710:	05 00 80 7e 	sethi  %hi(0x201f800), %g2                     
 2006714:	d0 00 a0 38 	ld  [ %g2 + 0x38 ], %o0	! 201f838 <_RTEMS_Allocator_Mutex>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2006718:	c2 24 00 00 	st  %g1, [ %l0 ]                               
                                                                      
  _RTEMS_Unlock_allocator();                                          
 200671c:	40 00 05 e6 	call  2007eb4 <_API_Mutex_Unlock>              
 2006720:	01 00 00 00 	nop                                            
  return 0;                                                           
 2006724:	81 c7 e0 08 	ret                                            
 2006728:	81 e8 00 00 	restore                                        
}                                                                     
 200672c:	81 c7 e0 08 	ret                                            
 2006730:	81 e8 00 00 	restore                                        
                                                                      

020101d8 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
 20101d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
 20101dc:	80 a6 60 00 	cmp  %i1, 0                                    
 20101e0:	02 80 00 06 	be  20101f8 <pthread_kill+0x20>                <== NEVER TAKEN
 20101e4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 20101e8:	a2 06 7f ff 	add  %i1, -1, %l1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 20101ec:	80 a4 60 1f 	cmp  %l1, 0x1f                                 
 20101f0:	08 80 00 08 	bleu  2010210 <pthread_kill+0x38>              
 20101f4:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20101f8:	40 00 01 d4 	call  2010948 <__errno>                        
 20101fc:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2010200:	82 10 20 16 	mov  0x16, %g1                                 
 2010204:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2010208:	81 c7 e0 08 	ret                                            
 201020c:	81 e8 00 00 	restore                                        
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
 2010210:	7f ff e1 12 	call  2008658 <_Thread_Get>                    
 2010214:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2010218:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201021c:	80 a0 60 00 	cmp  %g1, 0                                    
 2010220:	12 80 00 23 	bne  20102ac <pthread_kill+0xd4>               <== NEVER TAKEN
 2010224:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
 2010228:	83 2e 60 02 	sll  %i1, 2, %g1                               
 201022c:	85 2e 60 04 	sll  %i1, 4, %g2                               
 2010230:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2010234:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2010238:	82 10 60 18 	or  %g1, 0x18, %g1	! 201e818 <_POSIX_signals_Vectors>
 201023c:	82 00 40 02 	add  %g1, %g2, %g1                             
 2010240:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2010244:	80 a0 a0 01 	cmp  %g2, 1                                    
 2010248:	02 80 00 15 	be  201029c <pthread_kill+0xc4>                <== NEVER TAKEN
 201024c:	c2 02 21 6c 	ld  [ %o0 + 0x16c ], %g1                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 2010250:	c4 00 60 d0 	ld  [ %g1 + 0xd0 ], %g2                        
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 2010254:	92 10 00 19 	mov  %i1, %o1                                  
 2010258:	94 10 20 00 	clr  %o2                                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 201025c:	b2 10 20 01 	mov  1, %i1                                    
 2010260:	a3 2e 40 11 	sll  %i1, %l1, %l1                             
 2010264:	a2 10 80 11 	or  %g2, %l1, %l1                              
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 2010268:	7f ff ff 4c 	call  200ff98 <_POSIX_signals_Unblock_thread>  
 201026c:	e2 20 60 d0 	st  %l1, [ %g1 + 0xd0 ]                        
                                                                      
        the_thread->do_post_task_switch_extension = true;             
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2010270:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010274:	c2 00 63 2c 	ld  [ %g1 + 0x32c ], %g1	! 201e32c <_ISR_Nest_level>
 2010278:	80 a0 60 00 	cmp  %g1, 0                                    
 201027c:	02 80 00 08 	be  201029c <pthread_kill+0xc4>                
 2010280:	f2 2c 20 74 	stb  %i1, [ %l0 + 0x74 ]                       
 2010284:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010288:	c2 00 63 50 	ld  [ %g1 + 0x350 ], %g1	! 201e350 <_Thread_Executing>
 201028c:	80 a4 00 01 	cmp  %l0, %g1                                  
 2010290:	12 80 00 03 	bne  201029c <pthread_kill+0xc4>               
 2010294:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
          _ISR_Signals_to_thread_executing = true;                    
 2010298:	f2 28 63 e8 	stb  %i1, [ %g1 + 0x3e8 ]	! 201e3e8 <_ISR_Signals_to_thread_executing>
      }                                                               
      _Thread_Enable_dispatch();                                      
 201029c:	7f ff e0 e2 	call  2008624 <_Thread_Enable_dispatch>        
 20102a0:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
 20102a4:	81 c7 e0 08 	ret                                            
 20102a8:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
 20102ac:	40 00 01 a7 	call  2010948 <__errno>                        <== NOT EXECUTED
 20102b0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20102b4:	82 10 20 03 	mov  3, %g1                                    <== NOT EXECUTED
 20102b8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
}                                                                     
 20102bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20102c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02005d80 <pthread_mutexattr_gettype>: int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) { if ( !attr )
 2005d80:	80 a2 20 00 	cmp  %o0, 0                                    
 2005d84:	02 80 00 0c 	be  2005db4 <pthread_mutexattr_gettype+0x34>   
 2005d88:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2005d8c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2005d90:	80 a0 60 00 	cmp  %g1, 0                                    
 2005d94:	02 80 00 08 	be  2005db4 <pthread_mutexattr_gettype+0x34>   
 2005d98:	80 a2 60 00 	cmp  %o1, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
 2005d9c:	02 80 00 06 	be  2005db4 <pthread_mutexattr_gettype+0x34>   <== NEVER TAKEN
 2005da0:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 2005da4:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 2005da8:	90 10 20 00 	clr  %o0                                       
  return 0;                                                           
 2005dac:	81 c3 e0 08 	retl                                           
 2005db0:	c2 22 40 00 	st  %g1, [ %o1 ]                               
}                                                                     
 2005db4:	81 c3 e0 08 	retl                                           
 2005db8:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

020082e4 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) { if ( !attr || !attr->is_initialized )
 20082e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20082e8:	02 80 00 0b 	be  2008314 <pthread_mutexattr_setpshared+0x30>
 20082ec:	01 00 00 00 	nop                                            
 20082f0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20082f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20082f8:	02 80 00 07 	be  2008314 <pthread_mutexattr_setpshared+0x30>
 20082fc:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2008300:	18 80 00 05 	bgu  2008314 <pthread_mutexattr_setpshared+0x30><== NEVER TAKEN
 2008304:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2008308:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
 200830c:	81 c3 e0 08 	retl                                           
 2008310:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2008314:	81 c3 e0 08 	retl                                           
 2008318:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02005de8 <pthread_mutexattr_settype>: int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) { if ( !attr || !attr->is_initialized )
 2005de8:	80 a2 20 00 	cmp  %o0, 0                                    
 2005dec:	02 80 00 0b 	be  2005e18 <pthread_mutexattr_settype+0x30>   
 2005df0:	01 00 00 00 	nop                                            
 2005df4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2005df8:	80 a0 60 00 	cmp  %g1, 0                                    
 2005dfc:	02 80 00 07 	be  2005e18 <pthread_mutexattr_settype+0x30>   <== NEVER TAKEN
 2005e00:	80 a2 60 03 	cmp  %o1, 3                                    
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
 2005e04:	18 80 00 05 	bgu  2005e18 <pthread_mutexattr_settype+0x30>  
 2005e08:	01 00 00 00 	nop                                            
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
 2005e0c:	d2 22 20 10 	st  %o1, [ %o0 + 0x10 ]                        
      return 0;                                                       
 2005e10:	81 c3 e0 08 	retl                                           
 2005e14:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2005e18:	81 c3 e0 08 	retl                                           
 2005e1c:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02006b98 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
 2006b98:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !once_control || !init_routine )                               
 2006b9c:	80 a6 60 00 	cmp  %i1, 0                                    
 2006ba0:	02 80 00 05 	be  2006bb4 <pthread_once+0x1c>                
 2006ba4:	a0 10 00 18 	mov  %i0, %l0                                  
 2006ba8:	80 a6 20 00 	cmp  %i0, 0                                    
 2006bac:	32 80 00 04 	bne,a   2006bbc <pthread_once+0x24>            
 2006bb0:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2006bb4:	81 c7 e0 08 	ret                                            
 2006bb8:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
 2006bbc:	80 a0 60 00 	cmp  %g1, 0                                    
 2006bc0:	12 80 00 13 	bne  2006c0c <pthread_once+0x74>               
 2006bc4:	b0 10 20 00 	clr  %i0                                       
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 2006bc8:	90 10 21 00 	mov  0x100, %o0                                
 2006bcc:	92 10 21 00 	mov  0x100, %o1                                
 2006bd0:	40 00 03 02 	call  20077d8 <rtems_task_mode>                
 2006bd4:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( !once_control->init_executed ) {                             
 2006bd8:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2006bdc:	80 a0 60 00 	cmp  %g1, 0                                    
 2006be0:	12 80 00 07 	bne  2006bfc <pthread_once+0x64>               <== NEVER TAKEN
 2006be4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      once_control->is_initialized = true;                            
 2006be8:	82 10 20 01 	mov  1, %g1                                    
      once_control->init_executed = true;                             
 2006bec:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
      (*init_routine)();                                              
 2006bf0:	9f c6 40 00 	call  %i1                                      
 2006bf4:	c2 24 00 00 	st  %g1, [ %l0 ]                               
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2006bf8:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2006bfc:	92 10 21 00 	mov  0x100, %o1                                
 2006c00:	94 07 bf fc 	add  %fp, -4, %o2                              
 2006c04:	40 00 02 f5 	call  20077d8 <rtems_task_mode>                
 2006c08:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
  return 0;                                                           
}                                                                     
 2006c0c:	81 c7 e0 08 	ret                                            
 2006c10:	81 e8 00 00 	restore                                        
                                                                      

02007350 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
 2007350:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
 2007354:	80 a6 20 00 	cmp  %i0, 0                                    
 2007358:	02 80 00 2a 	be  2007400 <pthread_rwlock_init+0xb0>         
 200735c:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2007360:	32 80 00 06 	bne,a   2007378 <pthread_rwlock_init+0x28>     
 2007364:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
 2007368:	b2 07 bf f4 	add  %fp, -12, %i1                             
 200736c:	40 00 02 91 	call  2007db0 <pthread_rwlockattr_init>        
 2007370:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2007374:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007378:	80 a0 60 00 	cmp  %g1, 0                                    
 200737c:	02 80 00 21 	be  2007400 <pthread_rwlock_init+0xb0>         <== NEVER TAKEN
 2007380:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2007384:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2007388:	80 a0 60 00 	cmp  %g1, 0                                    
 200738c:	12 80 00 1d 	bne  2007400 <pthread_rwlock_init+0xb0>        <== NEVER TAKEN
 2007390:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2007394:	c4 00 61 a0 	ld  [ %g1 + 0x1a0 ], %g2	! 20215a0 <_Thread_Dispatch_disable_level>
 2007398:	84 00 a0 01 	inc  %g2                                       
 200739c:	c4 20 61 a0 	st  %g2, [ %g1 + 0x1a0 ]                       
 *  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 *)                                     
 20073a0:	23 00 80 85 	sethi  %hi(0x2021400), %l1                     
 20073a4:	40 00 0a 07 	call  2009bc0 <_Objects_Allocate>              
 20073a8:	90 14 63 f0 	or  %l1, 0x3f0, %o0	! 20217f0 <_POSIX_RWLock_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
 20073ac:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20073b0:	12 80 00 06 	bne  20073c8 <pthread_rwlock_init+0x78>        
 20073b4:	90 04 20 10 	add  %l0, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
 20073b8:	40 00 0d 96 	call  200aa10 <_Thread_Enable_dispatch>        
 20073bc:	b0 10 20 0b 	mov  0xb, %i0                                  
    return EAGAIN;                                                    
 20073c0:	81 c7 e0 08 	ret                                            
 20073c4:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
 20073c8:	40 00 07 bc 	call  20092b8 <_CORE_RWLock_Initialize>        
 20073cc:	92 07 bf fc 	add  %fp, -4, %o1                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20073d0:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
 20073d4:	a2 14 63 f0 	or  %l1, 0x3f0, %l1                            
 20073d8:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
 20073dc:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
 20073e0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20073e4:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20073e8:	c0 24 20 0c 	clr  [ %l0 + 0xc ]                             
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
 20073ec:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 20073f0:	40 00 0d 88 	call  200aa10 <_Thread_Enable_dispatch>        
 20073f4:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 20073f8:	81 c7 e0 08 	ret                                            
 20073fc:	81 e8 00 00 	restore                                        
}                                                                     
 2007400:	81 c7 e0 08 	ret                                            
 2007404:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      

02007480 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2007480:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2007484:	80 a6 20 00 	cmp  %i0, 0                                    
 2007488:	02 80 00 2d 	be  200753c <pthread_rwlock_timedrdlock+0xbc>  
 200748c:	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 );       
 2007490:	40 00 1e d9 	call  200eff4 <_POSIX_Absolute_timeout_to_ticks>
 2007494:	92 07 bf f8 	add  %fp, -8, %o1                              
 2007498:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 200749c:	a0 10 00 08 	mov  %o0, %l0                                  
 20074a0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20074a4:	11 00 80 85 	sethi  %hi(0x2021400), %o0                     
 20074a8:	40 00 0b 05 	call  200a0bc <_Objects_Get>                   
 20074ac:	90 12 23 f0 	or  %o0, 0x3f0, %o0	! 20217f0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 20074b0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20074b4:	80 a0 60 00 	cmp  %g1, 0                                    
 20074b8:	32 80 00 22 	bne,a   2007540 <pthread_rwlock_timedrdlock+0xc0>
 20074bc:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 20074c0:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 20074c4:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
 20074c8:	82 1c 20 03 	xor  %l0, 3, %g1                               
 20074cc:	90 02 20 10 	add  %o0, 0x10, %o0                            
 20074d0:	80 a0 00 01 	cmp  %g0, %g1                                  
 20074d4:	98 10 20 00 	clr  %o4                                       
 20074d8:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 20074dc:	40 00 07 82 	call  20092e4 <_CORE_RWLock_Obtain_for_reading>
 20074e0:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 20074e4:	40 00 0d 4b 	call  200aa10 <_Thread_Enable_dispatch>        
 20074e8:	01 00 00 00 	nop                                            
      if ( !do_wait ) {                                               
 20074ec:	80 a4 60 00 	cmp  %l1, 0                                    
 20074f0:	12 80 00 0d 	bne  2007524 <pthread_rwlock_timedrdlock+0xa4> 
 20074f4:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 20074f8:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1	! 2021660 <_Thread_Executing>
 20074fc:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2007500:	80 a0 60 02 	cmp  %g1, 2                                    
 2007504:	32 80 00 09 	bne,a   2007528 <pthread_rwlock_timedrdlock+0xa8>
 2007508:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
	  switch (status) {                                                  
 200750c:	80 a4 20 00 	cmp  %l0, 0                                    
 2007510:	02 80 00 0c 	be  2007540 <pthread_rwlock_timedrdlock+0xc0>  <== NEVER TAKEN
 2007514:	90 10 20 16 	mov  0x16, %o0                                 
 2007518:	80 a4 20 02 	cmp  %l0, 2                                    
 200751c:	08 80 00 09 	bleu  2007540 <pthread_rwlock_timedrdlock+0xc0><== ALWAYS TAKEN
 2007520:	90 10 20 74 	mov  0x74, %o0                                 
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2007524:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 2007528:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1	! 2021660 <_Thread_Executing>
 200752c:	40 00 00 3b 	call  2007618 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2007530:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2007534:	81 c7 e0 08 	ret                                            
 2007538:	91 e8 00 08 	restore  %g0, %o0, %o0                         
 200753c:	90 10 20 16 	mov  0x16, %o0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 2007540:	b0 10 00 08 	mov  %o0, %i0                                  
 2007544:	81 c7 e0 08 	ret                                            
 2007548:	81 e8 00 00 	restore                                        
                                                                      

0200754c <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 200754c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2007550:	80 a6 20 00 	cmp  %i0, 0                                    
 2007554:	02 80 00 2d 	be  2007608 <pthread_rwlock_timedwrlock+0xbc>  
 2007558:	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 );       
 200755c:	40 00 1e a6 	call  200eff4 <_POSIX_Absolute_timeout_to_ticks>
 2007560:	92 07 bf f8 	add  %fp, -8, %o1                              
 2007564:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2007568:	a0 10 00 08 	mov  %o0, %l0                                  
 200756c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007570:	11 00 80 85 	sethi  %hi(0x2021400), %o0                     
 2007574:	40 00 0a d2 	call  200a0bc <_Objects_Get>                   
 2007578:	90 12 23 f0 	or  %o0, 0x3f0, %o0	! 20217f0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 200757c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007580:	80 a0 60 00 	cmp  %g1, 0                                    
 2007584:	32 80 00 22 	bne,a   200760c <pthread_rwlock_timedwrlock+0xc0>
 2007588:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 200758c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2007590:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
 2007594:	82 1c 20 03 	xor  %l0, 3, %g1                               
 2007598:	90 02 20 10 	add  %o0, 0x10, %o0                            
 200759c:	80 a0 00 01 	cmp  %g0, %g1                                  
 20075a0:	98 10 20 00 	clr  %o4                                       
 20075a4:	a2 60 3f ff 	subx  %g0, -1, %l1                             
 20075a8:	40 00 07 83 	call  20093b4 <_CORE_RWLock_Obtain_for_writing>
 20075ac:	94 10 00 11 	mov  %l1, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 20075b0:	40 00 0d 18 	call  200aa10 <_Thread_Enable_dispatch>        
 20075b4:	01 00 00 00 	nop                                            
      if ( !do_wait &&                                                
 20075b8:	80 a4 60 00 	cmp  %l1, 0                                    
 20075bc:	12 80 00 0d 	bne  20075f0 <pthread_rwlock_timedwrlock+0xa4> 
 20075c0:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
 20075c4:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1	! 2021660 <_Thread_Executing>
 20075c8:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 20075cc:	80 a0 60 02 	cmp  %g1, 2                                    
 20075d0:	32 80 00 09 	bne,a   20075f4 <pthread_rwlock_timedwrlock+0xa8>
 20075d4:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
	switch (status) {                                                    
 20075d8:	80 a4 20 00 	cmp  %l0, 0                                    
 20075dc:	02 80 00 0c 	be  200760c <pthread_rwlock_timedwrlock+0xc0>  <== NEVER TAKEN
 20075e0:	90 10 20 16 	mov  0x16, %o0                                 
 20075e4:	80 a4 20 02 	cmp  %l0, 2                                    
 20075e8:	08 80 00 09 	bleu  200760c <pthread_rwlock_timedwrlock+0xc0><== ALWAYS TAKEN
 20075ec:	90 10 20 74 	mov  0x74, %o0                                 
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 20075f0:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
 20075f4:	c2 00 62 60 	ld  [ %g1 + 0x260 ], %g1	! 2021660 <_Thread_Executing>
 20075f8:	40 00 00 08 	call  2007618 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 20075fc:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2007600:	81 c7 e0 08 	ret                                            
 2007604:	91 e8 00 08 	restore  %g0, %o0, %o0                         
 2007608:	90 10 20 16 	mov  0x16, %o0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200760c:	b0 10 00 08 	mov  %o0, %i0                                  
 2007610:	81 c7 e0 08 	ret                                            
 2007614:	81 e8 00 00 	restore                                        
                                                                      

02007dd4 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) { if ( !attr )
 2007dd4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007dd8:	02 80 00 0b 	be  2007e04 <pthread_rwlockattr_setpshared+0x30>
 2007ddc:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2007de0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2007de4:	80 a0 60 00 	cmp  %g1, 0                                    
 2007de8:	02 80 00 07 	be  2007e04 <pthread_rwlockattr_setpshared+0x30>
 2007dec:	80 a2 60 01 	cmp  %o1, 1                                    
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2007df0:	18 80 00 05 	bgu  2007e04 <pthread_rwlockattr_setpshared+0x30><== NEVER TAKEN
 2007df4:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2007df8:	d2 22 20 04 	st  %o1, [ %o0 + 4 ]                           
      return 0;                                                       
 2007dfc:	81 c3 e0 08 	retl                                           
 2007e00:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2007e04:	81 c3 e0 08 	retl                                           
 2007e08:	90 10 20 16 	mov  0x16, %o0                                 
                                                                      

02008f80 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
 2008f80:	9d e3 bf 90 	save  %sp, -112, %sp                           
 2008f84:	a0 10 00 18 	mov  %i0, %l0                                  
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
 2008f88:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008f8c:	02 80 00 40 	be  200908c <pthread_setschedparam+0x10c>      
 2008f90:	b0 10 20 16 	mov  0x16, %i0                                 
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
 2008f94:	90 10 00 19 	mov  %i1, %o0                                  
 2008f98:	92 10 00 1a 	mov  %i2, %o1                                  
 2008f9c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2008fa0:	40 00 1c 70 	call  2010160 <_POSIX_Thread_Translate_sched_param>
 2008fa4:	96 07 bf f8 	add  %fp, -8, %o3                              
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 2008fa8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2008fac:	12 80 00 38 	bne  200908c <pthread_setschedparam+0x10c>     
 2008fb0:	90 10 00 10 	mov  %l0, %o0                                  
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
 2008fb4:	40 00 0a 9d 	call  200ba28 <_Thread_Get>                    
 2008fb8:	92 07 bf f4 	add  %fp, -12, %o1                             
  switch ( location ) {                                               
 2008fbc:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2008fc0:	80 a0 60 00 	cmp  %g1, 0                                    
 2008fc4:	02 80 00 04 	be  2008fd4 <pthread_setschedparam+0x54>       
 2008fc8:	a2 10 00 08 	mov  %o0, %l1                                  
 2008fcc:	81 c7 e0 08 	ret                                            
 2008fd0:	91 e8 20 03 	restore  %g0, 3, %o0                           
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 2008fd4:	e0 02 21 6c 	ld  [ %o0 + 0x16c ], %l0                       
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
 2008fd8:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 2008fdc:	80 a0 60 04 	cmp  %g1, 4                                    
 2008fe0:	32 80 00 05 	bne,a   2008ff4 <pthread_setschedparam+0x74>   
 2008fe4:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
 2008fe8:	40 00 0f c4 	call  200cef8 <_Watchdog_Remove>               
 2008fec:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
                                                                      
      api->schedpolicy = policy;                                      
 2008ff0:	f2 24 20 80 	st  %i1, [ %l0 + 0x80 ]                        
      api->schedparam  = *param;                                      
 2008ff4:	92 10 00 1a 	mov  %i2, %o1                                  
 2008ff8:	90 04 20 84 	add  %l0, 0x84, %o0                            
 2008ffc:	40 00 2d aa 	call  20146a4 <memcpy>                         
 2009000:	94 10 20 1c 	mov  0x1c, %o2                                 
      the_thread->budget_algorithm = budget_algorithm;                
 2009004:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 2009008:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
 200900c:	c4 24 60 7c 	st  %g2, [ %l1 + 0x7c ]                        
      the_thread->budget_callout   = budget_callout;                  
 2009010:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
                                                                      
      switch ( api->schedpolicy ) {                                   
 2009014:	80 a0 60 00 	cmp  %g1, 0                                    
 2009018:	06 80 00 1b 	bl  2009084 <pthread_setschedparam+0x104>      <== NEVER TAKEN
 200901c:	c4 24 60 80 	st  %g2, [ %l1 + 0x80 ]                        
 2009020:	80 a0 60 02 	cmp  %g1, 2                                    
 2009024:	24 80 00 07 	ble,a   2009040 <pthread_setschedparam+0xc0>   
 2009028:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
 200902c:	80 a0 60 04 	cmp  %g1, 4                                    
 2009030:	12 80 00 15 	bne  2009084 <pthread_setschedparam+0x104>     <== NEVER TAKEN
 2009034:	01 00 00 00 	nop                                            
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
 2009038:	10 80 00 0d 	b  200906c <pthread_setschedparam+0xec>        
 200903c:	c2 04 20 84 	ld  [ %l0 + 0x84 ], %g1                        
 2009040:	07 00 80 8c 	sethi  %hi(0x2023000), %g3                     
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 2009044:	05 00 80 8e 	sethi  %hi(0x2023800), %g2                     
 2009048:	d2 08 e0 e8 	ldub  [ %g3 + 0xe8 ], %o1                      
 200904c:	c4 00 a3 b8 	ld  [ %g2 + 0x3b8 ], %g2                       
 2009050:	92 22 40 01 	sub  %o1, %g1, %o1                             
 2009054:	c4 24 60 78 	st  %g2, [ %l1 + 0x78 ]                        
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 2009058:	90 10 00 11 	mov  %l1, %o0                                  
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
                                                                      
          the_thread->real_priority =                                 
 200905c:	d2 24 60 18 	st  %o1, [ %l1 + 0x18 ]                        
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 2009060:	40 00 08 da 	call  200b3c8 <_Thread_Change_priority>        
 2009064:	94 10 20 01 	mov  1, %o2                                    
             the_thread,                                              
             the_thread->real_priority,                               
             true                                                     
          );                                                          
          break;                                                      
 2009068:	30 80 00 07 	b,a   2009084 <pthread_setschedparam+0x104>    
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
          _Watchdog_Remove( &api->Sporadic_timer );                   
 200906c:	90 04 20 a4 	add  %l0, 0xa4, %o0                            
 2009070:	40 00 0f a2 	call  200cef8 <_Watchdog_Remove>               
 2009074:	c2 24 20 a0 	st  %g1, [ %l0 + 0xa0 ]                        
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
 2009078:	92 10 00 11 	mov  %l1, %o1                                  
 200907c:	7f ff ff a2 	call  2008f04 <_POSIX_Threads_Sporadic_budget_TSR>
 2009080:	90 10 20 00 	clr  %o0                                       
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 2009084:	40 00 0a 5c 	call  200b9f4 <_Thread_Enable_dispatch>        
 2009088:	01 00 00 00 	nop                                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
 200908c:	81 c7 e0 08 	ret                                            
 2009090:	81 e8 00 00 	restore                                        
                                                                      

020067ec <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
 20067ec:	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() )                                        
 20067f0:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
 20067f4:	c2 00 62 7c 	ld  [ %g1 + 0x27c ], %g1	! 202027c <_ISR_Nest_level>
 20067f8:	80 a0 60 00 	cmp  %g1, 0                                    
 20067fc:	12 80 00 17 	bne  2006858 <pthread_testcancel+0x6c>         <== NEVER TAKEN
 2006800:	05 00 80 80 	sethi  %hi(0x2020000), %g2                     
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 2006804:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
 2006808:	c6 00 a1 e0 	ld  [ %g2 + 0x1e0 ], %g3                       
 200680c:	c2 00 62 a0 	ld  [ %g1 + 0x2a0 ], %g1                       
 2006810:	86 00 e0 01 	inc  %g3                                       
 2006814:	c2 00 61 6c 	ld  [ %g1 + 0x16c ], %g1                       
 2006818:	c6 20 a1 e0 	st  %g3, [ %g2 + 0x1e0 ]                       
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200681c:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 2006820:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006824:	12 80 00 05 	bne  2006838 <pthread_testcancel+0x4c>         <== NEVER TAKEN
 2006828:	a0 10 20 00 	clr  %l0                                       
                                                                      
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */          
                                                                      
int	_EXFUN(pthread_setcancelstate, (int __state, int *__oldstate));   
int	_EXFUN(pthread_setcanceltype, (int __type, int *__oldtype));      
void 	_EXFUN(pthread_testcancel, (void));                             
 200682c:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1                        
 2006830:	80 a0 00 01 	cmp  %g0, %g1                                  
 2006834:	a0 40 20 00 	addx  %g0, 0, %l0                              
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 2006838:	40 00 0a 31 	call  20090fc <_Thread_Enable_dispatch>        
 200683c:	01 00 00 00 	nop                                            
                                                                      
  if ( cancel )                                                       
 2006840:	80 8c 20 ff 	btst  0xff, %l0                                
 2006844:	02 80 00 05 	be  2006858 <pthread_testcancel+0x6c>          
 2006848:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
 200684c:	f0 00 62 a0 	ld  [ %g1 + 0x2a0 ], %i0	! 20202a0 <_Thread_Executing>
 2006850:	40 00 1c 4a 	call  200d978 <_POSIX_Thread_Exit>             
 2006854:	93 e8 3f ff 	restore  %g0, -1, %o1                          
 2006858:	81 c7 e0 08 	ret                                            
 200685c:	81 e8 00 00 	restore                                        
                                                                      

0200929c <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) {
 200929c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 20092a0:	80 a6 20 00 	cmp  %i0, 0                                    
 20092a4:	02 80 00 1d 	be  2009318 <rtems_iterate_over_all_threads+0x7c><== NEVER TAKEN
 20092a8:	21 00 80 93 	sethi  %hi(0x2024c00), %l0                     
 20092ac:	a0 14 21 84 	or  %l0, 0x184, %l0	! 2024d84 <_Objects_Information_table+0x4>
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 20092b0:	a6 04 20 10 	add  %l0, 0x10, %l3                            
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
 20092b4:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 20092b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20092bc:	22 80 00 14 	be,a   200930c <rtems_iterate_over_all_threads+0x70>
 20092c0:	a0 04 20 04 	add  %l0, 4, %l0                               
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 20092c4:	e4 00 60 04 	ld  [ %g1 + 4 ], %l2                           
    if ( !information )                                               
 20092c8:	80 a4 a0 00 	cmp  %l2, 0                                    
 20092cc:	12 80 00 0b 	bne  20092f8 <rtems_iterate_over_all_threads+0x5c>
 20092d0:	a2 10 20 01 	mov  1, %l1                                    
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 20092d4:	10 80 00 0e 	b  200930c <rtems_iterate_over_all_threads+0x70>
 20092d8:	a0 04 20 04 	add  %l0, 4, %l0                               
      the_thread = (Thread_Control *)information->local_table[ i ];   
 20092dc:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        
 20092e0:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
                                                                      
      if ( !the_thread )                                              
 20092e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20092e8:	02 80 00 04 	be  20092f8 <rtems_iterate_over_all_threads+0x5c><== NEVER TAKEN
 20092ec:	a2 04 60 01 	inc  %l1                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 20092f0:	9f c6 00 00 	call  %i0                                      
 20092f4:	01 00 00 00 	nop                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 20092f8:	c2 14 a0 10 	lduh  [ %l2 + 0x10 ], %g1                      
 20092fc:	80 a4 40 01 	cmp  %l1, %g1                                  
 2009300:	08 bf ff f7 	bleu  20092dc <rtems_iterate_over_all_threads+0x40>
 2009304:	85 2c 60 02 	sll  %l1, 2, %g2                               
 2009308:	a0 04 20 04 	add  %l0, 4, %l0                               
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 200930c:	80 a4 00 13 	cmp  %l0, %l3                                  
 2009310:	32 bf ff ea 	bne,a   20092b8 <rtems_iterate_over_all_threads+0x1c>
 2009314:	c2 04 00 00 	ld  [ %l0 ], %g1                               
 2009318:	81 c7 e0 08 	ret                                            
 200931c:	81 e8 00 00 	restore                                        
                                                                      

0201365c <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 201365c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 2013660:	a0 96 20 00 	orcc  %i0, 0, %l0                              
 2013664:	02 80 00 1c 	be  20136d4 <rtems_partition_create+0x78>      
 2013668:	b0 10 20 03 	mov  3, %i0                                    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 201366c:	80 a6 60 00 	cmp  %i1, 0                                    
 2013670:	02 80 00 34 	be  2013740 <rtems_partition_create+0xe4>      
 2013674:	80 a7 60 00 	cmp  %i5, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 2013678:	02 80 00 32 	be  2013740 <rtems_partition_create+0xe4>      <== NEVER TAKEN
 201367c:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2013680:	02 80 00 32 	be  2013748 <rtems_partition_create+0xec>      
 2013684:	80 a6 a0 00 	cmp  %i2, 0                                    
 2013688:	02 80 00 30 	be  2013748 <rtems_partition_create+0xec>      
 201368c:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2013690:	0a 80 00 2e 	bcs  2013748 <rtems_partition_create+0xec>     
 2013694:	80 8e e0 07 	btst  7, %i3                                   
 2013698:	12 80 00 2c 	bne  2013748 <rtems_partition_create+0xec>     
 201369c:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 20136a0:	12 80 00 28 	bne  2013740 <rtems_partition_create+0xe4>     
 20136a4:	03 00 80 fb 	sethi  %hi(0x203ec00), %g1                     
 20136a8:	c4 00 63 50 	ld  [ %g1 + 0x350 ], %g2	! 203ef50 <_Thread_Dispatch_disable_level>
 20136ac:	84 00 a0 01 	inc  %g2                                       
 20136b0:	c4 20 63 50 	st  %g2, [ %g1 + 0x350 ]                       
 *  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 );
 20136b4:	25 00 80 fb 	sethi  %hi(0x203ec00), %l2                     
 20136b8:	40 00 12 00 	call  2017eb8 <_Objects_Allocate>              
 20136bc:	90 14 a1 54 	or  %l2, 0x154, %o0	! 203ed54 <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 20136c0:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 20136c4:	32 80 00 06 	bne,a   20136dc <rtems_partition_create+0x80>  
 20136c8:	f4 24 60 14 	st  %i2, [ %l1 + 0x14 ]                        
    _Thread_Enable_dispatch();                                        
 20136cc:	40 00 15 fa 	call  2018eb4 <_Thread_Enable_dispatch>        
 20136d0:	b0 10 20 05 	mov  5, %i0                                    
    return RTEMS_TOO_MANY;                                            
 20136d4:	81 c7 e0 08 	ret                                            
 20136d8:	81 e8 00 00 	restore                                        
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 20136dc:	90 10 00 1a 	mov  %i2, %o0                                  
 20136e0:	92 10 00 1b 	mov  %i3, %o1                                  
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
 20136e4:	f8 24 60 1c 	st  %i4, [ %l1 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 20136e8:	f2 24 60 10 	st  %i1, [ %l1 + 0x10 ]                        
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
 20136ec:	f6 24 60 18 	st  %i3, [ %l1 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
 20136f0:	40 00 69 ab 	call  202dd9c <.udiv>                          
 20136f4:	c0 24 60 20 	clr  [ %l1 + 0x20 ]                            
 20136f8:	92 10 00 19 	mov  %i1, %o1                                  
 20136fc:	94 10 00 08 	mov  %o0, %o2                                  
 2013700:	96 10 00 1b 	mov  %i3, %o3                                  
 2013704:	b4 04 60 24 	add  %l1, 0x24, %i2                            
 2013708:	40 00 0c 6f 	call  20168c4 <_Chain_Initialize>              
 201370c:	90 10 00 1a 	mov  %i2, %o0                                  
 2013710:	c2 14 60 0a 	lduh  [ %l1 + 0xa ], %g1                       
 2013714:	c6 04 60 08 	ld  [ %l1 + 8 ], %g3                           
 2013718:	a4 14 a1 54 	or  %l2, 0x154, %l2                            
 201371c:	c4 04 a0 1c 	ld  [ %l2 + 0x1c ], %g2                        
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 2013720:	e0 24 60 0c 	st  %l0, [ %l1 + 0xc ]                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2013724:	83 28 60 02 	sll  %g1, 2, %g1                               
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
 2013728:	c6 27 40 00 	st  %g3, [ %i5 ]                               
 201372c:	e2 20 80 01 	st  %l1, [ %g2 + %g1 ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 2013730:	40 00 15 e1 	call  2018eb4 <_Thread_Enable_dispatch>        
 2013734:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
 2013738:	81 c7 e0 08 	ret                                            
 201373c:	81 e8 00 00 	restore                                        
 2013740:	81 c7 e0 08 	ret                                            
 2013744:	91 e8 20 09 	restore  %g0, 9, %o0                           
 2013748:	b0 10 20 08 	mov  8, %i0                                    
}                                                                     
 201374c:	81 c7 e0 08 	ret                                            
 2013750:	81 e8 00 00 	restore                                        
                                                                      

02041110 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 2041110:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2041114:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     
 2041118:	92 10 00 18 	mov  %i0, %o1                                  
 204111c:	90 12 20 a8 	or  %o0, 0xa8, %o0                             
 2041120:	7f ff 35 cd 	call  200e854 <_Objects_Get>                   
 2041124:	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 ) {                                               
 2041128:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 204112c:	80 a0 60 00 	cmp  %g1, 0                                    
 2041130:	12 80 00 63 	bne  20412bc <rtems_rate_monotonic_period+0x1ac>
 2041134:	a0 10 00 08 	mov  %o0, %l0                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 2041138:	25 00 81 bb 	sethi  %hi(0x206ec00), %l2                     
 204113c:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 2041140:	c2 04 a2 40 	ld  [ %l2 + 0x240 ], %g1                       
 2041144:	80 a0 80 01 	cmp  %g2, %g1                                  
 2041148:	02 80 00 06 	be  2041160 <rtems_rate_monotonic_period+0x50> 
 204114c:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 2041150:	7f ff 38 40 	call  200f250 <_Thread_Enable_dispatch>        
 2041154:	b0 10 20 17 	mov  0x17, %i0                                 
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
 2041158:	81 c7 e0 08 	ret                                            
 204115c:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 2041160:	12 80 00 0b 	bne  204118c <rtems_rate_monotonic_period+0x7c>
 2041164:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 2041168:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 204116c:	80 a0 60 04 	cmp  %g1, 4                                    
 2041170:	18 80 00 4f 	bgu  20412ac <rtems_rate_monotonic_period+0x19c><== NEVER TAKEN
 2041174:	b0 10 20 00 	clr  %i0                                       
 2041178:	83 28 60 02 	sll  %g1, 2, %g1                               
 204117c:	05 00 81 a3 	sethi  %hi(0x2068c00), %g2                     
 2041180:	84 10 a2 90 	or  %g2, 0x290, %g2	! 2068e90 <CSWTCH.48>      
 2041184:	10 80 00 4a 	b  20412ac <rtems_rate_monotonic_period+0x19c> 
 2041188:	f0 00 80 01 	ld  [ %g2 + %g1 ], %i0                         
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 204118c:	7f ff 09 88 	call  20037ac <sparc_disable_interrupts>       
 2041190:	01 00 00 00 	nop                                            
 2041194:	a6 10 00 08 	mov  %o0, %l3                                  
      switch ( the_period->state ) {                                  
 2041198:	e2 04 20 38 	ld  [ %l0 + 0x38 ], %l1                        
 204119c:	80 a4 60 02 	cmp  %l1, 2                                    
 20411a0:	02 80 00 1a 	be  2041208 <rtems_rate_monotonic_period+0xf8> 
 20411a4:	80 a4 60 04 	cmp  %l1, 4                                    
 20411a8:	02 80 00 34 	be  2041278 <rtems_rate_monotonic_period+0x168>
 20411ac:	80 a4 60 00 	cmp  %l1, 0                                    
 20411b0:	12 80 00 43 	bne  20412bc <rtems_rate_monotonic_period+0x1ac><== NEVER TAKEN
 20411b4:	01 00 00 00 	nop                                            
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
 20411b8:	7f ff 09 81 	call  20037bc <sparc_enable_interrupts>        
 20411bc:	01 00 00 00 	nop                                            
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
 20411c0:	7f ff ff 50 	call  2040f00 <_Rate_monotonic_Initiate_statistics>
 20411c4:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 20411c8:	82 10 20 02 	mov  2, %g1                                    
 20411cc:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20411d0:	03 00 81 04 	sethi  %hi(0x2041000), %g1                     
 20411d4:	82 10 62 c4 	or  %g1, 0x2c4, %g1	! 20412c4 <_Rate_monotonic_Timeout>
  the_watchdog->id        = id;                                       
 20411d8:	f0 24 20 30 	st  %i0, [ %l0 + 0x30 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20411dc:	92 04 20 10 	add  %l0, 0x10, %o1                            
 20411e0:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20411e4:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20411e8:	90 12 22 60 	or  %o0, 0x260, %o0                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20411ec:	c0 24 20 18 	clr  [ %l0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 20411f0:	c0 24 20 34 	clr  [ %l0 + 0x34 ]                            
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
 20411f4:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20411f8:	c2 24 20 2c 	st  %g1, [ %l0 + 0x2c ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20411fc:	7f ff 3c 97 	call  2010458 <_Watchdog_Insert>               
 2041200:	b0 10 20 00 	clr  %i0                                       
 2041204:	30 80 00 2a 	b,a   20412ac <rtems_rate_monotonic_period+0x19c>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 2041208:	7f ff ff 84 	call  2041018 <_Rate_monotonic_Update_statistics>
 204120c:	90 10 00 10 	mov  %l0, %o0                                  
          /*                                                          
           *  This tells the _Rate_monotonic_Timeout that this task is
           *  in the process of blocking on the period and that we    
           *  may be changing the length of the next period.          
           */                                                         
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
 2041210:	82 10 20 01 	mov  1, %g1                                    
          the_period->next_length = length;                           
 2041214:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
          /*                                                          
           *  This tells the _Rate_monotonic_Timeout that this task is
           *  in the process of blocking on the period and that we    
           *  may be changing the length of the next period.          
           */                                                         
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
 2041218:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
 204121c:	7f ff 09 68 	call  20037bc <sparc_enable_interrupts>        
 2041220:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 2041224:	c2 04 a2 40 	ld  [ %l2 + 0x240 ], %g1                       
 2041228:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 204122c:	90 10 00 01 	mov  %g1, %o0                                  
          the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;       
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
 2041230:	c4 20 60 20 	st  %g2, [ %g1 + 0x20 ]                        
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2041234:	7f ff 3a 7f 	call  200fc30 <_Thread_Set_state>              
 2041238:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
 204123c:	7f ff 09 5c 	call  20037ac <sparc_disable_interrupts>       
 2041240:	01 00 00 00 	nop                                            
            local_state = the_period->state;                          
 2041244:	e6 04 20 38 	ld  [ %l0 + 0x38 ], %l3                        
            the_period->state = RATE_MONOTONIC_ACTIVE;                
 2041248:	e2 24 20 38 	st  %l1, [ %l0 + 0x38 ]                        
          _ISR_Enable( level );                                       
 204124c:	7f ff 09 5c 	call  20037bc <sparc_enable_interrupts>        
 2041250:	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 ) 
 2041254:	80 a4 e0 03 	cmp  %l3, 3                                    
 2041258:	12 80 00 04 	bne  2041268 <rtems_rate_monotonic_period+0x158>
 204125c:	d0 04 a2 40 	ld  [ %l2 + 0x240 ], %o0                       
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2041260:	7f ff 36 ea 	call  200ee08 <_Thread_Clear_state>            
 2041264:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
                                                                      
          _Thread_Enable_dispatch();                                  
 2041268:	7f ff 37 fa 	call  200f250 <_Thread_Enable_dispatch>        
 204126c:	b0 10 20 00 	clr  %i0                                       
          return RTEMS_SUCCESSFUL;                                    
 2041270:	81 c7 e0 08 	ret                                            
 2041274:	81 e8 00 00 	restore                                        
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
 2041278:	7f ff ff 68 	call  2041018 <_Rate_monotonic_Update_statistics>
 204127c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
          _ISR_Enable( level );                                       
 2041280:	7f ff 09 4f 	call  20037bc <sparc_enable_interrupts>        
 2041284:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 2041288:	82 10 20 02 	mov  2, %g1                                    
 204128c:	92 04 20 10 	add  %l0, 0x10, %o1                            
 2041290:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2041294:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2041298:	90 12 22 60 	or  %o0, 0x260, %o0                            
          the_period->next_length = length;                           
 204129c:	f2 24 20 3c 	st  %i1, [ %l0 + 0x3c ]                        
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 20412a0:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
 20412a4:	7f ff 3c 6d 	call  2010458 <_Watchdog_Insert>               
 20412a8:	b0 10 20 06 	mov  6, %i0                                    
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
 20412ac:	7f ff 37 e9 	call  200f250 <_Thread_Enable_dispatch>        
 20412b0:	01 00 00 00 	nop                                            
          return RTEMS_TIMEOUT;                                       
 20412b4:	81 c7 e0 08 	ret                                            
 20412b8:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20412bc:	81 c7 e0 08 	ret                                            
 20412c0:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      

0202bd1c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 202bd1c:	9d e3 bf 30 	save  %sp, -208, %sp                           
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
 202bd20:	80 a6 60 00 	cmp  %i1, 0                                    
 202bd24:	02 80 00 7a 	be  202bf0c <rtems_rate_monotonic_report_statistics_with_plugin+0x1f0><== NEVER TAKEN
 202bd28:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 202bd2c:	13 00 81 94 	sethi  %hi(0x2065000), %o1                     
 202bd30:	9f c6 40 00 	call  %i1                                      
 202bd34:	92 12 60 c0 	or  %o1, 0xc0, %o1	! 20650c0 <_TOD_Days_per_month+0x68>
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 202bd38:	90 10 00 18 	mov  %i0, %o0                                  
 202bd3c:	13 00 81 94 	sethi  %hi(0x2065000), %o1                     
 202bd40:	9f c6 40 00 	call  %i1                                      
 202bd44:	92 12 60 e0 	or  %o1, 0xe0, %o1	! 20650e0 <_TOD_Days_per_month+0x88>
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 202bd48:	90 10 00 18 	mov  %i0, %o0                                  
 202bd4c:	13 00 81 94 	sethi  %hi(0x2065000), %o1                     
 202bd50:	9f c6 40 00 	call  %i1                                      
 202bd54:	92 12 61 08 	or  %o1, 0x108, %o1	! 2065108 <_TOD_Days_per_month+0xb0>
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 202bd58:	90 10 00 18 	mov  %i0, %o0                                  
 202bd5c:	13 00 81 94 	sethi  %hi(0x2065000), %o1                     
 202bd60:	9f c6 40 00 	call  %i1                                      
 202bd64:	92 12 61 30 	or  %o1, 0x130, %o1	! 2065130 <_TOD_Days_per_month+0xd8>
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 202bd68:	90 10 00 18 	mov  %i0, %o0                                  
 202bd6c:	13 00 81 94 	sethi  %hi(0x2065000), %o1                     
 202bd70:	9f c6 40 00 	call  %i1                                      
 202bd74:	92 12 61 80 	or  %o1, 0x180, %o1	! 2065180 <_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 ;                   
 202bd78:	03 00 81 be 	sethi  %hi(0x206f800), %g1                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202bd7c:	2d 00 81 94 	sethi  %hi(0x2065000), %l6                     
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202bd80:	82 10 60 a8 	or  %g1, 0xa8, %g1                             
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
 202bd84:	2b 00 81 94 	sethi  %hi(0x2065000), %l5                     
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
 202bd88:	29 00 81 94 	sethi  %hi(0x2065000), %l4                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202bd8c:	27 00 81 94 	sethi  %hi(0x2065000), %l3                     
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 202bd90:	ba 07 bf a0 	add  %fp, -96, %i5                             
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202bd94:	ae 10 00 01 	mov  %g1, %l7                                  
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202bd98:	ac 15 a1 d0 	or  %l6, 0x1d0, %l6                            
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
 202bd9c:	aa 15 61 f0 	or  %l5, 0x1f0, %l5                            
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
 202bda0:	a8 15 22 10 	or  %l4, 0x210, %l4                            
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202bda4:	a6 14 e1 e8 	or  %l3, 0x1e8, %l3                            
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202bda8:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    if ( status != RTEMS_SUCCESSFUL )                                 
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 202bdac:	b8 07 bf d8 	add  %fp, -40, %i4                             
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202bdb0:	a4 07 bf f8 	add  %fp, -8, %l2                              
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 202bdb4:	b4 07 bf b8 	add  %fp, -72, %i2                             
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202bdb8:	10 80 00 51 	b  202befc <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 202bdbc:	a2 07 bf f0 	add  %fp, -16, %l1                             
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 202bdc0:	40 00 53 f4 	call  2040d90 <rtems_rate_monotonic_get_statistics>
 202bdc4:	92 10 00 1d 	mov  %i5, %o1                                  
    if ( status != RTEMS_SUCCESSFUL )                                 
 202bdc8:	80 a2 20 00 	cmp  %o0, 0                                    
 202bdcc:	32 80 00 4c 	bne,a   202befc <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 202bdd0:	a0 04 20 01 	inc  %l0                                       
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
 202bdd4:	92 10 00 1c 	mov  %i4, %o1                                  
 202bdd8:	40 00 54 1b 	call  2040e44 <rtems_rate_monotonic_get_status>
 202bddc:	90 10 00 10 	mov  %l0, %o0                                  
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202bde0:	d0 07 bf d8 	ld  [ %fp + -40 ], %o0                         
 202bde4:	94 10 00 12 	mov  %l2, %o2                                  
 202bde8:	7f ff 82 83 	call  200c7f4 <rtems_object_get_name>          
 202bdec:	92 10 20 05 	mov  5, %o1                                    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202bdf0:	d8 1f bf a0 	ldd  [ %fp + -96 ], %o4                        
 202bdf4:	92 10 00 16 	mov  %l6, %o1                                  
 202bdf8:	94 10 00 10 	mov  %l0, %o2                                  
 202bdfc:	90 10 00 18 	mov  %i0, %o0                                  
 202be00:	9f c6 40 00 	call  %i1                                      
 202be04:	96 10 00 12 	mov  %l2, %o3                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202be08:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 202be0c:	94 10 00 11 	mov  %l1, %o2                                  
 202be10:	90 10 00 1a 	mov  %i2, %o0                                  
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202be14:	80 a0 60 00 	cmp  %g1, 0                                    
 202be18:	12 80 00 06 	bne  202be30 <rtems_rate_monotonic_report_statistics_with_plugin+0x114>
 202be1c:	92 10 00 13 	mov  %l3, %o1                                  
      (*print)( context, "\n" );                                      
 202be20:	9f c6 40 00 	call  %i1                                      
 202be24:	90 10 00 18 	mov  %i0, %o0                                  
      continue;                                                       
 202be28:	10 80 00 35 	b  202befc <rtems_rate_monotonic_report_statistics_with_plugin+0x1e0>
 202be2c:	a0 04 20 01 	inc  %l0                                       
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 202be30:	40 00 05 87 	call  202d44c <_Timespec_Divide_by_integer>    
 202be34:	92 10 00 01 	mov  %g1, %o1                                  
      (*print)( context,                                              
 202be38:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202be3c:	40 00 c2 59 	call  205c7a0 <.div>                           
 202be40:	92 10 23 e8 	mov  0x3e8, %o1                                
 202be44:	96 10 00 08 	mov  %o0, %o3                                  
 202be48:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
 202be4c:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 202be50:	40 00 c2 54 	call  205c7a0 <.div>                           
 202be54:	92 10 23 e8 	mov  0x3e8, %o1                                
 202be58:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202be5c:	b6 10 00 08 	mov  %o0, %i3                                  
 202be60:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202be64:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202be68:	40 00 c2 4e 	call  205c7a0 <.div>                           
 202be6c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202be70:	d8 07 bf b0 	ld  [ %fp + -80 ], %o4                         
 202be74:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 202be78:	d4 07 bf a8 	ld  [ %fp + -88 ], %o2                         
 202be7c:	9a 10 00 1b 	mov  %i3, %o5                                  
 202be80:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202be84:	92 10 00 15 	mov  %l5, %o1                                  
 202be88:	9f c6 40 00 	call  %i1                                      
 202be8c:	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);
 202be90:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         
 202be94:	94 10 00 11 	mov  %l1, %o2                                  
 202be98:	40 00 05 6d 	call  202d44c <_Timespec_Divide_by_integer>    
 202be9c:	90 07 bf d0 	add  %fp, -48, %o0                             
      (*print)( context,                                              
 202bea0:	d0 07 bf c4 	ld  [ %fp + -60 ], %o0                         
 202bea4:	40 00 c2 3f 	call  205c7a0 <.div>                           
 202bea8:	92 10 23 e8 	mov  0x3e8, %o1                                
 202beac:	96 10 00 08 	mov  %o0, %o3                                  
 202beb0:	d0 07 bf cc 	ld  [ %fp + -52 ], %o0                         
 202beb4:	d6 27 bf 9c 	st  %o3, [ %fp + -100 ]                        
 202beb8:	40 00 c2 3a 	call  205c7a0 <.div>                           
 202bebc:	92 10 23 e8 	mov  0x3e8, %o1                                
 202bec0:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 202bec4:	b6 10 00 08 	mov  %o0, %i3                                  
 202bec8:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202becc:	92 10 23 e8 	mov  0x3e8, %o1                                
 202bed0:	40 00 c2 34 	call  205c7a0 <.div>                           
 202bed4:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202bed8:	d4 07 bf c0 	ld  [ %fp + -64 ], %o2                         
 202bedc:	d6 07 bf 9c 	ld  [ %fp + -100 ], %o3                        
 202bee0:	d8 07 bf c8 	ld  [ %fp + -56 ], %o4                         
 202bee4:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202bee8:	9a 10 00 1b 	mov  %i3, %o5                                  
 202beec:	90 10 00 18 	mov  %i0, %o0                                  
 202bef0:	9f c6 40 00 	call  %i1                                      
 202bef4:	92 10 00 14 	mov  %l4, %o1                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 202bef8:	a0 04 20 01 	inc  %l0                                       
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202befc:	c2 05 e0 0c 	ld  [ %l7 + 0xc ], %g1                         
 202bf00:	80 a4 00 01 	cmp  %l0, %g1                                  
 202bf04:	08 bf ff af 	bleu  202bdc0 <rtems_rate_monotonic_report_statistics_with_plugin+0xa4>
 202bf08:	90 10 00 10 	mov  %l0, %o0                                  
 202bf0c:	81 c7 e0 08 	ret                                            
 202bf10:	81 e8 00 00 	restore                                        
                                                                      

02014c44 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 2014c44:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 2014c48:	82 10 20 0a 	mov  0xa, %g1                                  
 2014c4c:	80 a6 60 00 	cmp  %i1, 0                                    
 2014c50:	02 80 00 2a 	be  2014cf8 <rtems_signal_send+0xb4>           
 2014c54:	90 10 00 18 	mov  %i0, %o0                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2014c58:	40 00 10 ba 	call  2018f40 <_Thread_Get>                    
 2014c5c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2014c60:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2014c64:	a0 10 00 08 	mov  %o0, %l0                                  
  switch ( location ) {                                               
 2014c68:	80 a0 a0 00 	cmp  %g2, 0                                    
 2014c6c:	12 80 00 23 	bne  2014cf8 <rtems_signal_send+0xb4>          
 2014c70:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 2014c74:	d2 02 21 68 	ld  [ %o0 + 0x168 ], %o1                       
      asr = &api->Signal;                                             
 2014c78:	c2 02 60 0c 	ld  [ %o1 + 0xc ], %g1                         
 2014c7c:	80 a0 60 00 	cmp  %g1, 0                                    
 2014c80:	02 80 00 1b 	be  2014cec <rtems_signal_send+0xa8>           
 2014c84:	01 00 00 00 	nop                                            
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
 2014c88:	c2 0a 60 08 	ldub  [ %o1 + 8 ], %g1                         
 2014c8c:	80 a0 60 00 	cmp  %g1, 0                                    
 2014c90:	02 80 00 11 	be  2014cd4 <rtems_signal_send+0x90>           
 2014c94:	90 10 00 19 	mov  %i1, %o0                                  
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
 2014c98:	7f ff ff e2 	call  2014c20 <_ASR_Post_signals>              
 2014c9c:	92 02 60 14 	add  %o1, 0x14, %o1                            
                                                                      
          the_thread->do_post_task_switch_extension = true;           
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2014ca0:	03 00 80 fb 	sethi  %hi(0x203ec00), %g1                     
 2014ca4:	c4 00 63 ec 	ld  [ %g1 + 0x3ec ], %g2	! 203efec <_ISR_Nest_level>
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
 2014ca8:	82 10 20 01 	mov  1, %g1                                    
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2014cac:	80 a0 a0 00 	cmp  %g2, 0                                    
 2014cb0:	02 80 00 0b 	be  2014cdc <rtems_signal_send+0x98>           
 2014cb4:	c2 2c 20 74 	stb  %g1, [ %l0 + 0x74 ]                       
 2014cb8:	05 00 80 fc 	sethi  %hi(0x203f000), %g2                     
 2014cbc:	c4 00 a0 10 	ld  [ %g2 + 0x10 ], %g2	! 203f010 <_Thread_Executing>
 2014cc0:	80 a4 00 02 	cmp  %l0, %g2                                  
 2014cc4:	12 80 00 06 	bne  2014cdc <rtems_signal_send+0x98>          <== NEVER TAKEN
 2014cc8:	05 00 80 fc 	sethi  %hi(0x203f000), %g2                     
            _ISR_Signals_to_thread_executing = true;                  
 2014ccc:	10 80 00 04 	b  2014cdc <rtems_signal_send+0x98>            
 2014cd0:	c2 28 a0 a8 	stb  %g1, [ %g2 + 0xa8 ]	! 203f0a8 <_ISR_Signals_to_thread_executing>
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
 2014cd4:	7f ff ff d3 	call  2014c20 <_ASR_Post_signals>              
 2014cd8:	92 02 60 18 	add  %o1, 0x18, %o1                            
        }                                                             
        _Thread_Enable_dispatch();                                    
 2014cdc:	40 00 10 76 	call  2018eb4 <_Thread_Enable_dispatch>        
 2014ce0:	01 00 00 00 	nop                                            
        return RTEMS_SUCCESSFUL;                                      
 2014ce4:	10 80 00 05 	b  2014cf8 <rtems_signal_send+0xb4>            
 2014ce8:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 2014cec:	40 00 10 72 	call  2018eb4 <_Thread_Enable_dispatch>        
 2014cf0:	01 00 00 00 	nop                                            
 2014cf4:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2014cf8:	81 c7 e0 08 	ret                                            
 2014cfc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

020102e8 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 20102e8:	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 )                                           
 20102ec:	80 a6 a0 00 	cmp  %i2, 0                                    
 20102f0:	02 80 00 54 	be  2010440 <rtems_task_mode+0x158>            
 20102f4:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 20102f8:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 20102fc:	e0 00 63 50 	ld  [ %g1 + 0x350 ], %l0	! 201e350 <_Thread_Executing>
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010300:	c4 0c 20 75 	ldub  [ %l0 + 0x75 ], %g2                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 2010304:	c2 04 20 7c 	ld  [ %l0 + 0x7c ], %g1                        
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010308:	80 a0 00 02 	cmp  %g0, %g2                                  
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 201030c:	e2 04 21 68 	ld  [ %l0 + 0x168 ], %l1                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010310:	a4 60 3f ff 	subx  %g0, -1, %l2                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 2010314:	80 a0 60 00 	cmp  %g1, 0                                    
 2010318:	02 80 00 03 	be  2010324 <rtems_task_mode+0x3c>             
 201031c:	a5 2c a0 08 	sll  %l2, 8, %l2                               
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
 2010320:	a4 14 a2 00 	or  %l2, 0x200, %l2                            
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2010324:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
 2010328:	80 a0 00 01 	cmp  %g0, %g1                                  
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
 201032c:	7f ff e7 4f 	call  200a068 <_CPU_ISR_Get_level>             
 2010330:	a6 60 3f ff 	subx  %g0, -1, %l3                             
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 2010334:	a7 2c e0 0a 	sll  %l3, 0xa, %l3                             
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 2010338:	a6 14 c0 08 	or  %l3, %o0, %l3                              
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
 201033c:	a4 14 c0 12 	or  %l3, %l2, %l2                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 2010340:	80 8e 61 00 	btst  0x100, %i1                               
 2010344:	02 80 00 06 	be  201035c <rtems_task_mode+0x74>             
 2010348:	e4 26 80 00 	st  %l2, [ %i2 ]                               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 201034c:	83 36 20 08 	srl  %i0, 8, %g1                               
 2010350:	82 18 60 01 	xor  %g1, 1, %g1                               
 2010354:	82 08 60 01 	and  %g1, 1, %g1                               
 2010358:	c2 2c 20 75 	stb  %g1, [ %l0 + 0x75 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 201035c:	80 8e 62 00 	btst  0x200, %i1                               
 2010360:	02 80 00 0b 	be  201038c <rtems_task_mode+0xa4>             
 2010364:	80 8e 60 0f 	btst  0xf, %i1                                 
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 2010368:	80 8e 22 00 	btst  0x200, %i0                               
 201036c:	22 80 00 07 	be,a   2010388 <rtems_task_mode+0xa0>          
 2010370:	c0 24 20 7c 	clr  [ %l0 + 0x7c ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 2010374:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2010378:	c2 00 61 e8 	ld  [ %g1 + 0x1e8 ], %g1	! 201e1e8 <_Thread_Ticks_per_timeslice>
 201037c:	c2 24 20 78 	st  %g1, [ %l0 + 0x78 ]                        
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
 2010380:	82 10 20 01 	mov  1, %g1                                    
 2010384:	c2 24 20 7c 	st  %g1, [ %l0 + 0x7c ]                        
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 2010388:	80 8e 60 0f 	btst  0xf, %i1                                 
 201038c:	02 80 00 06 	be  20103a4 <rtems_task_mode+0xbc>             
 2010390:	80 8e 64 00 	btst  0x400, %i1                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
 2010394:	90 0e 20 0f 	and  %i0, 0xf, %o0                             
 2010398:	7f ff c7 0f 	call  2001fd4 <sparc_enable_interrupts>        
 201039c:	91 2a 20 08 	sll  %o0, 8, %o0                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 20103a0:	80 8e 64 00 	btst  0x400, %i1                               
 20103a4:	22 80 00 18 	be,a   2010404 <rtems_task_mode+0x11c>         
 20103a8:	a0 10 20 00 	clr  %l0                                       
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 20103ac:	c2 0c 60 08 	ldub  [ %l1 + 8 ], %g1                         
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
 20103b0:	b1 36 20 0a 	srl  %i0, 0xa, %i0                             
 20103b4:	b0 1e 20 01 	xor  %i0, 1, %i0                               
 20103b8:	b0 0e 20 01 	and  %i0, 1, %i0                               
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
 20103bc:	80 a6 00 01 	cmp  %i0, %g1                                  
 20103c0:	22 80 00 11 	be,a   2010404 <rtems_task_mode+0x11c>         
 20103c4:	a0 10 20 00 	clr  %l0                                       
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 20103c8:	7f ff c6 ff 	call  2001fc4 <sparc_disable_interrupts>       
 20103cc:	f0 2c 60 08 	stb  %i0, [ %l1 + 8 ]                          
    _signals                     = information->signals_pending;      
 20103d0:	c4 04 60 18 	ld  [ %l1 + 0x18 ], %g2                        
    information->signals_pending = information->signals_posted;       
 20103d4:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
    information->signals_posted  = _signals;                          
 20103d8:	c4 24 60 14 	st  %g2, [ %l1 + 0x14 ]                        
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 20103dc:	c2 24 60 18 	st  %g1, [ %l1 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 20103e0:	7f ff c6 fd 	call  2001fd4 <sparc_enable_interrupts>        
 20103e4:	01 00 00 00 	nop                                            
 20103e8:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 20103ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20103f0:	22 80 00 05 	be,a   2010404 <rtems_task_mode+0x11c>         
 20103f4:	a0 10 20 00 	clr  %l0                                       
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
 20103f8:	82 10 20 01 	mov  1, %g1                                    
 20103fc:	c2 2c 20 74 	stb  %g1, [ %l0 + 0x74 ]                       
 2010400:	a0 10 20 01 	mov  1, %l0                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
 2010404:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2010408:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1	! 201e430 <_System_state_Current>
 201040c:	80 a0 60 03 	cmp  %g1, 3                                    
 2010410:	12 80 00 0c 	bne  2010440 <rtems_task_mode+0x158>           <== NEVER TAKEN
 2010414:	82 10 20 00 	clr  %g1                                       
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
 2010418:	40 00 00 82 	call  2010620 <_Thread_Evaluate_mode>          
 201041c:	01 00 00 00 	nop                                            
 2010420:	80 8a 20 ff 	btst  0xff, %o0                                
 2010424:	12 80 00 04 	bne  2010434 <rtems_task_mode+0x14c>           
 2010428:	80 8c 20 ff 	btst  0xff, %l0                                
 201042c:	02 80 00 05 	be  2010440 <rtems_task_mode+0x158>            
 2010430:	82 10 20 00 	clr  %g1                                       
      _Thread_Dispatch();                                             
 2010434:	7f ff e0 1b 	call  20084a0 <_Thread_Dispatch>               
 2010438:	01 00 00 00 	nop                                            
 201043c:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2010440:	81 c7 e0 08 	ret                                            
 2010444:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

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

020155fc <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 20155fc:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 2015600:	11 00 80 fe 	sethi  %hi(0x203f800), %o0                     
 2015604:	92 10 00 18 	mov  %i0, %o1                                  
 2015608:	90 12 21 04 	or  %o0, 0x104, %o0                            
 201560c:	40 00 0b 7c 	call  20183fc <_Objects_Get>                   
 2015610:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2015614:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2015618:	80 a0 60 00 	cmp  %g1, 0                                    
 201561c:	12 80 00 0a 	bne  2015644 <rtems_timer_cancel+0x48>         
 2015620:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 2015624:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2015628:	80 a0 60 04 	cmp  %g1, 4                                    
 201562c:	02 80 00 04 	be  201563c <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 2015630:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 2015634:	40 00 14 4c 	call  201a764 <_Watchdog_Remove>               
 2015638:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 201563c:	40 00 0e 1e 	call  2018eb4 <_Thread_Enable_dispatch>        
 2015640:	b0 10 20 00 	clr  %i0                                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2015644:	81 c7 e0 08 	ret                                            
 2015648:	81 e8 00 00 	restore                                        
                                                                      

02015aec <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 2015aec:	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;                 
 2015af0:	03 00 80 fe 	sethi  %hi(0x203f800), %g1                     
 2015af4:	e0 00 61 44 	ld  [ %g1 + 0x144 ], %l0	! 203f944 <_Timer_server>
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
 2015af8:	a2 10 00 18 	mov  %i0, %l1                                  
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
 2015afc:	80 a4 20 00 	cmp  %l0, 0                                    
 2015b00:	02 80 00 32 	be  2015bc8 <rtems_timer_server_fire_when+0xdc>
 2015b04:	b0 10 20 0e 	mov  0xe, %i0                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
 2015b08:	03 00 80 fb 	sethi  %hi(0x203ec00), %g1                     
 2015b0c:	c2 08 63 64 	ldub  [ %g1 + 0x364 ], %g1	! 203ef64 <_TOD_Is_set>
 2015b10:	80 a0 60 00 	cmp  %g1, 0                                    
 2015b14:	02 80 00 2d 	be  2015bc8 <rtems_timer_server_fire_when+0xdc><== NEVER TAKEN
 2015b18:	b0 10 20 0b 	mov  0xb, %i0                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 2015b1c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2015b20:	02 80 00 2a 	be  2015bc8 <rtems_timer_server_fire_when+0xdc>
 2015b24:	b0 10 20 09 	mov  9, %i0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2015b28:	7f ff f4 0e 	call  2012b60 <_TOD_Validate>                  
 2015b2c:	90 10 00 19 	mov  %i1, %o0                                  
 2015b30:	80 8a 20 ff 	btst  0xff, %o0                                
 2015b34:	22 80 00 25 	be,a   2015bc8 <rtems_timer_server_fire_when+0xdc>
 2015b38:	b0 10 20 14 	mov  0x14, %i0                                 
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 2015b3c:	7f ff f3 d5 	call  2012a90 <_TOD_To_seconds>                
 2015b40:	90 10 00 19 	mov  %i1, %o0                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 2015b44:	27 00 80 fb 	sethi  %hi(0x203ec00), %l3                     
 2015b48:	c2 04 e3 e4 	ld  [ %l3 + 0x3e4 ], %g1	! 203efe4 <_TOD_Now>  
 2015b4c:	80 a2 00 01 	cmp  %o0, %g1                                  
 2015b50:	08 80 00 20 	bleu  2015bd0 <rtems_timer_server_fire_when+0xe4>
 2015b54:	a4 10 00 08 	mov  %o0, %l2                                  
 2015b58:	11 00 80 fe 	sethi  %hi(0x203f800), %o0                     
 2015b5c:	92 10 00 11 	mov  %l1, %o1                                  
 2015b60:	90 12 21 04 	or  %o0, 0x104, %o0                            
 2015b64:	40 00 0a 26 	call  20183fc <_Objects_Get>                   
 2015b68:	94 07 bf fc 	add  %fp, -4, %o2                              
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2015b6c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2015b70:	b2 10 00 08 	mov  %o0, %i1                                  
 2015b74:	80 a0 60 00 	cmp  %g1, 0                                    
 2015b78:	12 80 00 14 	bne  2015bc8 <rtems_timer_server_fire_when+0xdc>
 2015b7c:	b0 10 20 04 	mov  4, %i0                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 2015b80:	40 00 12 f9 	call  201a764 <_Watchdog_Remove>               
 2015b84:	90 02 20 10 	add  %o0, 0x10, %o0                            
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 2015b88:	e2 26 60 30 	st  %l1, [ %i1 + 0x30 ]                        
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2015b8c:	c4 04 e3 e4 	ld  [ %l3 + 0x3e4 ], %g2                       
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2015b90:	c2 04 20 04 	ld  [ %l0 + 4 ], %g1                           
 2015b94:	90 10 00 10 	mov  %l0, %o0                                  
 2015b98:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2015b9c:	a4 24 80 02 	sub  %l2, %g2, %l2                             
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 2015ba0:	84 10 20 03 	mov  3, %g2                                    
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2015ba4:	f4 26 60 2c 	st  %i2, [ %i1 + 0x2c ]                        
 2015ba8:	c4 26 60 38 	st  %g2, [ %i1 + 0x38 ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2015bac:	f6 26 60 34 	st  %i3, [ %i1 + 0x34 ]                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2015bb0:	e4 26 60 1c 	st  %l2, [ %i1 + 0x1c ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2015bb4:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2015bb8:	9f c0 40 00 	call  %g1                                      
 2015bbc:	b0 10 20 00 	clr  %i0                                       
                                                                      
      _Thread_Enable_dispatch();                                      
 2015bc0:	40 00 0c bd 	call  2018eb4 <_Thread_Enable_dispatch>        
 2015bc4:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2015bc8:	81 c7 e0 08 	ret                                            
 2015bcc:	81 e8 00 00 	restore                                        
 2015bd0:	b0 10 20 14 	mov  0x14, %i0                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2015bd4:	81 c7 e0 08 	ret                                            
 2015bd8:	81 e8 00 00 	restore                                        
                                                                      

02006c24 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
 2006c24:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2006c28:	80 a6 20 04 	cmp  %i0, 4                                    
 2006c2c:	18 80 00 06 	bgu  2006c44 <sched_get_priority_max+0x20>     
 2006c30:	82 10 20 01 	mov  1, %g1                                    
 2006c34:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2006c38:	80 8e 20 17 	btst  0x17, %i0                                
 2006c3c:	12 80 00 08 	bne  2006c5c <sched_get_priority_max+0x38>     <== ALWAYS TAKEN
 2006c40:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006c44:	40 00 2b 27 	call  20118e0 <__errno>                        
 2006c48:	b0 10 3f ff 	mov  -1, %i0                                   
 2006c4c:	82 10 20 16 	mov  0x16, %g1                                 
 2006c50:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006c54:	81 c7 e0 08 	ret                                            
 2006c58:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
 2006c5c:	f0 08 60 68 	ldub  [ %g1 + 0x68 ], %i0                      
}                                                                     
 2006c60:	81 c7 e0 08 	ret                                            
 2006c64:	91 ee 3f ff 	restore  %i0, -1, %o0                          
                                                                      

02006c68 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
 2006c68:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 2006c6c:	80 a6 20 04 	cmp  %i0, 4                                    
 2006c70:	18 80 00 06 	bgu  2006c88 <sched_get_priority_min+0x20>     
 2006c74:	82 10 20 01 	mov  1, %g1                                    
 2006c78:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 2006c7c:	80 8e 20 17 	btst  0x17, %i0                                
 2006c80:	12 80 00 06 	bne  2006c98 <sched_get_priority_min+0x30>     <== ALWAYS TAKEN
 2006c84:	b0 10 20 01 	mov  1, %i0                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006c88:	40 00 2b 16 	call  20118e0 <__errno>                        
 2006c8c:	b0 10 3f ff 	mov  -1, %i0                                   
 2006c90:	82 10 20 16 	mov  0x16, %g1                                 
 2006c94:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 2006c98:	81 c7 e0 08 	ret                                            
 2006c9c:	81 e8 00 00 	restore                                        
                                                                      

02006ca0 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
 2006ca0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 2006ca4:	80 a6 20 00 	cmp  %i0, 0                                    
 2006ca8:	02 80 00 0b 	be  2006cd4 <sched_rr_get_interval+0x34>       <== NEVER TAKEN
 2006cac:	80 a6 60 00 	cmp  %i1, 0                                    
 2006cb0:	7f ff f1 c7 	call  20033cc <getpid>                         
 2006cb4:	01 00 00 00 	nop                                            
 2006cb8:	80 a6 00 08 	cmp  %i0, %o0                                  
 2006cbc:	02 80 00 06 	be  2006cd4 <sched_rr_get_interval+0x34>       
 2006cc0:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 2006cc4:	40 00 2b 07 	call  20118e0 <__errno>                        
 2006cc8:	01 00 00 00 	nop                                            
 2006ccc:	10 80 00 07 	b  2006ce8 <sched_rr_get_interval+0x48>        
 2006cd0:	82 10 20 03 	mov  3, %g1	! 3 <PROM_START+0x3>               
                                                                      
  if ( !interval )                                                    
 2006cd4:	12 80 00 08 	bne  2006cf4 <sched_rr_get_interval+0x54>      
 2006cd8:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2006cdc:	40 00 2b 01 	call  20118e0 <__errno>                        
 2006ce0:	01 00 00 00 	nop                                            
 2006ce4:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2006ce8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006cec:	81 c7 e0 08 	ret                                            
 2006cf0:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
 2006cf4:	d0 00 62 d8 	ld  [ %g1 + 0x2d8 ], %o0                       
 2006cf8:	92 10 00 19 	mov  %i1, %o1                                  
 2006cfc:	40 00 0e 4b 	call  200a628 <_Timespec_From_ticks>           
 2006d00:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2006d04:	81 c7 e0 08 	ret                                            
 2006d08:	81 e8 00 00 	restore                                        
                                                                      

0200953c <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
 200953c:	9d e3 bf 90 	save  %sp, -112, %sp                           
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2009540:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
 2009544:	c4 00 63 60 	ld  [ %g1 + 0x360 ], %g2	! 2024760 <_Thread_Dispatch_disable_level>
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2009548:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 200954c:	84 00 a0 01 	inc  %g2                                       
 2009550:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2009554:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2009558:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 200955c:	c4 20 63 60 	st  %g2, [ %g1 + 0x360 ]                       
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2009560:	a2 8e 62 00 	andcc  %i1, 0x200, %l1                         
 2009564:	02 80 00 05 	be  2009578 <sem_open+0x3c>                    
 2009568:	a0 10 20 00 	clr  %l0                                       
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
 200956c:	e0 07 a0 50 	ld  [ %fp + 0x50 ], %l0                        
 2009570:	82 07 a0 54 	add  %fp, 0x54, %g1                            
 2009574:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
 2009578:	90 10 00 18 	mov  %i0, %o0                                  
 200957c:	40 00 1d f4 	call  2010d4c <_POSIX_Semaphore_Name_to_id>    
 2009580:	92 07 bf f8 	add  %fp, -8, %o1                              
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
 2009584:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2009588:	22 80 00 0e 	be,a   20095c0 <sem_open+0x84>                 
 200958c:	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) ) ) {               
 2009590:	80 a4 a0 02 	cmp  %l2, 2                                    
 2009594:	12 80 00 04 	bne  20095a4 <sem_open+0x68>                   <== NEVER TAKEN
 2009598:	80 a4 60 00 	cmp  %l1, 0                                    
 200959c:	12 80 00 21 	bne  2009620 <sem_open+0xe4>                   
 20095a0:	94 10 00 10 	mov  %l0, %o2                                  
      _Thread_Enable_dispatch();                                      
 20095a4:	40 00 0a da 	call  200c10c <_Thread_Enable_dispatch>        
 20095a8:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
 20095ac:	40 00 2e 4c 	call  2014edc <__errno>                        
 20095b0:	01 00 00 00 	nop                                            
 20095b4:	e4 22 00 00 	st  %l2, [ %o0 ]                               
 20095b8:	81 c7 e0 08 	ret                                            
 20095bc:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 20095c0:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 20095c4:	12 80 00 0a 	bne  20095ec <sem_open+0xb0>                   
 20095c8:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
      _Thread_Enable_dispatch();                                      
 20095cc:	40 00 0a d0 	call  200c10c <_Thread_Enable_dispatch>        
 20095d0:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
 20095d4:	40 00 2e 42 	call  2014edc <__errno>                        
 20095d8:	01 00 00 00 	nop                                            
 20095dc:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 20095e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20095e4:	81 c7 e0 08 	ret                                            
 20095e8:	81 e8 00 00 	restore                                        
 20095ec:	94 07 bf f0 	add  %fp, -16, %o2                             
 20095f0:	11 00 80 92 	sethi  %hi(0x2024800), %o0                     
 20095f4:	40 00 08 5f 	call  200b770 <_Objects_Get>                   
 20095f8:	90 12 22 70 	or  %o0, 0x270, %o0	! 2024a70 <_POSIX_Semaphore_Information>
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
 20095fc:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
 2009600:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_semaphore->open_count += 1;                                   
 2009604:	82 00 60 01 	inc  %g1                                       
    _Thread_Enable_dispatch();                                        
 2009608:	40 00 0a c1 	call  200c10c <_Thread_Enable_dispatch>        
 200960c:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
    _Thread_Enable_dispatch();                                        
 2009610:	40 00 0a bf 	call  200c10c <_Thread_Enable_dispatch>        
 2009614:	01 00 00 00 	nop                                            
    goto return_id;                                                   
 2009618:	10 80 00 0c 	b  2009648 <sem_open+0x10c>                    
 200961c:	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(                            
 2009620:	90 10 00 18 	mov  %i0, %o0                                  
 2009624:	92 10 20 00 	clr  %o1                                       
 2009628:	40 00 1d 73 	call  2010bf4 <_POSIX_Semaphore_Create_support>
 200962c:	96 07 bf f4 	add  %fp, -12, %o3                             
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 2009630:	40 00 0a b7 	call  200c10c <_Thread_Enable_dispatch>        
 2009634:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
  if ( status == -1 )                                                 
 2009638:	80 a4 3f ff 	cmp  %l0, -1                                   
 200963c:	02 bf ff ea 	be  20095e4 <sem_open+0xa8>                    
 2009640:	b0 10 3f ff 	mov  -1, %i0                                   
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
 2009644:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 2009648:	b0 06 20 08 	add  %i0, 8, %i0                               
  #endif                                                              
  return id;                                                          
}                                                                     
 200964c:	81 c7 e0 08 	ret                                            
 2009650:	81 e8 00 00 	restore                                        
                                                                      

02006b48 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
 2006b48:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2006b4c:	90 10 00 1a 	mov  %i2, %o0                                  
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
 2006b50:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006b54:	02 80 00 0a 	be  2006b7c <sigaction+0x34>                   
 2006b58:	a0 10 00 18 	mov  %i0, %l0                                  
    *oact = _POSIX_signals_Vectors[ sig ];                            
 2006b5c:	83 2e 20 02 	sll  %i0, 2, %g1                               
 2006b60:	85 2e 20 04 	sll  %i0, 4, %g2                               
 2006b64:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2006b68:	13 00 80 83 	sethi  %hi(0x2020c00), %o1                     
 2006b6c:	94 10 20 0c 	mov  0xc, %o2                                  
 2006b70:	92 12 60 48 	or  %o1, 0x48, %o1                             
 2006b74:	40 00 2e 2f 	call  2012430 <memcpy>                         
 2006b78:	92 02 40 01 	add  %o1, %g1, %o1                             
                                                                      
  if ( !sig )                                                         
 2006b7c:	80 a4 20 00 	cmp  %l0, 0                                    
 2006b80:	02 80 00 07 	be  2006b9c <sigaction+0x54>                   
 2006b84:	82 04 3f ff 	add  %l0, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 2006b88:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2006b8c:	18 80 00 04 	bgu  2006b9c <sigaction+0x54>                  
 2006b90:	80 a4 20 09 	cmp  %l0, 9                                    
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
 2006b94:	12 80 00 08 	bne  2006bb4 <sigaction+0x6c>                  
 2006b98:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2006b9c:	40 00 2b e4 	call  2011b2c <__errno>                        
 2006ba0:	b0 10 3f ff 	mov  -1, %i0                                   
 2006ba4:	82 10 20 16 	mov  0x16, %g1                                 
 2006ba8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2006bac:	81 c7 e0 08 	ret                                            
 2006bb0:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
 2006bb4:	02 bf ff fe 	be  2006bac <sigaction+0x64>                   <== NEVER TAKEN
 2006bb8:	b0 10 20 00 	clr  %i0                                       
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
 2006bbc:	7f ff ee 88 	call  20025dc <sparc_disable_interrupts>       
 2006bc0:	01 00 00 00 	nop                                            
 2006bc4:	a2 10 00 08 	mov  %o0, %l1                                  
      if ( act->sa_handler == SIG_DFL ) {                             
 2006bc8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2006bcc:	25 00 80 83 	sethi  %hi(0x2020c00), %l2                     
 2006bd0:	80 a0 60 00 	cmp  %g1, 0                                    
 2006bd4:	a4 14 a0 48 	or  %l2, 0x48, %l2                             
 2006bd8:	a7 2c 20 02 	sll  %l0, 2, %l3                               
 2006bdc:	12 80 00 08 	bne  2006bfc <sigaction+0xb4>                  
 2006be0:	a9 2c 20 04 	sll  %l0, 4, %l4                               
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
 2006be4:	a6 25 00 13 	sub  %l4, %l3, %l3                             
 2006be8:	13 00 80 7b 	sethi  %hi(0x201ec00), %o1                     
 2006bec:	90 04 80 13 	add  %l2, %l3, %o0                             
 2006bf0:	92 12 61 08 	or  %o1, 0x108, %o1                            
 2006bf4:	10 80 00 07 	b  2006c10 <sigaction+0xc8>                    
 2006bf8:	92 02 40 13 	add  %o1, %l3, %o1                             
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
 2006bfc:	40 00 1b f0 	call  200dbbc <_POSIX_signals_Clear_process_signals>
 2006c00:	90 10 00 10 	mov  %l0, %o0                                  
         _POSIX_signals_Vectors[ sig ] = *act;                        
 2006c04:	a6 25 00 13 	sub  %l4, %l3, %l3                             
 2006c08:	92 10 00 19 	mov  %i1, %o1                                  
 2006c0c:	90 04 80 13 	add  %l2, %l3, %o0                             
 2006c10:	40 00 2e 08 	call  2012430 <memcpy>                         
 2006c14:	94 10 20 0c 	mov  0xc, %o2                                  
      }                                                               
    _ISR_Enable( level );                                             
 2006c18:	b0 10 20 00 	clr  %i0                                       
 2006c1c:	7f ff ee 74 	call  20025ec <sparc_enable_interrupts>        
 2006c20:	90 10 00 11 	mov  %l1, %o0                                  
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
 2006c24:	81 c7 e0 08 	ret                                            
 2006c28:	81 e8 00 00 	restore                                        
                                                                      

02008e18 <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
 2008e18:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
 2008e1c:	90 10 20 01 	mov  1, %o0                                    
 2008e20:	92 10 00 18 	mov  %i0, %o1                                  
 2008e24:	a0 07 bf fc 	add  %fp, -4, %l0                              
 2008e28:	7f ff ff f1 	call  2008dec <sigprocmask>                    
 2008e2c:	94 10 00 10 	mov  %l0, %o2                                  
                                                                      
  (void) sigfillset( &all_signals );                                  
 2008e30:	a2 07 bf f8 	add  %fp, -8, %l1                              
 2008e34:	7f ff ff b6 	call  2008d0c <sigfillset>                     
 2008e38:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
 2008e3c:	90 10 00 11 	mov  %l1, %o0                                  
 2008e40:	92 10 20 00 	clr  %o1                                       
 2008e44:	40 00 00 28 	call  2008ee4 <sigtimedwait>                   
 2008e48:	94 10 20 00 	clr  %o2                                       
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2008e4c:	92 10 00 10 	mov  %l0, %o1                                  
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
                                                                      
  (void) sigfillset( &all_signals );                                  
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
 2008e50:	a2 10 00 08 	mov  %o0, %l1                                  
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
 2008e54:	94 10 20 00 	clr  %o2                                       
 2008e58:	7f ff ff e5 	call  2008dec <sigprocmask>                    
 2008e5c:	90 10 20 00 	clr  %o0                                       
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
 2008e60:	80 a4 7f ff 	cmp  %l1, -1                                   
 2008e64:	02 80 00 06 	be  2008e7c <sigsuspend+0x64>                  <== NEVER TAKEN
 2008e68:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINTR );                    
 2008e6c:	40 00 2b 0c 	call  2013a9c <__errno>                        
 2008e70:	01 00 00 00 	nop                                            
 2008e74:	82 10 20 04 	mov  4, %g1	! 4 <PROM_START+0x4>               
 2008e78:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return status;                                                      
}                                                                     
 2008e7c:	81 c7 e0 08 	ret                                            
 2008e80:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

02007044 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
 2007044:	9d e3 bf 90 	save  %sp, -112, %sp                           
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
 2007048:	80 a6 20 00 	cmp  %i0, 0                                    
 200704c:	02 80 00 0e 	be  2007084 <sigtimedwait+0x40>                
 2007050:	80 a6 a0 00 	cmp  %i2, 0                                    
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
 2007054:	02 80 00 12 	be  200709c <sigtimedwait+0x58>                
 2007058:	a8 10 20 00 	clr  %l4                                       
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
 200705c:	40 00 0e 5e 	call  200a9d4 <_Timespec_Is_valid>             
 2007060:	90 10 00 1a 	mov  %i2, %o0                                  
 2007064:	80 8a 20 ff 	btst  0xff, %o0                                
 2007068:	02 80 00 07 	be  2007084 <sigtimedwait+0x40>                
 200706c:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
 2007070:	40 00 0e 7e 	call  200aa68 <_Timespec_To_ticks>             
 2007074:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if ( !interval )                                                  
 2007078:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 200707c:	12 80 00 09 	bne  20070a0 <sigtimedwait+0x5c>               <== ALWAYS TAKEN
 2007080:	80 a6 60 00 	cmp  %i1, 0                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2007084:	40 00 2b 86 	call  2011e9c <__errno>                        
 2007088:	b0 10 3f ff 	mov  -1, %i0                                   
 200708c:	82 10 20 16 	mov  0x16, %g1                                 
 2007090:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007094:	81 c7 e0 08 	ret                                            
 2007098:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 200709c:	80 a6 60 00 	cmp  %i1, 0                                    
 20070a0:	02 80 00 03 	be  20070ac <sigtimedwait+0x68>                
 20070a4:	a0 07 bf f4 	add  %fp, -12, %l0                             
 20070a8:	a0 10 00 19 	mov  %i1, %l0                                  
                                                                      
  the_thread = _Thread_Executing;                                     
 20070ac:	23 00 80 82 	sethi  %hi(0x2020800), %l1                     
 20070b0:	f2 04 63 b0 	ld  [ %l1 + 0x3b0 ], %i1	! 2020bb0 <_Thread_Executing>
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 20070b4:	7f ff ee 1b 	call  2002920 <sparc_disable_interrupts>       
 20070b8:	e6 06 61 6c 	ld  [ %i1 + 0x16c ], %l3                       
 20070bc:	a4 10 00 08 	mov  %o0, %l2                                  
  if ( *set & api->signals_pending ) {                                
 20070c0:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 20070c4:	c2 04 e0 d0 	ld  [ %l3 + 0xd0 ], %g1                        
 20070c8:	80 88 80 01 	btst  %g2, %g1                                 
 20070cc:	22 80 00 10 	be,a   200710c <sigtimedwait+0xc8>             
 20070d0:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
 20070d4:	7f ff ff c4 	call  2006fe4 <_POSIX_signals_Get_highest>     
 20070d8:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals(                                     
 20070dc:	94 10 00 10 	mov  %l0, %o2                                  
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
 20070e0:	92 10 00 08 	mov  %o0, %o1                                  
    _POSIX_signals_Clear_signals(                                     
 20070e4:	96 10 20 00 	clr  %o3                                       
 20070e8:	90 10 00 13 	mov  %l3, %o0                                  
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
 20070ec:	d2 24 00 00 	st  %o1, [ %l0 ]                               
    _POSIX_signals_Clear_signals(                                     
 20070f0:	40 00 1c a9 	call  200e394 <_POSIX_signals_Clear_signals>   
 20070f4:	98 10 20 00 	clr  %o4                                       
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
 20070f8:	7f ff ee 0e 	call  2002930 <sparc_enable_interrupts>        
 20070fc:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
 2007100:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
    return the_info->si_signo;                                        
 2007104:	10 80 00 13 	b  2007150 <sigtimedwait+0x10c>                
 2007108:	f0 04 00 00 	ld  [ %l0 ], %i0                               
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
 200710c:	c2 00 62 6c 	ld  [ %g1 + 0x26c ], %g1                       
 2007110:	80 88 80 01 	btst  %g2, %g1                                 
 2007114:	22 80 00 13 	be,a   2007160 <sigtimedwait+0x11c>            
 2007118:	03 00 80 82 	sethi  %hi(0x2020800), %g1                     
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 200711c:	7f ff ff b2 	call  2006fe4 <_POSIX_signals_Get_highest>     
 2007120:	90 10 00 01 	mov  %g1, %o0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 2007124:	94 10 00 10 	mov  %l0, %o2                                  
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
 2007128:	b0 10 00 08 	mov  %o0, %i0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 200712c:	96 10 20 01 	mov  1, %o3                                    
 2007130:	90 10 00 13 	mov  %l3, %o0                                  
 2007134:	92 10 00 18 	mov  %i0, %o1                                  
 2007138:	40 00 1c 97 	call  200e394 <_POSIX_signals_Clear_signals>   
 200713c:	98 10 20 00 	clr  %o4                                       
    _ISR_Enable( level );                                             
 2007140:	7f ff ed fc 	call  2002930 <sparc_enable_interrupts>        
 2007144:	90 10 00 12 	mov  %l2, %o0                                  
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
 2007148:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
 200714c:	f0 24 00 00 	st  %i0, [ %l0 ]                               
    the_info->si_code = SI_USER;                                      
 2007150:	82 10 20 01 	mov  1, %g1                                    
 2007154:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
 2007158:	81 c7 e0 08 	ret                                            
 200715c:	81 e8 00 00 	restore                                        
 2007160:	c4 00 62 f0 	ld  [ %g1 + 0x2f0 ], %g2                       
 2007164:	84 00 a0 01 	inc  %g2                                       
 2007168:	c4 20 62 f0 	st  %g2, [ %g1 + 0x2f0 ]                       
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
 200716c:	82 10 3f ff 	mov  -1, %g1                                   
 2007170:	c2 24 00 00 	st  %g1, [ %l0 ]                               
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
 2007174:	82 10 20 04 	mov  4, %g1                                    
 2007178:	c2 26 60 34 	st  %g1, [ %i1 + 0x34 ]                        
    the_thread->Wait.option          = *set;                          
 200717c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
    the_thread->Wait.return_argument = the_info;                      
 2007180:	e0 26 60 28 	st  %l0, [ %i1 + 0x28 ]                        
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
 2007184:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
 2007188:	25 00 80 84 	sethi  %hi(0x2021000), %l2                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
 200718c:	82 10 20 01 	mov  1, %g1                                    
 2007190:	a4 14 a2 04 	or  %l2, 0x204, %l2                            
 2007194:	e4 26 60 44 	st  %l2, [ %i1 + 0x44 ]                        
 2007198:	c2 24 a0 30 	st  %g1, [ %l2 + 0x30 ]                        
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
    the_thread->Wait.return_argument = the_info;                      
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
 200719c:	7f ff ed e5 	call  2002930 <sparc_enable_interrupts>        
 20071a0:	01 00 00 00 	nop                                            
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
 20071a4:	90 10 00 12 	mov  %l2, %o0                                  
 20071a8:	92 10 00 14 	mov  %l4, %o1                                  
 20071ac:	15 00 80 29 	sethi  %hi(0x200a400), %o2                     
 20071b0:	40 00 0b c7 	call  200a0cc <_Thread_queue_Enqueue_with_handler>
 20071b4:	94 12 a0 18 	or  %o2, 0x18, %o2	! 200a418 <_Thread_queue_Timeout>
  _Thread_Enable_dispatch();                                          
 20071b8:	40 00 0a 60 	call  2009b38 <_Thread_Enable_dispatch>        
 20071bc:	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 );
 20071c0:	d2 04 00 00 	ld  [ %l0 ], %o1                               
 20071c4:	94 10 00 10 	mov  %l0, %o2                                  
 20071c8:	96 10 20 00 	clr  %o3                                       
 20071cc:	98 10 20 00 	clr  %o4                                       
 20071d0:	40 00 1c 71 	call  200e394 <_POSIX_signals_Clear_signals>   
 20071d4:	90 10 00 13 	mov  %l3, %o0                                  
  errno = _Thread_Executing->Wait.return_code;                        
 20071d8:	40 00 2b 31 	call  2011e9c <__errno>                        
 20071dc:	01 00 00 00 	nop                                            
 20071e0:	c2 04 63 b0 	ld  [ %l1 + 0x3b0 ], %g1                       
 20071e4:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 20071e8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  return the_info->si_signo;                                          
 20071ec:	f0 04 00 00 	ld  [ %l0 ], %i0                               
}                                                                     
 20071f0:	81 c7 e0 08 	ret                                            
 20071f4:	81 e8 00 00 	restore                                        
                                                                      

020090ac <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
 20090ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
 20090b0:	92 10 20 00 	clr  %o1                                       
 20090b4:	90 10 00 18 	mov  %i0, %o0                                  
 20090b8:	7f ff ff 8b 	call  2008ee4 <sigtimedwait>                   
 20090bc:	94 10 20 00 	clr  %o2                                       
                                                                      
  if ( status != -1 ) {                                               
 20090c0:	80 a2 3f ff 	cmp  %o0, -1                                   
 20090c4:	02 80 00 07 	be  20090e0 <sigwait+0x34>                     
 20090c8:	80 a6 60 00 	cmp  %i1, 0                                    
    if ( sig )                                                        
 20090cc:	02 80 00 03 	be  20090d8 <sigwait+0x2c>                     <== NEVER TAKEN
 20090d0:	b0 10 20 00 	clr  %i0                                       
      *sig = status;                                                  
 20090d4:	d0 26 40 00 	st  %o0, [ %i1 ]                               
 20090d8:	81 c7 e0 08 	ret                                            
 20090dc:	81 e8 00 00 	restore                                        
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
 20090e0:	40 00 2a 6f 	call  2013a9c <__errno>                        
 20090e4:	01 00 00 00 	nop                                            
 20090e8:	f0 02 00 00 	ld  [ %o0 ], %i0                               
}                                                                     
 20090ec:	81 c7 e0 08 	ret                                            
 20090f0:	81 e8 00 00 	restore                                        
                                                                      

02005e70 <sysconf>: */ long sysconf( int name ) {
 2005e70:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( name == _SC_CLK_TCK )                                          
 2005e74:	80 a6 20 02 	cmp  %i0, 2                                    
 2005e78:	12 80 00 09 	bne  2005e9c <sysconf+0x2c>                    
 2005e7c:	80 a6 20 04 	cmp  %i0, 4                                    
    return (TOD_MICROSECONDS_PER_SECOND /                             
 2005e80:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2005e84:	d2 00 60 38 	ld  [ %g1 + 0x38 ], %o1	! 201ec38 <Configuration+0xc>
 2005e88:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2005e8c:	40 00 53 1c 	call  201aafc <.udiv>                          
 2005e90:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 2005e94:	81 c7 e0 08 	ret                                            
 2005e98:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
 2005e9c:	12 80 00 05 	bne  2005eb0 <sysconf+0x40>                    
 2005ea0:	80 a6 20 33 	cmp  %i0, 0x33                                 
    return rtems_libio_number_iops;                                   
 2005ea4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2005ea8:	10 80 00 0f 	b  2005ee4 <sysconf+0x74>                      
 2005eac:	d0 00 63 54 	ld  [ %g1 + 0x354 ], %o0	! 201eb54 <rtems_libio_number_iops>
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
 2005eb0:	02 80 00 0d 	be  2005ee4 <sysconf+0x74>                     
 2005eb4:	90 10 24 00 	mov  0x400, %o0                                
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
 2005eb8:	80 a6 20 08 	cmp  %i0, 8                                    
 2005ebc:	02 80 00 0a 	be  2005ee4 <sysconf+0x74>                     
 2005ec0:	90 02 2c 00 	add  %o0, 0xc00, %o0                           
    return PAGE_SIZE;                                                 
                                                                      
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
 2005ec4:	80 a6 22 03 	cmp  %i0, 0x203                                
 2005ec8:	02 80 00 07 	be  2005ee4 <sysconf+0x74>                     <== NEVER TAKEN
 2005ecc:	90 10 20 00 	clr  %o0                                       
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2005ed0:	40 00 2c 68 	call  2011070 <__errno>                        
 2005ed4:	01 00 00 00 	nop                                            
 2005ed8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2005edc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2005ee0:	90 10 3f ff 	mov  -1, %o0                                   
}                                                                     
 2005ee4:	b0 10 00 08 	mov  %o0, %i0                                  
 2005ee8:	81 c7 e0 08 	ret                                            
 2005eec:	81 e8 00 00 	restore                                        
                                                                      

020061dc <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
 20061dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
 20061e0:	80 a6 20 01 	cmp  %i0, 1                                    
 20061e4:	12 80 00 13 	bne  2006230 <timer_create+0x54>               
 20061e8:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
 20061ec:	02 80 00 11 	be  2006230 <timer_create+0x54>                
 20061f0:	80 a6 60 00 	cmp  %i1, 0                                    
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
 20061f4:	02 80 00 13 	be  2006240 <timer_create+0x64>                
 20061f8:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
 20061fc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2006200:	82 00 7f ff 	add  %g1, -1, %g1                              
 2006204:	80 a0 60 01 	cmp  %g1, 1                                    
 2006208:	18 80 00 0a 	bgu  2006230 <timer_create+0x54>               <== NEVER TAKEN
 200620c:	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 )                                         
 2006210:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2006214:	80 a0 60 00 	cmp  %g1, 0                                    
 2006218:	02 80 00 06 	be  2006230 <timer_create+0x54>                <== NEVER TAKEN
 200621c:	01 00 00 00 	nop                                            
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
 2006220:	82 00 7f ff 	add  %g1, -1, %g1                              
 2006224:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2006228:	28 80 00 06 	bleu,a   2006240 <timer_create+0x64>           <== ALWAYS TAKEN
 200622c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
       rtems_set_errno_and_return_minus_one( EINVAL );                
 2006230:	40 00 2c eb 	call  20115dc <__errno>                        
 2006234:	01 00 00 00 	nop                                            
 2006238:	10 80 00 10 	b  2006278 <timer_create+0x9c>                 
 200623c:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
 2006240:	c4 00 62 c0 	ld  [ %g1 + 0x2c0 ], %g2                       
 2006244:	84 00 a0 01 	inc  %g2                                       
 2006248:	c4 20 62 c0 	st  %g2, [ %g1 + 0x2c0 ]                       
 *  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 );
 200624c:	11 00 80 8b 	sethi  %hi(0x2022c00), %o0                     
 2006250:	40 00 07 da 	call  20081b8 <_Objects_Allocate>              
 2006254:	90 12 22 10 	or  %o0, 0x210, %o0	! 2022e10 <_POSIX_Timer_Information>
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
 2006258:	80 a2 20 00 	cmp  %o0, 0                                    
 200625c:	12 80 00 0a 	bne  2006284 <timer_create+0xa8>               
 2006260:	82 10 20 02 	mov  2, %g1                                    
    _Thread_Enable_dispatch();                                        
 2006264:	40 00 0b 69 	call  2009008 <_Thread_Enable_dispatch>        
 2006268:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
 200626c:	40 00 2c dc 	call  20115dc <__errno>                        
 2006270:	01 00 00 00 	nop                                            
 2006274:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 2006278:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200627c:	81 c7 e0 08 	ret                                            
 2006280:	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;                   
 2006284:	c2 2a 20 3c 	stb  %g1, [ %o0 + 0x3c ]                       
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 2006288:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 200628c:	c2 00 63 80 	ld  [ %g1 + 0x380 ], %g1	! 2022b80 <_Thread_Executing>
                                                                      
  if ( evp != NULL ) {                                                
 2006290:	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;                   
 2006294:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( evp != NULL ) {                                                
 2006298:	02 80 00 08 	be  20062b8 <timer_create+0xdc>                
 200629c:	c2 22 20 38 	st  %g1, [ %o0 + 0x38 ]                        
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 20062a0:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 20062a4:	c6 06 40 00 	ld  [ %i1 ], %g3                               
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 20062a8:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 20062ac:	c6 22 20 40 	st  %g3, [ %o0 + 0x40 ]                        
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 20062b0:	c4 22 20 44 	st  %g2, [ %o0 + 0x44 ]                        
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 20062b4:	c2 22 20 48 	st  %g1, [ %o0 + 0x48 ]                        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20062b8:	c2 12 20 0a 	lduh  [ %o0 + 0xa ], %g1                       
 20062bc:	05 00 80 8b 	sethi  %hi(0x2022c00), %g2                     
 20062c0:	c4 00 a2 2c 	ld  [ %g2 + 0x22c ], %g2	! 2022e2c <_POSIX_Timer_Information+0x1c>
 20062c4:	83 28 60 02 	sll  %g1, 2, %g1                               
 20062c8:	d0 20 80 01 	st  %o0, [ %g2 + %g1 ]                         
 20062cc:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 20062d0:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
 20062d4:	c0 22 20 68 	clr  [ %o0 + 0x68 ]                            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
 20062d8:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
 20062dc:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
 20062e0:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
 20062e4:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 20062e8:	c0 22 20 30 	clr  [ %o0 + 0x30 ]                            
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
 20062ec:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 20062f0:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 20062f4:	c0 22 20 2c 	clr  [ %o0 + 0x2c ]                            
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 20062f8:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
  _Thread_Enable_dispatch();                                          
 20062fc:	40 00 0b 43 	call  2009008 <_Thread_Enable_dispatch>        
 2006300:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2006304:	81 c7 e0 08 	ret                                            
 2006308:	81 e8 00 00 	restore                                        
                                                                      

0200630c <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
 200630c:	9d e3 bf 80 	save  %sp, -128, %sp                           
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
 2006310:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006314:	02 80 00 20 	be  2006394 <timer_settime+0x88>               <== NEVER TAKEN
 2006318:	03 0e e6 b2 	sethi  %hi(0x3b9ac800), %g1                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /* First, it verifies if the structure "value" is correct */        
  if ( ( value->it_value.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) ||   
 200631c:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
 2006320:	82 10 61 ff 	or  %g1, 0x1ff, %g1                            
 2006324:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006328:	18 80 00 1b 	bgu  2006394 <timer_settime+0x88>              
 200632c:	01 00 00 00 	nop                                            
       ( value->it_value.tv_nsec < 0 ) ||                             
       ( value->it_interval.tv_nsec >= TOD_NANOSECONDS_PER_SECOND) || 
 2006330:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 2006334:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006338:	18 80 00 17 	bgu  2006394 <timer_settime+0x88>              <== NEVER TAKEN
 200633c:	80 a6 60 00 	cmp  %i1, 0                                    
       ( value->it_interval.tv_nsec < 0 )) {                          
    /* The number of nanoseconds is not correct */                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
 2006340:	02 80 00 05 	be  2006354 <timer_settime+0x48>               
 2006344:	90 07 bf e4 	add  %fp, -28, %o0                             
 2006348:	80 a6 60 04 	cmp  %i1, 4                                    
 200634c:	12 80 00 12 	bne  2006394 <timer_settime+0x88>              
 2006350:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
 2006354:	92 10 00 1a 	mov  %i2, %o1                                  
 2006358:	40 00 2e f7 	call  2011f34 <memcpy>                         
 200635c:	94 10 20 10 	mov  0x10, %o2                                 
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
 2006360:	80 a6 60 04 	cmp  %i1, 4                                    
 2006364:	12 80 00 16 	bne  20063bc <timer_settime+0xb0>              
 2006368:	92 10 00 18 	mov  %i0, %o1                                  
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
 200636c:	a0 07 bf f4 	add  %fp, -12, %l0                             
 2006370:	40 00 06 31 	call  2007c34 <_TOD_Get>                       
 2006374:	90 10 00 10 	mov  %l0, %o0                                  
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
 2006378:	b2 07 bf ec 	add  %fp, -20, %i1                             
 200637c:	90 10 00 10 	mov  %l0, %o0                                  
 2006380:	40 00 0e c9 	call  2009ea4 <_Timespec_Greater_than>         
 2006384:	92 10 00 19 	mov  %i1, %o1                                  
 2006388:	80 8a 20 ff 	btst  0xff, %o0                                
 200638c:	02 80 00 08 	be  20063ac <timer_settime+0xa0>               
 2006390:	92 10 00 19 	mov  %i1, %o1                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2006394:	40 00 2c 92 	call  20115dc <__errno>                        
 2006398:	b0 10 3f ff 	mov  -1, %i0                                   
 200639c:	82 10 20 16 	mov  0x16, %g1                                 
 20063a0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20063a4:	81 c7 e0 08 	ret                                            
 20063a8:	81 e8 00 00 	restore                                        
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
 20063ac:	90 10 00 10 	mov  %l0, %o0                                  
 20063b0:	40 00 0e ce 	call  2009ee8 <_Timespec_Subtract>             
 20063b4:	94 10 00 19 	mov  %i1, %o2                                  
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
 20063b8:	92 10 00 18 	mov  %i0, %o1                                  
 20063bc:	11 00 80 8b 	sethi  %hi(0x2022c00), %o0                     
 20063c0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20063c4:	40 00 08 bc 	call  20086b4 <_Objects_Get>                   
 20063c8:	90 12 22 10 	or  %o0, 0x210, %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 ) {                                               
 20063cc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20063d0:	80 a0 60 00 	cmp  %g1, 0                                    
 20063d4:	12 80 00 38 	bne  20064b4 <timer_settime+0x1a8>             
 20063d8:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
 20063dc:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 20063e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20063e4:	12 80 00 14 	bne  2006434 <timer_settime+0x128>             
 20063e8:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
 20063ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20063f0:	12 80 00 11 	bne  2006434 <timer_settime+0x128>             
 20063f4:	01 00 00 00 	nop                                            
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
 20063f8:	40 00 0f fe 	call  200a3f0 <_Watchdog_Remove>               
 20063fc:	90 02 20 10 	add  %o0, 0x10, %o0                            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
 2006400:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006404:	02 80 00 05 	be  2006418 <timer_settime+0x10c>              
 2006408:	90 10 00 1b 	mov  %i3, %o0                                  
           *ovalue = ptimer->timer_data;                              
 200640c:	92 04 20 54 	add  %l0, 0x54, %o1                            
 2006410:	40 00 2e c9 	call  2011f34 <memcpy>                         
 2006414:	94 10 20 10 	mov  0x10, %o2                                 
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2006418:	92 07 bf e4 	add  %fp, -28, %o1                             
 200641c:	94 10 20 10 	mov  0x10, %o2                                 
 2006420:	40 00 2e c5 	call  2011f34 <memcpy>                         
 2006424:	90 04 20 54 	add  %l0, 0x54, %o0                            
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 2006428:	82 10 20 04 	mov  4, %g1                                    
 200642c:	10 80 00 1e 	b  20064a4 <timer_settime+0x198>               
 2006430:	c2 2c 20 3c 	stb  %g1, [ %l0 + 0x3c ]                       
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
 2006434:	40 00 0e c1 	call  2009f38 <_Timespec_To_ticks>             
 2006438:	90 10 00 1a 	mov  %i2, %o0                                  
 200643c:	d0 24 20 64 	st  %o0, [ %l0 + 0x64 ]                        
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 2006440:	40 00 0e be 	call  2009f38 <_Timespec_To_ticks>             
 2006444:	90 07 bf ec 	add  %fp, -20, %o0                             
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2006448:	d4 04 20 08 	ld  [ %l0 + 8 ], %o2                           
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 200644c:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2006450:	17 00 80 19 	sethi  %hi(0x2006400), %o3                     
 2006454:	90 04 20 10 	add  %l0, 0x10, %o0                            
 2006458:	96 12 e0 cc 	or  %o3, 0xcc, %o3                             
 200645c:	40 00 1d 75 	call  200da30 <_POSIX_Timer_Insert_helper>     
 2006460:	98 10 00 10 	mov  %l0, %o4                                  
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
 2006464:	80 8a 20 ff 	btst  0xff, %o0                                
 2006468:	02 80 00 0f 	be  20064a4 <timer_settime+0x198>              
 200646c:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
 2006470:	02 80 00 05 	be  2006484 <timer_settime+0x178>              
 2006474:	90 10 00 1b 	mov  %i3, %o0                                  
         *ovalue = ptimer->timer_data;                                
 2006478:	92 04 20 54 	add  %l0, 0x54, %o1                            
 200647c:	40 00 2e ae 	call  2011f34 <memcpy>                         
 2006480:	94 10 20 10 	mov  0x10, %o2                                 
       ptimer->timer_data = normalize;                                
 2006484:	92 07 bf e4 	add  %fp, -28, %o1                             
 2006488:	94 10 20 10 	mov  0x10, %o2                                 
 200648c:	40 00 2e aa 	call  2011f34 <memcpy>                         
 2006490:	90 04 20 54 	add  %l0, 0x54, %o0                            
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 2006494:	82 10 20 03 	mov  3, %g1                                    
       _TOD_Get( &ptimer->time );                                     
 2006498:	90 04 20 6c 	add  %l0, 0x6c, %o0                            
 200649c:	40 00 05 e6 	call  2007c34 <_TOD_Get>                       
 20064a0:	c2 2c 20 3c 	stb  %g1, [ %l0 + 0x3c ]                       
       _Thread_Enable_dispatch();                                     
 20064a4:	40 00 0a d9 	call  2009008 <_Thread_Enable_dispatch>        
 20064a8:	b0 10 20 00 	clr  %i0                                       
       return 0;                                                      
 20064ac:	81 c7 e0 08 	ret                                            
 20064b0:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 20064b4:	40 00 2c 4a 	call  20115dc <__errno>                        
 20064b8:	b0 10 3f ff 	mov  -1, %i0                                   
 20064bc:	82 10 20 16 	mov  0x16, %g1                                 
 20064c0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 20064c4:	81 c7 e0 08 	ret                                            
 20064c8:	81 e8 00 00 	restore                                        
                                                                      

020060e0 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
 20060e0:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
 20060e4:	21 00 80 82 	sethi  %hi(0x2020800), %l0                     
 20060e8:	a0 14 21 70 	or  %l0, 0x170, %l0	! 2020970 <_POSIX_signals_Ualarm_timer>
 20060ec:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 20060f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20060f4:	12 80 00 0a 	bne  200611c <ualarm+0x3c>                     
 20060f8:	a2 10 00 18 	mov  %i0, %l1                                  
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 20060fc:	03 00 80 18 	sethi  %hi(0x2006000), %g1                     
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2006100:	c0 24 20 24 	clr  [ %l0 + 0x24 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006104:	82 10 61 f4 	or  %g1, 0x1f4, %g1                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2006108:	c0 24 20 08 	clr  [ %l0 + 8 ]                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
 200610c:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2006110:	c2 24 20 1c 	st  %g1, [ %l0 + 0x1c ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2006114:	10 80 00 1b 	b  2006180 <ualarm+0xa0>                       
 2006118:	b0 10 20 00 	clr  %i0                                       
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
 200611c:	40 00 0f ae 	call  2009fd4 <_Watchdog_Remove>               
 2006120:	90 10 00 10 	mov  %l0, %o0                                  
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
 2006124:	90 02 3f fe 	add  %o0, -2, %o0                              
 2006128:	80 a2 20 01 	cmp  %o0, 1                                    
 200612c:	18 80 00 15 	bgu  2006180 <ualarm+0xa0>                     <== NEVER TAKEN
 2006130:	b0 10 20 00 	clr  %i0                                       
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2006134:	c2 04 20 18 	ld  [ %l0 + 0x18 ], %g1                        
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
 2006138:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         
 200613c:	d0 04 20 14 	ld  [ %l0 + 0x14 ], %o0                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2006140:	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);        
 2006144:	90 02 00 02 	add  %o0, %g2, %o0                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2006148:	40 00 0e 25 	call  20099dc <_Timespec_From_ticks>           
 200614c:	90 22 00 01 	sub  %o0, %g1, %o0                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 2006150:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      remaining += tp.tv_nsec / 1000;                                 
 2006154:	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;           
 2006158:	b1 28 60 08 	sll  %g1, 8, %i0                               
 200615c:	85 28 60 03 	sll  %g1, 3, %g2                               
 2006160:	84 26 00 02 	sub  %i0, %g2, %g2                             
      remaining += tp.tv_nsec / 1000;                                 
 2006164:	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;           
 2006168:	b1 28 a0 06 	sll  %g2, 6, %i0                               
 200616c:	b0 26 00 02 	sub  %i0, %g2, %i0                             
      remaining += tp.tv_nsec / 1000;                                 
 2006170:	40 00 55 fc 	call  201b960 <.div>                           
 2006174:	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;           
 2006178:	b1 2e 20 06 	sll  %i0, 6, %i0                               
      remaining += tp.tv_nsec / 1000;                                 
 200617c:	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 ) {                                                   
 2006180:	80 a4 60 00 	cmp  %l1, 0                                    
 2006184:	02 80 00 1a 	be  20061ec <ualarm+0x10c>                     
 2006188:	21 00 03 d0 	sethi  %hi(0xf4000), %l0                       
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 200618c:	90 10 00 11 	mov  %l1, %o0                                  
 2006190:	40 00 55 f2 	call  201b958 <.udiv>                          
 2006194:	92 14 22 40 	or  %l0, 0x240, %o1                            
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2006198:	92 14 22 40 	or  %l0, 0x240, %o1                            
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 200619c:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 20061a0:	40 00 56 9a 	call  201bc08 <.urem>                          
 20061a4:	90 10 00 11 	mov  %l1, %o0                                  
 20061a8:	85 2a 20 07 	sll  %o0, 7, %g2                               
 20061ac:	83 2a 20 02 	sll  %o0, 2, %g1                               
 20061b0:	82 20 80 01 	sub  %g2, %g1, %g1                             
 20061b4:	90 00 40 08 	add  %g1, %o0, %o0                             
 20061b8:	91 2a 20 03 	sll  %o0, 3, %o0                               
    ticks = _Timespec_To_ticks( &tp );                                
 20061bc:	a0 07 bf f8 	add  %fp, -8, %l0                              
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 20061c0:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
    ticks = _Timespec_To_ticks( &tp );                                
 20061c4:	40 00 0e 2f 	call  2009a80 <_Timespec_To_ticks>             
 20061c8:	90 10 00 10 	mov  %l0, %o0                                  
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
 20061cc:	40 00 0e 2d 	call  2009a80 <_Timespec_To_ticks>             
 20061d0:	90 10 00 10 	mov  %l0, %o0                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20061d4:	13 00 80 82 	sethi  %hi(0x2020800), %o1                     
 20061d8:	92 12 61 70 	or  %o1, 0x170, %o1	! 2020970 <_POSIX_signals_Ualarm_timer>
 20061dc:	d0 22 60 0c 	st  %o0, [ %o1 + 0xc ]                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20061e0:	11 00 80 80 	sethi  %hi(0x2020000), %o0                     
 20061e4:	40 00 0f 20 	call  2009e64 <_Watchdog_Insert>               
 20061e8:	90 12 21 50 	or  %o0, 0x150, %o0	! 2020150 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
 20061ec:	81 c7 e0 08 	ret                                            
 20061f0:	81 e8 00 00 	restore